unichtich is right that the warning can be ignored, but you can also get rid of it.
To get rid of the warning, edit the file <glassfish_home>/glassfish/config/osgi.properties and change the property core.bundles :
core.bundles=\ ${com.sun.aas.installRootURI}modules/endorsed/ \ ${obr.bundles} \ ${hk2.bundles} \ ${com.sun.aas.installRootURI}modules/glassfish.jar
in
core.bundles=\ ${com.sun.aas.installRootURI}modules/endorsed/ \ ${hk2.bundles} \ ${com.sun.aas.installRootURI}modules/glassfish.jar
The warning occurs because the BundleProvisioner reads a property in osgi.properties called glassfish.osgi.auto.start , and it, in turn, refers to other properties such as core.bundles .
The property that was deleted above, obr.bundles , is currently commented on. The comment expands to the point that BundleProvisioner reads and issues a warning.
source share