Yes, I followed the directions at http://www.stardeveloper.com/articles/060801-2.shtml

which says...

"Now you'll have to create two environment variables, CATALINA_HOME and JAVA_HOME. 
Most probably you'll have JAVA_HOME already created if you have installed Java 
Development Kit on your system. If not then you should create it. The values of these 
variables will be something like :

CATALINA_HOME : C:\jakarta-tomcat-4.0-b5 
JAVA_HOME : C:\jdk1.3 
To create these environment variables in Windows 2000, go to Start -> Settings -> 
Control Panel -> System -> Advanced -> Environment Variables -> System variables -> 
New. Enter the name and value for CATALINA_HOME and also for JAVA_HOME if not already 
there."


-----Original Message-----
From: "Cox, Charlie" <[EMAIL PROTECTED]>
Date: Fri, 1 Feb 2002 15:25:47 -0500 
To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
Subject: RE: Jakarta NT service error


> you have JAVA_HOME set as a system environment variable, not a user env.
> variable?
> 
> > -----Original Message-----
> > From: Atok Koenig [mailto:[EMAIL PROTECTED]]
> > Sent: Friday, February 01, 2002 3:04 PM
> > To: Tomcat Users List
> > Subject: RE: Jakarta NT service error
> > 
> > 
> > Dear Charlie,
> > 
> > Than you for the response. Someone had recomended looking in 
> > the batch files to compare setting info (batch files work but 
> > server stops when I log out) 
> > 
> > I am getting the message "$(wrapper.JAVA_HOME)\bin\java.exe 
> > -XrsError: cannot create new process - the system cannot find 
> > the path specified (0x3)
> > 
> > I have JAVA_HOME set up as a Windows Envoronment Variable 
> > pointing to c:\jdk1.2.2 and if you go to 
> > c:\jdk1.2.2\bin\java.exe is there
> > 
> > I included my wrapper.properties without comments below. All 
> > help is really appreciated, I am learning a lot
> > 
> > 
> > wrapper.tomcat_home= C:\jakarta-tomcat-4.0.1
> > wrapper.java_home= C:\jdk1.2.2
> > 
> > 
> > wrapper.stdout=$(wrapper.tomcat_home)\logs\jvm.stdout
> > wrapper.stderr=$(wrapper.tomcat_home)\logs\jvm.stderr
> > 
> > wrapper.ld_path=d:\
> > wrapper.ld_path=c:\
> > wrapper.class_path=$(wrapper.java_home)\classes\
> > 
> > wrapper.javabin=$(wrapper.JAVA_HOME)\bin\java.exe
> > wrapper.shutdown_port=8007
> > 
> > wrapper.shutdown_protocol=ajp13
> > 
> > $(wrapper.startup_class) -config $(wrapper.server_xml) -home 
> > $(wrapper.tomcat_home)
> > wrapper.cmd_line=$(wrapper.javabin) -Xrs 
> > -Dorg.xml.sax.driver=org.apache.xerces.parsers.SAXParser 
> > -Dcatalina.home="C:\jakarta-tomcat-4.0.1" -classpath 
> > $(wrapper.class_path)
> > $(wrapper.startup_class) -config $(wrapper.server_xml) start
> > 
> > 
> > 
> > 
> > -----Original Message-----
> > From: "Cox, Charlie" <[EMAIL PROTECTED]>
> > Date: Fri, 1 Feb 2002 14:03:59 -0500 
> > To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
> > Subject: RE: Jakarta NT service error
> > 
> > 
> > > when installed as a service, you don't need catalina.bat - 
> > everything is in
> > > your wrapper.properties
> > > 
> > > try this for your wrapper properties in TC4:
> > > 
> > > wrapper.startup_class=org.apache.catalina.startup.Bootstrap
> > > 
> > > wrapper.cmd_line=$(wrapper.javabin) -Xrs 
> > > -Dorg.xml.sax.driver=org.apache.xerces.parsers.SAXParser 
> > > -Dcatalina.home="D:\tomcat" -classpath $(wrapper.class_path) 
> > > $(wrapper.startup_class) -config $(wrapper.server_xml) start
> > > 
> > > Charlie
> > > 
> > > > -----Original Message-----
> > > > From: Atok Koenig [mailto:[EMAIL PROTECTED]]
> > > > Sent: Friday, February 01, 2002 1:52 PM
> > > > To: Tomcat Users List
> > > > Subject: RE: Jakarta NT service error
> > > > 
> > > > 
> > > > I really appreciate the response
> > > > 
> > > > 
> > > > I did look at that but probably dont fully understand what I 
> > > > am looking at
> > > > 
> > > > catalina.bat includes   set _RUNJAVA="%JAVA_HOME%\bin\java"
> > > > with Windows environmental variable set to  JAVA_HOME       
> > > > C:\jdk1.2.2
> > > > 
> > > > and my wrapper.properties file says...
> > > > set _STARTJAVA=start "%JAVA_HOME%\bin\java"
> > > > set _RUNJAVA="%JAVA_HOME%\bin\java"
> > > > and 
> > > > wrapper.javabin=$(wrapper.java_home)\bin\java.exe
> > > > 
> > > > so I thought that all looked fine, I commented out everything 
> > > > related to the 3.2.x jars and the errror went away but 
> > > > starting the service fails, just saying "Asked (and given) 
> > > > winsock 1.1"
> > > > -----------------------------------------
> > > > Here are the main elements from my setup below...
> > > > 
> > > > My environmental variables...
> > > > 
> > > > CATALINA_HOME   C:\jakarta-tomcat-4.0.1
> > > > JAVA_HOME       C:\jdk1.2.2
> > > > 
> > > > 
> > > > from catalina.bat
> > > > 
> > > > if not "%OS%" == "Windows_NT" goto noTitle
> > > > set _STARTJAVA=start "Catalina" "%JAVA_HOME%\bin\java"
> > > > set _RUNJAVA="%JAVA_HOME%\bin\java"
> > > > goto gotTitle
> > > > :noTitle
> > > > set _STARTJAVA=start "%JAVA_HOME%\bin\java"
> > > > set _RUNJAVA="%JAVA_HOME%\bin\java"
> > > > :gotTitle
> > > > 
> > > > from wrapper.properties
> > > > 
> > > > wrapper.tomcat_home= C:\jakarta-tomcat-4.0.1
> > > > wrapper.java_home= C:\jdk1.2.2
> > > > 
> > > > 
> > > > wrapper.class_path=$(wrapper.tomcat_home)\classes
> > > > wrapper.class_path=$(wrapper.tomcat_home)\lib\jaxp.jar
> > > > wrapper.class_path=$(wrapper.tomcat_home)\lib\parser.jar
> > > > wrapper.class_path=$(wrapper.tomcat_home)\lib\webserver.jar
> > > > wrapper.class_path=$(wrapper.tomcat_home)\lib\servlet.jar
> > > > wrapper.class_path=$(wrapper.tomcat_home)\lib\jasper.jar
> > > > 
> > > > wrapper.class_path=$(wrapper.java_home)\lib\tools.jar
> > > > wrapper.class_path=$(wrapper.java_home)\classes\
> > > > wrapper.javabin=$(wrapper.java_home)\bin\java.exe
> > > > 
> > > > wrapper.startup_class=org.apache.tomcat.startup.Tomcat
> > > > 
> > > > wrapper.shutdown_port=8007
> > > > wrapper.shutdown_protocol=ajp13
> > > > 
> > > > wrapper.cmd_line=$(wrapper.javabin) -classpath 
> > > > $(wrapper.class_path) $(wrapper.startup_class) -config 
> > > > $(wrapper.server_xml) -home $(wrapper.tomcat_home)
> > > > 
> > > > 
> > > > -----Original Message-----
> > > > From: Larry Isaacs <[EMAIL PROTECTED]>
> > > > Date: Fri, 1 Feb 2002 08:03:14 -0500 
> > > > To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
> > > > Subject: RE: Jakarta NT service error
> > > > 
> > > > 
> > > > > You need to examine Tomcat 4.0.1's bin\catalina.bat to see the
> > > > > "Java" command used to start Catalina.  You must then
> > > > > update the "Java" command created by the wrapper.properies
> > > > > file to create the same command.  The error shown below is
> > > > > including Tomcat 3.2.x's list of jars and startup class which
> > > > > aren't going to work with Catalina.
> > > > > 
> > > > > Cheers,
> > > > > Larry
> > > > > 
> > > > > > -----Original Message-----
> > > > > > From: Atok Koenig [mailto:[EMAIL PROTECTED]]
> > > > > > Sent: Thursday, January 31, 2002 5:57 PM
> > > > > > To: [EMAIL PROTECTED]
> > > > > > Subject: Jakarta NT service error
> > > > > > 
> > > > > > 
> > > > > > Got NT service installed but it wont start getting the error 
> > > > > > below; none of these jar files were on the server so I copied 
> > > > > > them from another box to this the paths listed in the error 
> > > > > > and that didnt do anything
> > > > > > 
> > > > > > -Thanks
> > > > > > 
> > > > > > 
> > > > > > c:\Java>jk_nt_service -s tomcat
> > > > > > Asked (and given) winsock 1.1
> > > > > > 
> > > > > > c:\jdk1.2.2\bin\java.exe -classpath 
> > > > > > c:\jakarta-tomcat-4.0.1\classes; 
> > > > > > c:\jakarta-tomcat-4.0.1\lib\jaxp.jar; 
> > > > > > c:\jakarta-tomcat-4.0.1\lib\parser.jar; 
> > > > > > c:\jakarta-tomcat-4.0.1\lib\webserver.jar; 
> > > > > > c:\jakarta-tomcat-4.0.1\lib\servlet.jar; 
> > > > > > c:\jakarta-tomcat-4.0.1\lib\jasper.jar; 
> > > > > > c:\jakarta-tomcat-4.0.1\lib\tools.jar; 
> > > > > > c:\jakarta-tomcat-4.0.1\lib\classes.zip 
> > > > > > org.apache.tomcat.startup.Tomcat -config 
> > > > > > c:\c:\jakarta-tomcat-4.0.1\conf\server.xml -home 
> > > > > > c:\jakarta-tomcat-4.0.1Error: Can not create new process - 
> > > > > > The filename, directory name, or volume label syntax is 
> > > > > > incorrect (0x7b)
> > > > > > 
> > > > > > 
> > > 
> > > --
> > > To unsubscribe:   
> <mailto:[EMAIL PROTECTED]>
> > For additional commands: <mailto:[EMAIL PROTECTED]>
> > Troubles with the list: <mailto:[EMAIL PROTECTED]>
> > 
> > 
> 
> -- 
> 
> _______________________________________________
> Sign-up for your own FREE Personalized E-mail at Mail.com
> http://www.mail.com/?sr=signup
> 
> Win a ski trip!
> http://www.nowcode.com/register.asp?affiliate=1net2phone3a
> 
> 
> 
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
> 
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
> 
> 

-- 

_______________________________________________
Sign-up for your own FREE Personalized E-mail at Mail.com
http://www.mail.com/?sr=signup

Win a ski trip!
http://www.nowcode.com/register.asp?affiliate=1net2phone3a



--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to