Hi,
i have noticed that on my machine the function searching for local JVMs does not work. I have installed the latest AdoptOpenJDK version(8.265) and and older Oracle JRE. Whenever I trigger the search for local machines nothing gets found. I have tried starting the OWS settings console as an admin but that does not help either. Attached is the debug log file for the machine containing an error showing during the search for local JVMs.
PS:
Consider enabling the upload for .log files in this forum.
Paul
Problem searching for local JVMs
-
- Posts: 15
- Joined: 17 Jun 2020, 14:42
Problem searching for local JVMs
- Attachments
-
- 2020-10-08_16_22_57.0-ows-settings.log.7z
- (2.73 KiB) Downloaded 540 times
-
- Posts: 232
- Joined: 27 Mar 2020, 09:55
Re: Problem searching for local JVMs
Can you please also provide us with the path of the directories where you have installed the JVMs
-
- Posts: 15
- Joined: 17 Jun 2020, 14:42
Re: Problem searching for local JVMs
C:\Program Files\AdoptOpenJDK\jre-8.0.265.01-hotspot
C:\Program Files\Java\jre1.8.0_202
C:\Program Files\Java\jre1.8.0_202
-
- Posts: 759
- Joined: 24 Mar 2020, 13:37
Re: Problem searching for local JVMs
Hi
I presume you are using OWS 1.2.1 on Windows.
There is an exception in the logs:
Ideally you should see a log message as follows:
I will investigate and come back to you.
I presume you are using OWS 1.2.1 on Windows.
There is an exception in the logs:
Code: Select all
[ITW-APP ][2020-10-08 16:23:08.707 MESZ][ERROR][sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:221)] Exception in thread "ows-pool-1" java.util.ServiceConfigurationError: com.openwebstart.jvm.localfinder.RuntimeFinder: Provider com.openwebstart.jvm.localfinder.MacRuntimeFinder not a subtype
Code: Select all
[ITW-CORE][2020-10-08 21:53:26.638 IST][INFO ][com.openwebstart.jvm.ui.RuntimeManagerPanel] Starting to search for local JVMs
[ITW-CORE][2020-10-08 21:53:26.642 IST][DEBUG][com.openwebstart.jvm.localfinder.WindowsRuntimeFinder] Searching for local runtimes
[ITW-CORE][2020-10-08 21:53:26.643 IST][DEBUG][com.openwebstart.jvm.localfinder.JdkFinder] About to look for local jdks at the following locations: [C:\Program Files (x86)\java, C:\Program Files\java, C:\Program Files (x86)\Amazon Corretto, C:\Program Files\Amazon Corretto, C:\Program Files (x86)\AdoptOpenJDK, C:\Program Files\AdoptOpenJDK, C:\Program Files (x86)\Zulu, C:\Program Files\Zulu, C:\Program Files (x86)\BellSoft, C:\Program Files\BellSoft, C:\cygwin64\home\Janak\.sdkman]
-
- Posts: 15
- Joined: 17 Jun 2020, 14:42
Re: Problem searching for local JVMs
Hi,
yes that is correct. I use OWS 1.2.1 on Windows 1909.
yes that is correct. I use OWS 1.2.1 on Windows 1909.
-
- Posts: 232
- Joined: 27 Mar 2020, 09:55
Re: Problem searching for local JVMs
We can reproduce the issue. Will get back to you once we have a fix.
-
- Posts: 14
- Joined: 29 Apr 2020, 15:29
Re: Problem searching for local JVMs
Hi Karakun,
we are running into the same problem here. OWS 1.2.1 on Win10 1909. We can't find our locally installed Amazon Corretto packages anymore. Installation paths are:
C:\Program Files (x86)\Amazon Corretto
C:\Program Files\Amazon Corretto
As we are in the middle of the internal package creation this is going to be a showstopper for our rollout. Do you guys know when and how this is going to be fixed?
Regards!
we are running into the same problem here. OWS 1.2.1 on Win10 1909. We can't find our locally installed Amazon Corretto packages anymore. Installation paths are:
C:\Program Files (x86)\Amazon Corretto
C:\Program Files\Amazon Corretto
As we are in the middle of the internal package creation this is going to be a showstopper for our rollout. Do you guys know when and how this is going to be fixed?
Regards!
-
- Posts: 759
- Joined: 24 Mar 2020, 13:37
Re: Problem searching for local JVMs
Thanks for reporting this problem. It is some problem with ServiceLoader which is not always reproducible.
We decided to fix it by doing away with the ServiceLoader.
We are making a bug fix release OWS 1.2.2. We will announce as soon as it is out.
We decided to fix it by doing away with the ServiceLoader.
We are making a bug fix release OWS 1.2.2. We will announce as soon as it is out.