Announcement Announcement Module
Collapse
No announcement yet.
Tomcat Error ListenerStart Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Tomcat Error ListenerStart

    I'm developing a web application with Tomcat, Struts, Hibernate and Spring. I work with MyEclipse IDE.

    I get an error when Tomcat starts

    11-abr-2006 20:13:31 org.apache.catalina.core.AprLifecycleListener lifecycleEvent
    INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Archivos de programa\Apache Software Foundation\Tomcat 5.5\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOW S\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\ Archivos de programa\Archivos comunes\Adaptec Shared\System;C:\ARCHIV~1\Borland\Delphi6\Bin;C:\A RCHIV~1\Borland\Delphi6\Projects\Bpl;C:\Archivos de programa\Microsoft SQL Server\80\Tools\BINN;C:\Archivos de programa\Informix\Client-SDK\bin;c:\oracle;C:\Archivos de programa\cvsnt
    11-abr-2006 20:13:31 org.apache.coyote.http11.Http11BaseProtocol init
    INFO: Inicializando Coyote HTTP/1.1 en puerto http-8080
    11-abr-2006 20:13:31 org.apache.catalina.startup.Catalina load
    INFO: Initialization processed in 1109 ms
    11-abr-2006 20:13:31 org.apache.catalina.core.StandardService start
    INFO: Arrancando servicio Catalina
    11-abr-2006 20:13:31 org.apache.catalina.core.StandardEngine start
    INFO: Starting Servlet Engine: Apache Tomcat/5.5.16
    11-abr-2006 20:13:31 org.apache.catalina.core.StandardHost start
    INFO: Desactivada la validación XML
    11-abr-2006 20:13:35 org.apache.catalina.core.StandardContext start
    GRAVE: Error listenerStart
    11-abr-2006 20:13:35 org.apache.catalina.core.StandardContext start
    GRAVE: Falló en arranque del Contexto [/shpd] debido a errores previos
    11-abr-2006 20:13:35 org.apache.coyote.http11.Http11BaseProtocol start
    INFO: Arrancando Coyote HTTP/1.1 en puerto http-8080
    11-abr-2006 20:13:35 org.apache.jk.common.ChannelSocket init
    INFO: JK: ajp13 listening on /0.0.0.0:8009
    11-abr-2006 20:13:35 org.apache.jk.server.JkMain start
    INFO: Jk running ID=0 time=0/31 config=null
    11-abr-2006 20:13:35 org.apache.catalina.storeconfig.StoreLoader load
    INFO: Find registry server-registry.xml at classpath resource
    11-abr-2006 20:13:35 org.apache.catalina.startup.Catalina start
    INFO: Server startup in 4578 ms

    My web.xml file is

    <?xml version="1.0" encoding="UTF-8"?>
    <web-app xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.4" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">

    <context-param>
    <param-name>contextConfigLocation</param-name>
    <param-value>/WEB-INF/applicationContext.xml</param-value>
    </context-param>

    <listener>
    <listener-class>org.springframework.web.context.ContextLoade rListener</listener-class>
    </listener>

    <servlet>
    <servlet-name>action</servlet-name>
    <servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
    <init-param>
    <param-name>config</param-name>
    <param-value>/WEB-INF/struts-config.xml</param-value>
    </init-param>
    <init-param>
    <param-name>debug</param-name>
    <param-value>3</param-value>
    </init-param>
    <init-param>
    <param-name>detail</param-name>
    <param-value>3</param-value>
    </init-param>
    <load-on-startup>0</load-on-startup>
    </servlet>
    <servlet-mapping>
    <servlet-name>action</servlet-name>
    <url-pattern>*.do</url-pattern>
    </servlet-mapping>
    </web-app>

    and my applicationContext.xml file is

    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">

    <beans>
    <bean id="SessionFactory" class="org.springframework.orm.hibernate3.LocalSes sionFactoryBean">
    <property name="configLocation">
    <value>file:/src/hibernate.cfg.xml</value>
    </property>
    </bean>

    <bean id="VagonesTDAO" class="es.horus.hibernate.VagonesTDAO">
    <property name="SessionFactory">
    <ref bean="SessionFactory" />
    </property>
    </bean>
    </beans>


    Any idea about what is wrong?
    Any way to get more information about the error?

    Thank you very much.

  • #2
    Hi
    I have the same problem
    I have this message when I start the server
    did you resolve this problem please?


    4 oct. 2006 12:27:44 org.apache.catalina.core.StandardContext start
    GRAVE: Error listenerStart
    4 oct. 2006 12:27:44 org.apache.catalina.core.StandardContext start
    GRAVE: Context startup failed due to previous errors

    Comment


    • #3
      I don't remember exactly how I solved the problem
      I was inexpert with java and spring.
      Activate log4j in debug mode. Spring informs you about error.

      Comment


      • #4
        thanks for the replay

        It does not give error messages !!!

        I dont know what to do !!

        any idea ?!!

        Comment

        Working...
        X