tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From graghupa...@aegonuk.co.uk
Subject RE: Urgent help needed: Tomcat as a service
Date Wed, 30 Apr 2003 14:35:42 GMT
can you email us the server.xml please ????

-----Original Message-----
From: Modi, Dakshesh [mailto:Dakshesh.Modi@trizetto.com]
Sent: 30 April 2003 15:30
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


Mime
View raw message