Tomcat 7.0.54 version is not compatible with tomee-plus-webapp-1.6.0.2.war. Shortly tomee-plus-webapp-1.7.0.war would be released which would be compatible. tomee-plus-webapp-1.6.0.2.war can be used with prior version of Tomcat
Regards Amol On Wed, Jul 9, 2014 at 7:11 AM, <[email protected]> wrote: > Hello Guys, > > I'm new to this forum and also new to TomEE - Hello Everybody. > > I' m writing a small application using REST/EJB/JPA. Everything works fine > with TomEE+ 1.6.0.2 Standalone. > BIG BUT: My customer wants to reuse an existing Tomcat 7.0.54 > installation. So, for testing purpose I loaded Tomcat 7.0.54 from TomEE > download page and droped the TomEE .war distribution > "tomee-plus-webapp-1.6.0.2.war" into it after renaming it to "tomee.war" > which lead to the following stacktrace (see below). Any suggestions for > this? Thanks in advance for your feedback. > > Frank > > > SEVERE: ContainerBase.addChild: start: > org.apache.catalina.LifecycleException: Failed to start component > [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/docs]] > at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154) > at > org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901) > at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) > at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:632) > at > org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1247) > at > org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1898) > 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.NoClassDefFoundError: Could not initialize class > org.apache.tomee.loader.TomEEJarScanner > at > org.apache.tomee.loader.TomcatHelper.configureJarScanner(TomcatHelper.java:165) > at > org.apache.tomee.catalina.TomcatWebAppBuilder.configureStart(TomcatWebAppBuilder.java:1049) > at > org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:127) > 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:5355) > at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) > ... 10 more > > Jul 09, 2014 3:49:34 PM org.apache.catalina.startup.HostConfig > deployDirectory > > > E-mails can involve SUBSTANTIAL RISKS, e.g. lack of confidentiality, > potential manipulation of contents and/or sender's address, incorrect > recipient (misdirection), viruses etc. Based on previous e-mail > correspondence with you and/or an agreement reached with you, UBS considers > itself authorized to contact you via e-mail. UBS assumes no responsibility > for any loss or damage resulting from the use of e-mails. > UBS reserves the right to retain all messages. Messages are protected and > accessed only in legally justified cases. > Privacy statements: http://www.ubs.com/global/en/legalinfo2/privacy.html >
