TomCat fails to start hi-ce.war

Trying to start hi-ce.war gives the following error “FAIL - Application at context path /hi-ce could not be started”
but hi.war works fine!

Version : Apache Tomcat/7.0.69 on ubuntu 14.04 LTS

-------------LOGS--------------------

---------------------catalina.2017-06-18.log-----------------------------

Jun 18, 2017 10:37:55 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: Server version: Apache Tomcat/7.0.69
Jun 18, 2017 10:37:55 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: Server built: Apr 11 2016 07:57:09 UTC
Jun 18, 2017 10:37:55 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: Server number: 7.0.69.0
Jun 18, 2017 10:37:55 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: OS Name: Linux
Jun 18, 2017 10:37:55 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: OS Version: 4.4.0-31-generic
Jun 18, 2017 10:37:55 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: Architecture: amd64
Jun 18, 2017 10:37:55 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: Java Home: /usr/lib/jvm/java-8-oracle/jre
Jun 18, 2017 10:37:55 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: JVM Version: 1.8.0_131-b11
Jun 18, 2017 10:37:55 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: JVM Vendor: Oracle Corporation
Jun 18, 2017 10:37:55 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: CATALINA_BASE: /root/hi/apache-tomcat-7
Jun 18, 2017 10:37:55 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: CATALINA_HOME: /root/hi/apache-tomcat-7
Jun 18, 2017 10:37:55 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Djava.util.logging.config.file=/root/hi/apache-tomcat-7/conf/logging.properties
Jun 18, 2017 10:37:55 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
Jun 18, 2017 10:37:55 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Djdk.tls.ephemeralDHKeySize=2048
Jun 18, 2017 10:37:55 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Djava.endorsed.dirs=/root/hi/apache-tomcat-7/endorsed
Jun 18, 2017 10:37:55 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Dcatalina.base=/root/hi/apache-tomcat-7
Jun 18, 2017 10:37:55 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Dcatalina.home=/root/hi/apache-tomcat-7
Jun 18, 2017 10:37:55 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Djava.io.tmpdir=/root/hi/apache-tomcat-7/temp
Jun 18, 2017 10:37:55 AM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
Jun 18, 2017 10:37:56 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler [“http-bio-8080”]
Jun 18, 2017 10:37:56 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler [“ajp-bio-8009”]
Jun 18, 2017 10:37:56 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 2708 ms
Jun 18, 2017 10:37:56 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina
Jun 18, 2017 10:37:56 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.69
Jun 18, 2017 10:37:56 AM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive /root/hi/apache-tomcat-7/webapps/hi.war
Jun 18, 2017 10:38:00 AM org.apache.catalina.loader.WebappClassLoaderBase validateJarFile
INFO: validateJarFile(/root/hi/apache-tomcat-7/webapps/hi/WEB-INF/lib/servlet-api-2.5.jar) - jar not loaded. See Servlet Spec 3.0, section 10.7.2. Offending class: javax/servlet/Servlet.class
Jun 18, 2017 10:38:20 AM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http: //www. springframework.org/security/tags is already defined
Jun 18, 2017 10:38:20 AM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http: //www. springframework.org/security/tags is already defined
Jun 18, 2017 10:38:20 AM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http: // java.sun.com/jstl/core_rt is already defined
Jun 18, 2017 10:38:20 AM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http: // java.sun.com/jstl/core is already defined
Jun 18, 2017 10:38:20 AM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http: // java.sun.com/jsp/jstl/core is already defined
Jun 18, 2017 10:38:20 AM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http: // java.sun.com/jstl/fmt_rt is already defined
Jun 18, 2017 10:38:20 AM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http: // java.sun.com/jstl/fmt is already defined
Jun 18, 2017 10:38:20 AM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http: // java.sun.com/jsp/jstl/fmt is already defined
Jun 18, 2017 10:38:20 AM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http: // java.sun.com/jsp/jstl/functions is already defined
Jun 18, 2017 10:38:20 AM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http: // jakarta.apache.org/taglibs/standard/permittedTaglibs is already defined
Jun 18, 2017 10:38:20 AM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http: // jakarta.apache.org/taglibs/standard/scriptfree is already defined
Jun 18, 2017 10:38:20 AM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http: // java.sun.com/jstl/sql_rt is already defined
Jun 18, 2017 10:38:20 AM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http: // java.sun.com/jstl/sql is already defined
Jun 18, 2017 10:38:20 AM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http: // java.sun.com/jsp/jstl/sql is already defined
Jun 18, 2017 10:38:20 AM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http: // java.sun.com/jstl/xml_rt is already defined
Jun 18, 2017 10:38:20 AM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http: // java.sun.com/jstl/xml is already defined
Jun 18, 2017 10:38:20 AM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http: // java.sun.com/jsp/jstl/xml is already defined
Jun 18, 2017 10:38:20 AM org.apache.catalina.startup.TldConfig execute
INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
Jun 18, 2017 10:38:35 AM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deployment of web application archive /root/hi/apache-tomcat-7/webapps/hi.war has finished in 38,100 ms
Jun 18, 2017 10:38:35 AM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive /root/hi/apache-tomcat-7/webapps/hi-ce.war
Jun 18, 2017 10:38:45 AM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http:/ /www. springframework.org/security/tags is already defined
Jun 18, 2017 10:38:45 AM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http:/ /www.springframework.org/security/tags is already defined
Jun 18, 2017 10:38:45 AM org.apache.catalina.startup.TldConfig execute
INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
Jun 18, 2017 10:38:46 AM org.apache.catalina.core.StandardContext startInternal
SEVERE: One or more listeners failed to start. Full details will be found in the appropriate container log file
Jun 18, 2017 10:38:46 AM org.apache.catalina.core.StandardContext startInternal
SEVERE: Context [/hi-ce] startup failed due to previous errors
Jun 18, 2017 10:38:46 AM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deployment of web application archive /root/hi/apache-tomcat-7/webapps/hi-ce.war has finished in 11,096 ms
Jun 18, 2017 10:38:46 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /root/hi/apache-tomcat-7/webapps/host-manager
Jun 18, 2017 10:38:46 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deployment of web application directory /root/hi/apache-tomcat-7/webapps/host-manager has finished in 120 ms
Jun 18, 2017 10:38:46 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /root/hi/apache-tomcat-7/webapps/examples
Jun 18, 2017 10:38:46 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deployment of web application directory /root/hi/apache-tomcat-7/webapps/examples has finished in 281 ms
Jun 18, 2017 10:38:46 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /root/hi/apache-tomcat-7/webapps/docs
Jun 18, 2017 10:38:46 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deployment of web application directory /root/hi/apache-tomcat-7/webapps/docs has finished in 43 ms
Jun 18, 2017 10:38:46 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /root/hi/apache-tomcat-7/webapps/ROOT
Jun 18, 2017 10:38:46 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deployment of web application directory /root/hi/apache-tomcat-7/webapps/ROOT has finished in 49 ms
Jun 18, 2017 10:38:46 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /root/hi/apache-tomcat-7/webapps/manager
Jun 18, 2017 10:38:46 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deployment of web application directory /root/hi/apache-tomcat-7/webapps/manager has finished in 59 ms
Jun 18, 2017 10:38:46 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler [“http-bio-8080”]
Jun 18, 2017 10:38:46 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler [“ajp-bio-8009”]
Jun 18, 2017 10:38:46 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 50098 ms
Jun 18, 2017 11:49:31 AM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http: // www.springframework.org/security/tags is already defined
Jun 18, 2017 11:49:31 AM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http: // www.springframework.org/security/tags is already defined
Jun 18, 2017 11:49:31 AM org.apache.catalina.startup.TldConfig execute
INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
Jun 18, 2017 11:49:32 AM org.apache.catalina.core.StandardContext startInternal
SEVERE: One or more listeners failed to start. Full details will be found in the appropriate container log file
Jun 18, 2017 11:49:32 AM org.apache.catalina.core.StandardContext startInternal
SEVERE: Context [/hi-ce] startup failed due to previous errors


