Hi I guess it is something weld tolerates (@Dependent final classes) where OWB doesnt (as required by spec).
Wonder which interceptor/decorator are referenced, can be the BDA difference between weld and tomee as well. You can test this last option adding (conf/system.properties is the easiest but WEB-INF/application.properties is cleaner): org.apache.webbeans.useBDABeansXMLScanner=true 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-07-03 6:25 GMT+02:00 jmutawa <[email protected]>: > Hello, > > I am trying to run JBoss Dashbuilder <http://dashbuilder.org> on TomEE > 1.7.1. This application comes with Weld, so I started getting this error: > > /SEVERE: Can't create resource BeanManager > java.lang.ClassNotFoundException: > org.jboss.weld.resources.ManagerObjectFactory/ > > Suspecting conflicts between Weld and OWB, I removed the Weld listener and > JNDI resource of Weld BeanManager. Running the application now gives me > this > error: > > /SEVERE: CDI Beans module deployment failed > org.apache.webbeans.exception.inject.DeploymentException: > org.apache.webbeans.exception.WebBeansConfigurationException: Cannot apply > Decorators or Interceptors on a final class: > org.jboss.dashboard.ui.config.treeNodes.RootNode/ > > The application runs fine on Tomcat, but we are trying to standardize on > TomEE. Appreciate guidance on what should I do to make this application > work. > > Regards, > Jalal Almutawa > > > > -- > View this message in context: > http://tomee-openejb.979440.n4.nabble.com/Running-JBoss-Dashbuilder-on-TomEE-tp4675437.html > Sent from the TomEE Users mailing list archive at Nabble.com. >
