You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Steve Harrison <ha...@uk.tigplc.com> on 2001/08/08 10:38:59 UTC

Problems using JavaService

Hi folks,

I'm running into a problem trying to use Tomcat as an NT service, using
JavaService.
>From the standard Tomcat 3.2.3, I added the xerces-j_2_2_D6.jar
If I run the STARTUP.BAT file in the bin directory, I can run the examples
in the webapp directory fine.
If I run Tomcat as an NT service, I get Page Cannot Be Displayed.

This is the start-up command I'm using...

c:\tomcat>javaservice.exe -install Tomcat
d:\java\jdk1.3\jre\bin\classic\jvm.dll 
-Djava.class.path=d:\java\jakarta-tomcat-3.2.3\lib\webserver.jar;d:\java\jak
arta-tomcat-3.2.3\lib\jasper.jar;d:\java\jakarta-tomcat-3.2.3\lib\servlet.ja
r;d:\java\jakarta-tomcat-3.2.3\lib\xerces-j_2_2_D6.jar 
-Dtomcat.home=d:\java\jakarta-tomcat-3.2.3 
-start org.apache.tomcat.startup.Tomcat -params -config
d:\java\jakarta-tomcat-3.2.3\conf\server.xml 
-stop org.apache.tomcat.startup.Tomcat -params -stop -config
d:\java\jakarta-tomcat-3.2.3\conf\server.xml 
-out d:\java\jakarta-tomcat-3.2.3\logs\stdout.log 
-err d:\java\jakarta-tomcat-3.2.3\logs\stderr.log


There is no indication of the problem in any of the log files.
Any help would be greatly appreciated!

Thanks,

 - Steve


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
This message and any attachments are confidential to the intended recipient at the e-mail address to which it has been addressed. 
If you are not the intended recipient you may not copy, forward, disclose or use any part of this message or its attachments.
If received in error please notify the sender immediately by e-mail or contact 
The Innovation Group plc on +44(0)1489 898300 and then delete this message from your system. 
Neither the sender nor any office or company in The Innovation Group plc group will be liable for any viruses.
Any opinions contained in this message are those of the author and are not given or endorsed by any company in The Innovation Group plc group through which this message was sent unless otherwise expressly stated in this message and the authority of the author in so stating that is verified. The Innovation Group plc, registered office at Yarmouth House, 1300 Parkway, Solent Business Park, Whiteley, Hants PO15 7AE, company number 3256771.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++