Duplicate HTTP Transport entries in the server.xml file while using the wsinstance command to create a new Network Deployment instance
 Technote (troubleshooting)
 
Problem(Abstract)
Before using the wsinstance command to create a new Network Deployment instance,
check for duplicate reference IDs for HTTP and HTTPS transports in the server.xml file. Correct them if necessary.
 
Cause
The problem is with the value of xmi:id. The value HTTPTransport_1 should only appear once, but it occurs twice. It occurs for both the SSL and non-SSL ports.
The line in error is:

'xmi:id="HTTPTransport_1" sslEnabled="true"', but should read 'xmi:id="HTTPTransport_2" sslEnabled="true"'.

The problem is the template file used to create the server.xml file in v5.0 . This problem appears in all fix packs for Network Deployment Edition. Since updateInstaller does not modify the server.xml file during fixpack upgrade, this problem exists in all the fix packs for v5.0 releases.
 
Resolving the problem
Before creating a new Network Deployment instance using the wsinstance command, first check for duplicate entries for HTTPTransport_1 in the server.xml file.

This file exists in the following two locations:

  • install_rootbin/wsinstance/configdefaults/cells/cell/nodes
    /node/servers/dmgr/server.xml

    and

  • install_root/config/cells/cell/nodes/xxxxManager/servers/dmgr/server.xml

Search for HTTPTransport_1.

It should appear only once in each file. If it appears twice, change the second entry, the HTTPS transport reference ID, to HTTPTransport_2.

Example snippet :

Under install_root /bin/wsinstance/configdefaults/cells/cell/nodes/node
/servers/dmgr/server.xml :

<transports xmi:type="applicationserver.webcontainer:HTTPTransport" xmi:id="HTTPTransport_1" sslEnabled="false">
          <address xmi:id="EndPoint_1" host="" port="9090"/>
 </transports>
 <transports xmi:type="applicationserver.webcontainer:HTTPTransport"  xmi:id="HTTPTransport_1" sslEnabled="true"  sslConfig="vikramManager/DefaultSSLSettings">
          <address xmi:id="EndPoint_2" host="" port="9043"/>
          <properties xmi:id="Property_9" name="MaxKeepAliveConnections" value="0" required="false"/>
 </transports>

  1. Change the second occurrence of HTTPTransport_1 to HTTPTransport_2.

  2. Repeat the process for
    install_root /config/cells/cell/nodes/xxxxManager/servers/dmgr/server.xml


If you have already created a new instance, go into the new server.xml and modify it.

This problem appears only with Network Deployment Edition. It does not affect Base Edition.
 
 
Cross Reference information
Segment Product Component Platform Version Edition
Application Servers Runtimes for Java Technology Java SDK
 
 


Document Information


Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server > System Management/Repository
Operating system(s): Windows
Software version: 5.0.2.5
Software edition:
Reference #: 1171250
IBM Group: Software Group
Modified date: Jun 9, 2004