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 fixProblem 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 fixComments
APAR information | APAR number | PQ47809 | Reported component name | WAS ADVANCED AI | Reported component ID | 5648C8400 | Reported release | 350 | Status | CLOSED PER | PE | NoPE | HIPER | NoHIPER | Submitted date | 2001-04-12 | Closed date | 2001-04-23 | Last modified date | 2001-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 APAR is sysrouted TO one or more of the following:Modules/Macros
|
Fix information |
Fixed component name | WAS ADVANCED AI | Fixed component ID | 5648C8400 |
Applicable component levels | R300 PSY | UP | R350 PSY | UP |
|