Setting PSALLOC and NODISCLAIM with WSADMIN
 Technote (FAQ)
 
Problem
This technote explains setting PSALLOC and NODISCLAIM in the environment entry of the WebSphere Application Server Process definition with WSADMIN when they do not already exist.
 
Solution
For reference this is a snippet from server.xml.

<environment xmi:id="Property_1130353515374"
name="NODISCLAIM" value="true" required="false"/>
<environment xmi:id="Property_1130353550850"
name="PSALLOC" value="early" required="false"/>

set server1 [$AdminConfig getid /Cell:mycell/Node:mynode/Server:server1/]

Example output:
server1(cells/mycell/nodes/mynode/servers/server1:server.xml#Server_1)


set processDef [$AdminConfig list JavaProcessDef $server1]

Example output: :
(cells/mycell/nodes/mynode/servers/server1:server.xml#JavaProcessDef_1)

To create PSALLOC and NODISCLAIM environment entries, use the following command (all one line):
$AdminConfig modify $processDef {{environment {{{name NODISCLAIM} {value true} {required false}} {{name PSALLOC} {value early} {required
false}}}}}
 
Related information
WebSphere Application Server 5.1.1 Information Center
 
 
Cross Reference information
Segment Product Component Platform Version Edition
Application Servers Runtimes for Java Technology Java SDK
 
 


Document Information


Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server > Administrative Scripting Tools (for example: wsadmin or ANT)
Operating system(s): Windows
Software version: 6.0
Software edition:
Reference #: 1243635
IBM Group: Software Group
Modified date: Aug 10, 2006