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-unsubscr...@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@netbeans.apache.org
For additional commands, e-mail: notifications-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to