[ 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
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://wso2.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
Esb-java-dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/esb-java-dev