Hi,
I've switched (temporarily, maybe) away from JavaService to Procrun.
The problem is that I couldn't get it to work.
In the install script, I'm using the following command:
ExecWait '"$INSTDIR\bin\tomcatw.exe" //IS//Tomcat5 --DisplayName
"Apache Tomcat @VERSION@" --Description "Apache Tomcat @VERSION@ Server
http://jakarta.apache.org/tomcat" --Install "$INSTDIR\bin\tomcat.exe"
--ImagePath "$INSTDIR\bin\bootstrap.jar" --StartupClass
org.apache.catalina.startup.Bootstrap;main;start --ShutdownClass
org.apache.catalina.startup.Bootstrap;main;stop --Java auto
--JavaOptions
-Djava.endorsed.dirs="$INSTDIR\common\endorsed"#-Dcatalina.home="$INSTDIR"
--StdOutputFile "$INSTDIR\logs\stdout.log" --StdErrorFile
"$INSTDIR\logs\stderr.log" --WorkingPath "$INSTDIR"'
I believe this is correct, and using the test mode sort of works (except
that the console output doesn't get redirected). Trying to run the
service doesn't work at all, and looking in the registry, it doesn't
seem to have the needed parameters (so I wonder how the test mode does
work).
Also, Procrun doesn't seem to be designed to handle Tomcat in service
mode (that is, where Tomcat doesn't block and wait for a shutdown command).
Mladen, I think I need some help :)
Other that that, there are now too many ways to start Tomcat in
standalone mode:
- Bootstrap
- The launcher
- JMX
I think the most compelling is to use the launcher + JMX (and allow JMX
only also). Basically, in the Windows distribution, there are some
incosistencies, as the scripts use the launcher, while the service uses
direct invocation of Bootstrap.
I can't do those changes alone.
Comments ?
Remy
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
- Re: Request to Fix Tomcat Standalone 302 ... Bill Barker
- RE: Request to Fix Tomcat Standalone 302 ... neal
- Re: Request to Fix Tomcat Standalone 302 ... Bill Barker
- Re: Request to Fix Tomcat Standalone 302 ... Remy Maucherat
- RE: Request to Fix Tomcat Standalone 302 ... neal
- Re: Request to Fix Tomcat Standalone 302 ... Tim Funk
- Re: Request to Fix Tomcat Standalone 302 ... Donald Ball
- Re: Request to Fix Tomcat Standalone 302 ... Craig R. McClanahan
- Re: Request to Fix Tomcat Standalone 302 ... Tim Funk
- RE: Request to Fix Tomcat Standalone 302 ... Jim Smart
- Re: [5.0] Procrun problems / New loader Remy Maucherat
- Re: [5.0] Procrun problems / New loader jean-frederic clere
- Re: [5.0] Procrun problems / New loader Remy Maucherat
- RE: [5.0] Procrun problems / New loader mturk
- Re: [5.0] Procrun problems / New loader Remy Maucherat
- Re: [5.0] Procrun problems / New loader Remy Maucherat
- RE: [5.0] Procrun problems / New loader mturk
- Re: [5.0] Procrun problems / New loader Remy Maucherat
- RE: [5.0] Procrun problems / New loader mturk
- [4.1.20] Stability rating Remy Maucherat
- Repost: [4.1.20] Stability rating Remy Maucherat