[weld-issues] [JBoss JIRA] Commented: (WELD-319) interceptors declared in multiple beans.xml files
Nicklas Karlsson (JIRA)
jira-events at lists.jboss.org
Wed Dec 2 16:50:38 EST 2009
[ https://jira.jboss.org/jira/browse/WELD-319?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12497854#action_12497854 ]
Nicklas Karlsson commented on WELD-319:
---------------------------------------
Did some refactoring that might have accidently cured this ;-)
What was your setup for this case (beans.xml contents deployment archive format)?
> interceptors declared in multiple beans.xml files
> -------------------------------------------------
>
> Key: WELD-319
> URL: https://jira.jboss.org/jira/browse/WELD-319
> Project: Weld
> Issue Type: Bug
> Components: Interceptors and Decorators
> Affects Versions: 1.0.0.GA
> Reporter: Gavin King
> Assignee: Nicklas Karlsson
> Priority: Critical
> Fix For: 1.0.1.CR1
>
>
> this seems to be the result of out of date code:
> Exception in thread "main" org.jboss.weld.DeploymentException: <interceptor> can only be specified once, but it is specified muliple times [File: file:/Users/gavin/Documents/workspace/setest/bin/META-INF/beans.xml; Node: [interceptors: null], File: file:/Users/gavin/Documents/workspace/sql/bin/META-INF/beans.xml; Node: [interceptors: null]]
> at org.jboss.weld.xml.BeansXmlParser.parse(BeansXmlParser.java:202)
> at org.jboss.weld.bootstrap.BeanDeployment.parseBeansXml(BeanDeployment.java:107)
> at org.jboss.weld.bootstrap.BeanDeployment.<init>(BeanDeployment.java:85)
> at org.jboss.weld.bootstrap.WeldBootstrap$DeploymentVisitor.visit(WeldBootstrap.java:197)
> at org.jboss.weld.bootstrap.WeldBootstrap$DeploymentVisitor.visit(WeldBootstrap.java:174)
> at org.jboss.weld.bootstrap.WeldBootstrap.startContainer(WeldBootstrap.java:295)
> at org.jboss.weld.environment.se.StartMain.go(StartMain.java:69)
> at org.jboss.weld.environment.se.StartMain.main(StartMain.java:89)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the weld-issues
mailing list