PQ47809: XMLCONFIG IMPORTING, WEB APP DESCRIPTION UPDATED AS SERVLET DESCRIPTION. IF THERE IS NO DESCRIPTION TAG FOR WEB APP.


APAR

APAR status
Closed as program error.

Error description
If import XMLConfig file <description></description> tags
Not specified for Web App then description of WebApp is updated
by description of servlet.
.
.
sample 1
--------<?xml version="1.0"?><!DOCTYPE websphere-sa-config SYSTEM "$XMLConfigDTDLocation$$dse
p$xmlconfig.dtd" ><websphere-sa-config>
 <node name="was02" action="locate">
  <application-server name="Default Server" action="locate">
  <servlet-engine name="Default Servlet Engine" action="locate">
   <web-application name="default_app" action="update">
    <servlet name="snoop2" action="create">
     <description>Snoop servlet2</description>
          <code>SnoopServlet</code>
            <init-parameters>
              <parameter name="param1" value="test-value1"/>
            </init-parameters>
            <load-at-startup>true</load-at-startup>
            <debug-mode>false</debug-mode>
            <uri-paths>
              <uri value="/servlet/snoop3"/>
            </uri-paths>
            <enabled>true</enabled>
          </servlet>
        </web-application>
      </servlet-engine>
    </application-server>
  </node></websphere-sa-config>
,
*
result , "Default Server" description is updated as
"Snoop servlet2"
.
.
sample 2
--------<?xml version="1.0"?><!DOCTYPE websphere-sa-config SYSTEM "$XMLConfigDTDLocation$$dse
p$xmlconfig.dtd" ><websphere-sa-config>
 <node name="was02" action="locate">
  <application-server name="Default Server" action="locate">
  <servlet-engine name="Default Servlet Engine" action="locate">
        <web-application name="default_app" action="update">
          <servlet name="snoop" action="update">
            <description>TEST NAME</description>
          </servlet>
        </web-application>
      </servlet-engine>
    </application-server>
  </node></websphere-sa-config>
,
*
result, "Defaul Server" description is updated as "TEST NAME"
Local fix
Problem summary
Root Element's <Description> is getting replaced with the
content of it's Child Element's <Description>.
Problem conclusion
Fixed code in the method "getTextValueOfChild(Element el,
String childName)" of BaseConfig.java file so that the values
are reflected correctly.
Temporary fix
Comments
APAR information
APAR numberPQ47809
Reported component nameWAS ADVANCED AI
Reported component ID5648C8400
Reported release350
StatusCLOSED PER
PENoPE
HIPERNoHIPER
Submitted date2001-04-12
Closed date2001-04-23
Last modified date2001-12-17

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
XMLCONF
APAR is sysrouted TO one or more of the following:Modules/Macros

Fix information
Fixed component nameWAS ADVANCED AI
Fixed component ID5648C8400

Applicable component levels
R300 PSYUP
R350 PSYUP











Document Information

Product categories: Software, Application Servers, Distributed Application & Web Servers, WebSphere Application Server, General
Software version: 350
Reference #: PQ47809
IBM Group: Software Group
Modified date: 2001-12-17