I just downloaded jdk1.2.1_04 and idl compiler into my SPARC and try to
run the Hello program example from the document. But when I run command
tnameserv -ORBInitialPort 1050
I got the following error:
Exception in thread "main" java.lang.ExceptionInInitializerError:
org.omg.CORBA.INITIALIZE: can't instantiate default ORB implementation
JavaORB.CORBA.ORBSingleton minor code: 0 completed: No
at java.lang.Throwable.fillInStackTrace(Native Method)
at java.lang.Throwable.<init>(Throwable.java:94)
at java.lang.Exception.<init>(Exception.java:42)
at java.lang.RuntimeException.<init>(RuntimeException.java:47)
at org.omg.CORBA.SystemException.<init>(SystemException.java:49)
at org.omg.CORBA.INITIALIZE.<init>(INITIALIZE.java:73)
at org.omg.CORBA.INITIALIZE.<init>(INITIALIZE.java:47)
at org.omg.CORBA.ORB.create_impl(ORB.java:305)
at <Unloaded Method>
at com.sun.CosNaming.TransientNameServer.main(Compiled Code)
Could anyone tell me how can I fix this.
Thanks,
--Quoc
Sent via Deja.com http://www.deja.com/
Before you buy.