You must increase the heap size in the ejbdeploy.bat/sh script
to avoid time-out errors.
AIX, Linux, SoloarisGo to the [appserver root]/deploytool/itp/
directory and open ejbdeploy.sh for editing.
(Solaris only) In the SunOS section,
find the EJBDEPLOY_JVM_OPTIONS attribute and change
the value of the -XX:PermSize option to 256m,
and ensure that the value of the -Xverify option
is none.
Change the heap size in the $JAVA_CMD\ section to the following
value:
Save and close the file.
Windows
WindowsGo to [appserver root]\deploytool\itp
and open the ejbdeploy.bat file in a text editor.
Find the line beginning with %JAVA_HOME% and then find the
argument -Xmx.
Change the argument to -Xmx512M.
Save and close the file.
Increase MaxPermSize (WebSphere on Solaris)Log in to the WebSphere Administrative Console.
In the navigation tree of the WebSphere Administrative Console,
do one of the following:
Under Server Infrastructure, click Java and Process Management > Process Definition.
Under Additional Properties, click Java Virtual Machine.
In the Generic JVM Arguments, enter the MaxPermSize
parameter as follows: -XX:MaxPermSize=512m
Click OK or Apply.
In the Messages box, click Save directly to master
configuration, and then restart the application server.
|
|
|