• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Corba Problem

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 532
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Do you know why you have "org.omg.CORBA.protable.ObjectImpl"?
It should be "org.omg.CORBA.portable.ObjectImpl"
 
reply
    Bookmark Topic Watch Topic
  • New Topic