--------------------------------localhost.2017-06-18.log--------------------------------------------

Jun 18, 2017 10:38:23 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring root WebApplicationContext
Jun 18, 2017 10:38:33 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring FrameworkServlet ‘dispatcher’
Jun 18, 2017 10:38:46 AM org.apache.catalina.core.ApplicationContext log
INFO: No Spring WebApplicationInitializer types detected on classpath
Jun 18, 2017 10:38:46 AM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Error configuring application listener of class com.helicalinsight.efw.framework.BootTimeListener
java.lang.ExceptionInInitializerError
at com.helicalinsight.efw.framework.DirectoryWatcher.(DirectoryWatcher.java:41)
at com.helicalinsight.efw.framework.BootTimeListener.(BootTimeListener.java:35)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at java.lang.Class.newInstance(Class.java:442)
at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:114)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4984)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5584)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:899)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:875)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:1092)
at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1984)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
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:748)
Caused by: com.helicalinsight.efw.exceptions.EfwServiceException: Couldn’t start the application. Settings are not loaded. Please check whether file permissions are provided correctly.
at com.helicalinsight.efw.ApplicationProperties.(ApplicationProperties.java:101)
at com.helicalinsight.efw.ApplicationProperties.(ApplicationProperties.java:35)
… 21 more

