Tomcat 7.0.42 Error listenerStart

Deploy my war file to tomcat (jdk 7) and I see the following error. Not sure what causes the problem.

INFO: OpenSSL successfully initialized (OpenSSL 1.0.1d 5 Feb 2013) Feb 27, 2014 11:02:50 AM org.apache.coyote.AbstractProtocol init INFO: Initializing ProtocolHandler ["http-apr-8081"] Feb 27, 2014 11:02:50 AM org.apache.coyote.AbstractProtocol init INFO: Initializing ProtocolHandler ["ajp-apr-8009"] Feb 27, 2014 11:02:50 AM org.apache.catalina.startup.Catalina load INFO: Initialization processed in 1588 ms Feb 27, 2014 11:02:50 AM org.apache.catalina.core.StandardService startInternal INFO: Starting service Catalina Feb 27, 2014 11:02:50 AM org.apache.catalina.core.StandardEngine startInternal INFO: Starting Servlet Engine: Apache Tomcat/7.0.42 Feb 27, 2014 11:02:50 AM org.apache.catalina.startup.HostConfig deployWAR INFO: Deploying web application archive D:\Dev\tools\apache-tomcat-7.0.42\webapp s\CollaborationPortal.war Feb 27, 2014 11:03:09 AM org.apache.catalina.startup.TaglibUriRule body INFO: TLD skipped. URI: http://java.sun.com/jsp/jstl/core is already defined Feb 27, 2014 11:03:09 AM org.apache.catalina.startup.TaglibUriRule body INFO: TLD skipped. URI: http://java.sun.com/jsp/jstl/fmt is already defined Feb 27, 2014 11:03:09 AM org.apache.catalina.core.StandardContext startInternal SEVERE: Error listenerStart Feb 27, 2014 11:03:09 AM org.apache.catalina.core.StandardContext startInternal SEVERE: Context [/CollaborationPortal] startup failed due to previous errors Feb 27, 2014 11:03:09 AM org.apache.coyote.AbstractProtocol start INFO: Starting ProtocolHandler ["http-apr-8081"] Feb 27, 2014 11:03:09 AM org.apache.coyote.AbstractProtocol start INFO: Starting ProtocolHandler ["ajp-apr-8009"] Feb 27, 2014 11:03:09 AM org.apache.catalina.startup.Catalina start INFO: Server startup in 18890 ms 
+6
source share
2 answers

You can reconfigure java.utils.logging by adding /WEB-INF/classes/logging.properties to your military archive:

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

The actual error message should be visible. Also, check the application logs if you have already configured an additional logging structure (for example, log4j).

+16
source

There may be a mismatch between the installed version of the JDK and the JDK with which you are trying to create your project.

1) If you use Eclipse .Go before Windows->Preferences->Compiler->check compiler compliance level (it must match the installed JDK)

2)

  • Right click on build.xml
  • Select Run As->Ant Build... Pay attention to the ellipsis !
  • Switch to JRE tab
  • Select jdk from the list
  • Create your own project

    ( fooobar.com/questions/96211 / ... )

0
source

All Articles