I modified the NamingContext.java to print some information that is coming back.  Here 
is what I get:

23:44:18,029 INFO  [STDOUT]  stub = [EMAIL PROTECTED]
23:44:18,029 INFO  [STDOUT]  stub.getClass().getName() = java.rmi.MarshalledObject
23:44:18,079 INFO  [STDOUT]  namingPre = org.jnp.server.NamingServer_Stub[RemoteStub 
[ref: [endpoint:[192.168.1.101:1098](remote),objID:[0]]]]
23:44:18,079 INFO  [STDOUT]  namingPre.getClass().getName() = 
org.jnp.server.NamingServer_Stub

"namingPre" is the result of stub.get()

The ClassCastException is occurring because the class that is returned by stub.get() 
(aka namingPre) does not implement the Naming interface.  

HELP!! ?

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

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


-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE. 
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to