Problem:

  • Product Name: VisiBroker
  • Product Version: 8.5
  • Product Component: License Manager
  • Platform/OS Version: All
When running VisiBroker Server application, the following exception is thrown:

Either BES_LIC_DIR is not set or is not writable.
Exception: CORBA::NO_PERMISSION
        Explanation: Please verify the license folder write permission.
        Minor: 1330446336
        Completion Status: NO

Similar error also happen when running VisiNotify or other VisiServices as shown below:

Either BES_LIC_DIR is not set or is not writable.
Exception: CORBA::OBJ_ADAPTER
        Minor: 1330446337
        Completion Status: NO

Resolution:

In VisiBroker 8.5, the licensing module creates a new file "mf_license.dat" inside $BES_LIC_DIR directory. This file is created once upon first run of any VisiBroker Server application or any VisiServices. The file is created with permission depending on the user's umask value. If other user will run any VisiBroker Server application or any VisiServices and do not have read-write access to the "mf_license.dat" file, then the above exception occurs.

To resolve the issue, please change the "mf_license.dat" file permission to allow read-write access to all users/group that will use the VisiBroker.
An empty "mf_license.dat" file with correct file permission can also be created soon after the installation of VisiBroker 8.5.

Similar to the previous versions of VisiBroker, all VisiBroker users need to have read-write permission in $BES_LIC_DIR directory.
 

Incident #2512637