Wsinstance fails to install administrative console and filetransfer applications, issues NullPointerException
 Technote (troubleshooting)
 
Problem(Abstract)
On DMGR , wsinstance fails to install administrative console application and file transfer applications, and issues a NullPointerException.
 
Cause
Corrupted .repository directory in Install_Root /bin/wsinstance/configdefaults.
Exception in InstallAdmin_CellName.log.

WASX7318E: Received exception while declaring AdminControl; exception information:
com.ibm.ws.scripting.ScriptingException: java.lang.NullPointerException

Exception in wsadmin.trace

[9/2/04 19:05:53:423 EDT] 8deba2b WorkSpaceMast E WKSP0020E: Error getting meta data repository root /usr/WebSphere/DeploymentManager/Cell2/config/.repository.
[9/2/04 19:05:53:425 EDT] 8deba2b AbstractShell A WASX7093I: Issuing message:
"WASX7318E: Received exception while declaring AdminControl; exception information:
com.ibm.ws.scripting.ScriptingException: java.lang.NullPointerException"
[9/2/04 19:05:53:426 EDT] 8deba2b AbstractShell E WASX7120E: Diagnostic information
from exception with text "com.ibm.ws.scripting.ScriptingException:
java.lang.NullPointerException " follows:
java.lang.NullPointerException
at com.ibm.ws.management.configservice.NodeDelegator.<init>(NodeDelegator.java:50)

In the wsinstance debug output file the administrative console application should have failed with [exec] Result: 150 return code.

The corrupted Install_Root /bin/wsinstance/configdefaults/.repository file causes the NullPointerException and it causes the wsinstance to fail to install the applications.
 
Resolving the problem
  1. Copy the .repository file from Install_Root /config/ to
    Install_Root /bin/wsinstance/configdefaults

  2. Run the wsinstance command again.
 
wsadmin.traceoutoutputinstallAdmin_CellName.log
 
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 > System Management/Repository
Operating system(s): Solaris
Software version: 5.1.1
Software edition:
Reference #: 1179012
IBM Group: Software Group
Modified date: Sep 3, 2007