Here is an excerpt from APAR PQ92051: This exception
occurs because the desired application could not be found in the first
virtual host on which an alias match was made. There is no way to
determine which virtual host the Application Server will search first when
looking for a matching alias.
For example, if the following is specified:
VHOST1: Aliases: myhost.com:80
VHOST2: Aliases: *:80
MyApp: Deployed to VHOST2,
contextRoot:/MyApp
URL: 'http://myhost.com/MyApp'
The URL can match on both VHOST1 and VHOST2. However, if the
Application Server matches on myhost.com in VHOST1. your request
will fail because MyApp is not deployed on VHOST1.
You can resolve this problem by doing one of the following:
- Use a single VirtualHost if possible.
- If using more than one VirttualHost, be cautious when coding Aliases
in multiple VirtualHosts that a single URI could match on. Also, avoid
using the * for the Alias hostname.
|