Skip to content

Naming Instance type options in Payara Server properties - #8172

Merged
jGauravGupta merged 1 commit into
apache:masterfrom
jGauravGupta:netbeans-8138
Oct 14, 2025
Merged

jGauravGupta merged 1 commit into
apache:masterfrom
jGauravGupta:netbeans-8138

Conversation

@jGauravGupta

Copy link
Copy Markdown
Contributor

This PR renames the instance type 'None' default option in Payara Server properties to 'Remote'.

@jGauravGupta jGauravGupta added the Java EE/Jakarta EE [ci] enable enterprise job label Jan 20, 2025
@jGauravGupta jGauravGupta added this to the NB25 milestone Jan 20, 2025
@apache apache locked and limited conversation to collaborators Jan 20, 2025
@apache apache unlocked this conversation Jan 20, 2025
@matthiasblaesing

Copy link
Copy Markdown
Contributor

@jGauravGupta I think there is a fourth option missing: "Local" and I think this shows another, but related problem. Please follow these steps:

  1. Create a local payara instance
  2. Check the context menu, you notice, that you have the control options available (the various Start options):
    grafik
  3. Open the "Properties" for the entry and Close it again
  4. Check context menu again, the options are not available anymore:
    grafik

I think the "local" instance is "converted" to a remote one at that moment.

@ebarboni ebarboni modified the milestones: NB25, NB26 Jan 24, 2025
@neilcsmith-net neilcsmith-net modified the milestones: NB26, NB27 Apr 16, 2025
@matthiasblaesing

Copy link
Copy Markdown
Contributor

@jGauravGupta this PR moved from target NB25 to NB26, to NB27 and it looks to be postponed again. Want to have another look?

@neilcsmith-net neilcsmith-net added the stale No recent activity - likely to be closed. label Jul 18, 2025
@neilcsmith-net neilcsmith-net removed this from the NB27 milestone Jul 18, 2025
@neilcsmith-net
neilcsmith-net marked this pull request as draft July 18, 2025 14:22
@jGauravGupta
jGauravGupta marked this pull request as ready for review July 27, 2025 05:22
@jGauravGupta

Copy link
Copy Markdown
Contributor Author

Hi, sorry for the delayed reply. This option is only visible in the properties for remote instances (Default, WSL, Docker), and is not available for local instances.

@matthiasblaesing

Copy link
Copy Markdown
Contributor

@jGauravGupta please follow the steps I provided. The issue here is that the local instance I created gets converted into a remove instance.

@jGauravGupta

Copy link
Copy Markdown
Contributor Author

Hi,

I have verified that the issue where the local instance gets converted into a remote instance has already been fixed in PR #8542
for NB27.

@matthiasblaesing

Copy link
Copy Markdown
Contributor

@jGauravGupta Thanks for the reply. Indeed the start/stop action keep working, so that is indeed fixed.

For the naming have a look at this screenshot:

grafik

This is a local instance, "Instance Type: Remote" looks a bit strange in this case. I admit though, that "None" is not much better. Would "Remote/Local" or "Normal" make sense?

@jGauravGupta

Copy link
Copy Markdown
Contributor Author

Hi @matthiasblaesing, thanks for catching the UX issue. I’m marking the instance type field as visible(false) for local servers.

@mbien mbien removed the stale No recent activity - likely to be closed. label Oct 9, 2025
@mbien

mbien commented Oct 9, 2025

Copy link
Copy Markdown
Member

please rebase before integration. this branch is from ~january looks like.

@matthiasblaesing matthiasblaesing left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I only did a very quick build/smoke test, but the local instance is now shown without the type label and thus this looks fine to me.

Prior to the built I merged current master into the PR branch, so that observation should be closed to a rebased version.

@jGauravGupta freeze is on October 15th, so would be good if you could rebase+merge soon.

@mbien mbien added this to the NB28 milestone Oct 10, 2025
Hide the Instance type in Local Server instance
@jGauravGupta
jGauravGupta merged commit 0621b78 into apache:master Oct 14, 2025
30 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Java EE/Jakarta EE [ci] enable enterprise job

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants