The browser used the URL:
'http://serverb/<rooturi>/<servlet>'
The setup has a browser accessing WebSphere Application Server on a
distributed platform (with hostname servera) which is forwarding
the request to a WebSphere Application Server for z/OS HTTP transport in a
J2EE Web container (with hostname serverb). See the "Additional
Information" section for an excerpt of the plugin-cfg.xml file that was
used in the WebSphere Application Server on the distributed platform.
Make sure the Web application is working in the WebSphere Application
Server on z/OS environment. You should be able to access the HTTP
transport directly from your browser using the URL:
'http://servera:<port>/<rooturi>/<servlet>'
If this works, then make sure the virtual host names match in:
- The URL of the request.
- The virtual host definition in the WebSphere Application Server on the
distributed platform.
- The virtual host definition in the WebSphere Application Server for
z/OS environment.
Ensure the host.<virtual_hostname>.alias
property in webcontainer.conf file contains the hostname specified in the
Hostname attribute in the <Transport> element in the plugin-cfg.xml
file of the WebSphere Application Server product on the distributed
platform. If the browser uses SSL to access the servera host, then
add servera:443
Related information
WebSphere Application Server for z/OS: Assembling J2EE Applications,
SA22-7836
Additional remarks
Excerpt from the plugin-cfg.xml file forWebSphere
Application Server on the distributed platform:
<Config>
<Log LogLevel="Trace" Name="/opt1/WebSphere/AppServer/logs/native.log"
/>
<VirtualHostGroup Name="default_host">
<VirtualHost Name="*:80" />
<VirtualHost Name="*:9080" />
<VirtualHost Name="servera" />
<VirtualHost Name="servera" />
</VirtualHostGroup>
<ServerGroup Name="servera/estore">
<Server Name="WSPETA">
<Transport Hostname="serverb" Port="9580" Protocol="http" />
</Server>
</ServerGroup>
<UriGroup Name="estore">
<Uri Name="/estore" />
<Uri Name="/estore/*" />
<Uri Name="*.jsp" />
</UriGroup>
Excerpt from the webcontainer.conf file
forWebSphere Application Server for z/OS
host.<virtual_host>.alias=serverb:9580,servera:80,servera:443
|