Switching from Java to AdoptOpenJDK 11 (HotSpot)

Discuss any topic about Brekeke SIP Server.

Moderator: Brekeke Support Team

Post Reply
phaaf
Posts: 5
Joined: Thu Feb 18, 2021 7:32 am
Location: CT

Switching from Java to AdoptOpenJDK 11 (HotSpot)

Post by phaaf »

1. Brekeke Product Name and Version:
BSS 3.9.1.3 Standard

2. Java version:
1.8.0_201

3. OS type and the version:
Windows Server 2012 R2

4. UA (phone), gateway or other hardware/software involved:
Cisco CM

5. Your problem:
The site wants to get away from Java due to new license requirements in a virtual environment.
I am looking to set up AdoptOpenJDK 11 (HotSpot) as is listed in the compatibility document.

I need to do this with minimal downtime and need advice.

Thank you!

I now have a fresh server available and I am attempting to build this, I installed AdoptOpenJDK 11, I can not get Brekeke SIP installer past the Java location. I can find the jvm.dll but pointing to this file fails.

Suggestions welcome!
Last edited by phaaf on Tue Jan 11, 2022 1:42 pm, edited 1 time in total.
Paul Haaf - TPC Systems
Tata
Posts: 223
Joined: Sun Jan 27, 2008 1:03 pm

Post by Tata »

Do you need to replace Oracle Java 8 with AdoptOpenJDK 11?
The wiki topic below will help you.
https://docs.brekeke.com/sip/upgrade-ja ... 1-or-later

But, to avoid downtime, I recommend that you prepare another Windows machine to install AdoptOpenJDK 11 and Brekeke SIP Server latest version freshly.
If so, the old SIP Server can keep running while you are deploying new machine.
After you install Brekeke SIP Server in the new machine, transfer the license to the new SIP Server, and then, import the backup file exported from the old SIP Server.

https://docs.brekeke.com/lic/how-to-mov ... ion-method

https://docs.brekeke.com/lic/how-to-mov ... ion-method
phaaf
Posts: 5
Joined: Thu Feb 18, 2021 7:32 am
Location: CT

Switching from Java to AdoptOpenJDK 11 (HotSpot)

Post by phaaf »

I now have a fresh server available and I am attempting to build this, I installed AdoptOpenJDK 11, I can not get Brekeke SIP installer past the Java location. I can find the jvm.dll but pointing to this file fails.

Suggestions welcome!
Paul Haaf - TPC Systems
phaaf
Posts: 5
Joined: Thu Feb 18, 2021 7:32 am
Location: CT

Switching from Java to AdoptOpenJDK 11 (HotSpot)

Post by phaaf »

I have been trying all morning to load the new server with OpenJDK and get the SIP installer to run.
The only way it worked was to install Oracle JDK 17 and then I was able to proceed. I now have Brekeke SIP Sever 3.12.1.5 and JDK 17.0.1 running with a trial license.
I don't know how to go about migrating over to OpenJDK 11 so I can retire the Oracle version.
Paul Haaf - TPC Systems
redroof
Posts: 97
Joined: Fri Nov 16, 2007 1:46 pm

Post by redroof »

Have you tried 3.12.1.5 with AdoptOpenJDK 11?
If it was 3.9.1.3, the installation will fail because that version didn't support AdoptOpenJDK.
If you want to try AdoptOpenJDK 11, please use a version 3.12.x.x
The latest version is 3.12.2.2.

https://docs.brekeke.com/sip/sip-history
https://www.brekeke.com/downloads/sip-server.php
Brett
Posts: 47
Joined: Tue Dec 23, 2014 11:57 am
Location: CA

Post by Brett »

Hi Phaaf,

try this way.
https://docs.brekeke.com/sip/update-jav ... on-windows

I think your java path on registory may not point out the adoptJDK.

If so,you need to move to the [Java] tab and enter the file path of jvm.dll at [Java Virtual Machine] field manually.
Brett
phaaf
Posts: 5
Joined: Thu Feb 18, 2021 7:32 am
Location: CT

Post by phaaf »

I was finally able to get this to load by installing Java 17, then ran the BSS installer for version 3.12.1.5. I applied a trial license and got BSS to launch.

I then stopped services and un-installed Java 17. Ran the installer for OpenJDK11 and then relaunched BSS.

Next, I will schedule the migration and cutover from the current production server.

Thanks for the suggestions.
Paul Haaf - TPC Systems
phaaf
Posts: 5
Joined: Thu Feb 18, 2021 7:32 am
Location: CT

Changing server licenses

Post by phaaf »

I have prepared a new Brekeke SIP server but the temp license expired while waiting to schedule the cut over.

I have to move from the old production to new tomorrow after IT swapps out the IP addresses.

Do I need to do anything ahead of the actual move?
Paul Haaf - TPC Systems
redroof
Posts: 97
Joined: Fri Nov 16, 2007 1:46 pm

Post by redroof »

You may need to request a license transfer if it was activated with Offline activation method.
https://docs.brekeke.com/lic/license-transfer-request

Otherwise, re-activate the license at new location.
https://docs.brekeke.com/lic/how-to-mov ... ion-method
Post Reply