Jun 18, 2017 10:38:46 AM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Skipped installing application listeners due to previous error(s)
Jun 18, 2017 10:38:46 AM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextInitialized()
Jun 18, 2017 10:38:46 AM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized()
Jun 18, 2017 10:38:46 AM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: attributeAdded(‘org.apache.jasper.compiler.TldLocationsCache’, ‘org.apache.jasper.compiler.TldLocationsCache@2af55ff8’)
Jun 18, 2017 11:49:31 AM org.apache.catalina.core.ApplicationContext log
INFO: No Spring WebApplicationInitializer types detected on classpath
Jun 18, 2017 11:49:32 AM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Error configuring application listener of class com.helicalinsight.efw.framework.BootTimeListener
java.lang.ExceptionInInitializerError
at com.helicalinsight.efw.framework.DirectoryWatcher.(DirectoryWatcher.java:41)
at com.helicalinsight.efw.framework.BootTimeListener.(BootTimeListener.java:35)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at java.lang.Class.newInstance(Class.java:442)
at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:114)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4984)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5584)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)
at org.apache.catalina.manager.ManagerServlet.start(ManagerServlet.java:1312)
at org.apache.catalina.manager.HTMLManagerServlet.start(HTMLManagerServlet.java:690)
at org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:216)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:650)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:136)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:614)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:956)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:436)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1078)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:625)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:318)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:748)
Caused by: com.helicalinsight.efw.exceptions.EfwServiceException: Couldn’t start the application. Settings are not loaded. Please check whether file permissions are provided correctly.
at com.helicalinsight.efw.ApplicationProperties.(ApplicationProperties.java:101)
at com.helicalinsight.efw.ApplicationProperties.(ApplicationProperties.java:35)
… 42 more

Jun 18, 2017 11:49:32 AM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Skipped installing application listeners due to previous error(s)


--------------------------manager.2017-06-18.log--------------------------------

Jun 18, 2017 11:49:17 AM org.apache.catalina.core.ApplicationContext log
INFO: HTMLManager: init: Associated with Deployer ‘Catalina:type=Deployer,host=localhost’
Jun 18, 2017 11:49:17 AM org.apache.catalina.core.ApplicationContext log
INFO: HTMLManager: init: Global resources are available
Jun 18, 2017 11:49:17 AM org.apache.catalina.core.ApplicationContext log
INFO: HTMLManager: list: Listing contexts for virtual host ‘localhost’
Jun 18, 2017 11:49:20 AM org.apache.catalina.core.ApplicationContext log
INFO: HTMLManager: start: Starting web application ‘/hi-ce’
Jun 18, 2017 11:49:32 AM org.apache.catalina.core.ApplicationContext log
INFO: HTMLManager: list: Listing contexts for virtual host ‘localhost’

Thanks :))

1 Like

Hello Sir/Madam,

After looking into log file that you have shared, it seems that you have directly deployed the war file in Tomcat and run the application.
There are some configurations to be done after the war file (Helical Insight CE) is deployed in Tomcat. Please refer to the steps mentioned in this blog : https://helicalinsight.github.io/helicalinsight/#/quickstart
After configuring, please restart Tomcat.

-Helical Insight Team

1 Like

I have reviewed all the steps again but still can’t get it running, I’ve also tried copying the properties and settings.xml files from the working trail edition but still not running :confused:

Hello Sir/Madam,

Sorry for the inconvenience caused. We have figured out some problem in the documentation. We will soon update the information and let you know. Till then, stay tuned !

Regards,
Helical Insight Team

Helical team any update on this issue. I’m facing similar issue