Title: RE: jk_nt_service and NT error 2140

jk_nt_service ends up executing wrapper.cmd_line
If you quote some of the values on the line:

wrapper.cmd_line="$(wrapper.javabin)" -classpath "$(wrapper.class_path)" $(wrapper.startup_class) -config "$(wrapper.server_xml)" -home "$(wrapper.tomcat_home)"

it might work with spaces in file names.

-----Original Message-----
From: Jones, Stephen [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 12, 2001 12:37 PM
To: '[EMAIL PROTECTED]'
Subject: RE: jk_nt_service and NT error 2140


Jurgen:

I believe there is an issue with the wrapper.properties file that applies to
you-- it does not support long filenames. You need to use 8.3 notation file
and directory names, e.g.

wrapper.tomcat_home=x:\jakart~1\tomcat~1

Hope this helps!
Steve

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 12, 2001 9:38 AM
Subject: jk_nt_service and NT error 2140




Hi,

I'm trying to start tomcat as a Windows NT service and get an error when I
try to start the service.
The steps, I did:

- install tomcat 3.3m4 to x:\jakarta-tomcat-3.3m4  (drive x: is my
harddisk)
- install jk_nt_service.exe in the x:\jakarta-tomcat-3.3m4\bin directory
- edit the the file x:\jakarta-tomcat-3.3m4\conf\jk\wrapper.properties and
change TOMCAT_HOME and JAVA_HOME:
     wrapper.tomcat_home=x:\jakarta-tomcat-3.3-m4       (i also
triedtomcat-3.3-m3)
     wrapper.java_home=x:\jdk1.2.2                 (i also tried jdk 1.3.0)
- install the service with:
     jk_nt_service.exe -I tomcat-3.3m4
x:\jakarta-tomcat-3.3-m4\conf\jk\wrapper.properties   (NT says "ok")
- TRY TO start the service in the control panel/services dialog:

---> NT says: Error 2140

Did I forgot something or did I misunderstood something or is there a real
problem with jk_nt_service.exe?

Thanks in advance,
juergen




Reply via email to