[jboss-jira] [JBoss JIRA] Updated: (EJBTHREE-1789) Enhancement for error message "Reason: ClassLoaders of value and target are not equal "

Andrew Lee Rubinger (JIRA) jira-events at lists.jboss.org
Tue Mar 24 13:33:22 EDT 2009


     [ https://jira.jboss.org/jira/browse/EJBTHREE-1789?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Lee Rubinger updated EJBTHREE-1789:
------------------------------------------

    Fix Version/s: 1.1.3


> Enhancement for error message "Reason: ClassLoaders of value and target are not equal "
> ---------------------------------------------------------------------------------------
>
>                 Key: EJBTHREE-1789
>                 URL: https://jira.jboss.org/jira/browse/EJBTHREE-1789
>             Project: EJB 3.0
>          Issue Type: Feature Request
>          Components: ejb3
>         Environment: MacOS X (Leopard), JBoss 5.0.1 GA
>            Reporter: Andreas Bauer
>            Assignee: Andrew Lee Rubinger
>            Priority: Minor
>
> When using an injected bean in a servlet, the following error occurs:
> ERROR [FieldBeanProperty] failed to set value Proxy to jboss.j2ee:jar=TwitterPoCEJB.jar,name=TweetViewerBean,service=EJB3 implementing [interface org.jboss.ejb3.proxy.intf.EjbProxy, interface org.jboss.ejb3.proxy.intf.StatefulSessionProxy, interface de.brotkasting.buki.cep.beans.TwitterSessionBeanRemote, interface org.jboss.ejb3.proxy.intf.SessionProxy] on field private de.brotkasting.buki.cep.beans.TwitterSessionBean de.brotkasting.buki.cep.servlets.TweetViewerServlet.bean; Reason: ClassLoaders of value and target are not equal 
> The message doesn't clearly indicate why this error arises.
> Reason for this:
> In the servlet, I used the the bean implementatoin instead of the local bean interface. Replacing this, rebuilding and redeploying solved the issued.

-- 
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 jboss-jira mailing list