netbeans icon indicating copy to clipboard operation
netbeans copied to clipboard

Support for Payara Server instance running on WSL

Open jGauravGupta opened this issue 2 years ago • 7 comments

This PR adds support for the Payara Server instance running on WSL. Usually, developers can register instances running on WSL as remote servers in Apache NetBeans. However, with this PR, developers can take advantage of new features that allow them to view the log file in real-time, and to auto-deploy on save action both static (.html) and dynamic (.java) applications to the Payara Server running on WSL.

To test this feature, start the server, set a password for the user, and enable the secure domain:

./asadmin start-domain
./asadmin change-admin-password
./asadmin enable-secure-admin
./asadmin restart-domain

image

Register the server in Apache NetBeans as Remote Server including the location of the server from the Windows disk.

image image

jGauravGupta avatar Mar 29 '23 07:03 jGauravGupta

out of curiosity, who is FISH-7079? We are at 5xxx right now, the payara repo is at 6xxx and glassfish is at a very high number :)

mbien avatar Mar 29 '23 16:03 mbien

Hi @mbien , Sorry for the confusion, I have updated the PR title. FISH-7079 is internal jira ticket number.

jGauravGupta avatar Mar 30 '23 08:03 jGauravGupta

Hi @mbien, Can this feature be planned for the next release?

jGauravGupta avatar Nov 06 '23 13:11 jGauravGupta

@jGauravGupta sure but it would need reviews. If you know a committer who is interested in this, feel free to tag. Adding NB21 milestone. (I am not even using windows for anything)

mbien avatar Nov 06 '23 18:11 mbien

The code looks good, but I haven't had a chance to perform a full review yet. I will try to run this soon and I'll be in touch. Thanks

juneau001 avatar Nov 10 '23 18:11 juneau001

Thanks @juneau001 and @mbien :)

jGauravGupta avatar Nov 15 '23 06:11 jGauravGupta

approved but not retested recently.

ebarboni avatar Apr 18 '24 11:04 ebarboni

@jGauravGupta fyi feature freeze for NB 24 is planned for October 21.

mbien avatar Oct 11 '24 21:10 mbien

FISH-7079 branch is more than 1.5 year old getting error on checkout : git checkout FISH-7079 Updating files: 100% (15880/15880), done. fatal: not a git repository: .github/actions/delete-artifact/../../../.git/modules/.github/actions/delete-artifact

I have created a new PR with latest master: https://github.com/apache/netbeans/pull/7885

jGauravGupta avatar Oct 18 '24 13:10 jGauravGupta

git checkout FISH-7079 Updating files: 100% (15880/15880), done. fatal: not a git repository: .github/actions/delete-artifact/../../../.git/modules/.github/actions/delete-artifact

ah, we used to have a git sub-module for a specific action but removed it at some point. This might be the error when the local copy was cloned with --recurse-submodules, since the sub-module is no longer available

mbien avatar Oct 18 '24 13:10 mbien