PQ49152: RECEIVED BBOU0254E FROM BBONMC WITH HOSTNAME SET TO LIBPATH | |||||||||||||||||||||||||||||||||||||||||
![]() |
|||||||||||||||||||||||||||||||||||||||||
![]() APAR status Closed as program error. Error description Customer received the following messages running the BBONMC job: BBOU0135E The NameSpace configuration has encountered an unknown problem BBOU0254E Unable to register / bind SingleLocation home for host /:/lib:/WAS400/usr/lpp/java/IBM/J1.3/bin:/WAS400/usr/lpp/java/ IBM/J1.3/bin/classic:/WAS400/usr/lpp/WebSphere/lib:/db2/ db2710/lib Notice the host name is really the libpath name. From the trace output, it shows that the request to BBONM actually contained the libpath information instead of the host name. The code shows the host name is retrieved from either the SBBOEXEC(BBONCFG) member if it explicitly set, or it reads it from the current.env associated with the NAMING01 server. The customer's BBOCNFG was coded as follows (which is the default): ;============================================================== NamingIDR IDRLocation=local Cells Cell1=Cell1 Workgroups WorkGroup1=WG1 PrimaryCell1=Cell1 Hosts Host1=&DAEMON_IPNAME. PrimaryCell1=Cell1Local fix To get around the problem, code the Host1= to an explicit host name (that matches the DAEMON_IPNAME)Problem summary **************************************************************** * USERS AFFECTED: All users of WebSphere Application Server * * V4.0 for z/OS and OS/390. * **************************************************************** * PROBLEM DESCRIPTION: Customer ran naming bootstrap with * * default configuration file BBOCNFG. * * Bootstrap was not successful. * * Customer received error messages * * (BBOU0135E and BBOU0254E) running the * * BBONMC job in installation dataset * * BBO.SBBOJCL. * **************************************************************** * RECOMMENDATION: * **************************************************************** Customer ran naming bootstrap with default configuration file BBOCNFG (host1=&DAEMON_IPNAME.) The NameSpace configuration failed with error messages: BBOU0135E: The NameSpace configuration has encountered an unknown problem. BBOU0254E: Unable to register / bind SingleLocation home for host /:/lib:/WAS400/usr/..:/db2/db2710/lib. The error log shows that the value of the host name (host1) was NOT the expected value of &DAEMON_IPNAME. but the value of the environment variable LIBPATH.Problem conclusion The hostname is either explicitly set in the configuration file e.g. sbboexec(BBONCFG) host1=BOSSxxxx.PLEX1.L2.IBM.COM (this method works successfully) or indirectly set, referring to the current.env of the NAMING01 server, e.g. sbboexec(BBONCFG) host1=&DAEMON_IPNAME. with current.env containing DAEMON_IPNAME=BOSSxxxx.PLEX1.L2.IBM.COM (this method fails) The problem results because of incorrect usage of the C library function getenv() in module bbosnfed.cpp, method getHostName. Function getenv() is used to retrieve the value host1 (indirectly set via current.env). getenv() returns a pointer to static storage owned by getenv() containing the value of the environment variable. The string that was returned was overwritten before use by a subsequent call to getenv. Therefore, bbosnfed.cpp was modified such that the string returned by getenv() is saved into a local buffer. APAR PQ49152 is associated with SERVICE LEVEL W400021 of WebSphere Application Server V4.0 for z/OS and OS/390.Temporary fix Comments
APAR is sysrouted FROM one or more of the following: APAR is sysrouted TO one or more of the following: UQ56013 Modules/Macros
|
Document Information |
Product categories: Software > Application Servers >
Distributed Application & Web Servers > WebSphere Application
Server for z/OS
Operating system(s):
Software version: 400
Software edition:
Reference #: PQ49152
IBM Group: Software Group
Modified date: Sep 5, 2001
(C) Copyright IBM Corporation 2000, 2006. All Rights Reserved.