Web Testing, Java Testing, Server Monitoring
  Home   Products   Services   On-Demand   Downloads   Sales   Support   About Us  

Weblogic Monitor

This tutorial provides a brief introduction to Weblogic Monitor using a set of hands-on practice exercises. This tutorial assumes you have successfully downloaded and installed AppPerfect Agentless Monitor on your machine with the default options. Apart from this pre-requisite, this tutorial is self contained. Instructions given below are Windows-specific; if you are using a non-Windows machine, please use equivalent commands/instructions.

All exercises assume you have installed the product in C:\AppPerfect\AgentlessMonitor folder and will be referred as MONITOR_HOME henceforth in tutorial. If you have installed the product in some other folder, modify the instructions below appropriately.

This tutorial is not intended as a comprehensive training guide. Please refer to the product documentation for detailed information. However, this tutorial will give you a very good overview of the products and substantially improve your productivity with the product. This tutorial provides information on Bea Weblogic monitor, if you are looking for any other details, please check Agentless Monitor documentation or other tutorials.

Exercise 1: Finding more about your Bea Weblogic Server

Weblogic Server has released newer versions over a period of time. AppPerfect Agentless Monitor supports monitoring of weblogic server with 7.x and above versions. Weblogic 7.x and 8.x server could only run using JDK 13 or JDK 14 as the newer version of JDK were not released by then. Prior to JDK 15, each server had its proprietary JMX implementation. With JDK 15, JMX implementation was standardized and was part of JDK itself. This required significant changes with in the server to support JMX implementation using standardized approach. Weblogic 9.x and above runs using JDK 15 or more.

Excercise 2.1 explains the step to add Weblogic 7.x/8.x monitor and Excercise 2.2 explains the step to add Weblogic 9.x monitor.

Exercise 2.1: Add Bea Weblogic 7.x/8.x Monitor

Once we have identified the version of Weblogic server is 7.x or 8.x, we will proceed to add Weblogic 7.x/8.x monitor in Agentless Monitor.

Action:

  1. Select Monitors tab in the Web UI of AppPerfect Agentless Monitor. Select Add button to add a monitor.
  2. Specify IP address or Host name or both of the machine on which Weblogic server is running.
  3. Select Bea Weblogic 7.x/8.x in the Monitor Type combo.
  4. Specify unique Monitor ID for this Monitor.
  5. Leave other values in General section to be default and move to Bea Weblogic 7.x/8.x Options.
  6. In java.home property, provide the path of JDK 1.4.x or lower located on the AppPerfect Agentless Monitor machine. If you do not have it, please download and install it.
  7. Provide user name and password required to access the server. These are configured during installation of Weblogic server. Please contact your system administrator if you are not aware of it. By default, the user name is weblogic.
  8. Specify Server port of Weblogic server. Default value is 7001.
  9. Specify Installation folder of Weblogic server. If the server is running on remote machine, Please copy weblogic folder to AppPerfect Agentless Monitor machine and provide its path.
  10. Now we have provided all the properties of Bea Weblogic 7.x/8.x monitor.
    Weblogic Monitor properties
    Ensure that Weblogic server is running at the moment. Now, select Next to validate and get the Attributes that can be monitored for this server.
  11. You will see Attributes tree that shows all the MBeans exposed by Weblogic server.
  12. Select the attributes that you wish to monitor and select Next to configure selected attributes or select Finish to start monitoring these attributes using default settings.

Exercise 2.2: Add Bea Weblogic 9.x Monitor

Once we have identified the version of Weblogic server is 9.x or more, we will proceed to add Bea Weblogic 9.x monitor in Agentless Monitor.

