



On 13 December 2015 at 18:11, Karl Kildén <



> Hi Romain yes thank you. My point was more that

> AbstractProducerBeanBuilder should log the type in question because it

> might be in a submodule and it could be hard to find and fix. Maybe

> use WebBeansConfigurationException#addInformation or

> have WebBeansConfigurationException take a type in the constructor?

>

> cheers

>

>

>

> On 13 December 2015 at 17:21, Romain Manni-Bucau <

> wrote:

>

>> caused by:

>>

>> @Produces Foo<?> x()

>>

>> replace it by @Produces Foo x() and it would pass

>>

>>

>>

>>

>> Romain Manni-Bucau

>> @rmannibucau <

>> <

>>

>> LinkedIn <

>> <

>>

>> 2015-12-13 17:02 GMT+01:00 Karl Kildén <

>>

>> > My two apps runs just fine at a glance. I use just about all the specs

>> in

>> > the Web Profile. I had one @Producer that didnt work anymore and the

>> > exception could not point me to the problem but it it was in one of my

>> own

>> > modules thankfully and also it was dead code.

>> >

>> > All test and staging systems will start using it monday and It's

>> scheduled

>> > for production after Christmas :-) My reasoning is it's probably better

>> > than my own homegrown TomEE with upgraded myfaces and JPA 2.1 etc.

>> >

>> > cheers

>> >

>> >

>> > 13-Dec-2015 16:43:23.598 SEVERE [localhost-startStop-1]

>> > org.apache.openejb.cdi.OpenEJBLifecycle.startApplication CDI Beans

>> module

>> > deployment failed

>> > org.apache.webbeans.exception.WebBeansConfigurationException: Produced

>> > type must not be a WildcardType

>> > at

>> >

>> >

>> org.apache.webbeans.component.creation.AbstractProducerBeanBuilder.validate(AbstractProducerBeanBuilder.java:79)

>> > at

>> >

>> >

>> org.apache.webbeans.component.creation.ProducerMethodBeanBuilder.validate(ProducerMethodBeanBuilder.java:97)

>> > at

>> >

>> >

>> org.apache.webbeans.component.creation.ProducerMethodBeansBuilder.defineProducerMethods(ProducerMethodBeansBuilder.java:102)

>> > at

>> >

>> >

>> org.apache.webbeans.config.BeansDeployer.defineManagedBean(BeansDeployer.java:1520)

>> > at

>> >

>> >

>> org.apache.webbeans.config.BeansDeployer.deploySingleAnnotatedType(BeansDeployer.java:1110)

>> > at

>> >

>> >

>> org.apache.webbeans.config.BeansDeployer.deployFromAnnotatedTypes(BeansDeployer.java:1067)

>> > at

>> org.apache.webbeans.config.BeansDeployer.deploy(BeansDeployer.java:262)

>> > at

>> >

>> >

>> org.apache.openejb.cdi.OpenEJBLifecycle.startApplication(OpenEJBLifecycle.java:202)

>> > at

>> >

>> >

>> org.apache.openejb.cdi.ThreadSingletonServiceImpl.initialize(ThreadSingletonServiceImpl.java:180)

>> > at org.apache.openejb.cdi.CdiBuilder.build(CdiBuilder.java:41)

>> > at

>> >

>> >

>> org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:894)

>> > at

>> >

>> >

>> org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:694)

>> > at

>> >

>> >

>> org.apache.tomee.catalina.TomcatWebAppBuilder.startInternal(TomcatWebAppBuilder.java:1214)

>> > at

>> >

>> >

>> org.apache.tomee.catalina.TomcatWebAppBuilder.configureStart(TomcatWebAppBuilder.java:1075)

>> > at

>> >

>> >

>> org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:133)

>> > at

>> >

>> >

>> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:95)

>> > at

>> >

>> >

>> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)

>> > at

>> >

>> >

>> org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5135)

>> > at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)

>> > at

>> >

>> >

>> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:725)

>> > at

>> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:701)

>> > at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717)

>> > at

>> >

>> >

>> org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1101)

>> > at

>> >

>> >

>> org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1813)

>> > at

>> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)

>> > at java.util.concurrent.FutureTask.run(FutureTask.java:266)

>> > at

>> >

>> >

>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)

>> > at

>> >

>> >

>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)

>> > at java.lang.Thread.run(Thread.java:745)

>> >

>> > On 13 December 2015 at 16:53, Karl Kildén <

>> wrote:

>> >

>> > > Thanks! Great work.

>> > >

>> > > Any openejb-api that goes with it? I want to try new features ;)

>> > >

>> > > On 13 December 2015 at 15:37, Leonardo K. Shikida <

>> > > wrote:

>> > >

>> > >> sounds great. thx!

>> > >> Em 11/12/2015 23:28, "Andy Gumbrecht" <

>> > >> escreveu:

>> > >>

>> > >> > Tis the season to be jolly! #TomEE 7.0.0-M1 is here:

>> > >> >

>> > >> > ...Fa la la la la la la la la

>> > >> >

>> > >> > Tweet and test us to death please :-P

>> > >> >

>> > >> > Andy.

>> > >> >

>> > >> > --

>> > >> > Andy Gumbrecht

>> > >> >

>> > >> >

>> > >> >

>> > >> >

>> > >>

>> > >

>> > >

>> >

>>

>

>

