Agents Administration - Tests
 

Configuring Monitoring of Java Components on SunONE Application Servers

Middle-tier application servers like WebLogic, WebSphere, and SunONE are widely used to host business logic components that can be accessed via web front-ends. The business logic is typically based on Enterprise Java Bean (EJB) technology. It is critical to monitor the EJBs to ensure the proper functioning of the business logic components.

An application may comprise of hundreds of EJB components. Monitoring each and every one of these is an arduous task. The eG system allows an administrator to monitor EJB groups where each EJB group is a collection of one or more related EJBs.

These EJB groups need to be manually configured on the WebLogic, WebSphere, and SunONE application servers.

To configure the EJB groups on a SunONE application server, do the following:

  1. After configuring the Sun1EjbCacheTest or the Sun1EjbPoolTest, allow the test to run once. 

  2. Then, proceed to reconfigure the test for the SunONE server by clicking on the RECONFIGURE button in the test configuration page.

  3. Click on the Click here hyperlink above the Test Parameters section of the Configuration of Sun1EjbCacheTest page or the Configuration of Sun1EjbPoolTest page.

  4. The page that appears next lists the EJB groups that pre-exist (if any) and allows the administrator to create new ones and modify / delete existing ones. 

  5. To delete any of the listed groups, click on the DELETE button against the corresponding group.

  6. To modify any of the listed groups, click on the MODIFY button against the corresponding group.

  7. To add a new group, first, select the EJBs that need to be a part of the group. The ALL ELEMENTS list in this page will list all the unmanaged EJBs. From this list, select the EJBs to be added to the group. All the EJBs hosted on a SunONE application server are discovered when the agent starts executing on the server's host. The same will be listed as ALL ELEMENTS. This list will get updated every time the agent is restarted / when the rediscovery scheduled for every four hours occurs.

  8. Then, to manage the selection, click on the MANAGE button. This will transfer the selection to the MANAGED ELEMENTS IN THE CURRENT GROUP list. Similarly, multiple EJBs can be added to the MANAGED ELEMENTS IN THE CURRENT GROUP list.

  9. To unmanage managed EJBs, select them from the MANAGED ELEMENTS IN THE CURRENT GROUP list, and click the UNMANAGE button, thereby transferring them back to the ALL ELEMENTS list.

  10. Then, assign a name to the group by entering a name in the Info Group Name text box.

  11. If the EJB group so created is to be associated with other SunONE application servers in the environment, then, select the Apply this configuration to other servers check box.

  12. Finally, click the UPDATE button. 15. If the Apply this configuration to other servers check box is selected, then upon clicking the UPDATE button, the APPLY CONFIGURATIONS page will appear from where you can select the SunONE application servers to which the EJB group configuration needs to be applied. Clicking on the APPLY button in the APPLY CONFIGURATIONS page will bring you back to this page where a summary of the selection will then be displayed.  

  13. To delete any of the listed groups, click on the DELETE button against the corresponding group. If you had earlier associated the group with other SunONE application servers, then all or a few of these associations can be removed by selecting the Apply configuration to other servers check box before clicking on the corresponding DELETE button.

  14. To modify a listed group, click on the MODIFY button against the corresponding group.

Note:

The eG system monitors only those EJB components that are part of an EJB group.