Hi, I am new programmer to CORBA. I have installer visibroker 3.3 on 98 machine which has win 98 on it. When i try to complie idl file using idl2java it gives th e following error Exception in thread main java.lang.classcastexception :com.sun.corba.se.internal.iiop.orb at com.visigenic.vbroker.tools.idl2java.main(idl2java.java:38)
Can anybody help me out. Thanks, triveni.
Suneel Setlur
Ranch Hand
Joined: Nov 26, 2000
Posts: 202
posted
0
Can you please post the code ?
Suneel
triveni sangam
Greenhorn
Joined: Jan 12, 2001
Posts: 11
posted
0
the code is module sysinfo { interface SysInfo { string getInfo(); }; };
Padmaja Kalimireddy
Greenhorn
Joined: Mar 22, 2001
Posts: 3
posted
0
Set the Class-Path to access the Visibroker classes.
sanjays samadder
Greenhorn
Joined: Mar 30, 2001
Posts: 24
posted
0
hi I had the same problem .even setting the class path to vbroker/lib/classes or jar does not work .to compile my programm i used idjl <modulename>.idl at coomand prompt.using jdk this worked but then i have other problems have a look at the topic here in this topic. please see if you can help. thanks sanjay
sanjays samadder
Greenhorn
Joined: Mar 30, 2001
Posts: 24
posted
0
sorry I used idlj <filename>.idl
Mark Savory
Ranch Hand
Joined: Feb 08, 2001
Posts: 122
posted
0
I had the same problem which I solved by using JRE 1.2 rather than JRE 1.2.2.