Asankha, thanks for the quick solution. I'll check it out today or tomorrow.
Regards, Eric > -----Original Message----- > From: Asankha Perera (JIRA) [mailto:[EMAIL PROTECTED] > Sent: Wednesday, February 06, 2008 11:00 AM > To: Hubert, Eric > Subject: [jira] Resolved: (ESBJAVA-425) Allow the ESB to be > started/stopped from within a web application. > > [ http://wso2.org/jira/browse/ESBJAVA-425?page=all ] > > Asankha Perera resolved ESBJAVA-425. > ------------------------------------ > > Resolution: Fixed > > Hi All > > The attached simple WAR sample demonstrates how a custom application could > be built to manage a simple cluster of ESB nodes > > Configuration > edit webapp/WEB-INF/classes/conf/wrapper.conf and include the following to > enable the Java Service Wrapper to be accessible over JMX (See > http://wrapper.tanukisoftware.org/doc/english/jmx.html) > > wrapper.java.additional.13=-Dcom.sun.management.jmxremote.port=9999 > wrapper.java.additional.14=- > Dcom.sun.management.jmxremote.authenticate=false > wrapper.java.additional.15=-Dcom.sun.management.jmxremote.ssl=false > wrapper.java.additional.16=- > Dorg.tanukisoftware.wrapper.WrapperManager.mbean=true > > Now, deploy the attached WAR file, and configure on its web.xml, the JMX > URL for each of the managed servers, the admin username and password as > context-parm's > > e.g. > <context-param> > <param-name>server1</param-name> > <param-value>service:jmx:rmi:///jndi/rmi://10.100.1.69:1099/esb, > admin, admin</param-value> > </context-param> > <context-param> > <param-name>server2</param-name> > <param-value>service:jmx:rmi:///jndi/rmi://10.100.1.69:1100/esb, > admin, admin</param-value> > </context-param> > > Once the WAR is deployed on a Web application container, you will get a UI > to manage the configured instances > > > Allow the ESB to be started/stopped from within a web application. > > ------------------------------------------------------------------ > > > > Key: ESBJAVA-425 > > URL: http://wso2.org/jira/browse/ESBJAVA-425 > > Project: WSO2 ESB > > Issue Type: New Feature > > Affects Versions: NIGHTLY > > Environment: Not Applicable > > Reporter: Alex Reis > > Assigned To: Asankha Perera > > > > Write a sample that shows how to start/stop/restart the ESB from a web > application. For example a > > portlet that can be used to control an ESB instance and then a user > > could just double it up to build a page of monitoring/control for a > > cluster of WSO2 engines _______________________________________________ Esb-java-user mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/esb-java-user
