*******************************************************************************
*                                                                             *
*                         Installation on JOnAS 4.8.x                         *
*                                                                             *
*******************************************************************************

The eventswitch is composed of  : 
- an EAR containing EJBs which persists monitoring datas in a DB
- a RAR containing the Mule ESB and its dependencies
- a configuration file : eventswitch-config.xml

****************** 
* Requirements
******************

- Eaysbeans (EJB 3 container) v 1.0.1

****************** 
* Configuration
******************

The configuration file for the Eventswitch is eventswitch-config.xml
Explanations on configuration parameters are available as commentaries 
  of this file.
Most important parameters are MBeanCmd command definitions in the element 
  <mule-descriptor name="MBeanCmd_wrapper"> line 85.

****************** 
* Installation
****************** 

- Launch install.[bat|sh] scripts to install the Eventswitch. 
Note that the environment variables JONAS_ROOT [and JONAS_BASE] must be set. 

OR

- Copy eventswitch-config.xml in $JONAS_BASE/conf
- Copy eventswitch-ear-x.y.z.ear in $JONAS_BASE/easybeans-deploy
- Copy eventswitch-rar-x.y.z.rar in $JONAS_BASE/rars

****************** 
* Start
******************

eventswitch-rar-x.y.z.rar needs eventswitch-ear-x.y.z.ear to be started, 
  to be deployed.
  
****************** 
* Usage of Extractor
******************

java -jar eventswitch-extractor-x.y.z-SNAPSHOT-jar-with-dependencies.jar \ 
  -Wrapper.LOOKUP_BEAN org.ow2.jasmine.monitoring.eventswitch.beans.impl.JasmineEventSLBImpl_org.ow2.jasmine.monitoring.eventswitch.beans.JasmineEventSLBRemote@Remote \
  -Context.INITIAL_CONTEXT_FACTORY org.ow2.easybeans.component.smartclient.spi.SmartContextFactory