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

Steps for license registration in console mode after VisiBroker installation

Steps for license registration in console mode after VisiBroker installation

Description

This article explains the pre-requisites & the steps to register VisiBroker in console mode in supported operating systems. The latest VisiBroker version 8.5's supported platforms can be referred here: http://supportline.microfocus.com/supportresources/VB85prodmatrix.aspx.

If you have not installed VisiBroker yet, please refer the [[Installation and registration of VisiBroker 8.5 in console mode]] article to install and register VisiBroker.

Pre-requisites

1. For the license registration of VisiBroker, you have to have a BDN account. You should setup an account in this link: http://reg.borland.com/srs5/new_user.jsp if you don’t have one. In case, you have forgotten the BDN account password, please contact support and they will help you to reset it.

2. Please record down the username, and password (for the BDN account you’ve just created).

3. It’s important to know if you’ve got internet access in your machine(where you have installed VisiBroker). If you do not have, please make sure you’ve got a laptop or machine that’s got access to the internet.

4. You also need to make sure that this laptop/machine (not the machine where you are installing VisiBroker) has got internet access to receive emails (the same email address that you’ve used to create the BDN account).

Running through the pre-requisites, you’ve now have a BDN account for the registration setup. You should also have your License Serial Number (20 alpha numeric characters), Authorization key (6 alpha numeric characters) ready as well. You should also be armed with a laptop/machine that can access http://reg.borland.com/ and can receive emails on the same email address you use for your BDN account.

License Registration instructions to register VisiBroker

1. Open a unix console or windows command prompt(depending upon in which OS you have installed VisiBroker). If it is an unix operating system, login using the non-root user(same user who installed VisiBroker).

2. Go to <VBROKERDIR>/bin folder. For VisiBroker 8.5, the default folder for unix operating system is /opt/MicroFocus/VisiBroker and for windows, it is C:\MicroFocus\VisiBroker.

3. Setup VisiBroker environment by running ". ./vbroker.sh" for unix OS or "vbroker.bat" for windows.

4. Run "lmadm -i console".

5. The following are the options that will be made available to you

In Unix:

In Windows:

If the machine has direct internet access, please go onto step 6. If the machine does not have direct internet access, please proceed to step 17.

6. Input 0 which means to do direct register.

7. The installation will show that it’s "connecting to the Borland server......."

8. The prompt will display "Enter your Serial Number: ", please enter your 20 character license serial number.

9. Next the prompt will display "Enter the key:", please enter your authorization key.

10. Next you will be prompted "Do you have a Borland Developer Network (BDN) account from a previous Borland product registration (Y)/(N)?". Type Y.

11. You will be prompted to "Enter your Borland Developer Network (BDN) login name or your email address:", please enter the BDN username you’ve created earlier.

12. Next, please enter your Borland Developer Network password.

13. You should see the screen displaying "Registering your information....", followed by "Registration completed successfully".

14. It will then display the options you see in step no. 5.

15. Choose option 7 to save the license.

16. Choose option 2 to list the licenses to make sure the installation is registered correctly and then choose option 8 to quit the installer.

17. If the machine do not have direct internet access, then choose option 1 and note down the registration key displayed in the console. IMPORTANT – You do not need to exit the installer.

18. Go to http://reg.borland.com in your laptop/desktop (not the machine where you are installing the product). You will be presented with a screen as shown below.

19. Please provide the 20_characters_license _serial_number and registration key shown in the installation console and click "Continue" button.

20. Then, enter the BDN account and password and click "Login" as shown in the screen shot below. You should already be armed with a BDN account as this was the pre-requisite before installing.

21. Next, you will be taken to a page which shows the email address where the reg*.txt will be sent. And, on clicking "Register", you will be sent an email with the reg*.txt.

22. Check your email. You should receive an email with Subject header Borland Product Registration. In that email, you will be receiving an attachment named reg*.txt.

23. You need to copy this file and put it into the VisiBroker installation machine’s <VBROKERDIR>/license folder. IMPORTANT - If VisiBroker installed machine is an unix operating system, it would be preferred to do this in a separate unix console using the same non-root user login used to install the VisiBroker.

24. Since you’ve not exited the lmadm tool earlier, please go back to that console window and enter option 7 to save the license and option 2 to make sure the license is listed and then choose option 8 to quit the installer.

You have now registered VisiBroker successfully either with direct internet access or registering using web option.

Verification of license registration

1. Open a unix console or windows command prompt(depending upon in which OS you have installed VisiBroker). If it is an unix operating system, login using the non-root user(same user who installed VisiBroker).

2. Go to <VBROKERDIR>/bin folder. Default folder for unix operating system is /opt/MicroFocus/VisiBroker and for windows, it is C:\MicroFocus\VisiBroker.

3. Setup VisiBroker environment by running ". ./vbroker.sh" for unix OS or "vbroker.bat" for windows.

4. Go to <VBROKERDIR>/examples/vbroker/basic/bank_agent example folder to compile and run the server to verify if the installation has been installed properly.

5. Compile the example using the supported compiler of the OS where you are installing VisiBroker. You can refer the latest VisiBroker version 8.5's supported compilers here: http://supportline.microfocus.com/supportresources/VB85prodmatrix.aspx

Normally, if the "make" is in PATH(nmake in windows), you will need to just invoke "make -f Makefile_cpp" for CPP example and "make -f Makefile_java" for java example. In windows, you will need to invoke "nmake -f Makefile_cpp" for CPP example and "vbmake.bat" for java example. But please make sure that your compiler in the OS is a VisiBroker supported one.

6. Once the compilation is successful, run "osagent" from the same folder. This is a lookup service from where clients will receive the Server's IOR.

7. Then start the server as follows:

VisiBroker for C++:

./Server

In windows, run "Server.exe" from the example folder.

VisiBroker for Java:

vbj Server

8. The Server should start fine and display the object reference which is hosted by this server.

You have now registered and verified VisiBroker successfully.

If you encounter any license related issues during verification, please refer License Error Codes wiki for the explanation of license error codes and the respective solution.

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-11-05 09:42
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.