In the final build of 3.1, we had to disable fileinstall bundle which is
responsible for autostarting bundles placed in modules/autostart as well
as autodeploy/bundles. So, you need to enable fileinstall bundle to get
the desired functionality. There is a system property called
org.glassfish.additionalOSGiBundlesToStart in domain.xml that contains a
list of additional bundles to be started by glassfish. One has to add
org.apache.felix.fileinstall there. Here are a few ways to do it:
Option #1: You can delete the property and create it again using
following asadmin commands:
asadmin delete-jvm-options --target server-config
I’ve tried this but didn’t succeed.
I installed the component ‘glassfish-osgi-admin-console‘ too.
However, the system complains displaying ‘requested URL
/osgi/system/console/bundles was not found on this server’.