Discover WebLogic

Understanding WebLogic Applications

WebLogic Domain consists of an Admin Server and one or more Managed Servers hosting the J2EE Applications. The Managed Servers can be part of the WebLogic Cluster or Standalone Servers. A WebLogic application running on a host will have its dependencies on the container configurations like Data Sources, JMS modules, Shared Application Libraries, Server configurations, etc. .

Discover WebLogic Applications

When the host machine is running the WebLogic Admin Server, the Discover Host feature not only collects all the information from the host machine like System information, Process information, memory information etc. but also scans the WebLogic domain information for all the applications that can be containerized into a separate independent container

WebLogic Application discovery - A single phase Discovery

Discovery of WebLogic Applications is a single stage process. The Discovery should be run on the WebLogic Admin Server.

Information about WebLogic Applications

Once the Discovery of a WebLogic Admin Server host is done, OmniDeq UI lists each Application that is ready for individual containerization. The following information is revealed by the OmniDeq UI for each Application :

WebLogic Application Server Objects supported for Transform

Objects Discover Transform
Shared Application Libraries Yes Yes
Server Certificates Yes Yes
Data Sources Yes Yes
JMS Modules Yes Yes
JMS Server No No
Cluster Yes No
Security Realms No No

Process Flow for Discovery of WebLogic Applications

In order to find out about Linux Host Prerequisites, please click here

WebLogic Applications Discovery

  1. In the landing page, click on Add Project. Add respective details and "Save". This will take you to the discover page

    Select Node New

  2. Click on the 3 horizontal dots beside the host and click on Check Connection and wait for a few seconds.

    Check Connection

    Notes

    • User will get success message in a few seconds.
    • This step is optional. This step is just to make sure that the connection is established successfully.
  3. Click on Check Prerequisites button as shown in the image below and wait for a few seconds.

    • User can see the pre-requisites logs from the Logs section in the bottom when the pre-requisite is started as shown in the image below.

    Discover Pre-requisites

    • Logs are divided in 2 parts :
    • Networking Connectivity Checks : Which show the network connectivity checks on the host machine.

    • Validating Pre-requisites : Which show the checks if all the pre-requisites are available or not.

  4. User can edit the ignore list before starting a discovery by clicking on the Process Ignore List button as shown in the image below. IgnoreList is used to skip the discovery process from analysing these processes on the host. Do not ignore the java and startWebLogic.sh processes. Using this feature user can include or exclude the processes for discovery as shown in the image below.

    Edit Ignore List

    • User can also edit the ignore list after a discovery is done.
    • Any modification done in ignore list after discovery, will require the discovery for the host to be performed.
  5. User can edit the Application Ignore List before starting a discovery by clicking on the Application Ignore List tabs as shown in the image below.

    Application Ignore List is used to name the applications that the user wants to containerize.

    • Using this feature user can specify the application names only which are to be included for discovery, as shown in the image below. All the other applications will not be scanned by the discovery process.

    Edit Application WhiteList

  6. Click on Discover button and wait for a few seconds.

  7. User will get message " Triggering Discovery " .

  8. After a few minutes user will see the discovery status as Completed if all the prerequisites are met.

  9. User can see the discover logs from the Logs section in the bottom when the discover process is started as shown in the image below.

    Discover Logs

  10. Logs are divided in 3 parts ( including the pre-requistes ) :

    1. Networking Connectivity Checks : Which show the network connectivity checks on the host machine.

    2. Validating Prerequisites : Which show the checks if all the prerequisites are available or not.

    3. Collecting System State Information : Which show the logs for collecting all the system information.

  11. Once the discovery is completed, user will be able to see all the processes discovered, including the WebLogic processes (./startWebLogic.sh or java), and the Web Applications that are discovered from the WebLogic domain as shown in the image below.

    Discover Completed

  12. The Web Applications that are discovered from the WebLogic domain are listed in the table with the Process Name formatted as java-< Cluster/Server name >-< applicationName >. for e.g., If an application say 'appX' is deployed on one standalone server say Server-1, and a cluster Cluster-0, the the table will show two entries for the application with names as java-Server-1-appX and java-Cluster-0-appX. This helps the User to choose the application to transform with the specific Server settings or the Cluster settings.

  13. User can view the web application information specific to WebLogic Application by clicking on the name of the Application (More Info) under the Name column. The Information screen with tabs will be shown as below

    Discover Completed

    • Process Details: This tab shows the details of the process which enabled discovering the applications. This will usually be the WebLogic Admin Server process as the discovery is run on Admin Server.

    Discover Process Details

    • Web Application Details: This tab shows the details of Web Application as shown below.

    -- Application Name shows the name of the application. This is same as that shown in the Process table that is clicked. The formation of the application name includes the name followed by #<specification version>@

    -- Server Name: shows the name of the target server for this application.

    -- Java Version shows the version of java used by the WebLogic Admin Server process. Assuming the same version is being used across all the servers in the WebLogic domain.

    -- Context Root shows the context root of the Web Application if specifically defined in weblogic.xml of the war/ear.

    -- Location shows the location of the application archive (war/ear). This application archive is copied over to the container for deployment.

    -- Dependent Shared Libraries shows the list of shared application libraries detected on the Cluser/Server on which the application is also targetted. The assumption is that application may refer to any of these dependencies as they are all existing on the same target.

    Discover Webapp Details

    • Application Server : This tab shows the details about the target Server or Cluster specific configuration information. The assumption is that the java version will be same across all servers in the domain. Also the servers in the cluster will all have same configurations.

    Discover Application Server Details

    -- Name: shows the name of the application server in this case it is - Oracle WebLogic.

    -- Server version : shows the version of the Oracle WebLogic Application server of the process detected on the discovered system (i.e. WebLogic Admin Server). Assumption is that the version of Java and the WebLogic Server is same across all the server instances of the Domain.

    -- HOME DIR shows the WebLogic Server process's home directory.

    -- Application Default Ports shows the ports (ssl and nonssl) being used by the target Server for this application.

    -- Clusters & Servers list shows the list of all the servers and clusters that this application is targetted on.

    • Application Configuration Details:

    Discover WebLogic Application Configuration Details

    -- Certificate Details shows the WebLogic server's SSL configuration. It displays the Identity Key Store file and the Trust Store details configured on the WebLogic server. More details about the WebLogic SSL configuration can be found here.

    -- Data Sources shows the list of data sources configured on the Server on which this application is targetted. All these data sources configurations are carried over to the container during tranformation of this application.

    -- JMS Modules shows the list of JMS modules targetted on the server on which this application is also targetted. These JMS Modules configurations are carried over to the container with the assumption that the JMS Server will remain running as is and the container will be able to use the existing JMS Server for its queues/topics. The container will be configured with Foreign Server connection factory, configured to connect to this existing JMS Server.

8.Next step will be Transformation of WebLogic Application. Please click here

Notes