I successfully installed GlassFish. However, when I start a server, I get this two warning messages:
WARNING: Skipping entry because it is not an absolute URI.
What is that about ?
Launching GlassFish on Felix platform
Aug 09, 2014 10:38:38 PM com.sun.enterprise.glassfish.bootstrap.osgi.BundleProvisioner createBundleProvisioner
INFO: Create bundle provisioner class = class com.sun.enterprise.glassfish.bootstrap.osgi.BundleProvisioner.
Aug 09, 2014 10:38:38 PM com.sun.enterprise.glassfish.bootstrap.osgi.BundleProvisioner$DefaultCustomizer getLocations
WARNING: Skipping entry because it is not an absolute URI.
Aug 09, 2014 10:38:38 PM com.sun.enterprise.glassfish.bootstrap.osgi.BundleProvisioner$DefaultCustomizer getLocations
WARNING: Skipping entry because it is not an absolute URI.
Registered com.sun.enterprise.glassfish.bootstrap.osgi.EmbeddedOSGiGlassFishRuntime@162cf6a in service registry.
Registry Info:: Total repositories: 1, Total modules = 293
...
Best Solution
unwichtich 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 core.bundles property from:to:
The warning is happening because BundleProvisioner reads a property in osgi.properties named glassfish.osgi.auto.start and it in turn references other properties like core.bundles.
The property that was removed above, obr.bundles, is currently commented out. The comment is expanded to a space which BundleProvisioner reads and issues a warning about.