You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Modi, Dakshesh" <Da...@trizetto.com> on 2003/04/30 16:30:02 UTC
Urgent help needed: Tomcat as a service
I am trying to run tomcat 3.3.1 as a service using javaservice. I am able to
start my service ok and it deploys my WARS from webapps but when I try to
assess the web pages using http://localhost:8080 it says page not found and
this is what I have in stdout.log
================================================
stdout.log
================================================
Starting tomcat. Check logs/tomcat.log for error messages
ContextManager: Engine init
Ctx( /admin ): Add context
ContextManager: Adding context Ctx( /admin )
Ctx( /examples ): Add context
ContextManager: Adding context Ctx( /examples )
Ctx( /networx ): Add context
ContextManager: Adding context Ctx( /networx )
Ctx( ): Add context
ContextManager: Adding context Ctx( )
Ctx( /admin ): Context Init
cannot load servlet name: jsp
Ctx( /examples ): Context Init
cannot load servlet name: jsp
Ctx( /networx ): Context Init
cannot load servlet name: jsp
Ctx( ): Context Init
cannot load servlet name: jsp
PoolTcpConnector: Starting HttpConnectionHandler on 0
================================================
mybat file to start service
===============================================
@echo on
echo --------
echo Usage: %0 JAVA_HOME tomcat_home (classic/hotspot/server)
echo NOTE: You MAY NOT use spaces in the path names. If you know how
echo to fix this, please tell me.
echo JDK 1.3 does not come with hotpot server by default, you must
echo install this seperately if you wish to use it.
echo Example: %0 c:\progra~1\jdk c:\progra~1\tomcat hotspot
echo --------
rem if "%1" == "" goto eof
rem if "%2" == "" goto eof
rem if "%3" == "" goto eof
rem set jdk = %JAVA_HOME%
rem set tomcat = TOMCAT_HOME
rem set _MAIN=org.apache.tomcat.startup.Main
set _MAIN=org.apache.tomcat.startup.Tomcat
set JAVA_HOME=%JAVA_HOME%
set PATH=%JAVA_HOME%\bin;%PATH%
set TOMCAT_HOME=%TOMCAT_HOME%
set CLASSPATH=%TOMCAT_HOME%\lib\tomcat.jar
set CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\lib\common\servlet.jar
set CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\lib\common\jasper.jar
set CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\lib\xml.jar
set CLASSPATH=%CLASSPATH%;%JAVA_HOME%\lib\tools.jar
set CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\lib\webserver.jar
set CLASSPATH=%CLASSPATH%;d:\rims\30239\lib\patch.jar
set CLASSPATH=%CLASSPATH%;d:\rims\30239\lib\repriceALL.jar
set CLASSPATH=%CLASSPATH%;d:\rims\30239\lib\asrt.jar
set CLASSPATH=%CLASSPATH%;d:\rims\30239\lib\vbejb.jar
set CLASSPATH=%CLASSPATH%;d:\rims\30239\lib\vbjorb.jar
set CLASSPATH=%CLASSPATH%;d:\rims\30239\lib\base_beans.jar
%TOMCAT_HOME%\bin\Tomcat.exe -install Tomcat
%JAVA_HOME%\jre\bin\hotspot\jvm.dll -Djava.class.path=%CLASSPATH%
-Dcatalina.home=%TOMCAT_HOME% -Dtomcat.home=%TOMCAT_HOME%
-Djava.security.policy=="%TOMCAT_HOME%/conf/tomcat.policy"
-Dtomcat.home="%TOMCAT_HOME%" -start %_MAIN% -params -config
%TOMCAT_HOME%\conf\server.xml -stop %_MAIN% -params -config
%TOMCAT_HOME%\conf\server.xml -out %TOMCAT_HOME%\logs\stdout.log -err
%TOMCAT_HOME%\logs\stderr.log
goto eof
:eof
==============================================
Thank you
Dak
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
RE: Urgent help needed: Tomcat as a service
Posted by George Sexton <gs...@mhsoftware.com>.
have you tried:
http://127.0.0.1:8080/
-----Original Message-----
From: Modi, Dakshesh [mailto:Dakshesh.Modi@trizetto.com]
Sent: Wednesday, April 30, 2003 8:30 AM
To: 'tomcat-user@jakarta.apache.org'
Subject: Urgent help needed: Tomcat as a service
I am trying to run tomcat 3.3.1 as a service using javaservice. I am able to
start my service ok and it deploys my WARS from webapps but when I try to
assess the web pages using http://localhost:8080 it says page not found and
this is what I have in stdout.log
================================================
stdout.log
================================================
Starting tomcat. Check logs/tomcat.log for error messages
ContextManager: Engine init
Ctx( /admin ): Add context
ContextManager: Adding context Ctx( /admin )
Ctx( /examples ): Add context
ContextManager: Adding context Ctx( /examples )
Ctx( /networx ): Add context
ContextManager: Adding context Ctx( /networx )
Ctx( ): Add context
ContextManager: Adding context Ctx( )
Ctx( /admin ): Context Init
cannot load servlet name: jsp
Ctx( /examples ): Context Init
cannot load servlet name: jsp
Ctx( /networx ): Context Init
cannot load servlet name: jsp
Ctx( ): Context Init
cannot load servlet name: jsp
PoolTcpConnector: Starting HttpConnectionHandler on 0
================================================
mybat file to start service
===============================================
@echo on
echo --------
echo Usage: %0 JAVA_HOME tomcat_home (classic/hotspot/server)
echo NOTE: You MAY NOT use spaces in the path names. If you know how
echo to fix this, please tell me.
echo JDK 1.3 does not come with hotpot server by default, you must
echo install this seperately if you wish to use it.
echo Example: %0 c:\progra~1\jdk c:\progra~1\tomcat hotspot
echo --------
rem if "%1" == "" goto eof
rem if "%2" == "" goto eof
rem if "%3" == "" goto eof
rem set jdk = %JAVA_HOME%
rem set tomcat = TOMCAT_HOME
rem set _MAIN=org.apache.tomcat.startup.Main
set _MAIN=org.apache.tomcat.startup.Tomcat
set JAVA_HOME=%JAVA_HOME%
set PATH=%JAVA_HOME%\bin;%PATH%
set TOMCAT_HOME=%TOMCAT_HOME%
set CLASSPATH=%TOMCAT_HOME%\lib\tomcat.jar
set CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\lib\common\servlet.jar
set CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\lib\common\jasper.jar
set CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\lib\xml.jar
set CLASSPATH=%CLASSPATH%;%JAVA_HOME%\lib\tools.jar
set CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\lib\webserver.jar
set CLASSPATH=%CLASSPATH%;d:\rims\30239\lib\patch.jar
set CLASSPATH=%CLASSPATH%;d:\rims\30239\lib\repriceALL.jar
set CLASSPATH=%CLASSPATH%;d:\rims\30239\lib\asrt.jar
set CLASSPATH=%CLASSPATH%;d:\rims\30239\lib\vbejb.jar
set CLASSPATH=%CLASSPATH%;d:\rims\30239\lib\vbjorb.jar
set CLASSPATH=%CLASSPATH%;d:\rims\30239\lib\base_beans.jar
%TOMCAT_HOME%\bin\Tomcat.exe -install Tomcat
%JAVA_HOME%\jre\bin\hotspot\jvm.dll -Djava.class.path=%CLASSPATH%
-Dcatalina.home=%TOMCAT_HOME% -Dtomcat.home=%TOMCAT_HOME%
-Djava.security.policy=="%TOMCAT_HOME%/conf/tomcat.policy"
-Dtomcat.home="%TOMCAT_HOME%" -start %_MAIN% -params -config
%TOMCAT_HOME%\conf\server.xml -stop %_MAIN% -params -config
%TOMCAT_HOME%\conf\server.xml -out %TOMCAT_HOME%\logs\stdout.log -err
%TOMCAT_HOME%\logs\stderr.log
goto eof
:eof
==============================================
Thank you
Dak
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org