Re: tomcat==root

2003-09-17 Thread Jaco Kroon
Which says excactly what I was intending, I need proper logging so I need kernel level forwarding using iptables. [EMAIL PROTECTED] wrote: You may find this useful: http://www.klawitter.de/tomcat80.html Cheers Rob Tomlin - To

RE: Tomcat on Dual CPU Server

2003-09-17 Thread Jaco Kroon
That would be correct, as I mentioned in my other mail, a single thread can only run on one CPU, thus to get to 100% cpu usage, you need at least two threads performing two concurrent "infinite loops". A single loop cannot push 2 cpu's to over 50% as the one cpu will run the loop and the other

Re: Tomcat on Dual CPU Server

2003-09-17 Thread Jaco Kroon
It would either be the JVM, but apps are usually rather ignorant of the fact that it is running on one or more CPU's, so it's probably linux. I would try and determine whether other, multi-threaded, apps only use one cpu as well, if so, then it is deffinately the OS, if other multi-threaded ap

Re: tomcat==root

2003-09-17 Thread Jaco Kroon
Run it as a normal user, problem being, I haven't managed to figure out how to bind to port 80 then. I suspect it is possible, but for now I just use iptables to redirect port 80 to port 8080 my 2 cents worth On Wed, 17 Sep 2003, P.van Kemenade wrote: > Hi > > I found out that we run our tom

Re: Redirecting the output to a log file

2003-09-17 Thread Jaco Kroon
There is a log function which gets inherited from somewhere, but anyway, it should be there if you subclasses HttpServlet. The javadocs might just be usefull for the servlet specs :). On Wed, 17 Sep 2003, Sarika N Inamdar wrote: > Hi All, > When my servlets are sending some stack trace or Syste

Re: Tomcat crashing...

2003-09-17 Thread Jaco Kroon
Try finding a rogue System.exit call :). On Tue, 16 Sep 2003, Paridhi Bansal wrote: > Hi > > I am using tomcat4.0.6 as a standalone server for my servlet -applet based > application.The server initially listens at port 8443(SSL) and after the request, > the servlet throws a jar file and op

RE: ManagerServlet (autherization on a percontext basis)

2003-09-16 Thread Jaco Kroon
K, seems I can't. Anyway, here is a link, hope it is available from outside the firewall ... http://kanagawa.up.ac.za/~s21191493/tuksmanager.tgz On Wed, 17 Sep 2003, Jaco Kroon wrote: > I hope I can use attachments. > > Ok, first off, there are a few issues with this, as I

RE: ManagerServlet (autherization on a percontext basis)

2003-09-16 Thread Jaco Kroon
t; > Jason Lanpher > > [EMAIL PROTECTED] > > http://www.stealthnetworking.com > > > -Original Message- > From: Jaco Kroon [mailto:[EMAIL PROTECTED] > Sent: Tuesday, September 16, 2003 5:08 PM > To: Tomcat Users List > Subject: Re: ManagerServ

Re: ManagerServlet (autherization on a percontext basis)

2003-09-16 Thread Jaco Kroon
etup (there is no time to do it the "correct" way - not that there seems to be one). Jaco Shapira, Yoav wrote: Howdy, You can't just set each to have reloadable="true" ? That will reload their webapp when they edit web.xml... Yoav Shapira Millennium ChemInformatics -

ManagerServlet (autherization on a percontext basis)

2003-09-14 Thread Jaco Kroon
Hello, I need to allow users previliges to manage their applications on a per-context basis. We are providing students with a webapp, where they need to build their practical. However, whenever they change web.xml they need to be able to restart their webapp. Considering there are over 300 u