[jboss-jira] [JBoss JIRA] (WFLY-834) org.jboss.as.cmp dependency added only to EJB subdeployments

RH Bugzilla Integration (JIRA) issues at jboss.org
Thu Apr 3 08:43:13 EDT 2014


    [ https://issues.jboss.org/browse/WFLY-834?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12958898#comment-12958898 ] 

RH Bugzilla Integration commented on WFLY-834:
----------------------------------------------

Kabir Khan <kkhan at redhat.com> changed the Status of [bug 924548|https://bugzilla.redhat.com/show_bug.cgi?id=924548] from POST to MODIFIED
                
> org.jboss.as.cmp dependency added only to EJB subdeployments
> ------------------------------------------------------------
>
>                 Key: WFLY-834
>                 URL: https://issues.jboss.org/browse/WFLY-834
>             Project: WildFly
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: EJB
>            Reporter: James Livingston
>            Assignee: jaikiran pai
>
> The CMP code adds a module dependency on org.jboss.as.cmp if there are any CMP beans in it (via the CMP marker).
> If the <ejb-class> refers to a class not in the EJB jar itself, such as in a library jar, this will result in the proxy being created in the EAR classloader and not being able to find JBoss' CmpProxy class.
> The solution is to add the dependency to the top-level deployment so it is available in all sub-deployments, rather than the such the ejb subdeployment.

--
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


More information about the jboss-jira mailing list