You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomee.apache.org by fr...@ubs.com on 2014/07/09 16:11:51 UTC

TomeePlus Dropin 1.6.0.2 not working with Tomcat 7.0.54

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

Re: TomeePlus Dropin 1.6.0.2 not working with Tomcat 7.0.54

Posted by Amol Khanolkar <am...@gmail.com>.
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, <fr...@ubs.com> 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
>

Re: TomeePlus Dropin 1.6.0.2 not working with Tomcat 7.0.54

Posted by Andy Gumbrecht <ag...@tomitribe.com>.
Hi Frank,

Really sorry for the trouble this has caused you. It is a known issue 
due to some breaking changes in Apache Tomcat 7.0.54 - The only solution 
we have right now if to suggest using the 1.7.0-SNASHOT version.
This version is actually undergoing review for release as I write, so if 
you can hold off for a few days that would be great.

Apache TomEE 1.7.0 is actually integrated on Tomcat 7.0.54, so your 
customer could really just use TomEE rather than the drop in war.

If we can help in any other way let us know.

Andy.

On 09/07/2014 16:11, frank.sprich@ubs.com 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
>

-- 
   Andy Gumbrecht

   http://www.tomitribe.com
   agumbrecht@tomitribe.com
   https://twitter.com/AndyGeeDe

   TomEE treibt Tomitribe! | http://tomee.apache.org