[jboss-user] [EJB 3.0] New message: "Re: EJB3 Session Bean Container error"
Juliano Vidal
do-not-reply at jboss.com
Wed Feb 24 09:51:25 EST 2010
User development,
A new message was posted in the thread "EJB3 Session Bean Container error":
http://community.jboss.org/message/528207#528207
Author : Juliano Vidal
Profile : http://community.jboss.org/people/julianovidal
Message:
--------------------------------------------------------------
Hey! Thanks for the quick reply!
The error ocurrs when I try to access a Remote SessionBean.
The weird thing is that I actually get the instance when I do the lookup:
public CategoryRemote getCategory() throws CMSException {
Object obj = CMSServiceLocator.getInstance().getObject(CategoryRemote.REMOTE);
return (CategoryRemote) PortableRemoteObject.narrow(obj, CategoryRemote.class);
}
The getObject method is the lookup and I'm doing it the classic way...
InitialContext... blah, blah,blah...
I get the instance... but when I try to call a method from the SessionBean, I get that error.
Thanks in advance for your help!
Regards,
Juliano Vidal
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/528207#528207
More information about the jboss-user
mailing list