[
https://jira.jboss.org/browse/WELD-752?page=com.atlassian.jira.plugin.sys...
]
Pete Muir commented on WELD-752:
--------------------------------
Can you ideally attach an Arquillian test to reproduce, or failing that a war. This way we
can be sure to fix your problem :-)
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
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.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira