Problem:

Product Name: VisiBroker
Product Version: 8.5 and later
Platform/OS Version: All supported platforms

When starting the VisiNaming Service by running $VBROKERDIR/bin/nameserv the following exception is thrown:

org.omg.CORBA.INITIALIZE:  Couldn’t not resolve ServerManager: java.lang.NullPointerException  vmcid: 0x0  minor code: 0 completed: No
 at com.inprise.vbroker.ServerManager.Init.initManager (Unkown Source)
 at com.inprise.vbroker.ServerManager.Init.init_complete (Unknown Source)
 at com.inprise.vbroker.orb.ORB.completeInitializingServices (Unknown Source)
 at com.inprise.vbroker.orb.ORB.initialize (Unknown Source)
 at com.inprise.vbroker.orb.ORB.set_parameters (Unknown Source)
 at org.omg.CORBA.ORB.init (ORB.java.337)
 at com.inprise.vbroker.naming.ExtFactory.main (Unknown Source)

Resolution:

Starting VisiBroker 8.5, write access to the $BES_LIC_DIR is necessary ( by default the $VBROKERDIR/var folder of the VisiBroker installation ).
To resolve the problem make sure that the user starting nameserv has write access to the directory.