[jboss-jira] [JBoss JIRA] Commented: (EJBTHREE-1789) Enhancement for error message "Reason: ClassLoaders of value and target are not equal "
Carlo de Wolf (JIRA)
jira-events at lists.jboss.org
Tue Mar 24 12:06:28 EDT 2009
[ https://jira.jboss.org/jira/browse/EJBTHREE-1789?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12458833#action_12458833 ]
Carlo de Wolf commented on EJBTHREE-1789:
-----------------------------------------
It should have said: value is not assignable to the target class
> 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
> 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