< Previous | Next >

Lesson 1.4: Deploying the monitor model

Before you begin, you must complete Lesson 1.3: Adding events, subscriptions, and metrics.

Generating J2EE applications for monitoring models

  1. From the Business Monitoring perspective, right-click on the monitor model name in the Project Explorer tab and click Generate Monitor J2EE Projects. The Generate Monitor J2EE Projects wizard opens.
  2. The Generate Monitor J2EE Projects window lists the default names of the three projects. The first two names are for the two EJB projects. The third name is the name of the J2EE Application project. You can change these names, but the default names reflect which J2EE applications and EJB projects were generated from the monitor model (since the names are derived exactly from the name of the monitor model). After you decide to keep or change the names, click Finish.

Starting the Monitor Server

  1. Click the Servers tab.
  2. Locate and select the monitor server. The server is easy to recognize since it starts with "WebSphere Business Monitor v6.2" in the Server column. If it is currently stopped, the server state is listed as "Stopped" under the State column for that server.
  3. If the server is currently stopped, click the Run icon.
  4. After you click the Run icon, the state should say “Starting …” under the State column. The Console tab will become active and displays messages indicating its progress.
  5. After a successful start, the State of the monitor server changes to “Started”.

Publishing generated applications

  1. From the Server tab, right-click on the monitor server.
  2. Click Add and Remove Projects …. The Add and Remove Projects wizard opens.
  3. The Add and Remove Projects wizard has two lists, one on the left that contains available projects, and one on the right that contains configured projects. Select MonitorLimousinesApplication on the left.
  4. Click Add. The application will move to the right.
  5. Click Finish. You might be prompted with a message saying that a project will be added/removed from the server. Click OK. The Console tab will be activated again showing you some messages.
  6. When complete, click the Server tab again. Select the monitor server and expand it. You should see the MonitorLimousinesApplication and the 2 EJB projects under the monitor server.

Lesson checkpoint

Now you are ready to test your monitor model. Lesson 1.5: Testing the monitor model.