payara / ecosystem-support

Placeholder repository to handle community requests for the Payara Platform ecosystem tools
3 stars 2 forks source link

Bug Report: Eclipse Payara Tools Not able to launch server #67

Closed zuryx closed 10 months ago

zuryx commented 1 year ago

Brief Summary

Eclipse Version: 2021-12 (4.22.0) Eclipse Build id: 20211202-1639 Payara version: 5.193

Hi everybody :) ,

When I try to launch payara...

image

I got the following error:

image

Expected Outcome

Payara should start in the same way I'm available to do it from terminal with the following command:

./bin/asadmin start-domain domain1

image

Current Outcome

Payara fails with the following error:

image

Unrecognized option: --add-opens=java.base/jdk.internal.loader=ALL-UNNAMED Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit.

Eclipse .log

!ENTRY fish.payara.eclipse.tools.server 4 150 2023-05-03 18:34:10.700 !MESSAGE Unable to start server due following issues: !STACK 0 fish.payara.eclipse.tools.server.exceptions.PayaraLaunchException: Launch process failed with exit code 1 at fish.payara.eclipse.tools.server.starting.PayaraStartJob.call(PayaraStartJob.java:116) at fish.payara.eclipse.tools.server.starting.PayaraStartJob.call(PayaraStartJob.java:1) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) at java.base/java.lang.Thread.run(Thread.java:833)

Reproducer

  1. Create new payara server and runtime environment image
  2. Start server image
  3. Start fails image

Operating System

macOS Monterey

JDK Version

JDK 1.8.0_162

Ecosystem Tool

Eclipse IDE Plugin

deetewari commented 1 year ago

Hi @zuryx,

Many thanks for sharing the details here. Can you please let me know which architecture such as x86_64 are you running the JDK and Eclipse IDE on and whether you modified the domain.xml of domain1?

the --add-opens option will come into effect only when JDK version is greater than 9. Also, can you please verify that the JAVA_HOME variable exists and points to the JDK 8 folder and not some other JDK version.

asadmin start-domain -v should help you identify the JDK versions involved.

Let me know if this helps. Warm regards Deependra

felixif commented 11 months ago

Hello @zuryx,

We have updated the plugin since this issue was open. Do you still experience the same issues using the Eclipse plugin?

github-actions[bot] commented 11 months ago

Greetings, It's been more than 5 days since we requested more information or an update from you on the details of this issue. Could you provide an update soon, please? We're afraid that if we do not receive an update, we'll have to close this issue due to inactivity.

github-actions[bot] commented 10 months ago

Greetings, It's been more than 5 days since this issue was identified as abandoned. We have closed this issue due to inactivity, please feel free to re-open it if you have more information to share.