You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Andrés Reyes <ar...@tcor.net> on 2005/06/10 12:51:38 UTC
Cannot start Tomcat 4.1
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
problem in virtual dommain
Posted by Fabiano Rech <fa...@gmail.com>.
Hi all, I installed apache2+tomcat+modjk in solaris 10, I configured
based in cookbook from the site:
http://jakarta.apache.org/tomcat/connectors-doc/howto/apache.html
The connector is works well, but using virtual host, the apache direct
for the directory
/usr/local/tomcat/webapps/ROOT. how I can redirect to /opt/myapp/html?
This is my mod_jk.conf:
----------Begin mod_jk.conf--------------------------------
LoadModule jk_module libexec/mod_jk.so
JkWorkersFile /opt/csw/share/tomcat5/conf/workers.properties
JkLogFile /opt/csw/apache2/logs/mod_jk.log
JkLogLevel info
JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories
JkRequestLogFormat "%w %V %T"
<VirtualHost *:80>
ServerName www.teste2.net
DocumentRoot /opt/myapp/html
Alias /conces /opt/myapp/html/
<Directory "/opt/myapp/html">
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
JkMount /* worker1
</VirtualHost>
-------------------------End mod_jk.conf----------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org