PQ42243: INSTALL INITIAL CONFIG IMPROPERLY COMPUTES THE PRIMARY NODE NAME


APAR

APAR status
Closed as program error.

Error description
Install initial config improperly computes the primary node name
which results in a failure to import the initial config
in InitialSetupInitializer the primary nodename is computed as
follows:
         if ( primaryNode == null )
         {
             primaryNode =
             java.net.InetAddress.getLocalHost().getHostName();
         }
This is broken because sometimes the getHostName() will return
the fully qualified hostname (e..g  allegro.raleigh.ibm.com).
If you look in AdminServer.java you will see that it uses the
utility function Attributes.defaultNodeName which strips the
domain from the ip address.
The code should be changed to use the Runtime config of the
managed server in order to get the node name rather than trying
to create it.  This way it will be insured to be correct.
Defect is 86972
follows:if ( primaryNode == null ){primaryNode =java.net.InetAddress.getLocalHost().getHostName();}This is broken because sometimes the getHostName() will returnthe fully qualified hostname (e..g allegro.raleigh.ibm.com).If you look in AdminServer.java you will see that it uses theutility function Attributes.defaultNodeName which strips thedomain from the ip address.The code should be changed to use the Runtime config of themanaged server in order to get the node name rather than tryingto create it. This way it will be insured to be correct.Defect is 86972
Local fix
pq42243.jar
Problem summary
computed in the install initial config.  This resulted in a
failure to import the initial configuration
Problem conclusion
com/ibm/servlet/config/InitialSetupInitializer.java
Temporary fix
Comments
APAR information
APAR numberPQ42243
Reported component nameWAS ADVANCED SU
Reported component ID5648C8402
Reported release350
StatusCLOSED PER
PENoPE
HIPERNoHIPER
Submitted date2000-10-05
Closed date2000-10-05
Last modified date2000-10-05

APAR is sysrouted FROM one or more of the following:

APAR is sysrouted TO one or more of the following:APAR is sysrouted FROM one or more of the following:


Modules/Macros
INSTALL
APAR is sysrouted TO one or more of the following:Modules/Macros

Fix information
Fixed component nameWAS ADVANCED SU
Fixed component ID5648C8402

Applicable component levels
R350 PSYUP











Document Information

Product categories: Software, Application Servers, Distributed Application & Web Servers, WebSphere Application Server, General
Software version: 350
Reference #: PQ42243
IBM Group: Software Group
Modified date: 2000-10-05