Welcome Serena Central users! CLICK HERE
The migration of the Serena Central community is currently underway. Be sure to read THIS MESSAGE to get your new login set up to access your account.

Runtime Exception (Persistant Server ID is not set) occurs while running a VisiBroker 7.0 CORBA Server application in JBuilder Enterprise 2006

Runtime Exception (Persistant Server ID is not set) occurs while running a VisiBroker 7.0 CORBA Server application in JBuilder Enterprise 2006

Problem:

Runtime Exception (Persistant Server ID is not set) occurs while running a VisiBroker 7.0 CORBA Server application in JBuilder Enterprise 2006

Resolution:

Product Name: BAS 6.6/ VisiBroker 7.0

Product Component: Integration with Borland JBuilder 2006 Enterprise

Platform/OS Version: Windows XP Professional


Purpose of Document:

?Runtime Exception (Persistant Server ID is not set) occurs while running a VisiBroker 7.0 CORBA Server application in JBuilder Enterprise 2006?, the purpose of this article is to explain the cause of this exception and how it can be prevented.

Problem Description:

While running a CORBA server using VisiBroker 7.0 with JBuilder 2006, what causes the following exception to occur and how this can be resolved?

com.sun.corba.se.impl.orb.ORBDataParserImpl getPersistentServerId

WARNING: "IOP00910206: (INITIALIZE) Persistent server ID is not set"

org.omg.CORBA.INITIALIZE: vmcid: SUN minor code: 206 completed: Maybe
at com.sun.corba.se.impl.logging.ORBUtilSystemException.persistentServeridNotSet(ORBUtilSystemException.java:3587)

This may appear due to several reasons, so first advice is to follow the steps described in Borland Help-->Developing Enterprise Applications-->Using JBuilder"s CORBA Tools-->Configuring VisiBroker stand-alone. If everything is setup as described in the reference but problem still persists then the most probable cause is that the installation directory for BAS/Visibroker got spaces in its path.

Entering spaces as part of the directory path for JBuilder in the installer, will cause JBuilder to throw this exception when running CORBA applications after the installation. The space displays correctly in the JBuilder text box of the installer. However, after the JBuilder installation, the directory name will have a broken path in place of the first space entered.

Solution/Workaround:

Do not use spaces or currency symbols in the path names when installing the BAS 6.6 or VisiBroker 7.0, if you later want to integrate it with the JBuilder Enterprise 2006. Though the above was tested in BAS 6.6 or VisiBroker 7.0, but this rule may be applicable to all BES/BAS/VisiBroker Installations.

Other points to remember:

For exception "org.omg.CORBA.NO_IMPLEMENT: This is a locally constrained object", set the following runtime parameter:

-Djava.endorsed.dirs= \lib\endorsed

Also, please do remember to set the runtime parameter for the license i.e.

-Dborland.enterprise.licenseDir= \var

-Dborland.enterprise.licenseDefaultDir= \license

Also, do remember to point to the VisiBroker installation (and not BAS) as BAS 6.6 installation can not be used for any Visibroker-based CORBA app deployment, as the license is now separated.

Author: Chetna Bakshi

Old KB# 15193

DISCLAIMER:

Some content on Community Tips & Information pages is not officially supported by Micro Focus. Please refer to our Terms of Use for more detail.
Top Contributors
Version history
Revision #:
1 of 1
Last update:
‎2014-04-15 07:13
Updated by:
 
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.