> Hi Romain yes thank you. My point was more that> AbstractProducerBeanBuilder should log the type in question because it> might be in a submodule and it could be hard to find and fix. Maybe> use WebBeansConfigurationException#addInformation or> have WebBeansConfigurationException take a type in the constructor?> cheers> On 13 December 2015 at 17:21, Romain Manni-Bucau < [hidden email] > wrote:>> caused by:>>>> @Produces Foo> x()>>>> replace it by @Produces Foo x() and it would pass>>>>>>>>>> Romain Manni-Bucau>> @rmannibucau < https://twitter.com/rmannibucau > | Blog>> < http://rmannibucau.wordpress.com > | Github <>> https://github.com/rmannibucau > |>> LinkedIn < https://www.linkedin.com/in/rmannibucau > | Tomitriber>> < http://www.tomitribe.com >>>> 2015-12-13 17:02 GMT+01:00 Karl Kildén < [hidden email] >:>>>> > My two apps runs just fine at a glance. I use just about all the specs>> in>> > the Web Profile. I had one @Producer that didnt work anymore and the>> > exception could not point me to the problem but it it was in one of my>> own>> > modules thankfully and also it was dead code.>> >>> > All test and staging systems will start using it monday and It's>> scheduled>> > for production after Christmas :-) My reasoning is it's probably better>> > than my own homegrown TomEE with upgraded myfaces and JPA 2.1 etc.>> >>> > cheers>> >>> >>> > 13-Dec-2015 16:43:23.598 SEVERE [localhost-startStop-1]>> > org.apache.openejb.cdi.OpenEJBLifecycle.startApplication CDI Beans>> module>> > deployment failed>> > org.apache.webbeans.exception.WebBeansConfigurationException: Produced>> > type must not be a WildcardType>> > at>> >>> >>> org.apache.webbeans.component.creation.AbstractProducerBeanBuilder.validate(AbstractProducerBeanBuilder.java:79)>> > at>> >>> >>> org.apache.webbeans.component.creation.ProducerMethodBeanBuilder.validate(ProducerMethodBeanBuilder.java:97)>> > at>> >>> >>> org.apache.webbeans.component.creation.ProducerMethodBeansBuilder.defineProducerMethods(ProducerMethodBeansBuilder.java:102)>> > at>> >>> >>> org.apache.webbeans.config.BeansDeployer.defineManagedBean(BeansDeployer.java:1520)>> > at>> >>> >>> org.apache.webbeans.config.BeansDeployer.deploySingleAnnotatedType(BeansDeployer.java:1110)>> > at>> >>> >>> org.apache.webbeans.config.BeansDeployer.deployFromAnnotatedTypes(BeansDeployer.java:1067)>> > at>> org.apache.webbeans.config.BeansDeployer.deploy(BeansDeployer.java:262)>> > at>> >>> >>> org.apache.openejb.cdi.OpenEJBLifecycle.startApplication(OpenEJBLifecycle.java:202)>> > at>> >>> >>> org.apache.openejb.cdi.ThreadSingletonServiceImpl.initialize(ThreadSingletonServiceImpl.java:180)>> > at org.apache.openejb.cdi.CdiBuilder.build(CdiBuilder.java:41)>> > at>> >>> >>> org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:894)>> > at>> >>> >>> org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:694)>> > at>> >>> >>> org.apache.tomee.catalina.TomcatWebAppBuilder.startInternal(TomcatWebAppBuilder.java:1214)>> > at>> >>> >>> org.apache.tomee.catalina.TomcatWebAppBuilder.configureStart(TomcatWebAppBuilder.java:1075)>> > at>> >>> >>> org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:133)>> > at>> >>> >>> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:95)>> > at>> >>> >>> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)>> > at>> >>> >>> org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5135)>> > at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)>> > at>> >>> >>> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:725)>> > at>> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:701)>> > at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717)>> > at>> >>> >>> org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1101)>> > at>> >>> >>> org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1813)>> > at>> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)>> > at java.util.concurrent.FutureTask.run(FutureTask.java:266)>> > at>> >>> >>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)>> > at>> >>> >>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)>> > at java.lang.Thread.run(Thread.java:745)>> >>> > On 13 December 2015 at 16:53, Karl Kildén < [hidden email] >> wrote:>> >>> > > Thanks! Great work.>> > >>> > > Any openejb-api that goes with it? I want to try new features ;)>> > >>> > > On 13 December 2015 at 15:37, Leonardo K. Shikida < [hidden email] >> > > wrote:>> > >>> > >> sounds great. thx!>> > >> Em 11/12/2015 23:28, "Andy Gumbrecht" < [hidden email] >> > >> escreveu:>> > >>>> > >> > Tis the season to be jolly! #TomEE 7.0.0-M1 is here:>> > >> > http://tomee.apache.org/download/tomee-7.0.0-M1.html >> > >> > ...Fa la la la la la la la la>> > >> >>> > >> > Tweet and test us to death please :-P>> > >> >>> > >> > Andy.>> > >> >>> > >> > -->> > >> > Andy Gumbrecht>> > >> > https://twitter.com/AndyGeeDe >> > >> > http://www.tomitribe.com >> > >> >>> > >> >>> > >>>> > >>> > >>> >>> Scratch submodule. What I meant to say is external dependencyOn 13 December 2015 at 18:11, Karl Kildén < [hidden email] > wrote: