![]() |
|
|
|
|
Issue Type:
|
Improvement
|
|
Affects Versions:
|
2.5.2 |
|
Assignee:
|
Unassigned |
|
Created:
|
30/Jan/13 6:10 AM
|
|
Description:
|
When openEJB startup, try to load all the instrumented bean, the beans annotated by @Decorator could not pass OpenEJB bean validation.
The error message are
Caused by: org.apache.webbeans.exception.WebBeansConfigurationException: Decorator : MyDecorator, Name:null, WebBeans Type:DECORATOR, API Types:[org.apache.commo ns.configuration.Configuration,net.sourceforge.cobertura.coveragedata.HasBeenInstrumented,org.apache.commons.configuration.AbstractConfiguration,MyDecorator,org.apache.commons.configuration.event.EventSource,java.lang.Object], Qualifiers:[javax.enterprise.inject.Any,javax.enterprise.inject.Default] delegate at tribute must implement all of the decorator decorated types, but decorator type interface net.sourceforge.cobertura.coveragedata.HasBeenInstrumented is not assignable from deleg ate type of interface org.apache.commons.configuration.Configuration
So the root cause is that cobertura add one more interface to identify the instrumented class, which is too heavy i think. Because of this added interface the EJB container could not deploy the @Decorator bean.
|
|
Environment:
|
OpenEJB 4.5.1
maven 3.0.2
javaee-API 6.0.4
|
|
Project:
|
Maven 2.x Cobertura Plugin
|
|
Priority:
|
Major
|
|
Reporter:
|
baggiogamp
|
|
|
|
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
|
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email