Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 7732 invoked from network); 4 Feb 2002 12:54:19 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 4 Feb 2002 12:54:19 -0000 Received: (qmail 8756 invoked by uid 97); 4 Feb 2002 12:53:33 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@jakarta.apache.org Received: (qmail 8740 invoked by uid 97); 4 Feb 2002 12:53:33 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 8729 invoked from network); 4 Feb 2002 12:53:32 -0000 Message-ID: <399E1F52E73BD41194A800D0B74A08AB01E4D6D1@skipper.cincom.com> From: "Cox, Charlie" To: 'Tomcat Users List' Subject: RE: Jakarta NT service error Date: Mon, 4 Feb 2002 07:53:20 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2654.89) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N what's this extra line in there for? $(wrapper.startup_class) -config $(wrapper.server_xml) -home $(wrapper.catalina_home) being a properties file and needing x= on every line, this will definately cause problems Charlie > -----Original Message----- > From: Atok Koenig [mailto:atok@mad.scientist.com] > Sent: Friday, February 01, 2002 5:07 PM > To: Tomcat Users List > Subject: RE: Jakarta NT service error > > > I fixed it and still nothing > > ------wrapper.properties file------ > > wrapper.catalina_home=C:\jakarta-tomcat-4.0.1 > wrapper.java_home=C:\jdk1.2.2 > > wrapper.stdout=$(wrapper.catalina_home)\logs\jvm.stdout > wrapper.stderr=$(wrapper.catalina_home)\logs\jvm.stderr > > wrapper.ld_path=d:\ > wrapper.ld_path=c:\ > wrapper.class_path=$(wrapper.java_home)\classes\ > wrapper.class_path=$(wrapper.catalina_home)\bin\bootstrap.jar > wrapper.class_path=$(wrapper.java_home)\lib\tools.jar > wrapper.javabin=$(wrapper.java_home)\bin\java.exe > wrapper.startup_class=org.apache.catalina.startup.Bootstrap > wrapper.server_xml=$(wrapper.catalina_home)\conf\server.xml > > wrapper.shutdown_port=8007 > wrapper.shutdown_protocol=ajp13 > $(wrapper.startup_class) -config $(wrapper.server_xml) -home > $(wrapper.catalina_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" > Date: Fri, 1 Feb 2002 16:20:52 -0500 > To: "'Tomcat Users List'" > Subject: RE: Jakarta NT service error > > > > one more thing... > > > > wrapper.java_home is not the same as wrapper.JAVA_HOME > > > > change your javabin line to: > > wrapper.javabin=$(wrapper.java_home)\bin\java.exe > > > > I missed that I have the bootstrap.jar line below...but I > don't think that > > you got that far yet - I think its not resolving wrapper.java_home > > Charlie > > > > > -----Original Message----- > > > From: Larry Isaacs [mailto:Larry.Isaacs@sas.com] > > > Sent: Friday, February 01, 2002 4:12 PM > > > To: 'Tomcat Users List' > > > Subject: RE: Jakarta NT service error > > > > > > > > > I missed earlier the fact that "wrapper.class_path" > > > must include the entries set on the CLASSPATH in the > > > catalina.bat file. These will be included on the > > > command line built using wrapper.properties. Thus, > > > you would need to add: > > > > > > wrapper.class_path=$(wrapper.tomcat_home)\bin\bootstrap.jar > > > wrapper.class_path=$(wrapper.java_home)\lib\tools.jar > > > > > > You might want to change the wrapper.tomcat_home's to > > > wrapper.catalina_home to avoid confusion. > > > > > > Cheers, > > > Larry > > > > > > > -----Original Message----- > > > > From: Cox, Charlie [mailto:ccox@cincom.com] > > > > Sent: Friday, February 01, 2002 3:58 PM > > > > To: 'Tomcat Users List' > > > > Subject: RE: Jakarta NT service error > > > > > > > > > > > > I think you need to remove the space(after '=') in your > > > > catalina_home and > > > > java_home statements: > > > > > > > > wrapper.tomcat_home=C:\jakarta-tomcat-4.0.1 > > > > wrapper.java_home=C:\jdk1.2.2 > > > > > > > > that is one difference in my wrapper props and I seem to > > > > remember that this > > > > 'feature' annoyed me before... > > > > Charlie > > > > > > > > > -----Original Message----- > > > > > From: Atok Koenig [mailto:atok@mad.scientist.com] > > > > > Sent: Friday, February 01, 2002 3:38 PM > > > > > To: Tomcat Users List > > > > > Subject: RE: Jakarta NT service error > > > > > > > > > > > > > > > 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" > > > > > Date: Fri, 1 Feb 2002 15:25:47 -0500 > > > > > To: "'Tomcat Users List'" > > > > > 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:atok@mad.scientist.com] > > > > > > > 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" > > > > > > > Date: Fri, 1 Feb 2002 14:03:59 -0500 > > > > > > > To: "'Tomcat Users List'" > > > > > > > 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:atok@mad.scientist.com] > > > > > > > > > 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 > > > > > > > > > Date: Fri, 1 Feb 2002 08:03:14 -0500 > > > > > > > > > To: "'Tomcat Users List'" > > > > > > > > > > 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) > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > > To unsubscribe: > > > > > > > > > > > > > For additional commands: > > > > > > > > > > Troubles with the list: > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > > > > _______________________________________________ > > > > > 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: > > > > > > > > > For additional commands: > > > > > > > > > Troubles with the list: > > > > > > > > > > > > > > -- > > > > > To unsubscribe: > > > > > > > > > For additional commands: > > > > > > > > > Troubles with the list: > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > > _______________________________________________ > > > > 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: > > > > > For additional commands: > > > > Troubles with the list: > > > > > > > -- > > > To unsubscribe: > > > > For additional commands: > > > > Troubles with the list: > > > > > > > > -- > > To unsubscribe: > > > For additional commands: > > > Troubles with the list: > > > > > -- > > To unsubscribe: > > > For additional commands: > > > Troubles with the list: > > > > > > > -- > > _______________________________________________ > 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: > For additional commands: > Troubles with the list: > -- To unsubscribe: For additional commands: Troubles with the list: