If the HTTP Transport Handler is
being used and you get a "Could Not Locate Application" error. There is a mismatch on the virtual host.
Do the following:
- Inspect the inbound URL structure and determine
the exact value of the virtual host, including any port specifications.
- Check the webcontainer.conf and
ensure that the virtual host is defined on the host.virtual_hostname.alias=value.
Note: Code the virtual host in lowercase letters. The Web
container converts the host name in the URL into lowercase and then
compares it to the host.virtual_hostname.alias=value. |
3. Check the SYSPRINT of the server region and
insure that the virtual host appears, indicating that an application is
bound to it.
If the virtual host appears in the SYSPRINT, the
HTTP Transport Handler recognized this host name. Check the URL to make
sure the host value matches the host.virtual_hostname.alias=value in
thewebcontainer.conf file.
Correct either the URL or the alias= value
in webcontainer.conf to make sure that the two match. If you change
webcontainer.conf, restart the J2EE Application Server and try
again.
The hostname in the URL in the request received
by the HTTP Transport Handler did not match a virtual host for this J2EE
Server. This can be caused by one of the following:
- The host on the URL is different from what you
configured in the webcontainer.conf file.
- The virtual host is not defined in
thewebcontainer.conf.
- The Web container is not yet fully initialized.
This can take 15 or more seconds.
Related information
Assembling JAVA™ 2 Platform, Enterprise Edition
(J2EE)™ Applications |