|
Configuring
Monitoring of Java Components on WebLogic Application Servers
Middle-tier
application servers like WebLogic, WebSphere, 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 WebLogic application server, do the following:
-
After
configuring the WeblogicEjbTest (or the WLEJBTransTest / WLEJBLockTest / WLEJBCacheTest / WLEJBPoolTest), allow the test to run once.
-
Then,
proceed to reconfigure the test for the WebLogic server by clicking on
the RECONFIGURE button in the test configuration page.
-
Next,
click on the Click
here hyperlink above the Test Parameters section.
-
The page
that appears next lists the EJB
groups that pre-exist (if any) and allows the administrator to create and
configure new ones / delete existing ones.
-
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 WebLogic server are
discovered when the agent starts executing on the server's
host.
These EJBs 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.
-
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.
-
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.
-
Then,
assign a name to the group by entering a name in the Info Group Name
text box.
-
If the EJB group so created is to be associated with other WebLogic servers in the environment, then, select the Apply this configuration to other servers check box.
-
Finally,
click the UPDATE button. 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 WebLogic 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.
-
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 WebLogic 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.
-
To
modify a listed group, click on the MODIFY button against the
corresponding group.
|