[jboss-jira] [JBoss JIRA] (AS7-3879) Class not found exception when injecting a remote bean containing datasource ref defined at class level in another EJB

Stuart Douglas (JIRA) jira-events at lists.jboss.org
Sun Apr 22 18:17:17 EDT 2012


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

Stuart Douglas commented on AS7-3879:
-------------------------------------

I think the issue here is that the ClassLoaderClassCloner does not really work properly in a modular environment. 

I think the easiest solution would be to use a fall back, where if the Class.forName fails with simply return the original class. 
                
> Class not found exception when injecting a remote bean containing datasource ref defined at class level in another EJB
> ----------------------------------------------------------------------------------------------------------------------
>
>                 Key: AS7-3879
>                 URL: https://issues.jboss.org/browse/AS7-3879
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: EJB
>    Affects Versions: 7.1.0.Final
>         Environment: windows 64 bit
>            Reporter: Prasad Deshpande
>            Assignee: jaikiran pai
>
> I get class not found exception when I inject an EJB with remote interface only into another EJB that has only local interface. Also, remote bean has datasource reference at class level.
> I've already attached stacktrace at https://community.jboss.org/thread/195566?tstart=0

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list