|
From: Adrian W. <adr...@as...> - 2005-11-24 10:44:23
|
Hi Leif, Fair point about the docs. I prob should have included the command that tomcat issues when running normally via the startup.bat script. For startup it is using: start "Tomcat" "C:\j2sdk1.4.2_02\\bin\java" -Daxis.EngineConfigFactory=com.fiorano.bc.axis.configuration.FioranoEngineConfigurationFactoryServlet -DFIORANO_HOME=..\..\.. -DFMQ_DIR=..\..\..\fmq -DBC_REPOSITORY=..\..\..\esb\fes\repository\components -Djava.naming.factory.initial=org.apache.naming.java.javaURLContextFactory -Djava.naming.factory.url.pkgs=org.apache.naming -Djava.util.logging.config.file=./logging.properties -Djava.endorsed.dirs="C:\Program Files\Fiorano\FioranoSOA2006\extlib\tomcat\common\endorsed" -classpath "C:\j2sdk1.4.2_02\\lib\tools.jar;C:\Program Files\Fiorano\FioranoSOA2006\extlib\tomcat\bin\bootstrap.jar" -Dcatalina.base="C:\Program Files\Fiorano\FioranoSOA2006\extlib\tomcat" -Dcatalina.home="C:\Program Files\Fiorano\FioranoSOA2006\extlib\tomcat" -Djava.io.tmpdir="C:\Program Files\Fiorano\FioranoSOA2006\extlib\tomcat\temp" org.apache.catalina.startup.Bootstrap start And for shutdown it is using: "C:\j2sdk1.4.2_02\\bin\java" #-Daxis.EngineConfigFactory=com.fiorano.bc.axis.configuration.FioranoEngineConfigurationFactoryServlet -DFIORANO_HOME=..\..\.. -DFMQ_DIR=..\..\..\fmq -DBC_REPOSITORY=..\..\..\esb\fes\repository\components -Djava.naming.factory.initial=org.apache.naming.java.javaURLContextFactory -Djava.naming.factory.url.pkgs=org.apache.naming -Djava.util.logging.config.file=./logging.properties -Djava.endorsed.dirs="C:\Program Files\Fiorano\FioranoSOA2006\extlib\tomcat\common\endorsed" -classpath "C:\j2sdk1.4.2_02\\lib\tools.jar;C:\Program Files\Fiorano\FioranoSOA2006\extlib\tomcat\bin\bootstrap.jar" -Dcatalina.base="C:\Program Files\Fiorano\FioranoSOA2006\extlib\tomcat" -Dcatalina.home="C:\Program Files\Fiorano\FioranoSOA2006\extlib\tomcat" -Djava.io.tmpdir="C:\Program Files\Fiorano\FioranoSOA2006\extlib\tomcat\temp" org.apache.catalina.startup.Bootstrap stop Thanks, Adrian. Leif Mortenson wrote: > Adrian > I need to figure out a way to make the docs a bit clearer. Those > docs are not meant > to be a fixed configuration for all Tomcat versions. It is simply a > walk through of the > "Process" for coming up with a configuration. > > The problem that you are having is because the version of Tomcat > that you are using > requires a different command line than that shown in the example. > There is most likely > one or more missing system properties in the command line. > > This would be much simpler if Tomcat included a wrapper.conf file > in their > distribution as Jetty does. :-) > > Cheers, > Leif > > Adrian Walls wrote: > >> Hi, >> >> I am trying to configure tomcat to run as a Windows Service using >> wrapper. I have followed the instructions from the wrapper site >> which even uses tomcat as an example on how to set-up a service using >> the WrapperStartStopApp class. See: >> http://wrapper.tanukisoftware.org/doc/english/integrate-start-stop-win.html >> >> >> However when I try to run Tomcat.bat to test it deploys OK before >> installing it as a service I get an exception and I cannot figure out >> what the problem is. I have attached the wrapper log file and the >> conf file. If anyone can help shed some light on this it would be >> greatly appriciated. >> Thanks in advance, >> Adrian. > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click > _______________________________________________ > Wrapper-user mailing list > Wra...@li... > https://lists.sourceforge.net/lists/listinfo/wrapper-user -- Adrian Walls Tel: +44 28 9072 5094 E-mail: a....@as... Asidua Ltd. Office Address: 10 Weavers Court, Belfast BT12 5GH. Registered in Northern Ireland No. 043987 This electronic message contains information from Asidua Ltd. which may be privileged or confidential. The information is intended to be for the use of the individual(s) or entity named above. If you are not the intended recipient be aware that any disclosure copying, distribution or use of the contents of this information is prohibited. If you have received this electronic message in error, please notify us by telephone or email (to the numbers or address above) immediately. |