MSG 500: Could Not Locate Application
 Technote (FAQ)
 
Problem
This error displays in the browser and occurs when the HTTP request is made directly to the HTTP Transport Handler.
 
 
Solution
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:
  1. Inspect the inbound URL structure and determine the exact value of the virtual host, including any port specifications.
  2. 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:

  1. The host on the URL is different from what you configured in the webcontainer.conf file.
  2. The virtual host is not defined in thewebcontainer.conf.
  3. 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
 
 


Document Information


Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server for z/OS > Servlet Engine/Web Container
Operating system(s): z/OS
Software version: 4.0.1
Software edition:
Reference #: 1165476
IBM Group: Software Group
Modified date: Apr 7, 2004