Working with the Jakarta NT Service document

2003-12-11 Thread Scott Schlatter
The document is great, except for section 1.  Get a hold on the NT 
Executable

The link doesn't link to the jk_nt_service.exe,  and I cannot find the pesky 
file on the apache site at all... in fact, there is no win32/i386 
directory in any of the binary archives that I found.

The document is unclear on where to find this .exe.  I haven't found it yet, 
but hold out hope that it does exist...

Scott

_
Winterize your home with tips from MSN House  Home. 
http://special.msn.com/home/warmhome.armx

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


Re: Working with the Jakarta NT Service document

2003-12-11 Thread Bill Barker
It's with the TC 3.3 download.  Go to
http://jakarta.apache.org/site/binindex.cgi, click on the 'Tomcat 3' link,
click on the 'bin' link, and you will find it.

Scott Schlatter [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 The document is great, except for section 1.  Get a hold on the NT
 Executable

 The link doesn't link to the jk_nt_service.exe,  and I cannot find the
pesky
 file on the apache site at all... in fact, there is no win32/i386
 directory in any of the binary archives that I found.

 The document is unclear on where to find this .exe.  I haven't found it
yet,
 but hold out hope that it does exist...

 Scott

 _
 Winterize your home with tips from MSN House  Home.
 http://special.msn.com/home/warmhome.armx




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



Jakarta NT Service

2003-03-10 Thread Murphy, Michael A
I was wondering if there is a more up-to-date version of these instructions,
they appear to be for Tomcat 3.

Regards,

Michael Murphy.


Working with the Jakarta NT Service
By Gal Shachor [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 
Modified by Dave Oxley [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 
The Jakarta NT service is an executable that wraps the Tomcat servlet
container and executes it in the background as an NT service. To install it
you will need to:
Get a hold on the NT executable (jk_nt_service.exe) 
*   Download the executable from the win32/i386 directory found where
you downloaded the Tomcat binary distribution.
http://jakarta.apache.org/site/binindex.html For those using Netscape as
your browser, try downloading a zip version of the file, if available. There
can be problems using Netscape to download DLL files. 
Customize a properties file that provides the service with Tomcat
information (wrapper.properties). 
*   Locate the wrapper.properties template file in your Tomcat conf/jk
directory. 
*   Update the wrapper.tomcat_home property to point at your tomcat
home. 
*   Update the wrapper.java_home property to point at your Java home. 
Install jk_nt_service by running it with the -i flag. 
*   Execute jk_nt_service -I name of service optional params path
to updated wrapper properties 
*   name of service should be a single word (without and spaces) such
as Jakarta 
*   optional params are any of the following: 
*   -U user name - to set the user the service runs as. Make sure the
user has 'Logon as a service right'. The user name must be in the format
DomainName\UserName (e.g. Dev\Administrator for Administrator in the Dev
domain or .\Administrator for the local Administrator) 
*   -P user password - Valid password for the user. 
*   -A - Sets the service to startup automatically. 
*   -D service dependancy - This sets the service that must be started
prior to this one. -D service dependancy can be specified multiple times.
service dependancy must be the 'Service Name' not the 'Display Name'.
*   path to updated wrapper properties should point to your
wrapper.properties file (and the service will check it's existence.) 
*   For example, valid command lines can be: 
*   jk_nt_service -I Jakarta wrapper.properties 
*   jk_nt_service -I Jakarta -U .\Administrator -P password -A -D
MSSQLSERVER wrapper.properties 
Start tomcat as a service. 
*   From the command line, execute jk_nt_service -S name of service
optional param where optional param is: 
*   -M machine name - Remote machine to start the service on. (e.g.
jk_nt_service -S Jakarta -M DevBox)
*   From the command line, execute net start name of service (e.g. net
start Jakarta) 
*   From the NT services applet, highlight your service and press start.

Note: If the log file location in your wrapper.properties
file points to the logs directory, and the logs directory doesn't yet exist,
manually create it before starting the service. 
Stop Tomcat as a service. 
*   From the command line, execute jk_nt_service -T name of service
optional param where optional param is: 
*   -M machine name - Remote machine to stop the service on. (e.g.
jk_nt_service -T Jakarta -M DevBox)
*   From the command line, execute net stop name of service (e.g. net
stop Jakarta) 
*   From the NT services applet, highlight your service and press stop. 
Special note: The Tomcat service is using AJPV12 to perform clean shutdown
and you should make sure that an AJPV12 connector is defined in your
server.xml. In the absence of a configured AJPV12 port the Tomcat service
will kill Tomcat abruptly (that is murder it) without giving it a chance to
clean up. 
Special note2: Acording to
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2337%22 , you may have
problems with long filenames. You should use the 8.3 format. Thanks to
Anthony Dodd for finding this workaround.
Notice for JDK 1.3 users: There is a known problem
http://developer.java.sun.com/developer/bugParade/bugs/4323062.html in JDK
1.3 that affects Java applications being run as Windows NT services. The bug
causes the service to terminate when the currently logged in user logs out.
The simplest way to work around this problem is to use JDK 1.2. If your
application requires JDK 1.3 features then you may want to look into
javaserv http://www.kcmultimedia.com/javaserv/ or JavaService
http://www.alexandriasc.com/software/JavaService/ . Users have reported
success with both of these packages but there may be others that work as
well. 
To remove the installed service, execute jk_nt_service -R name of service
Advance Setup
Modify the Tomcat NT service properties. By default the service will
run in manual mode and under the local system user account. To modify this,
open the NT services applet, highlight your service and press startup. A
popup window is opened and you

Re: DBMS access denied with Jakarta NT Service

2002-10-09 Thread Cinzia S

I've solved the problem. It was a setting in the Jakarta NT service, the
LogOnAs which limited access to the LocalSystem only.

Thanks

- Original Message -
From: Sexton, George [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Tuesday, October 08, 2002 1:42 PM
Subject: RE: DBMS access denied with Jakarta NT Service


 Don't you think the name and version number of the DBMS would be of the
 least bit help in solving your issue?

 -Original Message-
 From: Cinzia S [mailto:[EMAIL PROTECTED]]
 Sent: 08 October, 2002 2:10 AM
 To: [EMAIL PROTECTED]
 Subject: DBMS access denied with Jakarta NT Service


 Hi all,

 I'm having database access denied when running Jakarta as an NT Service,
 while no db access problems when running as a standalone program.

 This is the spec: Jakarta-Tomcat 3.3.1, servicing servlets and jsp
requested
 by IIS through isapi_redirect.dll, Windows 2000 Server.

 Thanks for any suggestion



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


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



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




DBMS access denied with Jakarta NT Service

2002-10-08 Thread Cinzia S

Hi all,

I'm having database access denied when running Jakarta as an NT Service,
while no db access problems when running as a standalone program.

This is the spec: Jakarta-Tomcat 3.3.1, servicing servlets and jsp requested
by IIS through isapi_redirect.dll, Windows 2000 Server.

Thanks for any suggestion



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




RE: DBMS access denied with Jakarta NT Service

2002-10-08 Thread CLAIRE Celine

excuse me but I would like to know how do you do to access a database with tomcat 3.3.1
server.xml?
web.xml?
lookup?
Can you give me a complete exemple?

thanks for your help

 -Message d'origine-
 De:   Cinzia S [SMTP:[EMAIL PROTECTED]]
 Date: mardi 8 octobre 2002 10:10
 À:[EMAIL PROTECTED]
 Objet:DBMS access denied with Jakarta NT Service
 
 Hi all,
 
 I'm having database access denied when running Jakarta as an NT Service,
 while no db access problems when running as a standalone program.
 
 This is the spec: Jakarta-Tomcat 3.3.1, servicing servlets and jsp requested
 by IIS through isapi_redirect.dll, Windows 2000 Server.
 
 Thanks for any suggestion
 
 
 
 --
 To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: mailto:[EMAIL PROTECTED]
 



RE: DBMS access denied with Jakarta NT Service

2002-10-08 Thread Sexton, George

Don't you think the name and version number of the DBMS would be of the
least bit help in solving your issue?

-Original Message-
From: Cinzia S [mailto:[EMAIL PROTECTED]]
Sent: 08 October, 2002 2:10 AM
To: [EMAIL PROTECTED]
Subject: DBMS access denied with Jakarta NT Service


Hi all,

I'm having database access denied when running Jakarta as an NT Service,
while no db access problems when running as a standalone program.

This is the spec: Jakarta-Tomcat 3.3.1, servicing servlets and jsp requested
by IIS through isapi_redirect.dll, Windows 2000 Server.

Thanks for any suggestion



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


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




Re: DBMS access denied with Jakarta NT Service

2002-10-08 Thread Cinzia S

just through a System DSN. The java application uses jdbc:odbc bridge.
Nothing specific in server.xml or web.xm

Thanks
- Original Message -
From: CLAIRE Celine [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Tuesday, October 08, 2002 9:09 AM
Subject: RE: DBMS access denied with Jakarta NT Service


excuse me but I would like to know how do you do to access a database with
tomcat 3.3.1
server.xml?
web.xml?
lookup?
Can you give me a complete exemple?

thanks for your help

 -Message d'origine-
 De: Cinzia S [SMTP:[EMAIL PROTECTED]]
 Date: mardi 8 octobre 2002 10:10
 À: [EMAIL PROTECTED]
 Objet: DBMS access denied with Jakarta NT Service

 Hi all,

 I'm having database access denied when running Jakarta as an NT Service,
 while no db access problems when running as a standalone program.

 This is the spec: Jakarta-Tomcat 3.3.1, servicing servlets and jsp
requested
 by IIS through isapi_redirect.dll, Windows 2000 Server.

 Thanks for any suggestion



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




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




RE: DBMS access denied with Jakarta NT Service

2002-10-08 Thread Sexton, George

I'll be specific again:

What database are you using?

-Original Message-
From: Cinzia S [mailto:[EMAIL PROTECTED]]
Sent: 08 October, 2002 8:11 AM
To: Tomcat Users List
Subject: Re: DBMS access denied with Jakarta NT Service


just through a System DSN. The java application uses jdbc:odbc bridge.
Nothing specific in server.xml or web.xm

Thanks
- Original Message -
From: CLAIRE Celine [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Tuesday, October 08, 2002 9:09 AM
Subject: RE: DBMS access denied with Jakarta NT Service


excuse me but I would like to know how do you do to access a database with
tomcat 3.3.1
server.xml?
web.xml?
lookup?
Can you give me a complete exemple?

thanks for your help

 -Message d'origine-
 De: Cinzia S [SMTP:[EMAIL PROTECTED]]
 Date: mardi 8 octobre 2002 10:10
 À: [EMAIL PROTECTED]
 Objet: DBMS access denied with Jakarta NT Service

 Hi all,

 I'm having database access denied when running Jakarta as an NT Service,
 while no db access problems when running as a standalone program.

 This is the spec: Jakarta-Tomcat 3.3.1, servicing servlets and jsp
requested
 by IIS through isapi_redirect.dll, Windows 2000 Server.

 Thanks for any suggestion



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




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


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




Update to Working With the Jakarta NT Service

2002-02-22 Thread McDermid, Robert

In this document it states:

Notice for JDK 1.3 users: There is a  known problem in JDK 1.3 that affects
Java applications being run as Windows NT services. 
 The bug causes the service to terminate when the currently logged in user 
 logs out. The simplest way to work around this problem is to use JDK 1.2. 
 If your application requires JDK 1.3 features then you  may want to look 
into javaserv or JavaService . Users have reported success with both of
these packages but there may
 be others that work as well.

When I investigated the latest status of this bug, it turns out that a fix
has been provided by
Sun.  It's probably worth adding the following to the above paragraph:

Starting with version 1.3.1 of the JDK, this problem can be solved by
specifying -Xrs on 
the java command line.  When using jk_nt_service, you can do this
by adding it in the 'wrapper.cmd_line' entry in the wrapper.properties
file.

-- Rob McDermid



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=value 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 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-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 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

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:\Javajk_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]




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:\Javajk_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 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:\Javajk_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

Dear Charlie,

Than you for the response. Someone had recomended looking in the batch files to 
compare setting info (batch files work but server stops when I log out) 

I am getting the message $(wrapper.JAVA_HOME)\bin\java.exe -XrsError: cannot create 
new process - the system cannot find the path specified (0x3)

I have JAVA_HOME set up as a Windows Envoronment Variable pointing to c:\jdk1.2.2 and 
if you go to c:\jdk1.2.2\bin\java.exe is there

I included my wrapper.properties without comments below. All help is really 
appreciated, I am learning a lot


wrapper.tomcat_home= C:\jakarta-tomcat-4.0.1
wrapper.java_home= C:\jdk1.2.2


wrapper.stdout=$(wrapper.tomcat_home)\logs\jvm.stdout
wrapper.stderr=$(wrapper.tomcat_home)\logs\jvm.stderr

wrapper.ld_path=d:\
wrapper.ld_path=c:\
wrapper.class_path=$(wrapper.java_home)\classes\

wrapper.javabin=$(wrapper.JAVA_HOME)\bin\java.exe
wrapper.shutdown_port=8007

wrapper.shutdown_protocol=ajp13

$(wrapper.startup_class) -config $(wrapper.server_xml) -home $(wrapper.tomcat_home)
wrapper.cmd_line=$(wrapper.javabin) -Xrs 
-Dorg.xml.sax.driver=org.apache.xerces.parsers.SAXParser 
-Dcatalina.home=C:\jakarta-tomcat-4.0.1 -classpath $(wrapper.class_path)
$(wrapper.startup_class) -config $(wrapper.server_xml) start




-Original Message-
From: Cox, Charlie [EMAIL PROTECTED]
Date: Fri, 1 Feb 2002 14:03:59 -0500 
To: 'Tomcat Users List' [EMAIL PROTECTED]
Subject: RE: Jakarta NT service error


 when installed as a service, you don't need catalina.bat - everything is in
 your wrapper.properties
 
 try this for your wrapper properties in TC4:
 
 wrapper.startup_class=org.apache.catalina.startup.Bootstrap
 
 wrapper.cmd_line=$(wrapper.javabin) -Xrs 
 -Dorg.xml.sax.driver=org.apache.xerces.parsers.SAXParser 
 -Dcatalina.home=D:\tomcat -classpath $(wrapper.class_path) 
 $(wrapper.startup_class) -config $(wrapper.server_xml) start
 
 Charlie
 
  -Original Message-
  From: Atok Koenig [mailto:[EMAIL PROTECTED]]
  Sent: Friday, February 01, 2002 1:52 PM
  To: Tomcat Users List
  Subject: RE: Jakarta NT service error
  
  
  I really appreciate the response
  
  
  I did look at that but probably dont fully understand what I 
  am looking at
  
  catalina.bat includes   set _RUNJAVA=%JAVA_HOME%\bin\java
  with Windows environmental variable set to  JAVA_HOME   
  C:\jdk1.2.2
  
  and my wrapper.properties file says...
  set _STARTJAVA=start %JAVA_HOME%\bin\java
  set _RUNJAVA=%JAVA_HOME%\bin\java
  and 
  wrapper.javabin=$(wrapper.java_home)\bin\java.exe
  
  so I thought that all looked fine, I commented out everything 
  related to the 3.2.x jars and the errror went away but 
  starting the service fails, just saying Asked (and given) 
  winsock 1.1
  -
  Here are the main elements from my setup below...
  
  My environmental variables...
  
  CATALINA_HOME   C:\jakarta-tomcat-4.0.1
  JAVA_HOME   C:\jdk1.2.2
  
  
  from catalina.bat
  
  if not %OS% == Windows_NT goto noTitle
  set _STARTJAVA=start Catalina %JAVA_HOME%\bin\java
  set _RUNJAVA=%JAVA_HOME%\bin\java
  goto gotTitle
  :noTitle
  set _STARTJAVA=start %JAVA_HOME%\bin\java
  set _RUNJAVA=%JAVA_HOME%\bin\java
  :gotTitle
  
  from wrapper.properties
  
  wrapper.tomcat_home= C:\jakarta-tomcat-4.0.1
  wrapper.java_home= C:\jdk1.2.2
  
  
  wrapper.class_path=$(wrapper.tomcat_home)\classes
  wrapper.class_path=$(wrapper.tomcat_home)\lib\jaxp.jar
  wrapper.class_path=$(wrapper.tomcat_home)\lib\parser.jar
  wrapper.class_path=$(wrapper.tomcat_home)\lib\webserver.jar
  wrapper.class_path=$(wrapper.tomcat_home)\lib\servlet.jar
  wrapper.class_path=$(wrapper.tomcat_home)\lib\jasper.jar
  
  wrapper.class_path=$(wrapper.java_home)\lib\tools.jar
  wrapper.class_path=$(wrapper.java_home)\classes\
  wrapper.javabin=$(wrapper.java_home)\bin\java.exe
  
  wrapper.startup_class=org.apache.tomcat.startup.Tomcat
  
  wrapper.shutdown_port=8007
  wrapper.shutdown_protocol=ajp13
  
  wrapper.cmd_line=$(wrapper.javabin) -classpath 
  $(wrapper.class_path) $(wrapper.startup_class) -config 
  $(wrapper.server_xml) -home $(wrapper.tomcat_home)
  
  
  -Original Message-
  From: Larry Isaacs [EMAIL PROTECTED]
  Date: Fri, 1 Feb 2002 08:03:14 -0500 
  To: 'Tomcat Users List' [EMAIL PROTECTED]
  Subject: RE: Jakarta NT service error
  
  
   You need to examine Tomcat 4.0.1's bin\catalina.bat to see the
   Java command used to start Catalina.  You must then
   update the Java command created by the wrapper.properies
   file to create the same command.  The error shown below is
   including Tomcat 3.2.x's list of jars and startup class which
   aren't going to work with Catalina.
   
   Cheers,
   Larry
   
-Original Message-
From: Atok Koenig [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 31, 2002 5:57 PM
To: [EMAIL PROTECTED]
Subject: Jakarta NT service error


Got NT service installed but it wont start getting the error

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

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

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

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

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:\
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

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

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

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: '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

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

Jakarta NT service error

2002-01-31 Thread Atok Koenig

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:\Javajk_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]




Jakarta NT SERVICE--- logout USER

2001-12-10 Thread Catalin

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]




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:   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 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:   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:   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:directories and zip/jar files separated by ;
  set search path for bootstrap classes and resources
-Xnoclassgc   disable class garbage collection
-Xmssizeset initial Java heap size
-Xmxsizeset maximum Java heap size
-Xrs  reduce the use of OS signals
-Xcheck:jni   perform additional checks for JNI functions
-Xrunhprof[:help]|[:option=value, ...]
  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

Thanks, Brian!!! :-)


Pae


 $ java -X
 -Xbootclasspath:directories and zip/jar files separated by ;
   set search path for bootstrap classes and resources
 -Xnoclassgc   disable class garbage collection
 -Xmssizeset initial Java heap size
 -Xmxsizeset maximum Java heap size
 -Xrs  reduce the use of OS signals
 -Xcheck:jni   perform additional checks for JNI functions
 -Xrunhprof[:help]|[:option=value, ...]
   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 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]




Working with the Jakarta NT Service - Win2000, Tomcat 3.2.3

2001-11-30 Thread Joe Holmberg

After installing Tomcat 3.2.4 on Windows 2000, I decided to install
Tomcat as a service.

I followed the excellent Working with the Jakarta NT Service document
(http://jakarta.apache.org/tomcat/tomcat-3.2-doc/NT-Service-howto.html),
but couldn't start the service; typing net start Jakarta resulted in a
System error 1067.

It turned out that tomcat\conf\wrapper.properties wasn't putting
\tomcat\lib\crimson.jar on the wrapper.class_path.

Adding the line:

 wrapper.class_path=$(wrapper.tomcat_home)\lib\crimson.jar

fixed the problem.

It's possible I've missed something obvious, but if anyone else was
having the same trouble, hope this helps.

Cheers,

-Joe

-- 
   __
  /   _
 | __/
  \ o /
   (Joe Holmberg
   |http://www.runtime-collective.com
  / )   (+44) 1273 234293 || 07909 784342

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




JAKARTA NT SERVICE

2001-11-28 Thread Catalin

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:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




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




Jakarta NT Service

2001-11-12 Thread Whalland, Craig

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
 Whalland, Craig.vcf 


**
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.
**




Whalland, Craig.vcf
Description: Binary data

--
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
  Whalland, Craig.vcf


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




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
  Whalland, Craig.vcf


 **
 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 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
 Whalland, Craig.vcf 


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




Problems with Jakarta NT Service

2001-09-17 Thread Tom Wild

I'm running Tomcat 3.3 b2, IIS 4.0 on WinNT 4.0 with latest SP and JDK
1.3

Tomcat is properly configured and runs smootly in window mode.

Nevertheless, when using the Jakarta NT Service according to 
Gal Shakor's Documentation found at:
http://jakarta.apache.org/tomcat/tomcat-3.3-doc/NT-Service-howto.html
I had 
= error 1067: The process terminated unexpectedly
while attempting to start the service. 

Has anybody installed the service successfully
or encountered equal problems?

Best Regards
Tom Wild 
mailto:[EMAIL PROTECTED]



Re: Problems with Jakarta NT Service

2001-09-17 Thread Madock Chiwenda

Hi,

I have successfully used Javaservice package (javaservice.exe) to install and run 
tomcat as service just search for it in google.com, download and it has some 
sample tomcat istallation scripts for some version of tomcat.

All the best

Madock

9/17/01 11:27:58 AM, Tom Wild [EMAIL PROTECTED] wrote:

I'm running Tomcat 3.3 b2, IIS 4.0 on WinNT 4.0 with latest SP and JDK
1.3

Tomcat is properly configured and runs smootly in window mode.

Nevertheless, when using the Jakarta NT Service according to 
Gal Shakor's Documentation found at:
http://jakarta.apache.org/tomcat/tomcat-3.3-doc/NT-Service-howto.html
I had 
= error 1067: The process terminated unexpectedly
while attempting to start the service. 

Has anybody installed the service successfully
or encountered equal problems?

Best Regards
Tom Wild 
mailto:[EMAIL PROTECTED]





_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com




RE: Problems with Jakarta NT Service

2001-09-17 Thread Bryan Lipscy

Here is the url:
http://www.alexandriasc.com/software/JavaService/download.html

The Tomcat 3.3.b2 package seems to be missing ant.jar, parser.jar, 
webserver.jar.  The do not exist in the 1.3.1 JDK either.


-Original Message-
From: Madock Chiwenda [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 17, 2001 10:57 PM
To: [EMAIL PROTECTED]
Subject: Re: Problems with Jakarta NT Service


Hi,

I have successfully used Javaservice package (javaservice.exe) to install
and run tomcat as service just search for it in google.com, download and it
has some
sample tomcat istallation scripts for some version of tomcat.

All the best

Madock

9/17/01 11:27:58 AM, Tom Wild [EMAIL PROTECTED] wrote:

I'm running Tomcat 3.3 b2, IIS 4.0 on WinNT 4.0 with latest SP and JDK
1.3

Tomcat is properly configured and runs smootly in window mode.

Nevertheless, when using the Jakarta NT Service according to
Gal Shakor's Documentation found at:
http://jakarta.apache.org/tomcat/tomcat-3.3-doc/NT-Service-howto.html
I had
= error 1067: The process terminated unexpectedly
while attempting to start the service.

Has anybody installed the service successfully
or encountered equal problems?

Best Regards
Tom Wild
mailto:[EMAIL PROTECTED]





_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com




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
 



jakarta NT service

2001-08-17 Thread Edward Dunkle

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.

Thanks,
Ed



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




Jakarta NT service

2001-07-06 Thread Wu, Michael

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




Jakarta NT Service and -security

2001-06-18 Thread Scot Marburger

I'm trying to use Jakarta NT Service to launch Tomcat at system 
startup. I've written a servlet that runs under JDK 1.3.1 that will 
run fine if Tomcat is launched from a command prompt using the 
startup.bat batch file with the -security option:
startup -security

The servlet reads a configuration file from the directory in which it 
resides, does socket I/O with another machine on the network, and 
also communicates via RMI with a third computer.

The servlet throws security exceptions if Tomcat is launched without 
the -security option.

My challenge is to alter the wrapper.properties file to cause the 
-security option to be invoked when Tomcat is launched as an NT 
service.

I've tried modifying the wrapper.properties file as follows, but no luck:
wrapper.security=-Djava.security.manager 
-Djava.security.policy=$(wraper.tomcat_home)\conf\tomcat.policy

and then

wrapper.cmd_line=$(wrapper.javabin) $(wrapper.security) -classpath ...

My guess is I'm making a syntax error in setting up the command line. 
Or, stepping back a bit further, why is the servlet throwing security 
exceptions without the -security option (maybe because of the 
JKD1.3.1 security manager and file/socket I/O)?

My guess is that this is a fairly straight forward thing to try to 
do, but the docs in the jakarta-tomcat download don't seem to address 
it.

Thanks in advance for any help,

Scot
--
Scot Marburger
Information Systems  Services 8945-1
Sandia National Laboratories/California
Email:[EMAIL PROTECTED]  



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



Working with the Jakarta NT Service

2001-04-19 Thread Zyla, Christine
Title: Working with the Jakarta NT Service










I have installed the jk_nt_service.exe and followed the direction in the
Working with the Jakarta NT Service and it works fine, however whenever
anyone logs off it stops the jakarta as a service.


Christine


Christine Zyla
Software Engineer
Internet Commerce Corp.
email: [EMAIL PROTECTED]
phone: 631- 590-1010 x.5102
fax: 631-246-5677






Re: Working with the Jakarta NT Service

2001-04-19 Thread Eric Fialkowski
Title: Working with the Jakarta NT Service



This is a know issue with JDK 1.3. I think 
1.3.1 is supposed to fix it.

  - Original Message - 
  From: 
  Zyla, Christine 
  To: '[EMAIL PROTECTED]' 
  
  Sent: Thursday, April 19, 2001 3:39 
  PM
  Subject: Working with the Jakarta NT 
  Service
  
  I have installed the jk_nt_service.exe and 
  followed the direction in the Working with the Jakarta NT Service and it works fine, however 
  whenever anyone logs off it stops 
  the jakarta as a service. 
  Christine 
  Christine Zyla Software Engineer Internet Commerce 
  Corp. email: [EMAIL PROTECTED] phone: 631- 590-1010 x.5102 fax: 631-246-5677 



REPOST HELP: Trying to config/install Tomcat as a Service using the Jakarta NT Service

2001-03-29 Thread Jeff Leung

Reposting the original request.

-Original Message-
From: Jeff Leung [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 22, 2001 5:40 PM
To: Tomcat (E-mail)
Cc: Jeff Leung
Subject: FW: HELP: Trying to config/install Tomcat as a Service using
Jak arta NT Service



I am attempting to configure Tomcat as an NT service.  This is my
environment:

Platform: Windows 2000
JDK:  JDK 1.2.2
Tomcat:  3.2.1
Webserver (Apache):  1.3.19

I have installed Apache and modified my httpd.conf file to include 
the include directive for tomcat.  I have modified Tomcat's 
wrapper.properties file for the Tomcat path and JDK path.  
Tomcat and Apache are loaded on the local drive.

I have installed the service using jk_nt_service.exe and received the
following:

"Asked (and given) winsock 1.1
The service named Jakarta was created. Now adding registry entries
Registry values were added. If you have already updated 
wrapper.properties you may start the Jakarta service by 
executing "net start Jakarta" from the command prompt"

While attempting to start the service from the command line using
"net start", I receive the following response:

"The Jakarta service is starting.
 The Jakarta service could not be started.

 The service did not report an error.

 More help is available by typing NET HELPMSG 3546"


I can start Tomcat manually but can't start the service.
Where do I start to troubleshoot. 

Thanks in advance

Jeffrey Leung



Re: HELP: Trying to config/install Tomcat as a Service using Jakarta NT Service

2001-03-23 Thread Mohan Nade

Where do I get the 'jk_nt_service.exe' file.

I hope it does not come with the tomcat. Is it an external utility?

Regards,
Mohan

- Original Message -
From: "Jeff Leung" [EMAIL PROTECTED]
To: "Tomcat (E-mail)" [EMAIL PROTECTED]
Cc: "Jeff Leung" [EMAIL PROTECTED]
Sent: Friday, March 23, 2001 5:10 AM
Subject: FW: HELP: Trying to config/install Tomcat as a Service using
Jakarta NT Service



 I am attempting to configure Tomcat as an NT service.  This is my
 environment:

 Platform: Windows 2000
 JDK:  JDK 1.2.2
 Tomcat:  3.2.1
 Webserver (Apache):  1.3.9

 I have installed Apache and modified my httpd.conf file to include
 the include directive for tomcat.  I have modified Tomcat's
 wrapper.properties file for the Tomcat path and JDK path.
 Tomcat and Apache are loaded on the local drive.

 I have installed the service using jk_nt_service.exe and received the
 following:

 "Asked (and given) winsock 1.1
 The service named Jakarta was created. Now adding registry entries
 Registry values were added. If you have already updated
 wrapper.properties you may start the Jakarta service by
 executing "net start Jakarta" from the command prompt"

 While attempting to start the service from the command line using
 "net start", I receive the following response:

 "The Jakarta service is starting.
  The Jakarta service could not be started.

  The service did not report an error.

  More help is available by typing NET HELPMSG 3546"


 Where do I start to troubleshoot.

 Thanks.


 Jeffrey Leung






RE: HELP: Trying to config/install Tomcat as a Service using Jakarta NT Service

2001-03-23 Thread Gary Lawson

http://jakarta.apache.org/builds/jakarta-tomcat/release/v3.2.1/bin/win32/i38
6/

-Original Message-
From: Mohan Nade [mailto:[EMAIL PROTECTED]]
Sent: 23 March 2001 08:31
To: [EMAIL PROTECTED]
Subject: Re: HELP: Trying to config/install Tomcat as a Service using
Jakarta NT Service


Where do I get the 'jk_nt_service.exe' file.

I hope it does not come with the tomcat. Is it an external utility?

Regards,
Mohan

- Original Message -
From: "Jeff Leung" [EMAIL PROTECTED]
To: "Tomcat (E-mail)" [EMAIL PROTECTED]
Cc: "Jeff Leung" [EMAIL PROTECTED]
Sent: Friday, March 23, 2001 5:10 AM
Subject: FW: HELP: Trying to config/install Tomcat as a Service using
Jakarta NT Service



 I am attempting to configure Tomcat as an NT service.  This is my
 environment:

 Platform: Windows 2000
 JDK:  JDK 1.2.2
 Tomcat:  3.2.1
 Webserver (Apache):  1.3.9

 I have installed Apache and modified my httpd.conf file to include
 the include directive for tomcat.  I have modified Tomcat's
 wrapper.properties file for the Tomcat path and JDK path.
 Tomcat and Apache are loaded on the local drive.

 I have installed the service using jk_nt_service.exe and received the
 following:

 "Asked (and given) winsock 1.1
 The service named Jakarta was created. Now adding registry entries
 Registry values were added. If you have already updated
 wrapper.properties you may start the Jakarta service by
 executing "net start Jakarta" from the command prompt"

 While attempting to start the service from the command line using
 "net start", I receive the following response:

 "The Jakarta service is starting.
  The Jakarta service could not be started.

  The service did not report an error.

  More help is available by typing NET HELPMSG 3546"


 Where do I start to troubleshoot.

 Thanks.


 Jeffrey Leung






FW: HELP: Trying to config/install Tomcat as a Service using Jakarta NT Service

2001-03-22 Thread Jeff Leung


I am attempting to configure Tomcat as an NT service.  This is my
environment:

Platform: Windows 2000
JDK:  JDK 1.2.2
Tomcat:  3.2.1
Webserver (Apache):  1.3.9

I have installed Apache and modified my httpd.conf file to include 
the include directive for tomcat.  I have modified Tomcat's 
wrapper.properties file for the Tomcat path and JDK path.  
Tomcat and Apache are loaded on the local drive.

I have installed the service using jk_nt_service.exe and received the
following:

"Asked (and given) winsock 1.1
The service named Jakarta was created. Now adding registry entries
Registry values were added. If you have already updated 
wrapper.properties you may start the Jakarta service by 
executing "net start Jakarta" from the command prompt"

While attempting to start the service from the command line using
"net start", I receive the following response:

"The Jakarta service is starting.
 The Jakarta service could not be started.

 The service did not report an error.

 More help is available by typing NET HELPMSG 3546"


Where do I start to troubleshoot. 

Thanks.


Jeffrey Leung




Re: working with jakarta NT service

2001-03-21 Thread fakhar

Hello,

R u work on Tomcat on Linux 6.2 and 7.0 with apache 3.12
Thanks
Fakhar
- Original Message -
From: Anjum Naseer [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, March 20, 2001 10:49 PM
Subject: RE: working with jakarta NT service


 Make sure Tomcat and the JDK are installed on a local disk and not on a
 network drive.

 -Original Message-
 From: Jones Borralho Gama [mailto:[EMAIL PROTECTED]]
 Sent: 20 March 2001 17:12
 To: '[EMAIL PROTECTED]'
 Cc: '[EMAIL PROTECTED]'
 Subject: working with jakarta NT service
 Importance: High


 Hello,
 I'm talking from Brazil, I have a problem and I really appreciate if you
can
 help. I'm using jakarta-tomcat-3.2.1 and jdk1.1.8 in my computer and I'd
 like to create a jakarta NT service and executes it in the background as
an
 NT service. I install  the  "jk_nt_service" point to wrapper.properties
file
 but the service is created but it's impossible to start. What can I do?
 Could you help me?
 When I try to startup the service, the NT show "error 2140"
 Thank's and sorry because my English is not good.

 Jones





RE: working with jakarta NT service

2001-03-20 Thread Arif Tayebali

I have installed jdk1.3 and have tomcat running as a service:

hom to tomcat\doc\NT-Service-howto.html

check out that file for install instructions.

Try upgrading to jdk1.3!

cya

-Original Message-
From: Jones Borralho Gama [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 20, 2001 9:12 AM
To: '[EMAIL PROTECTED]'
Cc: '[EMAIL PROTECTED]'
Subject: working with jakarta NT service
Importance: High


Hello,
I'm talking from Brazil, I have a problem and I really appreciate if you can
help. I'm using jakarta-tomcat-3.2.1 and jdk1.1.8 in my computer and I'd
like to create a jakarta NT service and executes it in the background as an
NT service. I install  the  "jk_nt_service" point to wrapper.properties file
but the service is created but it's impossible to start. What can I do?
Could you help me?  
When I try to startup the service, the NT show "error 2140"  
Thank's and sorry because my English is not good.

Jones



RE: working with jakarta NT service

2001-03-20 Thread Anjum Naseer

Make sure Tomcat and the JDK are installed on a local disk and not on a
network drive.

-Original Message-
From: Jones Borralho Gama [mailto:[EMAIL PROTECTED]]
Sent: 20 March 2001 17:12
To: '[EMAIL PROTECTED]'
Cc: '[EMAIL PROTECTED]'
Subject: working with jakarta NT service
Importance: High


Hello,
I'm talking from Brazil, I have a problem and I really appreciate if you can
help. I'm using jakarta-tomcat-3.2.1 and jdk1.1.8 in my computer and I'd
like to create a jakarta NT service and executes it in the background as an
NT service. I install  the  "jk_nt_service" point to wrapper.properties file
but the service is created but it's impossible to start. What can I do?
Could you help me?  
When I try to startup the service, the NT show "error 2140"  
Thank's and sorry because my English is not good.

Jones



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]




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




Jakarta NT Service

2001-03-04 Thread Alan

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]





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]




Jakarta NT Service: how to execute several Tomcat instances

2001-02-15 Thread Fontanelli Andrea


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 name of service path of wrapper.properties
(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]




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 name of service path of wrapper.properties
(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]




Jakarta NT service...

2000-12-28 Thread Julka, Bobby

Hi,

My TOMCAT_HOME has a directory path c:\Program Files\Apache
Group\jakarta-tomcat3.2.1

As the directory path has spaces, I specified the path as "c:\Program
Files\Apache Group\jakarta-tomcat3.2.1" for wrapper.tomcat_home in
wrapper.properties. This seems to be a bug. Not using quotes obviously does
not work.

Thanks,

-bobby


___
Bobby Julka
Xqsite Inc. (Divine InterVentures)
Phone: (630) 799 1501 x34152
Fax: (630) 799 7514
Email: [EMAIL PROTECTED] 



Jakarta Nt Service

2000-12-26 Thread Jose Flores



I did exactly all steps of 
Nt-Service-HOW-TO.html
But i did not work.

I creates successfully the Service Entry, but I can 
not start it.
It returns no error messages, but it could not 
start it.

Thanks for your help.


José O. Flores SInnovática, SA trab: 
534-3345 ext 2124cell: 292-7614site: www.innovatica.com.do


Jakarta NT service

2000-12-21 Thread Steve . Roach1

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

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




Jakarta NT Service stops on logout

2000-12-14 Thread David Wroton


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





Feedback - Working with the Jakarta NT Service

2000-12-14 Thread Bob Cullen


Have just finished installing Tomcat on an NT box using the instructions

Working with the Jakarta NT Service

By Gal Shachor [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]

These instructions where very useful. However I installed Tomcat in the
"Program Files" directory
structure and the following two lines in wrapper.properties

wrapper.java_home=c:\Program Files\JavaSoft\JRE\1.2

wrapper.tomcat_home=c:\Program Files\tomcat

would not allow the service to start. I had to change the paths to the old
DOS eight character format i.e.

wrapper.java_home=c:\Progra~1\JavaSoft\JRE\1.2

wrapper.tomcat_home=c:\Program~1\tomcat

before the service would start.

Obviously putting it in its own C:\TOMCAT directory would not have caused
the problem.

It might be worth ading to the document. It would have saved me a hour
fiddling about  if it had been.

Now to learn how to program servlets.

Keep up the grat work you guys

Cheers

Bob C




Working with the Jakarta NT Service

2000-12-08 Thread Reto Badertscher

Hi Gal,

Setting up Tomcat 3.2 on my Windows System as a service and read youre note:
"Special note: The Tomcat service is using AJPV12 to perform clean shutdown
and you should make sure that an AJPV12 connector is defined in your
server.xml. In the absence of a configured AJPV12 port the Tomcat service
will kill Tomcat abruptly (that is murder it) without giving it a chance to
clean up."

How is this done or where can i get the needed information to do this?

Thanks for your help

Reto Badertscher




Re: Working with the Jakarta NT Service

2000-10-20 Thread Elijah Roberts

On Thursday October 19, 2000 Mac Donell, Marc wrote:
 In regards to working with the Jakarta NT Service, I have found a small
 (potentially big) problem.  I had no problems setting up Jakarta as an NT
 service, and incorporating it with my IIS web sites.  The problem that
 occurs however is whenever I log out of the computer, the Jakarta service
 stops itself, while the IIS and WWW publishing services continue to run. 
 
 Have you an ideas on possible workarounds on this issue?  Your help would be
 appreciated.

As others have said this is an bug with jdk1.3. It is able to be worked
around by using the JNI invocation functions to launch the VM. I have an
java-to-nt-service connector that can be used with Tomcat that does not
suffer from this problem. You are welcome to download and use it. It can
be found at:

http://www.alexandriasc.com/software/JavaService

If you do, I would be curious to hear whether or not you got it to work.

Elijah Roberts
[EMAIL PROTECTED]