MyEclipse: Deploying to WAS 7 using ibm-application-bnd.xml: Fails dseppele - Jan 05, 2012 - 04:46 PM Post subject: Deploying to WAS 7 using ibm-application-bnd.xml: Fails
I am having issues try to deploy a Java 1.6 application onto a Websphere 7 Application Server which contains a ibm-application-bnd.xml file in the EAR. I am able to make a deployment using Java 1.4 application onto Websphere 6 Application Server which contains a ibm-application-bnd.xmi file in the EAR. However, the J2EE5+ deployments require that the ibm-application-bnd file be in XML format instead of XMI.
Below is the framework of the ibm-application-bnd.xml file:
Unfortunately, when I try to deploy the EAR onto the Websphere 7 Application Server, the deployment fails with messages thrown into the MyEclipseBlue console:
WASX7017E: Exception received while running file "C:\Program Files\MyEclipse Blue Edition\Common\plugins\com.genuitec.eclipse.blue.websphere7_9.0.0.me201105192136\installEAR.jacl"; 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.ResourceLoadException: IWAE0007E Could not load resource "META-INF/ibm-application-bnd.xml" in archive "C:\Documents and Settings\dseppele\Local Settings\Temp\app15348.ear"]
org.eclipse.jst.j2ee.commonarchivecore.internal.exception.ResourceLoadException: org.eclipse.jst.j2ee.commonarchivecore.internal.exception.ResourceLoadException: IWAE0007E Could not load resource "META-INF/ibm-application-bnd.xml" in archive "C:\Documents and Settings\dseppele\Local Settings\Temp\app15348.ear"
This has me believing that the ibm-application-bnd.xml file is not loading properly.
If I remove the ibm-application-bnd.xml file from the EAR project, the deployment is successful. Unfortunately, the authorized users are not mapped to the application. I verified that the j_security_check form authentication/authorization is functioning properly after I manually added the users to the authorized user mapping on the server
I am guessing that the ibm-application-bnd.xml file is not properly loading thereby causing the deployment failure. IBM RAD I believe will generate this file but it appears that it needs to be manually created under MyEclipseBlue. Does anyone have a ibm-application-bnd.xml file that sucessfully deploys to WAS 7 or what approach do we use under MEB?
Any help would be appreciated!support-joy - Jan 05, 2012 - 08:10 PM Post subject:
dseppele,