aspose file tools*
The moose likes Distributed Java and the fly likes Visibroker 3.1 error:ClassCastException Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "Visibroker 3.1 error:ClassCastException" Watch "Visibroker 3.1 error:ClassCastException" New topic
Author

Visibroker 3.1 error:ClassCastException

Walter Mangra
Greenhorn

Joined: Jul 13, 2002
Posts: 1
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)
Mon Mayor
Ranch Hand

Joined: Mar 07, 2002
Posts: 40
Looks like the java orb class is used instead of Visibroker Orb. Hope this helps.
 
Consider Paul's rocket mass heater.
 
subject: Visibroker 3.1 error:ClassCastException