pwAdmin (iWeb) Final Release

hmm got no idee then btw the problem that i`m getting atm is: is type the directory of jetty + jetty start --> ./jetty/jetty start i get the folowing errors:
cannot create logs/jetty.log: Directory nonexistent
Unable to access jarfile start.jar

i already checked the permissions and they have al been set to 777 and also i checked if the logs directory exists and yes it does...so anyone got a idee on how to fix my problem?
 
The page character simply does not appear. It appears only the top is not loaded.

had same problem , the char page didnt showed up any info
type this into ur browser when. make sure you add ur own IP where needed
pwAdmin/index.jsp?page=role&process=sqlsync
then hit enter
*make sure ur server is started, pwadminconf info edited according to ur mysql settings!!

:) didnt have the "sync" tab first even showed but after this all good :)
:thumbup: and thanks ronny for excellent update:P
 
Last edited:
Hello,


I have some installation problems with pwAdmin since i used it with tomcat before but tomcat dont seem to be supported anymore so i have to switch to jetty but got some trouble installing it in CentOS 5.3 - 5.5 ...

Here is what i did till now :

- Downloaded the latest pwAdmin with jetty 7.2.0 and extracted it to /opt
- Installed Java 1.6.0_U21 x64 and configured the path and everything (java -version is working fine)

Installed needed packages :
- yum install libtool httpd-devel apr-devel apr
- yum install php
- yum install php-mysql

- Configured everything in pwAdmin to match my server and MySQL setting


Now when i try to run :
- cd /opt/jetty-7.2.0
- ./jetty start

The linux console freezes and nothing happens anymore (pwAdmin is not reachable and i have to press Strg+C to unfreeze linux (kill the jetty script)...

There is also no additional webserver like apache running, jetty is configured to run on the port 8585.
My question is now...did i do something wrong or forgot something ?



Jetty log :
Code:
properties={jetty.home=/opt/jetty-7.2.0, OPTIONS=Server,ext,jmx,jsp,resources,websocket}
2010-11-11 09:22:37.602:INFO::jetty-7.2.0.v20101020
2010-11-11 09:22:37.630:INFO::Deployment monitor /opt/jetty-7.2.0/webapps at interval 1
2010-11-11 09:22:37.634:INFO::Deployable added: /opt/jetty-7.2.0/webapps/ROOT
11.11.2010 09:22:38 net.jr.fastcgi.impl.FastCGIHandlerFactory create
INFO: configuring fastCGI handler using a single connection -based policy
2010-11-11 09:22:38.265:INFO::Deployable added: /opt/jetty-7.2.0/webapps/pwAdmin
2010-11-11 09:22:38.709:INFO::Deployable added: /opt/jetty-7.2.0/webapps/adminer
11.11.2010 09:22:38 net.jr.fastcgi.impl.FastCGIHandlerFactory create
INFO: configuring fastCGI handler using a single connection -based policy
2010-11-11 09:22:38.847:INFO::Deployment monitor /opt/jetty-7.2.0/contexts at interval 1
2010-11-11 09:22:38.886:INFO::Started [email protected]:8585
mgr.s is null , Protocol.Client(mgr)
java.net.ConnectException: Connection refused
    at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
    at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:574)
    at com.goldhuman.IO.ActiveIO.Close(Unknown Source)
    at com.goldhuman.IO.PollIO.Poll(Unknown Source)
    at com.goldhuman.IO.Task.run(Unknown Source)
    at com.goldhuman.Common.ThreadPool.run(Unknown Source)
    at java.lang.Thread.run(Thread.java:619)
assoc_session = com.goldhuman.IO.Protocol.Session@3cc70b0d activeio = com.goldhuman.IO.ActiveIO@2fa6a1a7
DeliveryClientManager::OnAbortSession com.goldhuman.IO.Protocol.Session@3cc70b0d
2010-11-11 09:24:32.351:INFO::Graceful shutdown [email protected]:8585
2010-11-11 09:24:35.439:INFO::Graceful shutdown WebAppContext@58ca3783@58ca3783/,file:/opt/jetty-7.2.0/webapps/ROOT/,/opt/jetty-7.2.0/webapps/ROOT
2010-11-11 09:24:35.444:INFO::Graceful shutdown WebAppContext@a21d23b@a21d23b/pwAdmin,file:/opt/jetty-7.2.0/webapps/pwAdmin/,/opt/jetty-7.2.0/webapps/pwAdmin
2010-11-11 09:24:35.444:INFO::Graceful shutdown WebAppContext@327124af@327124af/adminer,file:/opt/jetty-7.2.0/webapps/adminer/,/opt/jetty-7.2.0/webapps/adminer
 
Hello,


I have some installation problems with pwAdmin since i used it with tomcat before but tomcat dont seem to be supported anymore so i have to switch to jetty but got some trouble installing it in CentOS 5.3 - 5.5 ...

Here is what i did till now :

- Downloaded the latest pwAdmin with jetty 7.2.0 and extracted it to /opt
- Installed Java 1.6.0_U21 x64 and configured the path and everything (java -version is working fine)

Installed needed packages :
- yum install libtool httpd-devel apr-devel apr
- yum install php
- yum install php-mysql

- Configured everything in pwAdmin to match my server and MySQL setting


Now when i try to run :
- cd /opt/jetty-7.2.0
- ./jetty start

The linux console freezes and nothing happens anymore (pwAdmin is not reachable and i have to press Strg+C to unfreeze linux (kill the jetty script)...

There is also no additional webserver like apache running, jetty is configured to run on the port 8585.
My question is now...did i do something wrong or forgot something ?



Jetty log :
Code:
properties={jetty.home=/opt/jetty-7.2.0, OPTIONS=Server,ext,jmx,jsp,resources,websocket}
2010-11-11 09:22:37.602:INFO::jetty-7.2.0.v20101020
2010-11-11 09:22:37.630:INFO::Deployment monitor /opt/jetty-7.2.0/webapps at interval 1
2010-11-11 09:22:37.634:INFO::Deployable added: /opt/jetty-7.2.0/webapps/ROOT
11.11.2010 09:22:38 net.jr.fastcgi.impl.FastCGIHandlerFactory create
INFO: configuring fastCGI handler using a single connection -based policy
2010-11-11 09:22:38.265:INFO::Deployable added: /opt/jetty-7.2.0/webapps/pwAdmin
2010-11-11 09:22:38.709:INFO::Deployable added: /opt/jetty-7.2.0/webapps/adminer
11.11.2010 09:22:38 net.jr.fastcgi.impl.FastCGIHandlerFactory create
INFO: configuring fastCGI handler using a single connection -based policy
2010-11-11 09:22:38.847:INFO::Deployment monitor /opt/jetty-7.2.0/contexts at interval 1
2010-11-11 09:22:38.886:INFO::Started [email protected]:8585
mgr.s is null , Protocol.Client(mgr)
java.net.ConnectException: Connection refused
    at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
    at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:574)
    at com.goldhuman.IO.ActiveIO.Close(Unknown Source)
    at com.goldhuman.IO.PollIO.Poll(Unknown Source)
    at com.goldhuman.IO.Task.run(Unknown Source)
    at com.goldhuman.Common.ThreadPool.run(Unknown Source)
    at java.lang.Thread.run(Thread.java:619)
assoc_session = com.goldhuman.IO.Protocol.Session@3cc70b0d activeio = com.goldhuman.IO.ActiveIO@2fa6a1a7
DeliveryClientManager::OnAbortSession com.goldhuman.IO.Protocol.Session@3cc70b0d
2010-11-11 09:24:32.351:INFO::Graceful shutdown [email protected]:8585
2010-11-11 09:24:35.439:INFO::Graceful shutdown WebAppContext@58ca3783@58ca3783/,file:/opt/jetty-7.2.0/webapps/ROOT/,/opt/jetty-7.2.0/webapps/ROOT
2010-11-11 09:24:35.444:INFO::Graceful shutdown WebAppContext@a21d23b@a21d23b/pwAdmin,file:/opt/jetty-7.2.0/webapps/pwAdmin/,/opt/jetty-7.2.0/webapps/pwAdmin
2010-11-11 09:24:35.444:INFO::Graceful shutdown WebAppContext@327124af@327124af/adminer,file:/opt/jetty-7.2.0/webapps/adminer/,/opt/jetty-7.2.0/webapps/adminer

You need php cgi not normal php which is an apache mod for most distro repos
 
Hello and thanks for your reply,



Do you know if PHP-CGI is available in the yum repo for CentOS or do i have to download and compile it myself ?

If i have to download and compile it manualy, can you give me the link to the latest PHP-CGI please (Just too many things comming up in google...) ?



Thank you !
 
Hello and thanks for your reply,



Do you know if PHP-CGI is available in the yum repo for CentOS or do i have to download and compile it myself ?

If i have to download and compile it manualy, can you give me the link to the latest PHP-CGI please (Just too many things comming up in google...) ?



Thank you !

Well... personally I have never touched RPM based distros that much as I really just love Debian

looks promising though

Just skip to the part where it says configure php as fastcgi and it should work
 
Hello


Thank you for the link you provided me, got php-cgi installed and running now (port 9000, is that right ?) but there still seems to be a problem because the jetty startup script is still freezing but the log looks a bit different now :

Code:
properties={jetty.home=/opt/jetty-7.2.0, OPTIONS=Server,ext,jmx,jsp,resources,websocket}
2010-11-12 12:45:08.811:INFO::jetty-7.2.0.v20101020
2010-11-12 12:45:08.837:INFO::Deployment monitor /opt/jetty-7.2.0/webapps at interval 1
2010-11-12 12:45:08.842:INFO::Deployable added: /opt/jetty-7.2.0/webapps/ROOT
12.11.2010 12:45:09 net.jr.fastcgi.impl.FastCGIHandlerFactory create
INFO: configuring fastCGI handler using a single connection -based policy
2010-11-12 12:45:09.482:INFO::Deployable added: /opt/jetty-7.2.0/webapps/pwAdmin
2010-11-12 12:45:09.947:INFO::Deployable added: /opt/jetty-7.2.0/webapps/adminer
12.11.2010 12:45:10 net.jr.fastcgi.impl.FastCGIHandlerFactory create
INFO: configuring fastCGI handler using a single connection -based policy
2010-11-12 12:45:10.118:INFO::Deployment monitor /opt/jetty-7.2.0/contexts at interval 1
2010-11-12 12:45:10.162:INFO::Started [email protected]:8585
mgr.s is null , Protocol.Client(mgr)
java.net.ConnectException: Connection refused
    at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
    at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:574)
    at com.goldhuman.IO.ActiveIO.Close(Unknown Source)
    at com.goldhuman.IO.PollIO.Poll(Unknown Source)
    at com.goldhuman.IO.Task.run(Unknown Source)
    at com.goldhuman.Common.ThreadPool.run(Unknown Source)
    at java.lang.Thread.run(Thread.java:619)
assoc_session = com.goldhuman.IO.Protocol.Session@2fa6a1a7 activeio = com.goldhuman.IO.ActiveIO@64bef361
DeliveryClientManager::OnAbortSession com.goldhuman.IO.Protocol.Session@2fa6a1a7
mgr.s is null , Protocol.Client(mgr)
java.net.ConnectException: Connection refused
    at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
    at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:574)
    at com.goldhuman.IO.ActiveIO.Close(Unknown Source)
    at com.goldhuman.IO.PollIO.Poll(Unknown Source)
    at com.goldhuman.IO.Task.run(Unknown Source)
    at com.goldhuman.Common.ThreadPool.run(Unknown Source)
    at java.lang.Thread.run(Thread.java:619)
assoc_session = com.goldhuman.IO.Protocol.Session@6bd9e2c7 activeio = com.goldhuman.IO.ActiveIO@2db7ae22
DeliveryClientManager::OnAbortSession com.goldhuman.IO.Protocol.Session@6bd9e2c7

In the log i can see a connection refused which usualy means that there is something like a htaccess file which blocks non-localhost connections or something....

If someone else is using CentOS + pwAdmin with jetty too, may you share how you installed it and which packages are needed....

Thanks !
 
Hello


Thank you for the link you provided me, got php-cgi installed and running now (port 9000, is that right ?) but there still seems to be a problem because the jetty startup script is still freezing but the log looks a bit different now :

Code:
properties={jetty.home=/opt/jetty-7.2.0, OPTIONS=Server,ext,jmx,jsp,resources,websocket}
2010-11-12 12:45:08.811:INFO::jetty-7.2.0.v20101020
2010-11-12 12:45:08.837:INFO::Deployment monitor /opt/jetty-7.2.0/webapps at interval 1
2010-11-12 12:45:08.842:INFO::Deployable added: /opt/jetty-7.2.0/webapps/ROOT
12.11.2010 12:45:09 net.jr.fastcgi.impl.FastCGIHandlerFactory create
INFO: configuring fastCGI handler using a single connection -based policy
2010-11-12 12:45:09.482:INFO::Deployable added: /opt/jetty-7.2.0/webapps/pwAdmin
2010-11-12 12:45:09.947:INFO::Deployable added: /opt/jetty-7.2.0/webapps/adminer
12.11.2010 12:45:10 net.jr.fastcgi.impl.FastCGIHandlerFactory create
INFO: configuring fastCGI handler using a single connection -based policy
2010-11-12 12:45:10.118:INFO::Deployment monitor /opt/jetty-7.2.0/contexts at interval 1
2010-11-12 12:45:10.162:INFO::Started [email protected]:8585
mgr.s is null , Protocol.Client(mgr)
java.net.ConnectException: Connection refused
    at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
    at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:574)
    at com.goldhuman.IO.ActiveIO.Close(Unknown Source)
    at com.goldhuman.IO.PollIO.Poll(Unknown Source)
    at com.goldhuman.IO.Task.run(Unknown Source)
    at com.goldhuman.Common.ThreadPool.run(Unknown Source)
    at java.lang.Thread.run(Thread.java:619)
assoc_session = com.goldhuman.IO.Protocol.Session@2fa6a1a7 activeio = com.goldhuman.IO.ActiveIO@64bef361
DeliveryClientManager::OnAbortSession com.goldhuman.IO.Protocol.Session@2fa6a1a7
mgr.s is null , Protocol.Client(mgr)
java.net.ConnectException: Connection refused
    at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
    at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:574)
    at com.goldhuman.IO.ActiveIO.Close(Unknown Source)
    at com.goldhuman.IO.PollIO.Poll(Unknown Source)
    at com.goldhuman.IO.Task.run(Unknown Source)
    at com.goldhuman.Common.ThreadPool.run(Unknown Source)
    at java.lang.Thread.run(Thread.java:619)
assoc_session = com.goldhuman.IO.Protocol.Session@6bd9e2c7 activeio = com.goldhuman.IO.ActiveIO@2db7ae22
DeliveryClientManager::OnAbortSession com.goldhuman.IO.Protocol.Session@6bd9e2c7

In the log i can see a connection refused which usualy means that there is something like a htaccess file which blocks non-localhost connections or something....

If someone else is using CentOS + pwAdmin with jetty too, may you share how you installed it and which packages are needed....

Thanks !

Well I don't actually use centos so I have no idea how it is supposed to work on centos (like I said I love debian) it says connection refused on 8585, you could do it again and set up another fastcgi on 8585 and see what happens
 
Live Chat looks broken, something mustve changed in the chat.jsp for that to happen

I copied the original one to the server which was in ronnys pack but it still shows that error :(:
Hmm. This brings me on something ... i could try to code a small program which grabs that .chat file, reads it and stores it FIFO at home. So i can chat without logging in :D:
 
I copied the original one to the server which was in ronnys pack but it still shows that error :(:
Hmm. This brings me on something ... i could try to code a small program which grabs that .chat file, reads it and stores it FIFO at home. So i can chat without logging in :D:

Well I have been working on a Daemon that works with that and looks for chat to a specific user you can set up such as Shutup

And whenever you pm it like so /Shutup CharNameHere
(Note anyone can pm it, you set how many pms from UNIQUE users in a definable amount of time it takes to do the next step)

And when your set limit is reached, it mutes and announces in a system message (you can also change this) CharNameHere has been muted by popular demand for (you can configure this to) 1 hour.

I kind of find it useful to prevent people from spamming the hell out of worldchat and not realizing people don't want to see them spam and blacklist isn't strong enough

I guess I could also add the ability to talk as specific users in specific chats other then systems if I can figure that out as what I'm doing above will be one of the first actual implementations of my PHP Protocol API in action (note it is very much still in pre-alpha), if it works out all nicely both should be released soon
 
Well I have been working on a Daemon that works with that and looks for chat to a specific user you can set up such as Shutup

And whenever you pm it like so /Shutup CharNameHere
(Note anyone can pm it, you set how many pms from UNIQUE users in a definable amount of time it takes to do the next step)

And when your set limit is reached, it mutes and announces in a system message (you can also change this) CharNameHere has been muted by popular demand for (you can configure this to) 1 hour.

I kind of find it useful to prevent people from spamming the hell out of worldchat and not realizing people don't want to see them spam and blacklist isn't strong enough

I guess I could also add the ability to talk as specific users in specific chats other then systems if I can figure that out as what I'm doing above will be one of the first actual implementations of my PHP Protocol API in action (note it is very much still in pre-alpha), if it works out all nicely both should be released soon

That whould be great.
btw one of mah Team is also trying to do the chat thing but in PHP :D: Like a webchat where you can login and chat as your character in guild chat and world chat. Dunno if he will get this to work :D:
 
That whould be great.
btw one of mah Team is also trying to do the chat thing but in PHP :D: Like a webchat where you can login and chat as your character in guild chat and world chat. Dunno if he will get this to work :D:

Only thing about it is it requires that character to actually be online for it to work as the message never actually gets logged if the receiving player is not online (used tail -f world2.chat)

I'm sure if I play with it some more I could get it working better to the point you could pull that off but I'm not exactly sure yet
 
Only thing about it is it requires that character to actually be online for it to work as the message never actually gets logged if the receiving player is not online (used tail -f world2.chat)

I'm sure if I play with it some more I could get it working better to the point you could pull that off but I'm not exactly sure yet

How about doing a dummy login ? Like a textclient or something only ?
 
How about doing a dummy login ? Like a textclient or something only ?

If I could figure out how to actually interact with glinkd (so far has been unsuccessful) I would try logging in and doing that... but so far only been able to just send messages ban and some other basics of the JSP protocol API implemented in native PHP (was originally going to use calls to JSP then I decided not really worth doing that and did what ronny originally said I should and just rebuild it)
 
Has anyone else had this error or just that I'm unlucky?

ronny1982 - pwAdmin (iWeb) Final Release - RaGEZONE Forums


ronny1982 - pwAdmin (iWeb) Final Release - RaGEZONE Forums


Apart from that, everything works perfectly!
 
1.8v feature
*Allows faction leaders to log in and upload 16x16 gif icons for their faction(s)

looking for a heads up for public porting accsess to faction icons for players.Much like the rankings is ported as I dont enable port 8080 to the outside network unless thru a secure redirect.

as it stands atm ppl need to go to http://"net addy":8080/pwAdmin/index.jsp?plugin=Faction%20Icons without root accsess to see faction change any fast fix to port to say
"http://localhost/perfectworld/factionicon.php".

Somewhat same way plugin Rank is setup with
<%
String redirectURL = "http://localhost/rank/index.php";
response.sendRedirect(redirectURL);
%>


any heads up on this would be a huge help.

Also a selection of stock icons would be a cool add on for this plugin to pwAdmin.


I also need help to make PWadmin run dual servers on same machine.
ATM I use 2 installs of pwAdmin with all IP`s right(dual NIC so 1 NIC per PWServer)but pwAdmin gets confused what servers running after on is started.
So say I use PWadmin to start one server then log to other pwAdmin and it shows other server running when it is not.
Anyway to devide this behavior?

Thanks so much for any help and ill upload around 1400 faction icon gif`s in a few when I get home for all to have.
 
Back