Brekeke Forum Index » Brekeke SIP Server Forum

Post new topic   Reply to topic
Switching from Java to AdoptOpenJDK 11 (HotSpot)
Author Message
phaaf
Brekeke Junior Member


Joined: 18 Feb 2021
Posts: 5
Location: CT

PostPosted: Wed Dec 15, 2021 8:44 am    Post subject: Switching from Java to AdoptOpenJDK 11 (HotSpot) Reply with quote

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!

_________________
Paul Haaf - TPC Systems


Last edited by phaaf on Tue Jan 11, 2022 1:42 pm; edited 1 time in total
Back to top
View user's profile
Tata
Brekeke Master Guru


Joined: 27 Jan 2008
Posts: 223

PostPosted: Wed Dec 15, 2021 4:13 pm    Post subject: Reply with quote

Do you need to replace Oracle Java 8 with AdoptOpenJDK 11?
The wiki topic below will help you.
https://docs.brekeke.com/sip/upgrade-java-version-to-java-11-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-move-your-license-to-a-new-machine-online-activation-method

https://docs.brekeke.com/lic/how-to-move-your-license-to-a-new-machine-versions-running-v3-1-or-earlier-or-using-offline-activation-method
Back to top
View user's profile
phaaf
Brekeke Junior Member


Joined: 18 Feb 2021
Posts: 5
Location: CT

PostPosted: Tue Jan 11, 2022 1:43 pm    Post subject: Switching from Java to AdoptOpenJDK 11 (HotSpot) Reply with quote

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
Back to top
View user's profile
phaaf
Brekeke Junior Member


Joined: 18 Feb 2021
Posts: 5
Location: CT

PostPosted: Wed Jan 12, 2022 9:29 am    Post subject: Switching from Java to AdoptOpenJDK 11 (HotSpot) Reply with quote

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
Back to top
View user's profile
redroof
Brekeke Talented


Joined: 16 Nov 2007
Posts: 97

PostPosted: Wed Jan 12, 2022 1:57 pm    Post subject: Reply with quote

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
Back to top
View user's profile
Brett
Brekeke Addict


Joined: 23 Dec 2014
Posts: 46
Location: CA

PostPosted: Wed Jan 12, 2022 2:00 pm    Post subject: Reply with quote

Hi Phaaf,

try this way.
https://docs.brekeke.com/sip/update-java-used-by-brekeke-sip-server-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
Back to top
View user's profile
phaaf
Brekeke Junior Member


Joined: 18 Feb 2021
Posts: 5
Location: CT

PostPosted: Fri Jan 14, 2022 8:03 am    Post subject: Reply with quote

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
Back to top
View user's profile
phaaf
Brekeke Junior Member


Joined: 18 Feb 2021
Posts: 5
Location: CT

PostPosted: Mon Apr 11, 2022 11:08 am    Post subject: Changing server licenses Reply with quote

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
Back to top
View user's profile
redroof
Brekeke Talented


Joined: 16 Nov 2007
Posts: 97

PostPosted: Mon Apr 11, 2022 11:20 am    Post subject: Reply with quote

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-move-your-license-to-a-new-machine-online-activation-method
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    Brekeke Forum Index » Brekeke SIP Server Forum All times are GMT - 7 Hours
Page 1 of 1