PQ73288: The utility wsadmin runs out of memory trying to deploy large applications.

 Fixes are available

5.0.1: WebSphere Application Server Version 5.0 Fix Pack 1 (Version 5.0.1)
5.0.2: WebSphere Application Server Version 5.0 Fix Pack 2 (Version 5.0.2)



APAR status
Closed as program error.

Error description
The wsadmin script fails when attempting to deploy large
applications because it invokes java using the default jvm heap
size, which gets exhausted.

JVM heap control parameters should be added to the wsadmin
script to set the Min and Max heap size and map directly to the
Local fix
java param ters, -Xms<size>  -Xmx<size>.

Depending on size of the applicaton being deployed, the out of
memory error may happen at different places during runtime, but
this is a typical error:

WASX7015E: Exception running command: "$AdminApp taskInfo  samp
MapWebModToVH"; exception information:
com.ibm.bsf.BSFException: error while eval'ing Jacl expression:
java.lang.OutOfMemoryError
LOCAL FIX:&#65437;
Manual edit of wsadmin script.
Not acceptable for production deployment.
Problem summary
****************************************************************
* USERS AFFECTED: WebSphere Application Server users who use   *
*                 wsadmin to deploy applications               *
****************************************************************
* PROBLEM DESCRIPTION: The utility wsadmin runs out of         *
*                      memory trying to deploy large           *
*                      applications.                           *
****************************************************************
* RECOMMENDATION:                                              *
****************************************************************
The wsadmin scripting tool relies on the JVM default
heap size specific to the Operating System, and often it is not
sufficient.  When deploying large applications, the customer
sees java.lang.OutOfMemoryError exceptions.
Customer can manually edit the wsadmin.sh or bat file to
specify more reasonable settings.  However, the problem remains
that the hard coded value is not flexible.
Problem conclusion
This fix provides a wsadmin command option -javaoption which
is used to specify java standard and non-standard option,
for example:

wsadmin -javaoption -Xms128m -javaoption -Xmx256m -f
myScript.jacl
Temporary fix
packaged and posted interim fix on 
pq99999 repository for distri
bution to cu to test
Comments
APAR information
APAR number PQ73288
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-04-16
Closed date 2003-05-23
Last modified date 2003-05-23

APAR is sysrouted FROM one or more of the following:

APAR is sysrouted TO one or more of the following:

Modules/Macros
wsadmin          

Publications Referenced

Fix information

Applicable component levels
R003 PSY    UP
R00A PSY    UP
R00H PSY    UP
R00I PSY    UP
R00S PSY    UP
R00W PSY    UP


Document Information


Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server > General
Operating system(s):
Software version: 00W
Software edition:
Reference #: PQ73288
IBM Group: Software Group
Modified date: May 23, 2003