[jboss-user] [EJB 3.0] - Re: [FieldBeanProperty] failed to set value Proxy to jboss.j
buki79 wrote : seems this helped. Thanks! Cool. Would you please open a JIRA under the EJBTHREE project requesting that I enhance the error message to account for this case? While true that the CLs didn't match, they wouldn't in this case, and I want to let the user know they're trying to inject into the wrong target type. buki79 wrote : Where can I find information on this issue? I thought declaring the field as the SessionBean is correct. Why do I have to declare the field as the LocalBean interface? Clients of EJBs don't directly deal with the bean implementation class but instead a proxy which implements your business interfaces. Have a look at EJB 3.0 Core Specification Section 3.1. S, ALR View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4220472#4220472 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4220472 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: [FieldBeanProperty] failed to set value Proxy to jboss.j
ALRubinger wrote : Would you please open a JIRA under the EJBTHREE project requesting that I enhance the error message to account for this case? Thanks. :) https://jira.jboss.org/jira/browse/EJBTHREE-1789 S, ALR View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4220717#4220717 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4220717 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: [FieldBeanProperty] failed to set value Proxy to jboss.j
Would you please post your packaging structure? Looks like the issue here is that the Proxy doesn't have the same defining ClassLoader as the CL that loaded TwitterSessionBeanRemote in your app. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4220410#4220410 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4220410 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: [FieldBeanProperty] failed to set value Proxy to jboss.j
Hi, the structure is for the web client TwitterClient | --de.brotkasting.buki.cep.servlets.TwitterViewerServlet The structure of the ejb project TwitterPoCEJB | --de.brotkasting.buki.cep.beans.TwitterSessionBean Here's the code: -Servlet | public class TweetViewerServlet extends HttpServlet { | | //inject EJB | @EJB(name=TweetViewerBean,mappedName=EJBs/TweetViewerBean) | private TwitterSessionBean bean; | -SessionBean | @Stateful(name=TweetViewerBean,mappedName=EJBs/TweetViewerBean) | public class TwitterSessionBean implements TwitterSessionBeanRemote, | TwitterSessionBeanLocal{ | Best regards, Andreas View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4220411#4220411 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4220411 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: [FieldBeanProperty] failed to set value Proxy to jboss.j
Servlet field should be of type TwitterSessionBeanLocal. S, ALR View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4220415#4220415 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4220415 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: [FieldBeanProperty] failed to set value Proxy to jboss.j
Hi, seems this helped. Thanks! Cheers, Andreas View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4220425#4220425 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4220425 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: [FieldBeanProperty] failed to set value Proxy to jboss.j
Another question concerning this: Where can I find information on this issue? I thought declaring the field as the SessionBean is correct. Why do I have to declare the field as the LocalBean interface? Thanks! Cheers, Andreas View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4220426#4220426 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4220426 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user