[jboss-user] [EJB 3.0] - Re: javax.naming.NotContextException

psyllogism do-not-reply at jboss.com
Wed Jun 6 13:06:43 EDT 2007


Okay. Then on this line:

m_metaAgent = (MetaAgent) PortableRemoteObject.narrow(ref, MetaAgent.class);

I get the exception:
java.lang.ClassCastException
  | 	at com.sun.corba.se.impl.javax.rmi.PortableRemoteObject.narrow(Unknown Source)
  | 	at javax.rmi.PortableRemoteObject.narrow(Unknown Source)
  |      ...

The jndiContext.lookup(...) method returned a "MetaAgentImplStatefulProxyFactory" object, which isn't anything in my project!

So I still need help. Thanks.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4051831#4051831

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4051831



More information about the jboss-user mailing list