tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Romain Manni-Bucau <rmannibu...@gmail.com>
Subject Re: CDI @Requires issue with Tomee
Date Mon, 09 Jul 2012 05:17:51 GMT
Hmm, means you need to add used methods.

Not sure why alternative doesnt work.

Can you update your sample please (and remove skipcurrent project fron
tomee plugin and remove the finalname)?
Le 9 juil. 2012 04:00, "zeeman" <hamzah0@fastmail.us> a écrit :

> I mocked drools classes under their own package. I get below:
>
> It would have been nice to get the alternative to work, but it does not
> seem
> to get picked up.
>
> java.lang.VerifyError: (class:
> org/jboss/seam/security/permission/RuleBasedPermissionResolver, method:
> synchronizeContext signature: ()V) Incompatible argument to function
>         at java.lang.Class.getDeclaredFields0(Native Method)
>         at java.lang.Class.privateGetDeclaredFields(Unknown Source)
>         at java.lang.Class.getDeclaredFields(Unknown Source)
>         at
>
> org.apache.xbean.finder.AnnotationFinder.findAnnotatedFields(AnnotationFinder.java:780)
>         at
>
> org.apache.openejb.config.FinderFactory$ModuleLimitedFinder.findAnnotatedFields(FinderFactory.java:152)
>         at
>
> org.apache.openejb.config.rules.CheckInjectionPointUsage.validate(CheckInjectionPointUsage.java:35)
>         at
>
> org.apache.openejb.config.rules.ValidationBase.validate(ValidationBase.java:45)
>         at
> org.apache.openejb.config.AppValidator.validate(AppValidator.java:97)
>         at
> org.apache.openejb.config.ValidateModules.deploy(ValidateModules.java:37)
>         at
>
> org.apache.openejb.config.ConfigurationFactory$Chain.deploy(ConfigurationFactory.java:322)
>         at
>
> org.apache.openejb.config.ConfigurationFactory.configureApplication(ConfigurationFactory.java:781)
>         at
>
> org.apache.tomee.catalina.TomcatWebAppBuilder.startInternal(TomcatWebAppBuilder.java:677)
>         at
>
> org.apache.tomee.catalina.TomcatWebAppBuilder.configureStart(TomcatWebAppBuilder.java:632)
>         at
>
> org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:117)
>         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:5172)
>         at
> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
>         at
>
> org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1595)
>         at
>
> org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1585)
>         at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
>         at java.util.concurrent.FutureTask.run(Unknown Source)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown
> Source)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown
> Source)
>         at java.lang.Thread.run(Unknown Source)
>
> --
> View this message in context:
> http://openejb.979440.n4.nabble.com/CDI-Requires-issue-with-Tomee-tp4656112p4656164.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message