Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

org.apache.catalina.core.StandardContext startInternal SEVERE: Error listenerStart

Just trying to deploy web service war file but could not make it using apache tomcat 7. I tried sample war file and it works fine just accesing from browser localhost:8080/sample so sure that my tomcat is well configured. just copying the war under webapps/ and deploy it but same message: description The requested resource is not available. I am wondering if web service application shows another way to deploy it ??? here is a content of catalina.log file:

 4:28:25 PM org.apache.catalina.core.StandardContext startInternal
SEVERE: Error listenerStart
4:28:25 PM org.apache.catalina.core.StandardContext startInternal
SEVERE: Context [/APP] startup failed due to previous errors
Oct 12, 2012 4:28:25 PM org.apache.catalina.startup.HostConfig deployDirectory

Any idea ??

like image 247
Mas Avatar asked Oct 13 '12 13:10

Mas


2 Answers

I had a similar problem. The catalina.out logged this log Message

Apr 17, 2013 5:14:46 PM org.apache.catalina.core.StandardContext start SEVERE: Error listenerStart

The error is caused when a exception is thrown while the server is starting.

To figure out what is causing the you should look at localhost.log (in the same directory as catalina.out) not catalina.out, you should be able to see the exception that caused the error

like image 63
RenRen Avatar answered Sep 19 '22 23:09

RenRen


You can check the error by adding a logging.properties file in your WEB-INF/classes folder with the following contents:

org.apache.catalina.core.ContainerBase.[Catalina].level = INFO org.apache.catalina.core.ContainerBase.[Catalina].handlers = java.util.logging.ConsoleHandler

like image 39
Nickmancol Avatar answered Sep 18 '22 23:09

Nickmancol