I have an EAR file that can be deployed with the IBM WAS admin console successfully, but error out if deployed with JENKINS, was admin scripts, e.g. AdminApp.update:
exception information:
com.ibm.websphere.management.application.client.AppDeploymentException: com.ibm.websphere.management.application.client.AppDeploymentException: [Root exception is org.eclipse.jst.j2ee.commonarchivecore.internal.exception.DeploymentDescriptorLoadException: dd_in_ear_load_EXC_] org.eclipse.jst.j2ee.commonarchivecore.internal.exception.DeploymentDescriptorLoadException: org.eclipse.jst.j2ee.commonarchivecore.internal.exception.DeploymentDescriptorLoadException: dd_in_ear_load_EXC_
Since I am deploying the same EAR file to the same app server, i don't believe that application.xml and web.xml may be causing it.
What else i should check?
Thanks
Problem resolved.
Compatibility of the
JDKversions causes this issue.The JDK version of the compiler is 1.8, while the wsadmin.sh was using a lower version.
EAR deployed successfully after adding the option
"-javaoption -Djava.version=1.8"in the command line.