Running the Alarm Demo

To run the alarm example, you will have to first start the JOnAS server and then run jonas admin. Finally, at the end of the execution you should stop the JOnAS server.

NOTE: The following example assumes that the current folder is $JONAS_ROOT/examples/alarm. To make the example operating system independent, command prompts have been supressed.

Here is how to proceed:

Start the JOnAS server:


jonas start

Run jonas admin with the following arguments:

jonas admin -a alarm.ear

Stop the JOnAS server:

jonas stop

Generate alarms: The easiest way is to use the link on the first html page that will run a servlet that will generate customized alarms. Look at http://$HOSTNAME:<your_tomcat_port_number>/alarm/index.html to start using the web application.