]
Robson Saraiva Ximenes resolved WELD-752.
-----------------------------------------
Resolution: Rejected
It was some conflicts with my profiles. I just use the weld jee arquetype and did the same
configuration... it works...
Registering an interceptor in beans.xml from a Jar;
---------------------------------------------------
Key: WELD-752
URL:
https://jira.jboss.org/browse/WELD-752
Project: Weld
Issue Type: Bug
Components: Bootstrap and Metamodel API, CDI API
Affects Versions: 1.1.0.Beta2
Environment: Ubuntu, Weld-servlet and Weld-SE
Reporter: Robson Saraiva Ximenes
Labels: interceptors
Fix For: 1.1.0.Beta2
Attachments: stack.txt
I have a jar with an Interception class registered in META/INF/beans.xml;
My web app has this jar into classpath, but when I deploy some problems show up.
1 - Registering the interceptor inside the JAR/META-INF/beans.xml: notthing happend and
the interceptor is not registered
2 - Registering the interceptor in WEB-INF/META-INF/beans.xml: throws an exception
(org.jboss.weld.exceptions.DeploymentException: WELD-001416 Enabled interceptor class
[<class>br.gov.frameworkdemoiselle.internal.interceptor.TransactionInterceptor</class>)
I believe that the best way is to merge all beans.xml and give a way of programmatically
resolve any conflict;
P.S: It works for Weld-se but not to Weld-servlet!
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: