Skip to main content

Problem:

  • Product Name: VisiBroker
  • Product Version: 7.0 and above
  • Product Component: Licensing

You see following exception when you start your CORBA server application:

Exceptionin thread "main" org.omg.CORBA.OBJ_ADAPTER:org.omg.PortableServer.POAPackage.AdapterNonExistent:
 IDL:omg.org/PortableServer/POA/AdapterNonExistent:1.0vmcid: 0x0 minor code: 0 completed: No
 at com.inprise.vbroker.poa.BOAImpl.obj_is_ready(Unknown Source)
 at Server.main(Server.java:15)

Resolution:

This error can be caused by one of the following reasons:

  1. If the error occurs while trying to run the server process through ant, you need to ensure the environment variable BES_LIC_DIR and BES_LIC_DEFAULT_DIRare set correctly. If you run the "vbroker.sh" in the $VBROKERDIR/bin directory, these settings will be automatically configured. If you are using ant script, you can set the license directory values using Java System properties as shown below:

    java -Dborland.enterprise.licenseDir=$VBROKERDIR/var -Dborland.enterprise.licenseDefaultDir=$VBROKERDIR/license

  2. The $VBROKERDIR/var directory does not have the necessary permission. You need to change the permission of $VBROKERDIR/var directory and its contents to 766.

 


#license
#BES_LIC_DIR
#BES_LIC_DEFAULT_DIR
#Security
#VisiBroker
#AdapterNonExistent