RE: Troubles starting Tomcat as NT service

2001-01-11 Thread Randy Layman



> line:
> p:\java\jdk1.3\bin\java.exe -classpath
>
c:\progra~1\jakart~1.2\classes;c:\progra~1\jakart~1.2\lib\jaxp.jar;c:\progra
~1\jakart~1.2\lib\parser.jar;c:\progra~1\jakart~1.2\lib\webserver.jar;c:\pro
gra~1\jakart~1.2\lib\servlet.jar;c:\progra~1\jakart~1.2\lib\jasper.jar;p:\ja
va\jdk1.3\lib\tools.jar
> org.apache.tomcat.startup.Tomcat -config
c:\progra~1\jakart~1.2\conf\server.xml
> -home c:\progra~1\jakart~1.2

Is that really a driver p?  If so, is it a network drive?  If so,
does the System account on this machine have permissions to access java.exe
from the remote computer?  If this is the problem, you will probably want to
either (1) install jdk locally or (2) change the account that Tomcat runs as
to an account that has permissions on the drive.

That's really the only thing that looks troublesome to me.

Randy

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




Troubles starting Tomcat as NT service

2001-01-11 Thread Stefan Rufer

Hello !

I'm running WinNT4 Client, SP6 and Apache on my machine. Tomcat and Apache run
together very well. However to keep Apache *and* Tomcat running when logging out
i would like to get Tomcat running as NT service. Up to now I failed. 

The steps I performed:
 - edit TOMCAT_HOME\conf\wrapper.properties
   - wrapper.tomcat_home=c:\progra~1\jakart~1.2
   - wrapper.java_home=p:\java\jdk1.3  
 (location of jdk on our intranet)
   - check log directories: is there
   - comment out line with lib\classes.zip (don't need, using jdk1.3)
 - install as NT service:
  TOMCAT_HOME\bin\jk_nt_service -i Tomcat ..\conf\wrapper.properties
   (reports no errors)
 - try to start nt service: NET START Tomcat
   reports:


C:\PROGRA~1\JAKART~1.2\bin>net start Tomcat
The Tomcat service is starting.
The Tomcat service could not be started.

The service did not report an error.

More help is available by typing NET HELPMSG 3534.

C:\PROGRA~1\JAKART~1.2\bin>



What's wrong ?


Thanks for help
Stefan Rufer

PS:
 - Attached file wrapper.properties
 - I can start Tomcat manually, eg. with "startup.bat" or the following command
line:
p:\java\jdk1.3\bin\java.exe -classpath
c:\progra~1\jakart~1.2\classes;c:\progra~1\jakart~1.2\lib\jaxp.jar;c:\progra~1\jakart~1.2\lib\parser.jar;c:\progra~1\jakart~1.2\lib\webserver.jar;c:\progra~1\jakart~1.2\lib\servlet.jar;c:\progra~1\jakart~1.2\lib\jasper.jar;p:\java\jdk1.3\lib\tools.jar
org.apache.tomcat.startup.Tomcat -config c:\progra~1\jakart~1.2\conf\server.xml
-home c:\progra~1\jakart~1.2


-- 
Assistant 
Competence Center Electronic Commerce (CCEC)
http://ccec.hta-bi.bfh.ch/
+41-32-321 63 37
private: http://www.hta-bi.bfh.ch/~rfs/

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