RE: Jakarta NT service error

2002-02-04 Thread Cox, Charlie

that seems to be consistent as mine has tomcat in place of your jakarta and
my service is named tomcat.

Charlie

> -Original Message-
> From: Atok Koenig [mailto:[EMAIL PROTECTED]]
> Sent: Friday, February 01, 2002 5:45 PM
> To: Tomcat Users List
> Subject: RE: Jakarta NT service error
> 
> 
> I looked at the NT Service properties via the Services Applet 
> and under "Path to executable" it says...
> 
> "C:\Java\jk_nt_service.exe Jakarta"
> 
> Where Jakarta is what I named the service, why would it 
> include "Jakarta" here? Could that be messing it up? Can 
> anyone running this service verify that the path includes the 
> name of the service?
> 
> -Original Message-
> From: "Atok Koenig" <[EMAIL PROTECTED]>
> Date: Fri, 01 Feb 2002 17:07:13 -0500
> To: "Tomcat Users List" <[EMAIL PROTECTED]>
> 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" <[EMAIL PROTECTED]>
> > Date: Fri, 1 Feb 2002 16:20:52 -0500 
> > To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
> > 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:[EMAIL PROTECTED]]
> > > > 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:[EMAIL PROTECTED]]
> > > > > 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 pro

RE: Jakarta NT service error

2002-02-04 Thread Cox, Charlie

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:[EMAIL PROTECTED]]
> 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" <[EMAIL PROTECTED]>
> Date: Fri, 1 Feb 2002 16:20:52 -0500 
> To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
> 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:[EMAIL PROTECTED]]
> > > 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:[EMAIL PROTECTED]]
> > > > 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:[EMAIL PROTECTED]]
> > > > > 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 c

RE: Jakarta NT service error

2002-02-01 Thread Atok Koenig

I looked at the NT Service properties via the Services Applet and under "Path to 
executable" it says...

"C:\Java\jk_nt_service.exe Jakarta"

Where Jakarta is what I named the service, why would it include "Jakarta" here? Could 
that be messing it up? Can anyone running this service verify that the path includes 
the name of the service?

-Original Message-
From: "Atok Koenig" <[EMAIL PROTECTED]>
Date: Fri, 01 Feb 2002 17:07:13 -0500
To: "Tomcat Users List" <[EMAIL PROTECTED]>
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" <[EMAIL PROTECTED]>
> Date: Fri, 1 Feb 2002 16:20:52 -0500 
> To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
> 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:[EMAIL PROTECTED]]
> > > 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:[EMAIL PROTECTED]]
> > > > 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:[EMAIL PROTECTED]]
> > > > > 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

RE: Jakarta NT service error

2002-02-01 Thread Atok Koenig

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" <[EMAIL PROTECTED]>
Date: Fri, 1 Feb 2002 16:20:52 -0500 
To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
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:[EMAIL PROTECTED]]
> > 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:[EMAIL PROTECTED]]
> > > 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:[EMAIL PROTECTED]]
> > > > 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" <[EMAIL PROTECTED]>
> > > > Date: Fri, 1 Feb 2002 15:25:47 -0500 
> > > > To:

RE: Jakarta NT service error

2002-02-01 Thread Atok Koenig

Thanks for the help, still not working but error message went away

here is my wrapper


wrapper.catalina_home=C:\jakarta-catalina-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-catalina-4.0.1" -classpath $(wrapper.class_path) 
$(wrapper.startup_class) -config $(wrapper.server_xml) start

-Original Message-
From: Larry Isaacs <[EMAIL PROTECTED]>
Date: Fri, 1 Feb 2002 16:11:33 -0500 
To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
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:[EMAIL PROTECTED]]
> > 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:[EMAIL PROTECTED]]
> > > 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" <[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 

RE: Jakarta NT service error

2002-02-01 Thread Cox, Charlie

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:[EMAIL PROTECTED]]
> 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:[EMAIL PROTECTED]]
> > 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:[EMAIL PROTECTED]]
> > > 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" <[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
> > > > > 
> > > > > 
> 

RE: Jakarta NT service error

2002-02-01 Thread Atok Koenig

Thanks for looking at this. I made that change and dont see a difference; error reads

"$(wrapper.JAVA_HOME)\bin\java.exe -XrsError: Can not create new process - The system 
cannot find the path specified. (0x3)"

wrapper.properties reads
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.startup_class=org.apache.catalina.startup.Bootstrap
wrapper.server_xml=$(wrapper.tomcat_home)\conf\server.xml

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 15:57:31 -0500 
To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
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:[EMAIL PROTECTED]]
> > 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" <[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:\
> > > 

RE: Jakarta NT service error

2002-02-01 Thread Larry Isaacs

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:[EMAIL PROTECTED]]
> 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:[EMAIL PROTECTED]]
> > 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" <[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 
> > > > -Dcatal

RE: Jakarta NT service error

