Skip to main content

glassfish4 can't not open OSGi Console

Please note these java.net forums are being decommissioned and use the new and improved forums at https://community.oracle.com/community/java.
No replies
nivance
Offline
Joined: 2014-04-22

1、"glassfish-osgi-console-plugin.jar,felix-webconsole-extension.jar,org.apache.felix.webconsole.jar,osgi-http.jar,glassfish-osgi-console-plugin.jar" are under ${GLASSFISH_HOME}/glassfish/modules/autostart
2、-Dorg.glassfish.additionalOSGiBundlesToStart=org.apache.felix.shell,org.apache.felix.gogo.runtime,org.apache.felix.gogo.shell,org.apache.felix.gogo.command,org.apache.felix.shell.remote,org.apache.felix.fileinstall

This is my OSGi Console config. But I can't open the OSGi Console after restarted glassfish.It hints something like "http://localhost:8080/osgi/system/console/bundles".

The browser shouldn't be connect to localhost, it should connect to the glassfish server.

Am I miss some configurations?