1 Reply Latest reply: Jun 20, 2009 3:59 PM by 843810 RSS

    Tomcat startup problem

    843810
      Hi all,
      I have installed tomcat5.When I start up tomcat I am not able to run tomcat as it is showing following msz :-
      Created MBeanServer with ID: -jvjmq8:fw5xbqay.0:
      20-Jun-09 11:33:22 AM 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: /usr/lib/../lib/gcj-4.3-90:/usr/lib/jvm/java-6-openjdk/jre/lib/i386/client:/usr/lib/jvm/java-6-openjdk/jre/lib/i386:/usr/lib/xulrunner-addons:/usr/lib/xulrunner-addons:/usr/lib/jni
      20-Jun-09 11:33:23 AM org.apache.coyote.http11.Http11BaseProtocol init
      INFO: Initializing Coyote HTTP/1.1 on http-8080
      20-Jun-09 11:33:23 AM org.apache.catalina.startup.Catalina load
      INFO: Initialization processed in 1397 ms
      20-Jun-09 11:33:23 AM org.apache.catalina.core.StandardService start
      INFO: Starting service Catalina
      20-Jun-09 11:33:23 AM org.apache.catalina.core.StandardEngine start
      INFO: Starting Servlet Engine: Apache Tomcat/5.5.27
      20-Jun-09 11:33:23 AM org.apache.catalina.core.StandardHost start
      INFO: XML validation disabled
      20-Jun-09 11:33:24 AM org.apache.catalina.loader.WebappClassLoader validateJarFile
      INFO: validateJarFile(/home/sen-sei/workspace/rangdefb/target/rangde-3.0.7-SNAPSHOT/WEB-INF/lib/gwt-user-1.5.3.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
      20-Jun-09 11:33:24 AM org.apache.catalina.loader.WebappClassLoader validateJarFile
      INFO: validateJarFile(/home/sen-sei/workspace/rangdefb/target/rangde-3.0.7-SNAPSHOT/WEB-INF/lib/servlet-api-2.4.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
      2009-06-20 11:33:25,097 INFO [org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/rangde]] - Initializing Spring root WebApplicationContext
      2009-06-20 11:33:25,103 INFO [org.springframework.web.context.ContextLoader] - Root WebApplicationContext: initialization started
      2009-06-20 11:33:25,313 INFO [org.springframework.web.context.support.XmlWebApplicationContext] - Refreshing org.springframework.web.context.support.XmlWebApplicationContext@fff2a0: display name [Root WebApplicationContext]; startup date [Sat Jun 20 11:33:25 GMT+05:30 2009]; root of context hierarchy
      2009-06-20 11:33:25,643 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] - Loading XML bean definitions from class path resource [applicationContext.xml]
      2009-06-20 11:33:26,516 ERROR [org.springframework.web.context.ContextLoader] - Context initialization failed
      org.springframework.beans.factory.BeanDefinitionStoreException: Parser configuration exception parsing XML from class path resource [applicationContext.xml]; nested exception is javax.xml.parsers.ParserConfigurationException: expand-entity-references
      Caused by: 
      javax.xml.parsers.ParserConfigurationException: expand-entity-references
         at gnu.xml.dom.DomDocumentBuilderFactory.setParameter(libgcj.so.90)
         at gnu.xml.dom.DomDocumentBuilderFactory.newDocumentBuilder(libgcj.so.90)
         at org.springframework.beans.factory.xml.DefaultDocumentLoader.createDocumentBuilder(DefaultDocumentLoader.java:125)
         at org.springframework.beans.factory.xml.DefaultDocumentLoader.loadDocument(DefaultDocumentLoader.java:75)
         at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:351)
         at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:303)
         at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:280)
         at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:131)
         at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:147)
         at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:124)
         at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:92)
         at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:101)
         at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:389)
         at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:324)
         at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:244)
         at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:187)
         at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:49)
         at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3764)
         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4216)
         at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760)
         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740)
         at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544)
         at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:626)
         at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:553)
         at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:488)
         at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1150)
         at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
         at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022)
         at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
         at org.apache.catalina.core.StandardService.start(StandardService.java:448)
         at org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
         at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
         at java.lang.reflect.Method.invoke(libgcj.so.90)
         at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
      
      2009-06-20 11:33:26,612 ERROR [org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/rangde]] - Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener
      org.springframework.beans.factory.BeanDefinitionStoreException: Parser configuration exception parsing XML from class path resource [applicationContext.xml]; nested exception is javax.xml.parsers.ParserConfigurationException: expand-entity-references
      Caused by: 
      
        
      All help very much appreciated.
      Thanks in advance