APAR status
Closed as program error.
Error description
WebSphere Application Server includes an mb2mdb tool that is
Local fix
To work around the problem, the mb2mdb.bat or mb2mdb.sh file can
Problem summary
****************************************************************
* USERS AFFECTED: This problem affects customers who wish to *
* migrate their Message Bean applications *
* from WebSphere Application Server *
* Enterprise Extensions 4.0 to WebSphere *
* Application Server Version 5.x. *
****************************************************************
* PROBLEM DESCRIPTION: When attempting to migrate a Message *
* Bean that has been written for *
* WebSphere Application Server Version *
* 4.0 using the Version 5 utility *
* MB2MDB, the migration process fails *
* with one of the following errors: *
* *
* WMSG0213E: Compile error 1 *
* compiling generated code *
* *
* WMSG0213E: Compile error 2 *
* compiling generated code *
****************************************************************
* RECOMMENDATION: *
****************************************************************
The first error is usually generated if a problem occurs when
attempting to compile the Message Bean that is being migrated.
The most likely cause of this error is if the Message Bean has
been packaged up into an Enterprise Application Resource
(EAR), and has dependencies on utility JARs that are also
included in the EAR. Currently, the MB2MDB utility does not
take into account any utility JARs that are contained within
an EAR when compiling the migrated Message Bean.
The second error usually occurs if the migration utility
is being run from a directory that contains spaces in it's
name.
Problem conclusion
Change the MB2MDB utility so that, if the Message Bean has been
packaged up in an Enterprise Application Resource (EAR) that
contains Utility JARs, these JARs are extracted from the
EAR and used when the migrated Message Bean is compiled.
The utility has also been changed so that the CLASSPATH
parameter passed to the javac command (used to compile the
migrated Message Bean) is enclosed within double quotes(").
This ensures that the utility will work if it is run from a
directory that contains spaces in it's name.
Temporary fix Comments
APAR information |
APAR number |
PQ81392 |
Reported component name |
WAS BASE 5.0 |
Reported component ID |
5630A3600 |
Reported release |
00W |
Status |
CLOSED PER |
PE |
NoPE |
HIPER |
NoHIPER |
Special Attention |
NoSpecatt |
Submitted date |
2003-11-25 |
Closed date |
2004-01-05 |
Last modified date |
2004-01-05 |
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Modules/Macros
Publications Referenced
Applicable component levels |
R003 PSY |
UP |
R00A PSY |
UP |
R00H PSY |
UP |
R00I PSY |
UP |
R00P PSY |
UP |
R00S PSY |
UP |
R00W PSY |
UP |
R103 PSY |
UP |
R10A PSY |
UP |
R10H PSY |
UP |
R10I PSY |
UP |
R10P PSY |
UP |
R10S PSY |
UP |
R10W PSY |
UP |
|