tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Atok Koenig" <a...@mad.scientist.com>
Subject RE: Jakarta NT service error
Date Fri, 01 Feb 2002 18:51:50 GMT
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 <Larry.Isaacs@sas.com>
Date: Fri, 1 Feb 2002 08:03:14 -0500 
To: "'Tomcat Users List'" <tomcat-user@jakarta.apache.org>
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:atok@mad.scientist.com]
> > Sent: Thursday, January 31, 2002 5:57 PM
> > To: tomcat-user@jakarta.apache.org
> > 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)
> > 
> > 
> > -- 
> > 
> > _______________________________________________
> > 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:tomcat-user-unsubscribe@jakarta.apache.org>
> > For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
> > Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>
> > 
> 
> --
> To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
> Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>
> 
> 

-- 

_______________________________________________
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:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message