aspose file tools
The moose likes Distributed Java and the fly likes idl file compilation throws ClassCastException Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Distributed Java
Reply Bookmark "idl file compilation throws ClassCastException" Watch "idl file compilation throws ClassCastException" New topic
Author

idl file compilation throws ClassCastException

sanjays samadder
Greenhorn

Joined: Mar 30, 2001
Posts: 24
I have made a .idl file .
set the appropriate classpath and copied the file in the bin directory of
visigenic/vbroker.
when i compile with idl2java XXX.idl from the bin directory
it throws an Exception ClassCastException in "main"
what could this mean???
my code in the simplest form is:
module hello{
interface helloapp{
string sayHello();
};
};
I am using VisiBroker for java 3.2
please some one help.
Mark Savory
Ranch Hand

Joined: Feb 08, 2001
Posts: 122
I had the same problem which I solved by using JRE 1.2 rather than JRE 1.2.2.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: idl file compilation throws ClassCastException
 
Similar Threads
Problem compiling IDL in JBuilder 9
Generating code from IDL for EJB Access
Problem compiling IDL in JBuilder 9
ClassCastException with idl2java
Problem compiling IDL in JBuilder 9