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
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to