tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrés Reyes <are...@tcor.net>
Subject Cannot start Tomcat 4.1
Date Fri, 10 Jun 2005 10:51:38 GMT
Hi, this is my first message on the list, so, i accept any comments 
about my poor english :(.

The problem:
I have installed Tomcat4.1/Sun j2sdk on a debian 3.1 (sarge). Yesterday, 
it works fine, but today, I have added a new context using the web 
administrator. Then, I put some JSP files on the context directory 
(/user/share/tomcat4/server/webapps/****/). The first time I make a 
pettition to the server, it creates correctly the .class and .java 
files... BUT, when i reload the app using the web manager... it can not 
do it.
Now, I cannot start Tomcat (using catalina.sh run), getting this message:

...
Jun 10, 2005 12:18:28 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8180
Starting service Tomcat-Standalone
Apache Tomcat/4.1
Catalina.start: LifecycleException:  Context startup failed due to 
previous errors
LifecycleException:  Context startup failed due to previous errors
        at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:3578)
        at 
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1141)
        at 
org.apache.catalina.core.StandardHost.start(StandardHost.java:707)
        at 
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1141)
        at 
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:316)
        at 
org.apache.catalina.core.StandardService.start(StandardService.java:450)
        at 
org.apache.catalina.core.StandardServer.start(StandardServer.java:2143)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:463)
        at org.apache.catalina.startup.Catalina.execute(Catalina.java:350)
        at org.apache.catalina.startup.Catalina.process(Catalina.java:129)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:156)
Stopping service Tomcat-Standalone
Catalina.stop: LifecycleException:  Coyote connector has not been started
LifecycleException:  Coyote connector has not been started
        at 
org.apache.coyote.tomcat4.CoyoteConnector.stop(CoyoteConnector.java:1296)
        at 
org.apache.catalina.core.StandardService.stop(StandardService.java:499)
        at 
org.apache.catalina.core.StandardServer.stop(StandardServer.java:2178)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:494)
        at org.apache.catalina.startup.Catalina.execute(Catalina.java:350)
        at org.apache.catalina.startup.Catalina.process(Catalina.java:129)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:156)

And the log file shows...

2005-06-10 12:18:29 WebappLoader[/admin]: Deploying class repositories 
to work directory /usr/share/tomcat4/work/Standalone/localhost/admin
2005-06-10 12:18:29 WebappLoader[/admin]: Deploy class files 
/WEB-INF/classes to /usr/share/tomcat4/server/webapps/admin/WEB-INF/classes
2005-06-10 12:18:29 WebappLoader[/admin]: Deploy JAR 
/WEB-INF/lib/struts.jar to 
/usr/share/tomcat4/server/webapps/admin/WEB-INF/lib/struts.jar
2005-06-10 12:18:29 ContextConfig[/admin] Exception processing JAR at 
resource path /WEB-INF/lib/struts.jar
javax.servlet.ServletException: Exception processing JAR at resource 
path /WEB-INF/lib/struts.jar
        at 
org.apache.catalina.startup.ContextConfig.tldScanJar(ContextConfig.java:881)
        at 
org.apache.catalina.startup.ContextConfig.tldScan(ContextConfig.java:809)
        at 
org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:587)
        at 
org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:181)
        at 
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
        at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:3523)
...

Maybe this error was caused by my newbie condition using Tomcat....
Thanks.

-- 
/***********************************
* Andrés Reyes ( areyes@tcor.net )
* T-COR Desarrollos y Sistemas, S.L.
* Teléfno: 957 76 42 48 
* Fax    : 957 76 42 49
***********************************/


---------------------------------------------------------------------
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