payara / ecosystem-support

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

Bug Report: Payara Micro - Hot redeploy doesn't work in Netbeans/FISH-7533 #63

Open sogawa-sps opened 1 year ago

sogawa-sps commented 1 year ago

Brief Summary

Payara Micro hot redeployment in Netbeans doesn't work. As it can be seen in the reproduce, there is a message in the status bar that the app was deployed, but nothing happens in fact.

If I try to re-run app explicitly there is the following message in the logs:

--- maven-compiler-plugin:3.1:compile (default-cli) @ my-app ---
Nothing to compile - all classes are up to date

So the only option is to:

  1. Stop the Payara Micro instance
  2. Manually push the "Build" button
  3. Run it again

The issue reproduces with all recent versions of Payara Micro and Netbeans on both Windows 10 and 11.

All settings are valid:

2023-01-05 12_26_04-Project Properties - payara-test - compile

2023-01-05 12_26_41-Project Properties - payara-test - run

2023-01-05 12_27_04-Project Properties - payara-test - payara

I can provide a reproducer if needed but behavior is the same for any Payara Micro project.

Expected Outcome

Hot redeployment works

Current Outcome

Hot redeployment doesn't work

Reproducer

Payara - reload bug

Operating System

Windows 10, 11

JDK Version

OpenJDK 11

Payara Distribution

Payara Micro

shub8968 commented 1 year ago

Hi @sogawa-sps,

It has been escalated as FISH-7533 .

jGauravGupta commented 1 year ago

Created FISH-7545 for the actual bug and FISH-7533 for the improvement of docs. Note: This feature is working well in the Apache NetBeans 17 and is able to reproduce with the Apache NetBeans 18.