Unable to deploy a portlet (war file) using the Administrative Console or wsadmin
 Technote (troubleshooting)
 
Problem(Abstract)
Receiving java.lang.NullPointerException while trying to deploy a war file.

[3/2/05 10:07:26:953 EST] 163fecb4 WebGroup E SRVE0026E: [Servlet Error]-[]: AppDeploymentException: [ADMA0092E: Unexpected exception occurred while preparing task CorrectOracleIsolationLevel. Please check server machines FFDC for more information.]
AppDeploymentException:
java.lang.NullPointerException
AppDeploymentException:
java.lang.NullPointerException
java.lang.NullPointerException
at com.ibm.ws.management.application.client.AppInstallHelper.getModuleConfig
(AppInstallHelper.java:230)
at com.ibm.websphere.management.application.client.ArchiveDeploymentInfo.
createModuleConfig(ArchiveDeploymentInfo.java:138) ......
 
Cause
This occurs because the bindings file is missing the following tag:
<webapp href="WEB-INF/web.xml#WebApp_ID"/>

The bindings file is located in \WAS_ROOT\config\cells\<cellName>\applications\
<appName>\deployments\<appName.ear>\<warName.war>\WEB-INF\ibm-web-bnd.xmi
 
Resolving the problem
Add the following line:
<webapp href="WEB-INF/web.xml#WebApp_ID"/>

It is recommended that you use the assembly tool to modify or update the bindings file and redeploy the ear file into IBM® WebSphere® Application Server.

Note: The same problem can also occur with the extensions file ibm-web-ext.xmi located in the same path as the bindings file.
 
 
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 > Deploy (for example: AAT or ANT or EAR/WAR/JAR)
Operating system(s): AIX
Software version: 6.0.2
Software edition:
Reference #: 1201105
IBM Group: Software Group
Modified date: Jan 30, 2006