|
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. |
|
|