The C-runtime routine used for processing the individual settings doesn't support quotes. You have to add the appropriate quotes in the wrapper.cmd_line setting. This has already been done in Tomcat 3.3.1. Unfortunately, the handling doesn't deal with substituting empty parameters. As a result, an "improvement" to this file in Tomcat 3.3.1 causes a problem. See:
<http://jakarta.apache.org/builds/jakarta-tomcat/release/v3.3.1/bin/win32/i386/> for details on dealing with this problem. Cheers, Larry > -----Original Message----- > From: Dave Swift [mailto:[EMAIL PROTECTED]] > Sent: Friday, May 17, 2002 5:53 AM > To: [EMAIL PROTECTED] > Subject: Tomcat 3.3 as a service > Importance: High > > > Hi, > I trying to follow the instructions for installing > Tomcat 3.3 as > an NT Service > on an NT Server 4 SP6A system. > > I'm encountering a problem with I think relates to my syntax in the > wrapper.properties > file, as the installation directory for my tomcat has a space in it. > > I originally coded the two key definitions in the > wrapper.properties file > as :- > > wrapper.tomcat_home=G:\Apache Group\jakarta-tomcat-3.3 > wrapper.java_home=g:\jdk1.3.1_02 > > As this is where I have installed the Tomcat and JDK code > respectively. > > When I try to start the tomcat service, I get 'Tomcat Failed > to start', and > in the jvm.stderr file in the logs directory, I have the message :- > > java.lang.NoClassDefFoundError: > Group\jakarta-tomcat-3/3\lib\tomcat/jar > Exception in thread "main" > > From this I deduced, possibly erroneously, that the space in > the directory > path for Tomcat > was causing the problem. > > However, I have tried every combination of quotes I can think > of to enclose > the > tomcat_home directory, and they all lead to a Tomcat Failed To Start > message, and > this time no logs either. > > Can you help me with the coding of wrapper.properties to get > this to work ? > I tried > searching on the jakarta site and the general web I didn't > find anything > that helped. > The only worked examples of a wrapper.properties file I found all used > directory > names with no spaces in them. > > I guess I could start again by uninstalling tomcat and all my > webapps and > install > tomcat in a directory with no spaces, but I would really rather > not.......................... > > Needless to say, everything works just fine running the > startup.bat file, > but I would > prefer to run this as a service, as it makes the system > bootup automation > easier, as > I can establish dependencies between services, and also monitoring is > easier for services. > > Cheers, Dave S. > > Senior I.T. Specialist - Systems & Network Management, EMEA > ATS-PIC Tivoli > Unit > E-Mail Ids Internet: [EMAIL PROTECTED] > Internal: > SWIFTDS@IBMGB > Phone +44 (0) 1962-817087 (DDI), Mobile +44 (0) > 772-0411-717, Fax +44 (0) > 1962-818191 > ******************************************************************* > * QUALITY Means never having to say you're sorry * > ******************************************************************* > > > -- > To unsubscribe, e-mail: > <mailto:tomcat-user-> [EMAIL PROTECTED]> > For > additional commands, > e-mail: <mailto:[EMAIL PROTECTED]> > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>