Skip to main content

Source code revision

svn

summary: GLASSFISH-18228: The OSGi Admin Console seems to randomly swap between port 8080 and 4848. This started happening as our earlier solution of confiuguring via a cfg file in autostart dir
revision: 52276
author: Sahoo
date: 2012-01-24 18:16:13 UTC (4 years)
message: GLASSFISH-18228: The OSGi Admin Console seems to randomly swap between port 8080 and 4848.
This started happening as our earlier solution of confiuguring via a cfg file in autostart dir
stopped working when we stopped watching autostart by fileinstall. So, we are now configuring
using an activator. We are using the existing weconsole extension bundle to do so.
Since the existing webconsole extension was a fragment, we have turned it into a real bundle
so that we can add an activator. This meant, we have had to come up with a different strategy
to customize the branding of the console. The branding is now provided via custom BrandingPlugin.
This branding plugin allows further customization via a fragemnt if the fragment has a resource
META-INF/webconsole.properties in it.

This is a backport from trunk.
Change Path Actions
M branches/3.1.2/osgi-platforms/felix-webconsole-extension
M branches/3.1.2/osgi-platforms/felix-webconsole-extension/osgi.bundle
M branches/3.1.2/osgi-platforms/felix-webconsole-extension/pom.xml
A branches/3.1.2/osgi-platforms/felix-webconsole-extension/src/main/java
A branches/3.1.2/osgi-platforms/felix-webconsole-extension/src/main/java/org
A branches/3.1.2/osgi-platforms/felix-webconsole-extension/src/main/java/org/glassfish
A branches/3.1.2/osgi-platforms/felix-webconsole-extension/src/main/java/org/glassfish/osgi
A branches/3.1.2/osgi-platforms/felix-webconsole-extension/src/main/java/org/glassfish/osgi/felixwebconsoleextension
A branches/3.1.2/osgi-platforms/felix-webconsole-extension/src/main/java/org/glassfish/osgi/felixwebconsoleextension/FelixWebConsoleExtensionActivator.java
A branches/3.1.2/osgi-platforms/felix-webconsole-extension/src/main/java/org/glassfish/osgi/felixwebconsoleextension/GlassFishBrandingPlugin.java
M branches/3.1.2/osgi-platforms/felix-webconsole-extension/src/main/resources/META-INF/webconsole.properties
M branches/3.1.2/osgi-platforms/felix/src/main/resources/glassfish/modules/autostart
M branches/3.1.2/osgi-platforms/felix/src/main/resources/glassfish/modules/autostart/org.apache.felix.webconsole.internal.servlet.OsgiManager.cfg
M branches/3.1.2/packager/felix/src/main/resources/pkg_proto.py
 
 
Close
loading
Please Confirm
Close