APAR status |
Closed as program error.
| Error description
The servlet URI value are lost , while performing import xml to
change servlet attribute without URI-Path tag.
.
.
ex.)
1. get current parameter of destination servlet.
# cd <WASROOT>/bin
# ./XMLConfig.sh -export servlet_pre.xml -partial
servlet_export.xml -adminNodeName was01
.
2. XML import for parameter change
# ./XMLConfig.sh -import loadstartup.xml -adminNodeName was01
.
3. get current parameter of destinagion servlet.
# ./XMLConfig.sh -export servlet_post.xml -partial
servlet_export.xml -adminNodeName was01
.
<sample of inport xml>
--<Import XML nemed loadstartup.xml in upper sequence>---------<?xml version="1.0"?><!DOCTYPE websphere-sa-config SYSTEM "$XMLConfigDTDLocation$$dse
p$xmlconfig.dtd" ><websphere-sa-config>
<node name="was01" action="locate">
<application-server name="Default Server" action="locate">
<servlet-engine name="Default Servlet Engine" action="locate">
<web-application name="default_app" action="locate">
<servlet name="snoop" action="update">
<load-at-startup>false</load-at-startup>
</servlet>
</web-application>
</servlet-engine>
</application-server>
---------------------------------------------------------------
the servlet of snoop lost following tags.
<uri-paths>
<uri value="/servlet/snoop"/>
<uri value="/servlet/snoop2"/>
</uri-paths>
. Local fix
The Immediate work around would be do not exclude URI-Path tags
while importing xml for changing servlet attribute.
(there is no problem on no-fixpak and fixpak1) Problem summary
The servlet URI value are lost , while performing import xml to
change servlet attribute without URI-Path tag.
1. get current parameter of destination servlet.
# cd <WASROOT>/bin
# ./XMLConfig.sh -export servlet_pre.xml -partial
servlet_export.xml -adminNodeName was01
2. XML import for parameter change
# ./XMLConfig.sh -import loadstartup.xml -adminNodeName was01
.
3. get current parameter of destinagion servlet.
# ./XMLConfig.sh -export servlet_post.xml -partial
servlet_export.xml -adminNodeName was01
<sample of inport xml>
--<Import XML nemed loadstartup.xml in upper sequence>---------<?xml version="1.0"?><!DOCTYPE websphere-sa-config SYSTEM "$XMLConfigDTDLocation$$dse
p$xmlconfig.dtd" ><websphere-sa-config>
<node name="was01" action="locate">
<application-server name="Default Server" action="locate">
<servlet-engine name="Default Servlet Engine" action="locate">
<web-application name="default_app" action="locate">
<servlet name="snoop" action="update">
<load-at-startup>false</load-at-startup>
</servlet>
</web-application>
</servlet-engine>
</application-server>
---------------------------------------------------------------
the servlet of snoop lost following tags.
<uri-paths>
<uri value="/servlet/snoop"/>
<uri value="/servlet/snoop2"/>
</uri-paths> Problem conclusion
The work around would be do not exclude URI-Path tags
while importing xml for changing servlet attribute.
(there is no problem on no-fixpak and fixpak1 for 3.5)
Cause: If <uri-paths> tags are not specified (since it is
optional), instead of retaining old values, it is making
the value null.
Fix: Fixed the code in ServletConfig.java file. Temporary fixComments
APAR information | APAR number | PQ47194 | Reported component name | WAS ADVANCED AI | Reported component ID | 5648C8400 | Reported release | 350 | Status | CLOSED PER | PE | NoPE | HIPER | NoHIPER | Submitted date | 2001-03-24 | Closed date | 2001-04-11 | Last modified date | 2001-04-11 |
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 | R350 PSY | UP |
|