JAD Communication

If the web application runs in a remote machine (JAD environment), administrator web services are invoked using SOAP requests to retrieve the properties for the WebApp component.

Procedure

  1. The values of the contextRoot and defaultConnector properties are extracted from the property map. If the properties are substitutable, the composite properties are resolved from administrator. This is a recursive process until the final value of the substitution is not found.
  2. The HTTP host address and HTTP port number are extracted from defaultConnector. Then, the following information is retrieved:
    1. Node on which component is running
    2. Resource instance of the defaultConnector on the node
    3. Resource template for the resource instance
    4. HTTP port number from the resource template
    5. HTTP host address from the node.
  3. A test URL is constructed using contextRoot, the HTTP port number, and the HTTP host address (http://host address:port number/contextRoot). It is opened in the Eclipse internal browser.
    • If contextRoot is mapped to a welcome page, the browser displays the welcome page.
    • If contextRoot is not mapped to a welcome page, the browser displays the Page Not Found error page.