Hi, 
after receiving a bug to switch biomaj-watcher to Tomcat8, I made the required 
updates, but my webapp has deployment error on Tomcat 8. I ask here for help to 
ease the switch to v8 (from v6). 

I define a context xml with a docBase. I do not understand why it fails now.... 
any help would be appriciated to help package kept in Jessie. 

My context XML is like: 

<?xml version="1.0" encoding="UTF-8"?> 
<Context path="/BmajWatcher" docBase="/usr/share/java/webapps/biomaj-watcher" 
reloadable="false" > 
<Parameter name="ADMIN_LOGIN" value="admin" override="false"/> 
...... (only other parameters) 

Here is Catalina log: 

15-Dec-2014 09:46:54.081 SEVERE [localhost-startStop-1] 
org.apache.catalina.core.ContainerBase.addChildInternal ContainerBase.addChild: 
start: 
org.apache.catalina.LifecycleException: Failed to start component 
[StandardEngine[Catalina].StandardHost[localhost].StandardContext[/BmajWatcher]]
 
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154) 
at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:724) 
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:700) 
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:714) 
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:581) 
at 
org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1685)
 
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) 
at java.util.concurrent.FutureTask.run(FutureTask.java:262) 
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) 
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) 
at java.lang.Thread.run(Thread.java:745) 
Caused by: java.lang.NullPointerException 
at 
org.apache.tomcat.util.scan.StandardJarScanner.process(StandardJarScanner.java:291)
 
at 
org.apache.tomcat.util.scan.StandardJarScanner.scan(StandardJarScanner.java:158)
 
at 
org.apache.catalina.startup.ContextConfig.processJarsForWebFragments(ContextConfig.java:1855)
 
at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1119) 
at 
org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:771)
 
at 
org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:305)
 
at 
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
 
at 
org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
 
at 
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5120)
 
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) 
... 10 more 

15-Dec-2014 09:46:54.092 SEVERE [localhost-startStop-1] 
org.apache.catalina.startup.HostConfig.deployDescriptor Erreur lors du 
déploiement du descripteur de configuration 
/etc/tomcat8/Catalina/localhost/BmajWatcher.xml 
java.lang.IllegalStateException: ContainerBase.addChild: start: 
org.apache.catalina.LifecycleException: Failed to start component 
[StandardEngine[Catalina].StandardHost[localhost].StandardContext[/BmajWatcher]]
 
at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:727) 
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:700) 
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:714) 
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:581) 
at 
org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1685)
 
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) 
at java.util.concurrent.FutureTask.run(FutureTask.java:262) 
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) 
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) 
at java.lang.Thread.run(Thread.java:745) 

15-Dec-2014 09:46:54.093 INFO [localhost-startStop-1] 
org.apache.catalina.startup.HostConfig.deployDescriptor Deployment of 
configuration descriptor /etc/tomcat8/Catalina/localhost/BmajWatcher.xml has 
finished in 613 ms 

Reply via email to