jaikiran pai [
http://community.jboss.org/people/jaikiran] replied to the discussion
"Problem with NotEligibleForDirectInvocationException"
To view the discussion, visit:
http://community.jboss.org/message/553796#553796
--------------------------------------------------------------
Which exact version of JBoss AS is this? And since this is EJB3, you don't have to do
PortableRemoteObject.narrow:
Object ref1 = jndiContext.lookup(className);
T session = (T) new PortableRemoteObject().narrow( ref1, classOfT);
return session;
Change that to directly return the object that was looked up. Also please post the
relevant EJB3 code/configs.
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/553796#553796]
Start a new discussion in EJB 3.0 at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]