I am trying to invoke the idl2java cmd after installing Visibroker from the CDROM supplied by with book 'Client/Server Programming with Java and CORBA' 2 edition; I have tried with jdk1.4 and jdk1.1.8. Got the same results below. Any help; insights will be appreciated
D:\CorbaJavaBook\Java\Count>idl2java -version Exception in thread "main" java.lang.ClassCastException: com.sun.corba.se.internal.corba.ORBSingleton at com.visigenic.vbroker.tools.idl2java.main(idl2java.java:30)
posted 14 years ago
Looks like the java orb class is used instead of Visibroker Orb. Hope this helps.