here is a tomee http://people.apache.org/~rmannibucau/apache-tomee-plus-1.6.0-SNAPSHOT.zip Romain Manni-Bucau Twitter: @rmannibucau Blog: http://rmannibucau.wordpress.com/ LinkedIn: http://fr.linkedin.com/in/rmannibucau Github: https://github.com/rmannibucau
2013/11/6 Alex The Rocker <[email protected]>: > Romain: > > Yes, the TestAppBase class is the base abstract class of the TestApp class > which is JAX-RS annotated. > > Actually, the .jar file I attached is correct, but it has to be put in the > WEB-INF/lib of a web app which causes this .jar file to be loaded when the > webapp starts. > > So you can definitly use this .jar to reproduce our issue and check if your > fix idea works. > > I can very quickly test on our real app if you have a few test .jar files > which I can use to replace TomEE+221's > > thanks, > Alex > > > > On Wed, Nov 6, 2013 at 1:27 PM, Romain Manni-Bucau > <[email protected]>wrote: > >> Is you "Base" class abstract? If so I have an idea of the issue. If not Ill >> look in the afternoon >> Le 6 nov. 2013 13:10, "Alex The Rocker" <[email protected]> a écrit : >> >> > hold on, I sent the wrong version of the sample... >> > >> > >> > On Wed, Nov 6, 2013 at 12:57 PM, Alex The Rocker <[email protected] >> > >wrote: >> > >> > > Romain: >> > > >> > > Thanks for fast answer. >> > > Unfortunately I never rebuilt TomEE,could you post a prebuilt .jar(s) ? >> > > In the meantime, I had a developer who provided a minimal sample which >> > > allow reproducing the issue with TomEE+ 1.6.0 snapshot 221. >> > > >> > > Please find it attached (with .java sources in the .jar) >> > > >> > > Do you mean the issue is supposed to be fixed in today's nightly >> build's >> > > snapshot? >> > > >> > > best regards, >> > > Alexandre >> > > >> > > >> > > On Wed, Nov 6, 2013 at 11:42 AM, Romain Manni-Bucau < >> > [email protected] >> > > > wrote: >> > > >> > >> Hi >> > >> >> > >> if you can rebuild tomee from sources would be great if you can re >> test >> > >> now >> > >> Romain Manni-Bucau >> > >> Twitter: @rmannibucau >> > >> Blog: http://rmannibucau.wordpress.com/ >> > >> LinkedIn: http://fr.linkedin.com/in/rmannibucau >> > >> Github: https://github.com/rmannibucau >> > >> >> > >> >> > >> >> > >> 2013/11/6 Alex The Rocker <[email protected]>: >> > >> > Hello, >> > >> > >> > >> > I have a critical issue with our Web application using >> > >> > TomEE1.6.0+Snapshot221 : the web app can't start an fails with an >> > >> > instantion error on a parent abstract class of a class implementing >> a >> > >> > JAX-RS service. >> > >> > >> > >> > This is a regression over the TomEE+ 1.6.0 snapshot 140 which we've >> > been >> > >> > using so far. >> > >> > >> > >> > See below the error message in catalina.out. >> > >> > What kind of traces/logging can I activate (please provide clear >> > >> > instructions which can be applied by people not aware of TomEE >> > internal, >> > >> > like "change XXX in file XX then restart") in order to get a better >> > >> > understanding on whether the issue comes from our app or from TomEE? >> > >> > >> > >> > Thanks, >> > >> > Alex >> > >> > ======================================================== >> > >> > >> > >> > SEVERE: Unable to deploy collapsed ear in war >> > >> > StandardEngine[Catalina].StandardH >> > >> > ost[localhost].StandardContext[/acme] >> > >> > org.apache.openejb.OpenEJBException: Unable to instantiate >> Application >> > >> > class: com.acme.platform.restServices.ModelerBase: >> > >> > com.acme.platform.restServices.ModelerBase >> > >> > at >> > >> > >> > >> >> > >> org.apache.openejb.config.AnnotationDeployer$ProcessAnnotatedBeans.deploy(AnnotationDeployer.java:2025) >> > >> > at >> > >> > >> > >> >> > >> org.apache.openejb.config.AnnotationDeployer$ProcessAnnotatedBeans.deploy(AnnotationDeployer.java:1820) >> > >> > at >> > >> > >> > >> >> > >> org.apache.openejb.config.AnnotationDeployer.deploy(AnnotationDeployer.java:355) >> > >> > at >> > >> > >> > >> >> > >> org.apache.openejb.config.ConfigurationFactory$Chain.deploy(ConfigurationFactory.java:396) >> > >> > at >> > >> > >> > >> >> > >> org.apache.openejb.config.ConfigurationFactory.configureApplication(ConfigurationFactory.java:938) >> > >> > at >> > >> > >> > >> >> > >> org.apache.tomee.catalina.TomcatWebAppBuilder.startInternal(TomcatWebAppBuilder.java:1171) >> > >> > at >> > >> > >> > >> >> > >> org.apache.tomee.catalina.TomcatWebAppBuilder.configureStart(TomcatWebAppBuilder.java:1051) >> > >> > at >> > >> > >> > >> >> > >> org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:127) >> > >> > 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:5322) >> > >> > at >> > >> > org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) >> > >> > 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:633) >> > >> > at >> > >> > >> > >> >> > >> org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1120) >> > >> > at >> > >> > >> > >> >> > >> org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1678) >> > >> > at >> > >> > >> > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) >> > >> > at >> > >> > java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) >> > >> > at java.util.concurrent.FutureTask.run(FutureTask.java:166) >> > >> > 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:780) >> > >> >> > > >> > > >> > >>
