+

Search Tips   |   Advanced Search

Troubleshooting request routing and workload management through the proxy server

This section provides information for how to troubleshoot request traffic that flows through the proxy server.

You will need to know the machines and nodes that will belong to the proxy server cluster, because the product needs to be installed on those machines. You will also need to know the URL for the applications, application deployment, and cluster definition details. The proxy server should be started.

We can use the proxy server MBean to determine how requests are routed to applications, and subsequently, to a particular application server. If the request is being routed incorrectly, we can disable routing to specific applications or reconfigure the routing rules.

This topic references one or more of the application server log files. As a recommended alternative, we can configure the server to use the High Performance Extensible Logging (HPEL) log and trace infrastructure instead of using SystemOut.log , SystemErr.log, trace.log, and activity.log files on distributed and IBM i systems. We can also use HPEL in conjunction with the native z/OS logging facilities. If we are using HPEL, we can access all of the log and trace information using the LogViewer command-line tool from the server profile bin directory. See the information about using HPEL to troubleshoot applications for more information on using HPEL.

  1. Obtain the Dynamic Route MBean for the proxy server and invoke the operation to generate routing information for the URI. Start wsadmin and get all of the Dynamic Route MBeans as follows:
     $AdminControl queryNames    type=DynamicRoute,*
     set routembean <cut and paste the MBean Identifier from the previous command output>
      $AdminControl invoke $routembean debugRouting {http://*/urlpattern all}
    Use an asterisk (*) to match all of the virtual hosts, or explicitly specify a virtual host. For example, http://proxy_name:80/urlpattern. The set routembean command should correspond to the MBean from the output of the previous command.

    The proxy server will start generating routing-related information for all subsequent HTTP requests that match the specified virtual host and URL pattern to the SystemOut.log file.

  2. Send representative workload traffic through the proxy server.

  3. Analyze the routing information in the proxy server SystemOut.log file.

  4. Make required changes to application routing to enable or disable routing through the proxy server, using the console, by clicking Applications > Enteprise Applications.

  5. Repeat steps two through four until the routing of all requests are satisfied.

  6. Disable gathering routing information using wsadmin as follows:
    $AdminControl invoke $routembean
    stopDebugRouting 


Results

The proxy server and the applications are correctly configured for external access.


Related tasks

  • Proxy server setup