Oh, I see they are.. I requested they be ignored because of messages like: 22-Nov-2013 09:25:47.581 WARNING [localhost-startStop-1] org.apache.tomee.catalina.TomEEClassLoaderEnricher.validateJarFile jar '/tomee/webapps/ROOT/WEB-INF/lib/geronimo-annotation_1.1_spec-1.0.1.jar' contains offending class: javax.annotation.PostConstruct. It will be ignored.
On Fri, Nov 22, 2013 at 9:30 AM, Romain Manni-Bucau <rmannibu...@gmail.com> wrote: > they are in: geronimo- (maybe i didnt get the note) > Romain Manni-Bucau > Twitter: @rmannibucau > Blog: http://rmannibucau.wordpress.com/ > LinkedIn: http://fr.linkedin.com/in/rmannibucau > Github: https://github.com/rmannibucau > > > > 2013/11/22 jieryn <jie...@gmail.com>: >> I confirm that works, and the 'default-list' is also right. Verified >> in the source. >> >> Maybe we ought to add all of the Apache geronimo-*-spec stuff as well? >> I think a lot of folks have added geronimo-*-spec jars when they were >> faking their own Apache TomEE with just Apache Tomcat and adding in >> all their own stuff. >> >> Thanks for the hints, and fixing the root cause! >> >> On Fri, Nov 22, 2013 at 1:57 AM, Romain Manni-Bucau >> <rmannibu...@gmail.com> wrote: >>> Add "default-list" line too (IIRC) >>> Le 22 nov. 2013 07:55, "jieryn" <jie...@gmail.com> a écrit : >>> >>>> You rock! :-) >>>> >>>> So, just $CATALINA_BASE/conf/exclusions.list file with a single line >>>> (assuming I have never done this before) with text wink-client ? Does >>>> it need .jar suffix? >>>> >>>> Thanks! >>>> >>>> On Fri, Nov 22, 2013 at 1:41 AM, Romain Manni-Bucau >>>> <rmannibu...@gmail.com> wrote: >>>> > Hi >>>> > >>>> > https://issues.apache.org/jira/browse/TOMEE-1085 >>>> > >>>> > btw you can add in exclusions.list the line "wink-client" to >>>> workaround it >>>> > >>>> > Romain Manni-Bucau >>>> > Twitter: @rmannibucau >>>> > Blog: http://rmannibucau.wordpress.com/ >>>> > LinkedIn: http://fr.linkedin.com/in/rmannibucau >>>> > Github: https://github.com/rmannibucau >>>> > >>>> > >>>> > >>>> > 2013/11/22 jieryn <jie...@gmail.com>: >>>> >> Yes, I'm sure. Here is an example project which demonstrates the >>>> >> problem: https://github.com/jieryn/tomee-wink-failure >>>> >> >>>> >> Make sure you run: mvn clean package tomee:run >>>> >> >>>> >> You will see the java.lang.InstantiationException being thrown. >>>> >> >>>> >> >>>> >> On Thu, Nov 21, 2013 at 4:26 PM, Romain Manni-Bucau >>>> >> <rmannibu...@gmail.com> wrote: >>>> >>> Hi >>>> >>> >>>> >>> are you sure the binaries were well upgraded? >>>> >>> Romain Manni-Bucau >>>> >>> Twitter: @rmannibucau >>>> >>> Blog: http://rmannibucau.wordpress.com/ >>>> >>> LinkedIn: http://fr.linkedin.com/in/rmannibucau >>>> >>> Github: https://github.com/rmannibucau >>>> >>> >>>> >>> >>>> >>> >>>> >>> 2013/11/21 jieryn <jie...@gmail.com>: >>>> >>>> This is happening again with the recently released Apache TomEE 1.6.0 >>>> Plus. >>>> >>>> >>>> >>>> Aaargh. >>>> >>>> >>>> >>>> On Wed, Oct 9, 2013 at 3:09 PM, jieryn <jie...@gmail.com> wrote: >>>> >>>>> Some changes in between >>>> >>>>> apache-tomee-1.6.0-20131008.041119-199-plus.tar.gz and >>>> >>>>> apache-tomee-1.6.0-20131009.041119-200-plus.tar.gz are causing a >>>> >>>>> failure at TomEE start up because of an javax.ws.rs.core.Application >>>> >>>>> in a jar: >>>> >>>>> >>>> >>>>> SEVERE: Unable to deploy collapsed ear in war >>>> >>>>> >>>> StandardEngine[Catalina].StandardHost[localhost].StandardContext[/javaee-1-SNAPSHOT] >>>> >>>>> org.apache.openejb.OpenEJBException: Unable to instantiate >>>> Application >>>> >>>>> class: org.apache.wink.client.ClientConfig$1$1: >>>> >>>>> org.apache.wink.client.ClientConfig$1$1 >>>> >>>>> at >>>> org.apache.openejb.config.AnnotationDeployer$ProcessAnnotatedBeans.deploy(AnnotationDeployer.java:2018) >>>> >>>>> at >>>> org.apache.openejb.config.AnnotationDeployer$ProcessAnnotatedBeans.deploy(AnnotationDeployer.java:1813) >>>> >>>>> at >>>> org.apache.openejb.config.AnnotationDeployer.deploy(AnnotationDeployer.java:349) >>>> >>>>> 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:1124) >>>> >>>>> at >>>> org.apache.tomee.catalina.TomcatWebAppBuilder.configureStart(TomcatWebAppBuilder.java:1004) >>>> >>>>> 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.deployWAR(HostConfig.java:976) >>>> >>>>> at >>>> org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1653) >>>> >>>>> 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:724) >>>> >>>>> Caused by: java.lang.InstantiationException: >>>> >>>>> org.apache.wink.client.ClientConfig$1$1 >>>> >>>>> at java.lang.Class.newInstance(Class.java:359) >>>> >>>>> at >>>> org.apache.openejb.config.AnnotationDeployer$ProcessAnnotatedBeans.deploy(AnnotationDeployer.java:2004) >>>> >>>>> ... 22 more >>>> >>>>> >>>> >>>>> To replicate this: >>>> >>>>> >>>> >>>>> $ git clone https://github.com/jieryn/javaee-example ; cd >>>> javaee-example >>>> >>>>> $ mvn clean package tomee:run >>>>