JBoss Community

How to model the (optional) OSGi webconsole in AS7

created by David Bosschaert in JBoss AS7 Development - View the full discussion

The current subsystem of OSGi in AS7 is nicely lean and mean. It provides the OSGi core framework only with the standard OSGi JMX API added in.

 

While this is nice for deployments, it's not so great as a developer setup. Although you can interact with framework using the JMX API using something like JConsole as a developer you often want something more focused on the OSGi. In the OSGi installer we provide a WebConsole which is quite a nice way to interact with the OSGi framework (see here for a screenshot: http://docs.jboss.org/osgi/userguide/html/ChapGettingStarted.html#SecWebConsole ), and I would like to make this webconsole easily available to users who want it directly in the AS7 download...

 

I can see two options here:

  1. add another profile to the domain.xml/standalone.xml files that people could pull into their default profile
  2. alternatively I could simply add commented out XML to the osgi profile that people can un-comment to pull this functionality in

 

Thoughts anyone?

Reply to this message by going to Community

Start a new discussion in JBoss AS7 Development at Community