2002-02-01 Thread Cox, Charlie

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:[EMAIL PROTECTED]]
> 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" <[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.

RE: Jakarta NT service error

2002-02-01 Thread Atok Koenig

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"
> > > > 

RE: Jakarta NT service error

2002-02-01 Thread Cox, Charlie

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

RE: Jakarta NT service error

2002-02-01 Thread Atok Koenig

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) -h

RE: Jakarta NT service error

2002-02-01 Thread Cox, Charlie

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]>




RE: Jakarta NT service error

2002-02-01 Thread Atok Koenig

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)
> > 
> > 
> > -- 
> > 
> > ___
> > 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]>




RE: Jakarta NT service error

2002-02-01 Thread Larry Isaacs

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)
> 
> 
> -- 
> 
> ___
> 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: 




Re: Jakarta NT SERVICE--- logout USER

2001-12-10 Thread Fredrik Henriksson

JDK1.3.1 has a switch (-Xrs) that, at least by its description, looks like
it would solve the problem.

/Fredrik
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, December 10, 2001 3:43 PM
Subject: RE: Jakarta NT SERVICE--- logout USER


> This isnt a config issue this is a sun JDK (1.3) issue I had heard that
1.4
> resolves this, try looking there...
>
> -Original Message-
> From: Catalin [mailto:[EMAIL PROTECTED]]
> Sent: Monday, December 10, 2001 2:55 PM
> To: [EMAIL PROTECTED]
> Subject: Jakarta NT SERVICE--- logout USER
>
>
> Hello to everybody!
>
>
> I have a jakarta-tomcat-3.3m4 on a Win2k system and I have a problem:
> every times one user of Operating System logout, the service it
> stoppes.:-(
> Where do I need to modify the config so that will not be happens any
> more??
>
> Thanks!!
>
>
>
> --
> 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]>
>
>


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




Re: Jakarta NT SERVICE--- logout USER

2001-12-10 Thread Pae Choi

Thanks, Brian!!! :-)


Pae


> $ java -X
> -Xbootclasspath:
>   set search path for bootstrap classes and resources
> -Xnoclassgc   disable class garbage collection
> -Xmsset initial Java heap size
> -Xmxset maximum Java heap size
> -Xrs  reduce the use of OS signals
> -Xcheck:jni   perform additional checks for JNI functions
> -Xrunhprof[:help]|[:=, ...]
>   perform heap, cpu, or monitor profiling
> -Xdebug   enable remote debugging
> -Xfuture  enable strictest checks, anticipating future default
>
> The -X options are non-standard and subject to change without notice.
>
> -Original Message-
> From: Pae Choi [mailto:[EMAIL PROTECTED]]
> Sent: Monday, December 10, 2001 9:17 AM
> To: Tomcat Users List
> Subject: Re: Jakarta NT SERVICE--- logout USER
>
>
> Wesley,
>
> What the "rs" option does in the "-Xrs" option?
>
>
> Pae
>
>
> > Use the -Xrs option when starting the JVM.
> >
> > Wesley
> >
> > > -Original Message-
> > > From: Catalin [mailto:[EMAIL PROTECTED]]
> > > Sent: Monday, December 10, 2001 2:55 PM
> > > To: [EMAIL PROTECTED]
> > > Subject: Jakarta NT SERVICE--- logout USER
> > >
> > >
> > > Hello to everybody!
> > >
> > >
> > > I have a jakarta-tomcat-3.3m4 on a Win2k system and
> > > I have a problem:
> > > every times one user of Operating System logout, the
> > > service it
> > > stoppes. :-(
> > > Where do I need to modify the config so that will
> > > not be happens any
> > > more??
> > >
> > > Thanks!!
> >
> >
> > __
> > Do You Yahoo!?
> > Send your FREE holiday greetings online!
> > http://greetings.yahoo.com
> >
> > --
> > 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]>
>
> --
> 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]>




RE: Jakarta NT SERVICE--- logout USER

2001-12-10 Thread Brian Adams

$ java -X
-Xbootclasspath:
  set search path for bootstrap classes and resources
-Xnoclassgc   disable class garbage collection
-Xmsset initial Java heap size
-Xmxset maximum Java heap size
-Xrs  reduce the use of OS signals
-Xcheck:jni   perform additional checks for JNI functions
-Xrunhprof[:help]|[:=, ...]
  perform heap, cpu, or monitor profiling
-Xdebug   enable remote debugging
-Xfuture  enable strictest checks, anticipating future default

The -X options are non-standard and subject to change without notice.

