Extended discovery of WebLogic
Oracle WebLogic server is an enterprise-class J2EE application server. Oracle WebLogic server is part of the Oracle WebLogic platform and supports Oracle, IBM DB2, Microsoft SQL Server, MySQL, and other JDBC-compliant databases.
BMC Atrium Discovery uses the
BEA.WebLogicApplicationServer pattern to discover a WebLogic application server instance and its version, to identify the JMX port, and most importantly for extended discovery, to determine whether JMX access is enabled.
Extended WebLogic discovery attempts to discover detailed information related to the WebLogic application server such as the J2EE domain, the J2EE applications running on the WebLogic application server, and the JDBC resources that the WebLogic application server is using. To do this, an additional pattern,
WebLogic.ExtendedDiscovery, initially determines whether JMX access is enabled, and the JMX port has been identified. It then attempts to determine whether the WebLogic application server version is supported (see Supported product versions). If the WebLogic server version cannot be determined using a JMX query, then pattern execution ends.
If the JMX port has not been identified, the extended WebLogic discovery uses port 7001 by default. The
WebLogic.ExtendedDiscovery pattern then queries the WebLogic Administration Server's JMX monitoring agent for details about the J2EE applications, application servers, databases, database servers, mail servers, web servers, J2EE domain, and J2EE clusters. Information returned is stored in the J2EEApplication Component, J2EEDomain Collection, JDBCResource Detail, or JavaMailResource Detail nodes.
Creation of a JDBCResource Detail node triggers the
CreateJDBCToDatabaseSI pattern that searches the BMC Atrium Discovery model for a software instance (SI) representing that database. If the database SI is found, the pattern creates relationships between the WebLogic Application Server SI and the nodes representing the database (see Database nodes and relationships). If the host that the database runs on has not been scanned, no further work is undertaken. The
WebLogic.ExtendedDiscovery.DiscoverWebLogic pattern is fully described in Configipedia.
Creation of a J2EEApplication Component node does not trigger any further operations.
If extended discovery fails, it falls back to using a host login and extracts information from the WebLogic configuration files to create and populate a WebLogic Application Server SI and its attributes.
Requirements for a full discovery
For a full discovery of WebLogic you need the following credentials:
- WebLogic host login credentials
- WebLogic application server login credentials (JMX) – see Configuring extended WebLogic discovery
Database nodes and relationships
The relationships are created based on the way that the database type is represented. (For example, an Oracle database is represented as an SI whereas a MySQL database server is represented as an SI and the individual databases by Detail nodes with contained by relationships to the database server SI).
The use of detail nodes is not intended to be permanent.
Supported product versions
The following WebLogic versions are supported:
- Oracle WebLogic Server 8.1
- Oracle WebLogic Server 9.x
- Oracle WebLogic Server 10.3 to 11g
Extended WebLogic discovery results
The following screen shows a successfully scanned WebLogic instance that is using an Oracle database server as its datasource. If a Microsoft SQL Server database is used, the Database Elements This Depends On row is displayed to indicate the actual database, because in this case the database server is represented by an SI. See Database nodes and relationships for more information.
The attributes section of the WebLogic SI contains sections for Components, Details, and Collections.
- Components are deployed EAR and WAR modules on WebLogic
- Details are resources on WebLogic. These may be application specific or globally defined. They may be one of the following:
- Java Mail Resources
- JDBC Resources
- Collections are J2EE Domains on WebLogic
Configuring extended WebLogic discovery
The extended WebLogic discovery is enabled by the activation of the
WebLogic.ExtendedDiscovery pattern. This pattern is activated by default in a new installation of BMC Atrium Discovery, but in an upgraded appliance, it must be activated manually.
To use extended WebLogic discovery, you must configure the credentials for the WebLogic application server in the Credentials tab.
Middleware credential always required
You must set up a middleware credential to perform extended discovery of WebLogic even if the target system requires no authentication. In this case, any values may be entered in the username and password fields.
To configure extended WebLogic discovery
- Ensure that the
WebLogic.ExtendedDiscoverypattern is activated.
- From the Discovery home page, click Credentials.
- Click the Middleware tab.
- Click the Oracle WebLogic credential group heading.
- Click the Credentials tab.
- From the Credentials tab, select Create.
Enter the following information:
Enter a name for the Credential (For example, ExtendedWebLogic).
Enter a free text description of the Credential.
The logon ID with which to connect to the WebLogic application server.
You must specify a logon ID that has a security role of Monitor, Operator, Deployer, or Admin.
The password corresponding to the username above.
The IP address of the WebLogic host. This option can be one of the following:
• an IP address (
• a range specification (
• a regular expression matching an IP address (
- To save the details, click Apply.
The new credential is displayed.