AddNode federation fails with NullPointer error
 Technote (troubleshooting)
 
Problem(Abstract)
The addNode.sh or addNode.bat scripts fail with NullPointer error when client tried to federate the node into the cell, with the following error:

[8/8/05 9:17:54:773 EDT] 1b16e52 AdminTool A ADMU0012I: Creating Node Agent configuration for node: mynode-01
[8/8/05 9:17:54:926 EDT] 1b16e52 NodeFederatio d setup NodeAgent data
[8/8/05 9:17:54:953 EDT] 1b16e52 NodeFederatio d fix up local serverindex.xml
[8/8/05 9:17:55:000 EDT] 1b16e52 AbstractNodeC d JVM handle is ==> WebSphere:cell=mycell-01Network,mbeanIdentifier=JVM,name=JVM,node=mynode-01Manager,platform=common,process=dmgr,type=JVM,version=5.0.1
[8/8/05 9:17:55:131 EDT] 1b16e52 NodeFederatio d remove all apps
[8/8/05 9:17:55:170 EDT] 1b16e52 AdminTool A ADMU0014I: Adding node mynode-01 configuration to cell: mycell-01Network
[8/8/05 9:17:55:495 EDT] 1b16e52 FileTransferC A ADFS0134I: File transfer is configured with host="myhost-01", port="9090", securityEnabled="false".
[8/8/05 9:17:55:530 EDT] 1b16e52 NodeFederatio E ADMU0011E: Error creating configuration in the cell repository java.lang.NullPointerException
at com.ibm.websphere.management.repository.RepositoryInputStream.markSupported(RepositoryInputStream.java:233)

 
Cause
The filetransfer.ear application tag was missing in serverindex.xml file and filetransfer application was not running.
<serverEntries xmi:id="ServerEntry_1" serverDisplayName="dmgr" serverName="dmgr" serverType="DEPLOYMENT_MANAGER">
<deployedApplications>Admin Console.ear/deployments/Admin Console</deployedApplications>
<specialEndpoints xmi:id="NamedEndPoint_1" endPointName="CELL_DISCOVERY_ADDRESS">
 
Resolving the problem
To resolve this problem you should check your configuration to make sure that:
  1. Check the install_root/config/cell_name/applications/ to ensure that filetransfer.ear directory is exit in config.
  2. Check the serverindex.xml file to validate the filetransfer.ear is deployed. Open the serverindex.xml file and verify that the following line is present:
    <deployedApplications>filetransfer.ear/deployments/filetransfer</deployedApplications>
  3. Open the administrative console to verify the filetransfered application is running.

If any of above is not configured correctly, reinstall the filetransfer.ear application. For directions, see Reinstalling the adminconsole or filetransfer application.
 
 
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: 5.1.1.6
Software edition:
Reference #: 1217295
IBM Group: Software Group
Modified date: Sep 16, 2005