We have an existing J2EE 1.4 (servlets/JSP only) web application we'd like to add a management interface to, so application server administrators can manage our application via the JBoss JMX/Web Console (get status, alter configuration, get monitoring stats).
I've been advised to create a new .sar file containing our JMX MBeans, but my question is how do we integrate this with our web application? How do I configure the classloading? Our new ear file is as follows: - main application (.war) - separate configuration application (.war) - new JMX MBeans (.sar) The two .war files need to run under isolated classloaders, to prevent clashes of code and libraries. How can I configure the .sar to have access to the main application's classes? The wiki seemed to suggest that classloading can only be specified at one level - in an ear file that would be in the jboss-app.xml - and lower levels - the .war's and .sar would have settings ignored. I don't really want to use Unified classloading - that seems to be all or nothing - because that also breaks certain parts of our application and prevents us from being able to deploy more than one copy of our applciation on a single app server instance. Am I right in thinking this is even possible in JMX? Is this a sledgehammer to crack a coconut? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4018775#4018775 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4018775 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user