The addNode command with portal installed on node fails with error ADMU0040E MBeanException "doMergeConfig failed" caused by "Too many open files"
 Technote (troubleshooting)
 
This document applies only to the following language version(s):
English
 
Problem(Abstract)
The addNode.sh command on node with portal installed fails with following error.

ADMU0040E: Exception on MBean invocation WebSphere:platform=dynamicproxy,cell=Cell01,version=6.0.0.1,name=AdminOperations,mbeanIdentifier=AdminOperations,type=AdminOperations,node=CellManager01,process=dmgr mergeConfigDataOnDmgr javax.management.MBeanException: null nested exception is com.ibm.websphere.management.exception.AdminException: doMergeConfig failed
 
Cause
doMergeConfig failed exception is really cause by "Too many open files" as shown in following exception captured in addNode trace.
AbstractNodeC E ADMU0040E: Exception on MBean invocation WebSphere:platform=dynamicproxy,cell=Cell01,version=6.0.0.1,name=AdminOperations,mbeanIdentifier=AdminOperations,type=AdminOperations,node=CellManager01,process=dmgr mergeConfigDataOnDmgr javax.management.MBeanException: null nested exception is com.ibm.websphere.management.exception.ConfigServiceException:

WKSP0018E Error read file for cells/Cell01/applications/app.ear/deployments/app/META-INF/was.policy --java.io.FileNotFoundException: /opt/WebSphere/AppServer/profiles/Dmgr01/wstemp/addNode1110262339903/workspace/cells/Cell01/applications/app.ear/deployments/app/META-INF/was.policy (Too many open files)
 
Resolving the problem
Run following command in the command window
ulimit -n

If it returns 1024, increase to 2048 by command
ulimit -n 2048
 
 
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): Solaris
Software version: 6.0.0.2
Software edition:
Reference #: 1201622
IBM Group: Software Group
Modified date: Mar 27, 2005