Our vBulletin migration is complete.
Welcome vBulletin users! All content and user information from the Micro Focus Forums (vBulletin) site has been migrated to this site. READ MORE.

License violation[1019]: License directory system property is not set

License violation[1019]: License directory system property is not set


A VisiBroker based CORBA application fails to start-up and prints the following error message to stdout:

License violation[1019]: License directory system property is not set


The ORB was not able to verify the license during start-up since the information about the location of the license was missing. Only applications which require a server license will fail to start. A server license is needed if more than 10 callback objects are activated or the persistent lifespan policy is set for any created POA.

VisiBroker for C++

VisiBroker for C++ requires the environment variables BES_LIC_DIR and BES_LIC_DEFAULT_DIR to be set.

Usually they are set together with other important environment variables by executing <VBROKERDIR>/bin/vbroker.bat ( Windows ) or <VBROKERDIR>/bin/vbroker.sh ( Unix ). If your application uses these script files, verify their content and ensure they are executed.

Alternatively the environment variables can also be set in any other way, for example in an application specific start-up script.

  • set BES_LIC_DIR to the /var folder of the VisiBroker installation
  • set BES_LIC_DEFAULT_DIR to the /license folder of the VisiBroker installation

VisiBroker for Java

VisiBroker for Java requires the JVM System Properties borland.enterprise.licenseDir and borland.enterprise.licenseDefaultDir to be set.

VisiBroker provides a helper tool to start a VisiBroker for Java based CORBA application, <VBROKERDIR>/bin/vbj.exe for Windows or <VBROKERDIR>/bin/vbj for Unix. This tool passes a set of important properties to the JVM. If your application is started by the vbj tool, verify the content of <VBROKERDIR>/bin/vbj.config. Towards the end of the file in a user modifiable section the necessary properties should be defined

  • vmprop borland.enterprise.licenseDir=$var(installRoot)/var
  • vmprop borland.enterprise.licenseDefaultDir=$var(installRoot)/license

If your application does not use the vbj tool, it need to ensure that these System Properties are set by

  • Using the java -D option
  • Or setting them in the application code before calling the ORB initialization
Old KB# 26514


Some content on Community Tips & Information pages is not officially supported by Micro Focus. Please refer to our Terms of Use for more detail.
Version history
Revision #:
1 of 1
Last update:
‎2013-02-15 20:05
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.