Hi Kathy,
Thank for your help and I try following your comment.
This is my sourcecode:
and I got a result as follow:
obj = com.sun.corba.ee.internal.iiop.CDRInputStream_1_0$1:IOR:0000000000000023524d493a436f6e766572746572486f6d653a30303030303030303
0303030303030300000000000010000000000000160000102000000000e3139322e3136382e3
12e31303800085d0000003eafabcb0000000024abb28bd800000001000000000000000100000
00d5472616e7369656e74504f41000000000000000d7c76ca900000000000000001ff0a00000
0000005000000010000002000000000000100010000000205010001000100200001010900000
00100010100000000210000007c00000000000000010040000000000024000000200000
006600000000000000010000000e3139322e3136382e312e31303800085e0040004000000008
0606678102010101000000170401000806066781020101010000000764656661756c74000400
000000000000000000010000000806066781020101010000000f000000190000003200000000
0000002a687474703a2f2f796f7468696e3a393139312f436f6e766572746572417070436c69
656e742e6a61720000000000001f0000000400000003000000200000000400000001
Caught an unexpected exception!
java.lang.ClassCastException
at com.sun.corba.se.internal.javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:293)
at javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:134)
at ConverterClient.main(ConverterClient.java:14)
That mean after looking up the jndi name, MyConverter, It doesn't get
ConverterHome object so the ClassCastException occurs.
Anyone can explain this?
[ November 05, 2003: Message edited by: Yothin Pohn ]
[ November 05, 2003: Message edited by: Yothin Pohn ]