wood burning stoves 2.0*
The moose likes Tomcat and the fly likes problem starting the tomcat4 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "problem starting the tomcat4 " Watch "problem starting the tomcat4 " New topic
Author

problem starting the tomcat4

trupti nigam
Ranch Hand

Joined: Jun 21, 2001
Posts: 613
Hi all,
till 2 days back I was able to start the tomcat 4 with no problems..but today I am getting some exception when i start the server from the command line. I am not able to figure out what is the problem..
I am attaching below the exception from the tomcat log file.
Please let me know the peoblem ASAP as I can't go ahead with my SCWCD study.
The Error:
2002-07-30 13:09:19 jsp: init
2002-07-30 13:09:20 HostConfig[localhost]: Deploying web application directory ROOT
2002-07-30 13:09:20 StandardHost[localhost]: Installing web application at context path from URL file:C:\tomcat\webapps\ROOT
2002-07-30 13:09:20 WebappLoader[]: Deploying class repositories to work directory C:\tomcat\work\Standalone\localhost\_
2002-07-30 13:09:20 WebappLoader[]: Deploy class files /WEB-INF/classes to C:\tomcat\webapps\ROOT\WEB-INF\classes
2002-07-30 13:09:20 StandardManager[]: Seeding random number generator class java.security.SecureRandom
2002-07-30 13:09:20 StandardManager[]: Seeding of random number generator has been completed
2002-07-30 13:09:20 StandardWrapper[ efault]: Loading container servlet default
2002-07-30 13:09:20 default: init
2002-07-30 13:09:20 StandardWrapper[:invoker]: Loading container servlet invoker
2002-07-30 13:09:20 invoker: init
2002-07-30 13:09:20 jsp: init
2002-07-30 13:09:45 StandardHost[localhost]: Removing web application at context path /examples
2002-07-30 13:09:45 StandardHost[localhost]: ContainerBase.removeChild: stop:
LifecycleException: Container StandardContext[/examples] has not been started
at org.apache.catalina.core.StandardContext.stop(Unknown Source)
at org.apache.catalina.core.ContainerBase.removeChild(Unknown Source)
at org.apache.catalina.core.StandardHostDeployer.remove(Unknown Source)
at org.apache.catalina.core.StandardHost.remove(Unknown Source)
at org.apache.catalina.startup.HostConfig.undeployApps(Unknown Source)
at org.apache.catalina.startup.HostConfig.stop(Unknown Source)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(Unknown Source)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Unknown Source)
at org.apache.catalina.core.ContainerBase.stop(Unknown Source)
at org.apache.catalina.core.ContainerBase.stop(Unknown Source)
at org.apache.catalina.core.StandardService.stop(Unknown Source)
at org.apache.catalina.core.StandardServer.stop(Unknown Source)
at org.apache.catalina.startup.Catalina.start(Unknown Source)
at org.apache.catalina.startup.Catalina.execute(Unknown Source)
at org.apache.catalina.startup.Catalina.process(Unknown Source)
at java.lang.reflect.Method.invoke(Native Method)
at org.apache.catalina.startup.Bootstrap.main(Unknown Source)
2002-07-30 13:09:45 StandardHost[localhost]: Removing web application at context path /webdav
2002-07-30 13:09:46 StandardHost[localhost]: Removing web application at context path /tomcat-docs
2002-07-30 13:09:46 StandardHost[localhost]: Removing web application at context path /admin
2002-07-30 13:09:46 StandardHost[localhost]: Removing web application at context path /manager
2002-07-30 13:09:46 NamingContextListener[/Standalone/localhost/manager]: Failed to unbind object: javax.naming.NameNotFoundException: Name users is not bound in this Context
2002-07-30 13:09:46 StandardHost[localhost]: Removing web application at context path
thanks,
Trupti
madhu gun
Greenhorn

Joined: Nov 21, 2001
Posts: 25
hi,
check whether tomcat is already running as a service under NT.If so,first stop it and then start.Or change the port to 9001 0r so and try again.Let us know the result.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: problem starting the tomcat4
 
Similar Threads
Tomcat is unable to detect web.xml from WAR
Do Not Understand "/tags/struts-logic" Not Found
the requested resource is not available
ServletException please help!!
Tomcat not behaving:(