Action:

  1. Copy %WLS_HOME%\server\lib\wlclient.jar jar to MONITOR_HOME\tomcat\webapps\monitor\WEB-INF\lib folder.
  2. Select Monitors tab in the Web UI of AppPerfect Agentless Monitor. Select Add button to add a monitor.
  3. Specify IP address or Host name or both of the machine on which Weblogic server is running.
  4. Select Bea Weblogic 9.x in the Monitor Type combo.
  5. Specify unique Monitor ID for this Monitor.
  6. Leave other values in General section to be default and move to Bea Weblogic 9.x Options.
  7. Provide user name and password required to access the server. These are configured during installation of Weblogic server. Please contact your system administrator if you are not aware of it. By default, the user name is weblogic.
  8. Specify Server port of Weblogic server. Default value is 7001.
  9. Select Weblogic MBean Server from the list of available MBean servers. Click on the Help link to read more about this property.
  10. Now we have provided all the properties of Bea Weblogic 9.x monitor.
    Weblogic Monitor properties
    Ensure that Weblogic server is running at the moment. Now, select Next to validate and get the Attributes that can be monitored for this server.
  11. You will see Attributes tree that shows all the MBeans exposed by Weblogic server.
  12. Select the attributes that you wish to monitor and select Next to configure selected attributes or select Finish to start monitoring these attributes using default settings.

Exercise 3: Use Java 1.5/1.6 Monitor instead of Bea Weblogic 9.x Monitor

Once we have identified required information of Bea Weblogic 9.x server, we can also add standard Java 1.5/1.6 monitor to monitor Bea Weblogic 9.x server by providing using additional JAVA_OPTIONS. Bea Weblogic 9.x monitor is a monitor specific to Weblogic 9.x server and allows you to monitor all readable MBeans in the server where as Java 1.5/1.6 monitor is a generic monitor that can monitor all the JVMs running with JDK 1.5 or more.

In order to monitor a server with Java 1.5/1.6 Monitor, please set JAVA_OPTIONS environment variable before starting the weblogic server in its startup file. -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=7008 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false. Note: You can specify a different port if 7008 is blocked by some other process. For the purpose of this tutorial we are not using authentication, you can configure authentication using Monitoring and Management Using JMX guide.

Restart Weblogic server and refer to Java 1.5/1.6 Monitor tutorial for adding Java 1.5/1.6 Monitor.


Concluding Remarks

We greatly appreciate your effort in completing this AppPerfect Agentless Monitor tutorial. We hope it has given you a good overview of the product and its features.  Please refer to the product documentation for additional details on all product features.

We are always eager to hear your feedback regarding the product, the documentation, the tutorial or any other issue related to the product. Please provide us your feedback at support(at)AppPerfect.com


Products


Web Application Testing
   Web Functional Testing
   Cross Browser Testing
   iPhone Apps Testing
   Web Services Testing
   AJAX Testing
   Flash Testing

Web Load Testing
   Web Application Load Testing
   Web Services Load Testing
   Database Load Testing
   Distributed Load Testing
   AJAX Load Testing
   Flash Load Testing

Application Testing
   .Net Testing / GUI Testing

Test Manager
   Automated Test Management


Agentless Monitor
   Server Monitoring
   Website Monitoring/URL Monitoring
   Java Monitoring
   SNMP Network Monitoring
   Web Server Monitoring
   Database Monitoring

Java Testing
   Java Code Analysis
   Java Profiling
   Java Unit Test


Services


   Hosted Web Testing
   Software Testing Services

Solutions


   Cloud Testing
   Web Testing
   Load Testing
   Automated Testing
   Web Services Testing
   IT Monitoring
   Java Testing
      Java Code Testing
      Java Performance
      Java Unit Testing
      Java Coding Rules


Software development tools


   Eclipse Plugins
   Netbeans Plugins
   JDeveloper Plugins
   JBuilder Plugins
   IntelliJ IDEA Plugins

Support


   Online Demo Center
   Tutorials
   Load Test Docs
   Web Test Docs
   App Test Docs
   Java Code Test Docs
   Java Profiler Docs
   Java Unit Test Docs
   Agentless Monitor Admin Guide
   Agentless Monitor User Guide
   Test Manager User Guide


About Us


   Company
   Customers
   Contact Info

© 2003-2010 AppPerfect Corporation
AppPerfect is a trademark of AppPerfect Corporation.
Terms of Use |  Privacy Statement |  Site Map