-Original Message-
From: Pae Choi [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 10, 2001 9:17 AM
To: Tomcat Users List
Subject: Re: Jakarta NT SERVICE--- logout USER


Wesley,

What the "rs" option does in the "-Xrs" option?


Pae


> Use the -Xrs option when starting the JVM.
> 
> Wesley
> 
> > -Original Message-
> > From: Catalin [mailto:[EMAIL PROTECTED]]
> > Sent: Monday, December 10, 2001 2:55 PM
> > To: [EMAIL PROTECTED]
> > Subject: Jakarta NT SERVICE--- logout USER
> > 
> > 
> > Hello to everybody!
> > 
> > 
> > I have a jakarta-tomcat-3.3m4 on a Win2k system and
> > I have a problem:
> > every times one user of Operating System logout, the
> > service it
> > stoppes. :-(
> > Where do I need to modify the config so that will
> > not be happens any
> > more??
> > 
> > Thanks!!
> 
> 
> __
> Do You Yahoo!?
> Send your FREE holiday greetings online!
> http://greetings.yahoo.com
> 
> --
> 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]>

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




Re: Jakarta NT SERVICE--- logout USER

2001-12-10 Thread Pae Choi

Wesley,

What the "rs" option does in the "-Xrs" option?


Pae


> Use the -Xrs option when starting the JVM.
> 
> Wesley
> 
> > -Original Message-
> > From: Catalin [mailto:[EMAIL PROTECTED]]
> > Sent: Monday, December 10, 2001 2:55 PM
> > To: [EMAIL PROTECTED]
> > Subject: Jakarta NT SERVICE--- logout USER
> > 
> > 
> > Hello to everybody!
> > 
> > 
> > I have a jakarta-tomcat-3.3m4 on a Win2k system and
> > I have a problem:
> > every times one user of Operating System logout, the
> > service it
> > stoppes. :-(
> > Where do I need to modify the config so that will
> > not be happens any
> > more??
> > 
> > Thanks!!
> 
> 
> __
> Do You Yahoo!?
> Send your FREE holiday greetings online!
> http://greetings.yahoo.com
> 
> --
> To unsubscribe:   
> For additional commands: 
> Troubles with the list: 
> 


--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




RE: Jakarta NT SERVICE--- logout USER

2001-12-10 Thread Wesley E. Ribeiro

Use the -Xrs option when starting the JVM.

Wesley

> -Original Message-
> From: Catalin [mailto:[EMAIL PROTECTED]]
> Sent: Monday, December 10, 2001 2:55 PM
> To: [EMAIL PROTECTED]
> Subject: Jakarta NT SERVICE--- logout USER
> 
> 
> Hello to everybody!
> 
> 
> I have a jakarta-tomcat-3.3m4 on a Win2k system and
> I have a problem:
> every times one user of Operating System logout, the
> service it
> stoppes. :-(
> Where do I need to modify the config so that will
> not be happens any
> more??
> 
> Thanks!!


__
Do You Yahoo!?
Send your FREE holiday greetings online!
http://greetings.yahoo.com

--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




RE: Jakarta NT SERVICE--- logout USER

2001-12-10 Thread SHeyns

This isnt a config issue this is a sun JDK (1.3) issue I had heard that 1.4
resolves this, try looking there...

-Original Message-
From: Catalin [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 10, 2001 2:55 PM
To: [EMAIL PROTECTED]
Subject: Jakarta NT SERVICE--- logout USER


Hello to everybody!


I have a jakarta-tomcat-3.3m4 on a Win2k system and I have a problem:
every times one user of Operating System logout, the service it
stoppes. :-(
Where do I need to modify the config so that will not be happens any
more??

Thanks!!



--
To unsubscribe:   
For additional commands: 
Troubles with the list: 

--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




Re: JAKARTA NT SERVICE

2001-11-28 Thread tomcat


Your syntax is wrong.

Try "jk_nt_service -I SERVICE_NAME c:\tomcat\conf\wrapper.properties"

Where "SERVICE_NAME" is whatever you want to call this service.  Make sure you 
specify the correct path to your wrapper.properties as well.

-Ken


Quoting Catalin <[EMAIL PROTECTED]>:

> Hi 2 All!
> 
> 
> I want to make "jakarta-tomcat-3.3-m4".
> I have downloaded the "jk_nt_service.exe", I setted TOMCAT_HOME
> and JAVA_HOME in wrapper.properties, I've run from command line
> "jk_nt_service.exe Ijakarta"
> and I have this error:
> "Asked (and given) winsock1.1
> Error: StartServiceCtrlDispatcher failed."
> 
> 
> Can anyone help me??
> 10x 2 all!!
> 
> 
> ps: 10x, Larry
> 
> 
> 
> --
> To unsubscribe:   
> For additional commands: 
> Troubles with the list: 
> 

--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




RE: JAKARTA NT SERVICE

2001-11-28 Thread Larry Isaacs

The default wrapper.properties specifies log files of
"logs\jvm.stdout" and "logs\jvm.stderr".  I would
check these files for errors.

Larry

> -Original Message-
> From: Catalin [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, November 28, 2001 1:16 PM
> To: [EMAIL PROTECTED]
> Subject: JAKARTA NT SERVICE
> 
> 
> Hi 2 All!
> 
> 
> I want to make "jakarta-tomcat-3.3-m4".
> I have downloaded the "jk_nt_service.exe", I setted TOMCAT_HOME
> and JAVA_HOME in wrapper.properties, I've run from command line
> "jk_nt_service.exe Ijakarta"
> and I have this error:
> "Asked (and given) winsock1.1
> Error: StartServiceCtrlDispatcher failed."
> 
> 
> Can anyone help me??
> 10x 2 all!!
> 
> 
> ps: 10x, Larry
> 
> 
> 
> --
> To unsubscribe:   
> For additional commands: 
> Troubles with the list: 
> 

--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




RE: Re: Jakarta NT Service

2001-11-13 Thread Travis Schmid

Thanks for the thought but it is neither of those things. I was using the
-Xrs flag and was NOT encountering the shutdown bug.  The additional
services would shutdown immediately upon starting a second service.  I
didn't have to logout for the problem to occur.  
The services were installed using a batch script and each service had a
unique name.  The exact same configuration files were used successfully on
Win2k server.  Hence my conclusion that it has something to do with Win2k
Pro.
I'm no longer concerned that it doesn't work on Win2k Pro.  I'm now only
doing work on our Win2k Server development server where I don't have the
problem.  It was just my proof of concept environment on my laptop that I
had the problem.

Travis

-Original Message-
From: Frank Lawlor [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 13, 2001 12:47 PM
To: Tomcat (E-mail)
Subject: RE: Re: Jakarta NT Service


> I could install as many as I wanted but only one would run at a time.
Some possibilities:
 - you didn't give each a unique service name
 - you are encountering the JVM 3.0 service shutdown bug,
   (see other posts: search on -Xrs)

Frank Lawlor
Athens Group, Inc.
(512) 345-0600 x151
Athens Group, an employee-owned consulting firm integrating technology
strategy and software solutions.




--
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]>




RE: Re: Jakarta NT Service

2001-11-13 Thread Frank Lawlor

> I could install as many as I wanted but only one would run at a time.
Some possibilities:
 - you didn't give each a unique service name
 - you are encountering the JVM 3.0 service shutdown bug,
   (see other posts: search on -Xrs)

Frank Lawlor
Athens Group, Inc.
(512) 345-0600 x151
Athens Group, an employee-owned consulting firm integrating technology
strategy and software solutions.




--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




Re: Jakarta NT Service

2001-11-13 Thread Frank Lawlor

It helps to look thru previous posts. 
Go to http://mikal.org/interests/java/tomcat/index.jsp
and look for "Catalina as an NT Service"

Look to see it there is anything in the logs directory.

It there is little or nothing there it is usually a 
problem with the specs in the wrapper.properties
file.  Be very sure the wrapper.tomcat_home and
wrapper.java_home are correct.

Frank Lawlor
Athens Group, Inc.
(512) 345-0600 x151
Athens Group, an employee-owned consulting firm integrating technology
strategy and software solutions.




--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




RE: Jakarta NT Service

2001-11-12 Thread Travis Schmid

I had a similar problem running Tomcat as an NT service on Win2k Pro.  I
could start one instance but when starting second the first would shut down
with no error message.  I could install as many as I wanted but only one
would run at a time.  I found that this problem doesn't exist with Win NT
4.0 or Win 2k Server (I now have four concurrently on Win2k Server).  I
don't know the reason why this is but this info may help you find where to
look for an answer.

Travis

-Original Message-
From: Whalland, Craig [mailto:[EMAIL PROTECTED]]
Sent: Sunday, November 11, 2001 3:52 PM
To: '[EMAIL PROTECTED]'
Subject: Jakarta NT Service


Hi there - first of all please excuse my lack of knowledge on this topic.
I have been asked to have a quick look at a problem we are having on windows
2000 server installing Jakarta as an NT Service.

I have followed the directions on the site
http://jakarta.apache.org/tomcat/tomcat-3.2-doc/NT-Service-howto.html
and the service has installed but it fails to start with the error "Could
Not Start Jakarta Service. The Service did not returm an error."

First question - Are there any issues with Win2k as aopposed to NT4.0 ? As
we have successfuly installed this service on an NT4.0 box.
Otherwise I am at a loss as we are able to start Jakarta manually via cmd
prompt - just not as the service.

Look forward to anyhelp you can provide - and if this is not the forum to
ask these questions any direction would be appreciated.

Craig Whalland
NT Server Team
Vodafone Information Services
Ph: (02) 9425 8961
Mob: 0414 208 961
 <> 


**"
This correspondence is for the named person's use only. It may
contain confidential or legally privileged information or both. "
No confidentiality or privilege is waived or lost by any "
mistransmission.  If you receive this correspondence in error, please
immediately delete it from your system and notify the sender.  You 
must not disclose, copy or rely on any part of this correspondence 
if you are not the intended recipient. 

Any views expressed in this message are those of the individual sender,
except where the sender expressly, and with authority, states them to
be the views of Vodafone.

This email has been checked for viruses.

**


--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




RE: Jakarta NT Service

2001-11-12 Thread Travis Schmid

We got around the shutdown when logging off issue by using SUN JDK 1.3.1.01
and including the -Xrs switch in the wrapper.properties file.  This flag was
readded to the JDK to address this issue.  You can get the whole history of
the bug on Sun's Java BugParade website.

http://developer.java.sun.com/developer/bugParade/

Travis

-Original Message-
From: C Cayetano [mailto:[EMAIL PROTECTED]]
Sent: Monday, November 12, 2001 1:13 PM
To: Tomcat Users List
Subject: RE: Jakarta NT Service


With your NT4 install, were you able to get around the bug that shuts down
the service when the user loggs off? I've experienced it in Win2k Server.
Haven't found a solution. Had anyone else found a solution?

Thanks.

> -Original Message-
> From: Whalland, Craig [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, November 11, 2001 3:52 PM
> To: '[EMAIL PROTECTED]'
> Subject: Jakarta NT Service
>
>
> Hi there - first of all please excuse my lack of knowledge on this topic.
> I have been asked to have a quick look at a problem we are having
> on windows
> 2000 server installing Jakarta as an NT Service.
>
> I have followed the directions on the site
> http://jakarta.apache.org/tomcat/tomcat-3.2-doc/NT-Service-howto.html
> and the service has installed but it fails to start with the error "Could
> Not Start Jakarta Service. The Service did not returm an error."
>
> First question - Are there any issues with Win2k as aopposed to NT4.0 ? As
> we have successfuly installed this service on an NT4.0 box.
> Otherwise I am at a loss as we are able to start Jakarta manually via cmd
> prompt - just not as the service.
>
> Look forward to anyhelp you can provide - and if this is not the forum to
> ask these questions any direction would be appreciated.
>
> Craig Whalland
> NT Server Team
> Vodafone Information Services
> Ph: (02) 9425 8961
> Mob: 0414 208 961
>  <>
>
>
> **"
> This correspondence is for the named person's use only. It may
> contain confidential or legally privileged information or both. "
> No confidentiality or privilege is waived or lost by any "
> mistransmission.  If you receive this correspondence in error, please
> immediately delete it from your system and notify the sender.  You
> must not disclose, copy or rely on any part of this correspondence
> if you are not the intended recipient.
>
> Any views expressed in this message are those of the individual sender,
> except where the sender expressly, and with authority, states them to
> be the views of Vodafone.
>
> This email has been checked for viruses.
> **
> 
>
>


--
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]>




RE: Jakarta NT Service

2001-11-12 Thread C Cayetano

With your NT4 install, were you able to get around the bug that shuts down
the service when the user loggs off? I've experienced it in Win2k Server.
Haven't found a solution. Had anyone else found a solution?

Thanks.

> -Original Message-
> From: Whalland, Craig [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, November 11, 2001 3:52 PM
> To: '[EMAIL PROTECTED]'
> Subject: Jakarta NT Service
>
>
> Hi there - first of all please excuse my lack of knowledge on this topic.
> I have been asked to have a quick look at a problem we are having
> on windows
> 2000 server installing Jakarta as an NT Service.
>
> I have followed the directions on the site
> http://jakarta.apache.org/tomcat/tomcat-3.2-doc/NT-Service-howto.html
> and the service has installed but it fails to start with the error "Could
> Not Start Jakarta Service. The Service did not returm an error."
>
> First question - Are there any issues with Win2k as aopposed to NT4.0 ? As
> we have successfuly installed this service on an NT4.0 box.
> Otherwise I am at a loss as we are able to start Jakarta manually via cmd
> prompt - just not as the service.
>
> Look forward to anyhelp you can provide - and if this is not the forum to
> ask these questions any direction would be appreciated.
>
> Craig Whalland
> NT Server Team
> Vodafone Information Services
> Ph: (02) 9425 8961
> Mob: 0414 208 961
>  <>
>
>
> **"
> This correspondence is for the named person's use only. It may
> contain confidential or legally privileged information or both. "
> No confidentiality or privilege is waived or lost by any "
> mistransmission.  If you receive this correspondence in error, please
> immediately delete it from your system and notify the sender.  You
> must not disclose, copy or rely on any part of this correspondence
> if you are not the intended recipient.
>
> Any views expressed in this message are those of the individual sender,
> except where the sender expressly, and with authority, states them to
> be the views of Vodafone.
>
> This email has been checked for viruses.
> **
> 
>
>


--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




RE: Jakarta NT Service

2001-11-12 Thread Larry Isaacs

Do you see anything in the stdout and stderr log files (assuming
they are created)?

Larry

> -Original Message-
> From: Whalland, Craig [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, November 11, 2001 6:52 PM
> To: '[EMAIL PROTECTED]'
> Subject: Jakarta NT Service
> 
> 
> Hi there - first of all please excuse my lack of knowledge on 
> this topic.
> I have been asked to have a quick look at a problem we are 
> having on windows
> 2000 server installing Jakarta as an NT Service.
> 
> I have followed the directions on the site
> http://jakarta.apache.org/tomcat/tomcat-3.2-doc/NT-Service-howto.html
> and the service has installed but it fails to start with the 
> error "Could
> Not Start Jakarta Service. The Service did not returm an error."
> 
> First question - Are there any issues with Win2k as aopposed 
> to NT4.0 ? As
> we have successfuly installed this service on an NT4.0 box.
> Otherwise I am at a loss as we are able to start Jakarta 
> manually via cmd
> prompt - just not as the service.
> 
> Look forward to anyhelp you can provide - and if this is not 
> the forum to
> ask these questions any direction would be appreciated.
> 
> Craig Whalland
> NT Server Team
> Vodafone Information Services
> Ph: (02) 9425 8961
> Mob: 0414 208 961
>  <> 
> 
> 
> **
> "
> This correspondence is for the named person's use only. It may
> contain confidential or legally privileged information or both. "
> No confidentiality or privilege is waived or lost by any "
> mistransmission.  If you receive this correspondence in error, please
> immediately delete it from your system and notify the sender.  You 
> must not disclose, copy or rely on any part of this correspondence 
> if you are not the intended recipient. 
> 
> Any views expressed in this message are those of the 
> individual sender,
> except where the sender expressly, and with authority, states them to
> be the views of Vodafone.
> 
> This email has been checked for viruses.
> **
> 
> 
> 

--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




RE: jakarta NT service

2001-08-20 Thread Larry Isaacs

It is on my todo list to address this for Tomcat 3.3.  It has
not yet been addressed that I am aware of.

JDK 1.3.1 provides a -Xrs option that avoids the CTRL_LOGOFF_EVENT
problem.  However, it does this by not installing a console
control handler.  I believe this means that Tomcat will not
get a chance to shutdown cleanly if you restart your system.

Cheers,
Larry

> -Original Message-
> From: Pier P. Fumagalli [mailto:[EMAIL PROTECTED]]
> Sent: Friday, August 17, 2001 9:48 PM
> To: [EMAIL PROTECTED]
> Subject: Re: jakarta NT service
> 
> 
> Edward Dunkle at [EMAIL PROTECTED] wrote:
> 
> > Would it be possible to provide an installation parameter 
> such that the
> > default startup mode is "Automatic" AND/OR, more importantly that it
> > would ignore the CTRL_LOGOFF_EVENT?
> > I want Tomcat to startup when the machine boots up and NOT require
> > someone to logon.  And I certainly don't want it to shutdown just
> > because the user logs off.
> 
> For TC4.0 this will be available in few weeks... For 
> jk_nt_service.exe (the
> one distributed with mod_jk) I believe they fixed it, but I'm 
> not sure, as I
> don't follow their development :)
> 
> Pier
> 



Re: jakarta NT service

2001-08-17 Thread Pier P. Fumagalli

Edward Dunkle at [EMAIL PROTECTED] wrote:

> Would it be possible to provide an installation parameter such that the
> default startup mode is "Automatic" AND/OR, more importantly that it
> would ignore the CTRL_LOGOFF_EVENT?
> I want Tomcat to startup when the machine boots up and NOT require
> someone to logon.  And I certainly don't want it to shutdown just
> because the user logs off.

For TC4.0 this will be available in few weeks... For jk_nt_service.exe (the
one distributed with mod_jk) I believe they fixed it, but I'm not sure, as I
don't follow their development :)

Pier




Re: Jakarta NT service

2001-08-03 Thread Pier P. Fumagalli

Rijk Stofberg at [EMAIL PROTECTED] wrote:

> Greetz
> 
> I have been using Tomcat in one or the other guise for a while and it =
> works really well. Recently I installed the Jakarta NT Service and that =
> works fine (I am running the 1.3.1 JVM). My only problem is running =
> Tomcat as a seperate user, with it's own permissions. I see it is =
> possible to change the user that a service runs as. This will allow me =
> to set the permissions on my filesystem (ala UNIX), so that Tomcat only =
> has access to it's own directories and minimal crucial system dirs. In =
> this manner I can reduce the security risk. My question is, "What does =
> tomcat need access to and at what level?". If I can figure this out, it =
> would really rock!
> 
> Any help is appreciated.

What Tomcat? 4.0 can do it. 3.x not (yet?)

Pier




Re: Jakarta NT service

2001-07-06 Thread Brett Knights


You can use jdk 1.3.1 to overcome this problem. I am running TC as a service on NT4 no 
problem.

Note you have to add -Xrs on the command line (in the wrapper.properties file) to 
overcome the stop on logout problem.


> See 
> http://jakarta.apache.org/tomcat/tomcat-3.3-doc/NT-Service-howto.html.
> 
> Having said that JavaService, from
> http://www.alexandriasc.com/software/JavaService/index.html, 
> is really easy
> to use.
> 
> Cheers, Matt.
> 
> - Original Message -
> From: Wu, Michael <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, July 06, 2001 8:48 AM
> Subject: Jakarta NT service
> 
> > Hi,
> >   I recently installed tomcat3.2 on a windows NT machine. But the NT
> service
> > always got stopped everytime I logged in and then logged 
> out. Could anyone
> > help?
> >
> > Regards
> >
> > Michael




Re: Jakarta NT service

2001-07-06 Thread Matt Goodall

See http://jakarta.apache.org/tomcat/tomcat-3.3-doc/NT-Service-howto.html.

Having said that JavaService, from
http://www.alexandriasc.com/software/JavaService/index.html, is really easy
to use.

Cheers, Matt.

- Original Message -
From: Wu, Michael <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, July 06, 2001 8:48 AM
Subject: Jakarta NT service


> Hi,
>   I recently installed tomcat3.2 on a windows NT machine. But the NT
service
> always got stopped everytime I logged in and then logged out. Could anyone
> help?
>
> Regards
>
> Michael




RE: Jakarta NT Service

2001-05-25 Thread MAURER,ALEXANDRE (HP-Switzerland,ex1)

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 SwitzerlandFax: +41 (0) 1 735 7708
HP Consulting Zurich   Mobile : +41 (0)79 634 8037
[mailto:[EMAIL PROTECTED]]
--  



 wrapper.properties


RE: Jakarta NT Service

2001-05-03 Thread Randy Layman


It sounds like one of three things:
1.  When you ran jk_nt_service -i, you specified the wrong path to
the wrapper.properties file
2.  You have installed Tomcat or your JDK into a directory that
contains spaces (a big problem with the service)
3.  Your wrapper.properties file isn't configured correctly
(probably JAVA_HOME variable)

Randy

> -Original Message-
> From: MAURER,ALEXANDRE (HP-Switzerland,ex1)
> [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, May 02, 2001 3:59 PM
> To: [EMAIL PROTECTED]
> Subject: Jakarta NT Service
> 
> 
> Hi !
> 
> My environment : 
> NT 4.0 Worksation SP5 192 Mb RAM
> 
> I managed to have Tomcat run on my NT notebook, I even 
> managed to connect it
> to Apache (well the instructions were very simple and clear). 
> Tomcat is running using the startup batch files.
> 
> I still have a problem running Tomcat as a NT Service; I 
> downloaded the
> jk_nt_service.exe and configured to whole as described in the 
> doc, which
> works; well partially : 
> - Registery entries are correctly done
> - I can hence see the Service using the appropriate Control 
> in the Control
> Panel
> .. but the service won't start
> net start JK_Tomcat ( the name I gave) results in : 
> The JK_Tomcat service is starting.
> (working)
> The JK_Tomcat service could not be started.
> 
> The service did not report an error.
> 
> More help is available by typing NET HELPMSG 3534.
> 
> My questions are quite simple : 
> Is there a way to produce verbose output from jk_nt_service ? 
> Is there a place where log information about that can be found ? 
> 
> I tried to trace the Registery/File access done by the JVM 
> (only one running
> on my system) using some utilities from SysInternals but the 
> JVM is not
> started at all (or it does no Registery/File accesses I could 
> trace !).
> 
> Thank you for your help 
> 
> --
> Alexandre MAURER   Phone  : +41 (0) 1 735 7495
> Hewlett-Packard SwitzerlandFax: +41 (0) 1 735 7708
> HP Consulting Zurich   Mobile : +41 (0)79 634 8037
> [mailto:[EMAIL PROTECTED]]
> --  
> 



Re: Jakarta NT Service

2001-03-05 Thread Andreas Leitel


try http://www.alexandriasc.com/software/JavaService/ 
I have a configuration running with Tomcat 3.2.1. 

Just a hint: Make sure when you specifiy the classpath (which 
is stored in the Windows registry) used by the service, that 
this path does not have more than 255 characters. This seems 
to be a limitation of the Windows registry.

cheers


ICLIP AGwww.iclip.ch
Andreas Leitel   [EMAIL PROTECTED]
Postfach 3001 Bern+41 (0)78 629 5883


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: Jakarta NT Service

2001-03-04 Thread Eric Fialkowski

This is a known bug with the JVM.  I think there is one that doesn't exhibit
this behavior, but I know that 1.3 does.  Take a look at the Bug parade on
Sun's Java site.


- Original Message -
From: "Alan" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, March 04, 2001 2:25 AM
Subject: Jakarta NT Service


> I have tried the Jakarta NT Service on Windows 2000. I set it to start
> automatically. It can start automatically when the system boots. But
> when I logged out and logged in again, I found that the service was
> stopped. In fact, I found the same problem before with other software as
> JRun service on NT 4.
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
>
>



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




RE: Jakarta NT Service: how to execute several Tomcat instances

2001-02-15 Thread Randy Layman


It seems like what you want to do is workable.  I would guess that
for some reason you are not using two different server.xml files, which
means that the second instance of Tomcat is using the same ports as the
first and then failing when it tries to gain these ports.  (You could verify
this by looking at the jvm.stdout/.stderr files generated.)

Make sure that the second wrapper.properties file uses the correct
server.xml file.  In my version, its like 99.  Soemthing like:
wrapper.server_xml=$(wrapper.tomcat_home)\conf\server.xml
should be 
wrapper.server_xml=$(wrapper.tomcat_home)\conf\server2.xml

Randy

-Original Message-
From: Fontanelli Andrea [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 15, 2001 11:31 AM
To: [EMAIL PROTECTED]
Subject: Jakarta NT Service: how to execute several Tomcat instances



We are tomcat users and we developing a Java web application. 
We would have two Jakarta services, one for production environment
and the other for the development environment.
Our environment is composed like this:

*   IIS web server 
*   Tomcat 3.2  
*   O.S. Windows 2000

We created two Jakarta services, following the setup notes ("Advance
Setup" paragraph) in the section "Working with the Jakarta NT Service", but
seems that only one Jakarta service is running at runtime. 
When I try to start the services, the second one return to "stopped
status" after few seconds, so we never have both services running at the
same time.  

Probably there is something in the "Advance setup" that we
misunderstand: what exactly means "install Tomcat service twice and under
two different name" ?

Do we have to rename the jk_nt_service to two different names or
execute 
jk_nt_service - I  
(with two different name of service/path of wrapper.properties) is enough? 

Do you have any examples we could follow to reach our goal ?

Thanks in advance for your help.

Best Regards   


Andrea Fontanelli

Sviluppo Sistemi Professionali
Sema S.p.A.
Via G. Jervis, 77 - Ivrea (TO)
Italy

Tel:  +39.0125.523249
Fax: +39.0125.522146
E-mail:  [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




RE: Jakarta NT service

2000-12-21 Thread Marc Saegesser

I've also updated the NT-Service-how.html file to include a notice about the
JDK 1.3 issue and known work arounds.

-Original Message-
From: Marc Saegesser [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 21, 2000 12:51 PM
To: [EMAIL PROTECTED]
Subject: RE: Jakarta NT service


You don't mention, but you're probably using JDK1.3.  That's the problem,
not jk_nt_service.  Search the list archives and you will find copious
amounts of information about this problem and ways to get around it.  The
easiest way is to switch back to JDK1.2.

This has come up so many times that I can't believe that the entire world
isn't already familiar with it.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 21, 2000 12:35 PM
To: [EMAIL PROTECTED]
Subject: Jakarta NT service


There seems to be a bug in the jk_nt_service.exe. On my System.

Apache 1.3_14 r2
Tomcat 3.2
Cocoon.
Win nt 4 sp 6.

I installed apche, tomcat and cocoon and everything works great. The
problem occurs when I logged without rebooting, the Tomcat Service dies.
I seem to remeber there is an NT bug which stopped the Hotspot VM when a
user logged off.I found this at http://www.roeschter.com/index.html.

Any suggestions would be helpful.

Regards
Steve Roach




RE: Jakarta NT service

2000-12-21 Thread Marc Saegesser

You don't mention, but you're probably using JDK1.3.  That's the problem,
not jk_nt_service.  Search the list archives and you will find copious
amounts of information about this problem and ways to get around it.  The
easiest way is to switch back to JDK1.2.

This has come up so many times that I can't believe that the entire world
isn't already familiar with it.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 21, 2000 12:35 PM
To: [EMAIL PROTECTED]
Subject: Jakarta NT service


There seems to be a bug in the jk_nt_service.exe. On my System.

Apache 1.3_14 r2
Tomcat 3.2
Cocoon.
Win nt 4 sp 6.

I installed apche, tomcat and cocoon and everything works great. The
problem occurs when I logged without rebooting, the Tomcat Service dies.
I seem to remeber there is an NT bug which stopped the Hotspot VM when a
user logged off.I found this at http://www.roeschter.com/index.html.

Any suggestions would be helpful.

Regards
Steve Roach




RE: Jakarta NT Service stops on logout

2000-12-15 Thread Bezpalec, Marek

I had the same problem, but they advised me here. You're probably using JDK
1.3 which causes this problem (it's on their bug-list). Use JDK 1.2.2
instead and it will work fine.

Marek

-Original Message-
From: David Wroton [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 15, 2000 12:27 AM
To: [EMAIL PROTECTED]
Subject: Jakarta NT Service stops on logout



Hi,
I am having a problem with tomcat 3.2.1 (also 3.2).
I installed Jakarta as a service and set it to start automatically.  But
when I
log out of NT the service stops!
Do you have any ideas or insight as to what may be causing this?

I have IIS configured and working with tomcat serving up jsp pages.
Everything works fine if I reboot the machine, as long as I don't login.

Thanks In Advance
David Wroton