Jk2 shutdown

2002-07-01 Thread Mladen Turk
Hi, There are few things left with the gracefull TC shutdown. 1. The Apache version works ok. 2. The IIS shutdowns the TC but the dll is still left loaded. Think that the TomcatStarter is left hanging, cause stdout/stderr redirection files stays opened. I would like to make the TomcatStarter

Re: Jk2 shutdown

2002-07-01 Thread costinm
On Mon, 1 Jul 2002, Mladen Turk wrote: I would like to make the TomcatStarter to be aware of the thing that he is doing (starting or stopping). Could be done through args but I would like to hear other ideas. Second thing is the 'ARG' parameter that IMO should be split in two params,

RE: Jk2 shutdown

2002-07-01 Thread Mladen Turk
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: 1. srpanj 2002 19:40 To: Tomcat Developers List Subject: Re: Jk2 shutdown On Mon, 1 Jul 2002, Mladen Turk wrote: We already have a mechanism/API for shutdown - and I don't see any good reason

RE: Jk2 shutdown

2002-07-01 Thread costinm
On Mon, 1 Jul 2002, Mladen Turk wrote: On Mon, 1 Jul 2002, Mladen Turk wrote: We already have a mechanism/API for shutdown - and I don't see any good reason to add another one for the JNI call. The fewer 'special' APIs we have for JNI, the better it is for maintainance. Yes,

RE: Jk2 shutdown

2002-07-01 Thread Mladen Turk
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: 1. srpanj 2002 21:31 To: Tomcat Developers List Subject: RE: Jk2 shutdown What about having a separate worker.jni: that will execute the stop command ? In theory we can have as many worker.jni we want

RE: Jk2 shutdown

2002-07-01 Thread costinm
On Mon, 1 Jul 2002, Mladen Turk wrote: Well, I was thinking to customize and use the TomcatStarter mainClasses[] so we can start not only Bootstrap but other classes too, The mainClasses[] is just a hack - so I can start any of 3.3, 4.0 and 4.1 by just changing TOMCAT_HOME variable. It

RE: Jk2 shutdown

2002-07-01 Thread Ignacio J. Ortega
It should work fine by just editing workers.properties and using the 'real' Main.java/Startup.java/whatever has a main()/. How we can deal with stdout and stderr redirection?, just now jk2 is passing the file names as params to TomcatStarter, and this will not work if using standard main

RE: Jk2 shutdown

2002-07-01 Thread costinm
On Mon, 1 Jul 2002, Ignacio J. Ortega wrote: It should work fine by just editing workers.properties and using the 'real' Main.java/Startup.java/whatever has a main()/. How we can deal with stdout and stderr redirection?, just now jk2 is passing the file names as params to TomcatStarter,

RE: Jk2 shutdown

2002-07-01 Thread Ignacio J. Ortega
De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Enviado el: 1 de julio de 2002 23:16 Can we move the stdout/stderr redirection to some static util method, in AprImpl ? Any reason to so? i think this would be and overkill, i think pasing the file names as properties is the cleanest way..,

RE: Jk2 shutdown

2002-07-01 Thread costinm
On Mon, 1 Jul 2002, Ignacio J. Ortega wrote: De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Enviado el: 1 de julio de 2002 23:16 Can we move the stdout/stderr redirection to some static util method, in AprImpl ? Any reason to so? i think this would be and overkill, i think pasing

RE: Jk2 shutdown

2002-07-01 Thread Ignacio J. Ortega
worker.jni would call AprImpl and have System.out, System.err redirected. Done, seems much better, thanks. Saludos , Ignacio J. Ortega -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]