Having problems with your account or logging in?
A lot of changes are happening in the community right now. Some may affect you. READ MORE HERE

Borland Enterprise Server License error[1025]: Sanctuary Runtime Error :Cannot connect to license server

Borland Enterprise Server License error[1025]: Sanctuary Runtime Error :Cannot connect to license server

Problem:

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

Borland Enterprise Server License error[1025]: Sanctuary Runtime Error :Cannot connect to license server(4,0)

Resolution:

The error indicates that VisiBroker does not use a local license, but a shared license located on a Belize License Server, and failed to connect to it. A variant of the error message is cannot connect to either main or backup license server(18,0).

Check if the Belize License Server was started and is reachable by the host running VisiBroker.

A concurrent license consists of two parts, the license installed on the Belize Server which holds the number of license leases, and a license installed in each VisiBroker installation which redirects the license requests to the Belize Server. This local license contains the IP and port number of the Belize Server, which you will need to verify if the Server can be reached.

If you do not know the IP and port of your Belize Server, you can use network diagnosis tools ( netstat, tcpdump, etc. ) to check to which IP and port VisiBroker tries to connect. Start a VisiBroker based CORBA Server application, you can use /examples/vbroker/basic/bank_agent bundled with VisiBroker, and check to which host VisiBroker tries to connect. Alternatively you can also contact the support hotline to retrieve the IP and port from your license file.

Login at the host IP where Belize should be running, and verify that the process was actually started and is listening on the expected port ( ps, netstat ).

If the Belize Server is running, run the following commands on the VisiBroker host

  • nmap -p <BELIZE_PORT> <BELIZE_IP>
  • nmap -sU -p <BELIZE_PORT> <BELIZE_IP>

If both calls report the port to be closed, it indicates that your network configuration - maybe firewalls - block access to the Belize Server.

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.
Version history
Revision #:
1 of 1
Last update:
‎2013-10-31 08:33
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.