Do you know how Netbeans decides which file name to use for application resources: sun-resources.xml or glassfish-resources.xml? Is this name customizable or hardcoded?
As far as I understand, GlassFish supports sun-resources.xml for backward compatibility. But according to the Application Deployment Guide, the preferred file name is glassfish-resources.xml.
I am running a relatively recent version of Netbeans - 8.0.2 with GlassFish 4.1, but I am getting the generated sun-resources.xml file. It looks weird and confusing.
On the other hand, I saw people who have problems with glassfish-resources.xml: https://netbeans.org/bugzilla/show_bug.cgi?id=243034 . The recommended solution - rename glassfish-resources.xml to sun-resources.xml - also contradicts GlassFish recommendations.
Best wishes
source share