tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "MAURER,ALEXANDRE (HP-Switzerland,ex1)" <alexandre_mau...@hp.com>
Subject RE: Jakarta NT Service
Date Fri, 25 May 2001 16:49:39 GMT
dear all

I posted once a problem related to starting Tomcat as NT Service (which did
not work on my Omnibook). 

I have been looking in comp.lang.java.programmer (Title=tomcat & Apache,
author Michael Tickle) and someone was mentioning the same problem as I
have; but there one guy answered that it was due to a 'typo' in the
wrapper.properties.
I hence went through mine and did the following : 
old
wrapper.tomcat_home="D:\Program Files\Jakarta\jakarta-tomcat-3.2.1\"

new1 : (service starts and stops but logs errors in jmv.stderr, which is
new)
wrapper.tomcat_home="D:\Program Files\Jakarta\jakarta-tomcat-3.2.1"

The error were :
java.lang.NoClassDefFoundError:
Files\Jakarta\jakarta-tomcat-3/2/1\classes;D:\Program
Exception in thread "main" java.lang.NoClassDefFoundError:
Files/Jakarta/jakarta-tomcat-3/2/1\classes;D:/Program
Exception in thread "main" java.lang.NoClassDefFoundError:
Files\Jakarta\jakarta-tomcat-3/2/1\classes;D:\Program

=> Hmmm problem with " " and "." again the old long filename (brilliant
invention of MS !)
problem.

new2 : (and running)
wrapper.tomcat_home=D:\Progra~1\Jakarta\jakart~1.1

=> I got the MSDOS names from the directory (I love NT/Explorer for that)

...and this works ! 

I attached my whole wrapper.properties (located in TOMCAT_HOME/conf) as
sample.

Apparently Apache is having the same problems but there enclosing pathnames
between '"' will  work.
You might consider posting this in some newsgroup (or in a FAQ). I have a
bad access to newsgroups from within HP...

Cheers


----------------------------------------------------------
Alexandre MAURER               Phone  : +41 (0) 1 735 7495
Hewlett-Packard Switzerland    Fax    : +41 (0) 1 735 7708
HP Consulting Zurich           Mobile : +41 (0)79 634 8037
[mailto:alexandre_maurer@hp.com]
----------------------------------------------------------  



Mime
View raw message