wood burning stoves 2.0*
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Visibroker 3.1 error:ClassCastException
 
Similar Threads
Visibroker for Java -- Please help
Connecting to Corba Server
Skelton not generated using idl2java !
idl file compilation throws ClassCastException
VisiBroker for java