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

Reply via email to