cancel
Showing results for 
Search instead for 
Did you mean: 

data hub could not be started in Tomcat

Former Member
0 Kudos

I'm using Hybris 5.5.1.0. I deploy the datahub-webapp-5.5.1.0-RC9.war to Tomcat (Ver. 7.0.27). When i try to start the webapp i get the following errors:

     SCHWERWIEGEND: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/datahub-webapp-5.5.1.0-RC9]]
     at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
     at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895)
     at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871)
     at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
     at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:962)
     at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:536)
     at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1471)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
     at java.lang.reflect.Method.invoke(Method.java:497)
     at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
     at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
     at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
     at org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1436)
     at org.apache.catalina.manager.HTMLManagerServlet.upload(HTMLManagerServlet.java:334)
     at org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:211)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
     at org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:186)
     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
     at org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
     at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581)
     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
     at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
     at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:999)
     at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:565)
     at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:1812)
     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
     at java.lang.Thread.run(Thread.java:745)

  Caused by: java.lang.NullPointerException
     at java.util.Hashtable.put(Hashtable.java:459)
 at org.apache.catalina.deploy.NamingResources.addResource(NamingResources.java:354)
     at org.apache.catalina.deploy.WebXml.configureContext(WebXml.java:1241)
     at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1310)
     at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:855)
     at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:345)
     at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
     at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
     at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5161)
     at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
     ... 40 more

Can somebody help me?

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Yes i renamed the war. I'm using Java version 1.8.0_45-b15.

Former Member
0 Kudos

changing to tomcat 8 solved my problem

Former Member
0 Kudos

This looks first time to me. Can you please make sure you rename the war to datahub-webapp and whats your java version ?