APAR status |
Closed as program error.
| Error description
Using XMLConfig to import a Web Application fails when no
classpath is defined.
.
1) Create A Web Application without a classpath.
2) Run an XML Export.
3) Via the WebSphere Gui delete the Web Application that was
just created.
4) Run an XML Import, syntax for command is:
XMLConfig -adminNodeName nodename - import exportfilename.xml
.
The following errors will be generated:4) Run an XML Import, syntax for command is:XMLConfig -adminNodeName nodename - import exportfilename.xml.
[01.09.20 22:58:43:470 GMT-06:00] 1ad9030 WebApplicatio X Failed
to
create WebApplication : TestWebAppXMLC0041E: Repository
Exception
com.ibm.ejs.sm.exception.RequiredAttributeMissingException:The following errors will be generated:[01.09.20 22:58:43:470 GMT-06:00], 1ad9030 WebApplicatio X Failedtocreate WebApplication : TestWebAppXMLC0041E: RepositoryException
Required
ServletGroup name attribute was not specified.
[01.09.20 22:58:43:550 GMT-06:00] 1ad9030 WebApplicatio X
XMLC0036E:com.ibm.ejs.sm.exception.RequiredAttributeMissingException:RequiredServletGroup name attribute was not specified.[01.09.20 22:58:43:550 GMT-06:00], 1ad9030 WebApplicatio X
Unable to get Web Application Attributes in order to calculate
root URI.
Root URI will be set to nullXMLC0046E: Exception
java.lang.NullPointerException
[01.09.20 22:58:43:552 GMT-06:00] 1ad9030 ServletConfig A
XMLC0053I:XMLC0036E:Unable to get Web Application Attributes in order to calculateroot URI.Root URI will be set to nullXMLC0046E: Exceptionjava.lang.NullPointerException[01.09.20 22:58:43:552 GMT-06:00], 1ad9030 ServletConfig A
Importing Servlet : Error Reporting Facility
[01.09.20 22:58:43:554 GMT-06:00] 1ad9030 WebApplicatio X Failed
to
create WebApplication : TestWebAppXMLC0074I: Ending Child
Processing.
Exception : java.lang.NullPointerException XMLC0053I:Importing Servlet : Error Reporting Facility[01.09.20 22:58:43:554 GMT-06:00], 1ad9030 WebApplicatio X Failedtocreate WebApplication : TestWebAppXMLC0074I: Ending ChildProcessing.Exception : java.lang.NullPointerException Local fix
After generating an XML Export of the Web Application you want
to import, edit the XML Export file.
Search on the Web Application name.
.
Change the following classpath tag from:<classpath/>
.
TO:Change the following classpath tag from:. <classpath></classpath> TO: Problem summary
****************************************************************
* USERS AFFECTED: All WebSphere Application Server 3.5 *
* XMLConfig users. *
****************************************************************
* PROBLEM DESCRIPTION: Using XMLConfig to import a Web Appl *
* fails when no classpath is defined. *
****************************************************************
* RECOMMENDATION: *
****************************************************************
Since "classpath" attribute is a REQUIRED attribute for
ServletGroupAttributes, it needs to be initialized properly
in the client code. Problem conclusion
Fixed code in WebApplicationConfig.java file. Temporary fix
pq52742.jar Comments
efix files are located in \\wasdoc0\apars\pq52742, please follow
the instructions as per readme.txt file.
APAR information | APAR number | PQ52742 | Reported component name | WAS ADVANCED SU | Reported component ID | 5648C8402 | Reported release | 350 | Status | CLOSED PER | PE | NoPE | HIPER | NoHIPER | Submitted date | 2001-09-25 | Closed date | 2001-10-11 | Last modified date | 2001-10-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 SU | Fixed component ID | 5648C8402 |
Applicable component levels | R350 PSY | UP |
|