Re: Hard Disk Usage in Vbox
Quote:
Originally Posted by
Drakaer
I found out what is taking up so much room, its nohup.out. The file is 7GB on my server which would explain why I'm having problems. I'm gonna see if I can stop jetty writing to this file.
I personally prefer tomcat and apache to be separate servers...
I dont like the idea behind jetty >_>
Re: Hard Disk Usage in Vbox
I had problems with tomcat breaking after a while so I had to keep reinstalling it. I'm hoping with jetty I won't have the same problem.
btw I stopped nohup.out you can find it here for anyone thats interested.
http://forum.ragezone.com/f452/pwadm...ml#post5907248
Re: Hard Disk Usage in Vbox
I think Jetty is nice. But still prefer to use to tomcat until i'm sure Jetty is 100% stable enough to be fully used and replace the apache+tomcat couple.
Jetty may support PHP, that why i prolly use jetty instead of apache later...
All-in-one webserver, that's what i want... I don't like that everything are separated.
Re: Hard Disk Usage in Vbox
I'm with das on this one; the more things are separated the better in my opinion. At least that way, when one thing breaks it doesn't necessarily 'take everything else down with it' :) That and well it's also better for troubleshooting purposes!
Re: Hard Disk Usage in Vbox
I decided to let's the Apache+Tomcat couple....
Jetty isn't good enough for me xD. And there's some bugs that i don't have with Tomcat...
Idk why ronny took Jetty instead of Tomcat...
I find Tomcat is better than Jetty....
QUESTION:
pwAdmin1.5 is compatible with tomcat ??
Re: Hard Disk Usage in Vbox
Quote:
Originally Posted by
Romulan
QUESTION:
pwAdmin1.5 is compatible with tomcat ??
Should be...
Im still running an older copy because when I tried to upgrade all my addons broke for it and had problems with it everywhere so I just stuck with what I had working :ott1:
After all, I don't see why it wouldn't work in tomcat... jsp is jsp is jsp
Re: Hard Disk Usage in Vbox
Yes I updated to the newest pwAdmin, well everything except the jetty part and I have had zero problems ;)
Re: Hard Disk Usage in Vbox
Quote:
Originally Posted by
Romulan
I decided to let's the Apache+Tomcat couple....
Jetty isn't good enough for me xD. And there's some bugs that i don't have with Tomcat...
Idk why ronny took Jetty instead of Tomcat...
I find Tomcat is better than Jetty....
QUESTION:
pwAdmin1.5 is compatible with tomcat ??
if i'm working on pwAdmin i need to restart the web application server many times
tomcat can only be stopped by killing java process, but this will also kill authd everytime i wanna retart tomcat...
jetty has an build in soft shutdown (with pid management) that makes it possible to restart jetty without killing authd, thats all...
Re: Hard Disk Usage in Vbox
To kill Tomcat without effect authd process:
Code:
echo "TOMCAT: Stopping webserver..."
/bin/kill -9 `ps -ef | grep /usr/java/jre1.5.0_21/bin/java | grep -v grep | awk '{print $2}'`
echo "TOMCAT Stopped..."
:wink:
jre1.5.0_21 is used only by tomcat ^^
jre1.6+ is used by authd, so no worries for that ^^
Idk why you didn't thought it before...
Re: Hard Disk Usage in Vbox
Quote:
Originally Posted by
Romulan
To kill Tomcat without effect authd process:
Code:
echo "TOMCAT: Stopping webserver..."
/bin/kill -9 `ps -ef | grep /usr/java/jre1.5.0_21/bin/java | grep -v grep | awk '{print $2}'`
echo "TOMCAT Stopped..."
:wink:
jre1.5.0_21 is used only by tomcat ^^
jre1.6+ is used by authd, so no worries for that ^^
Idk why you didn't thought it before...
- i've killed tomcat the lazy way with killall java and that always killed all java processes...
ok you find a command that may only kill jre1.5 processes, but it is still a hardkill, while jetty has a built in softkill and it is disappointing that tomcat don't has a working softkill (it has one, but the java process keeps running)...
- also tomcat don't clear the webcache, you always have to clean the "work" directory by hand after making changes in jsp pages, jetty makes this automatically...
- and there is also the php reason (not for me, but i see most of ragezoners wanna php too), i failed to embed a php servlet in tomcats configuration, while in jetty's configuration it was really easy...
- jetty seems to be more lightweight compared to tomcat...
Anyway: there is no problem using pwAdmin with tomcat (5.x, 6.x, 7.x), or Glassfish, or Resin, or any other java web-app server...
Re: Hard Disk Usage in Vbox
Quote:
Originally Posted by
ronny1982
also tomcat don't clear the webcache, you always have to clean the "work" directory by hand after making changes in jsp pages, jetty makes this automatically...
On what, version 0.0.1 alpha?
Don't mean to sound rude but Ive never had to do that and Ive editing things in jsp etc before and its always worked fine...
Re: Hard Disk Usage in Vbox
Quote:
Originally Posted by
das7002
On what, version 0.0.1 alpha?
Don't mean to sound rude but Ive never had to do that and Ive editing things in jsp etc before and its always worked fine...
tomcat 5.x and 6.x
Re: Hard Disk Usage in Vbox
Quote:
Originally Posted by
ronny1982
tomcat 5.x and 6.x
I have 5 and I don't need to restart it when I change something... maybe its just you :ott1:
Re: Hard Disk Usage in Vbox
Ok, i agree with you Ronny if you prefer to use Jetty instead of Tomcat for some reason.
But in most case, pw ragezoner still use Tomcat...
Also, for the php-cgi, it doesn't work fine for me. It only support HTML and some PHP function but not all. So i prefer to use XAMPP+Tomcat that is better for me and for other ragezoner...
PS: My WhoIsOnline php script doesn't work with the php-cgi and jetty but work fine on XAMPP. I noticed that XAMPP works better than other webserver (WAMP, EasyPHP, ...) that i have tested.