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
- The values of the
contextRoot
anddefaultConnector
properties are extracted from the property map. If the properties are substitutable, the composite properties are resolved from an administrator. This is a recursive process until the final value of the substitution is not found. - The HTTP host address and HTTP port number are extracted from
defaultConnector
. Then, the following information is retrieved:- Node on which component is running.
- Resource instance of the
defaultConnector
on the node. - Resource template for the resource instance.
- HTTP port number from the resource template.
- HTTP host address from the node.
- 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.IfcontextRoot
is mapped to a welcome page, the browser displays the welcome page.IfcontextRoot
is not mapped to a welcome page, the browser displays the Page Not Found error page.