You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by "hink084 (via GitHub)" <gi...@apache.org> on 2025/03/11 20:12:35 UTC
[I] Payara Issues in NB25 - Starting Server / Specifying JDK [netbeans]
hink084 opened a new issue, #8314:
URL: https://github.com/apache/netbeans/issues/8314
### Apache NetBeans version
Apache NetBeans 25
### What happened
I am not able to start Payara in NetBeans 25 nor am I able to swap JDK's. See recreation steps below.
### Language / Project Type / NetBeans Component
Java / Jakarta EE / Servers
### How to reproduce
1) Download and extract the NetBeans binary zip file.
2) Modify the JDK home in the netbeans.conf to JDK 21.0.5+11 (exact version doesn't really matter).
`netbeans_jdkhome="C:\Development\Java\jdk-21.0.5+11"`
3) Execute netbeans64.exe.
4) Install Plugins: Base IDE, HTML5, JavaSE, Java Web and EE, Service Registry, Tools
5) Add Payara Server v6.2025.2 (Tools --> Servers)
6) Window --> Services --> Servers --> Right Click --> Unable to Start Payara

7) Add JDK 17 (Tools --> Java Platforms) (could also be JDK 17.x or 21.x)
8) Unable to swap Java Platforms for Payara Server; DDL is disabled. (Tools --> Servers --> Java)

### Did this work correctly in an earlier version?
Apache NetBeans 24
### Operating System
Windows 11 Enterprise 23H2
### JDK
Eclipse Adoptium OpenJDK 21.0.5+11
### Apache NetBeans packaging
Apache NetBeans binary zip
### Anything else
[messages.log](https://github.com/user-attachments/files/19197499/messages.log)
### Are you willing to submit a pull request?
No
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [I] Payara Issues in NB25 - Starting Server / Specifying JDK [netbeans]
Posted by "PeterHolt46 (via GitHub)" <gi...@apache.org>.
PeterHolt46 commented on issue #8314:
URL: https://github.com/apache/netbeans/issues/8314#issuecomment-2902067039
I have the same problem in both NB25 and NB26.
The Java version cannot be changed but differs between Payara versions.
For Payara 6.2023.10 - 6.2025.4 It is static on JDK 17.
For Payara 7.2025.1 Alpha 1 is static on JDK 21 .
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [I] Payara Issues in NB25 - Starting Server / Specifying JDK [netbeans]
Posted by "jGauravGupta (via GitHub)" <gi...@apache.org>.
jGauravGupta closed issue #8314: Payara Issues in NB25 - Starting Server / Specifying JDK
URL: https://github.com/apache/netbeans/issues/8314
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [I] Payara Issues in NB25 - Starting Server / Specifying JDK [netbeans]
Posted by "PeterHolt46 (via GitHub)" <gi...@apache.org>.
PeterHolt46 commented on issue #8314:
URL: https://github.com/apache/netbeans/issues/8314#issuecomment-2914899637
Have tested the workaround, and it works for me.
Just had to change the:
`<attr name="java.platform" stringvalue="C:\Program Files\Zulu\zulu-21"/>`
to point to the Java version I needed.
Thanks!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [I] Payara Issues in NB25 - Starting Server / Specifying JDK [netbeans]
Posted by "lee-peter24 (via GitHub)" <gi...@apache.org>.
lee-peter24 commented on issue #8314:
URL: https://github.com/apache/netbeans/issues/8314#issuecomment-3029754348
In macos, will be:
` <attr name="domainsfolder" stringvalue="/Users/lee-peter/payara6/glassfish/domains/domain1"/>`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [I] Payara Issues in NB25 - Starting Server / Specifying JDK [netbeans]
Posted by "hink084 (via GitHub)" <gi...@apache.org>.
hink084 commented on issue #8314:
URL: https://github.com/apache/netbeans/issues/8314#issuecomment-2888745389
Any version of the JDK or Payara breaks in the bug description above. This bug was introduced with PR #8144 via e43e28ca5bd90703f21933c97b0b3efa830e121c. @jGauravGupta
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [I] Payara Issues in NB25 - Starting Server / Specifying JDK [netbeans]
Posted by "bradvido (via GitHub)" <gi...@apache.org>.
bradvido commented on issue #8314:
URL: https://github.com/apache/netbeans/issues/8314#issuecomment-2904954555
Also getting hit with this using NB 26 and JDK 7.0.15+6, can't start payara server.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [I] Payara Issues in NB25 - Starting Server / Specifying JDK [netbeans]
Posted by "TomoakiChenSinica (via GitHub)" <gi...@apache.org>.
TomoakiChenSinica commented on issue #8314:
URL: https://github.com/apache/netbeans/issues/8314#issuecomment-2914705417
Hi everyone,
I believe I've found a **"temporary" workaround** for this issue. I tested this on **Windows 11 with NetBeans 26** across multiple Payara versions (e.g., **Payara 4.1.2.17** , **Payara 5.2022.3**, **Payara 6 - ml-6.2025.5**). It seems the root cause is that NetBeans 25 (and later versions) remove the `domainsfolder` setting from the Services configuration.
---
## Workaround:
Here's how to apply it:
1. First, locate your **NetBeans User Directory**. You can find this by going to **Help --> About** in NetBeans.
2. Navigate to `config/PayaraEE6/Instances` within that directory and find the `.nbattrs` file (this is an XML-formatted file).
3. Each `<fileobject>` corresponds to a Service you've configured. Identify the one you are currently using.
4. Add the following line inside the relevant `<fileobject>`:
```xml
<attr name="domainsfolder" stringvalue="[Your Domains Folder]"/>
```
5. **Restart NetBeans** for the changes to take effect.
---
## When it occurs:
This issue seems to occur specifically after right-clicking on the affected Service and opening its **Properties** for editing.
I hope this helps others who are facing the same problem! Let me know if you have any questions or if this workaround works for you.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [I] Payara Issues in NB25 - Starting Server / Specifying JDK [netbeans]
Posted by "mpizeli (via GitHub)" <gi...@apache.org>.
mpizeli commented on issue #8314:
URL: https://github.com/apache/netbeans/issues/8314#issuecomment-2757598794
i dont know if it will help, same issue with jdk11 and payara 5. Also had 17 on netbeans. removed the 11 and worked
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists