• Post Reply Bookmark Topic Watch Topic
  • New Topic

Corba Problem  RSS feed

 
Susanto De
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have just started Corba programming and am stuck in the first step.. while compiling idl file of a sample application using visibroker.
Following is the code if idl file
module Bank {
interface Account {
float balance();
};
interface AccountManager {
Account open(in string name);
};
};
I am getting the following error when I compile the idl file using - idl2java bank.idl
Exception in thread "main" java.lang.NoSuchMethodError:
org.omg.CORBA.protable.ObjectImpl:
method _boa()Lorg/omg/CORBA/BOA;not found
at com.visigenic.vbroker.tools.ir.Factory.create_transient_repository(Factory.java:15)
at com.visigenic.vbroker.tools.idl2java.main(Compiled code)
I am using visibroker ver 3.2 and jdk ver 1.3
I set the classpath and "orb.properties" file in <java-home>/jre/lib folder
Do I need to do any further configuration to use visbroker?
thanks
Susanto
 
Jim Baiter
Ranch Hand
Posts: 532
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do you know why you have "org.omg.CORBA.protable.ObjectImpl"?
It should be "org.omg.CORBA.portable.ObjectImpl"
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!