facebook

Deploying to WAS 7 using ibm-application-bnd.xml: Fails

  1. MyEclipse Archived
  2.  > 
  3. Application Servers and Deployment
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #322123 Reply

    Dan Seppeler
    Member

    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:

    <?xml version=”1.0″ encoding=”UTF-8″?>
    <applicationbnd:ApplicationBinding
    xmi:version=”2.0″ xmlns:xmi=”http://www.omg.org/XMI&#8221;
    xmlns:applicationbnd=”applicationbnd.xmi” xmlns:application=”application.xmi”
    xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance&#8221; xmi:id=”ApplicationBinding”>
    <authorizationTable xmi:id=”AuthorizationTable”>
    <authorizations xmi:id=”RoleAssignment”>
    <role href=”META-INF/application.xml#Role_01″ />
    <users xmi:id=”User_01″ name=”abcdefg” />
    <groups xmi:id=”Group_01″ name=”PBMSUser” />
    </authorizations>
    </authorizationTable>
    <application href=”META-INF/application.xml#Application_ID” />
    </applicationbnd:ApplicationBinding>

    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!

    #322134 Reply

    support-joy
    Member

    dseppele,

    Sorry to hear you are running into this issue. This issue is WAS specific and not related to MyEclipse. I would recommend you try out the suggested fix here – http://publib.boulder.ibm.com/infocenter/wasinfo/v6r0/index.jsp?topic=%2Fcom.ibm.websphere.express.doc%2Finfo%2Fexp%2Fae%2Frtrb_installappprob.html or cross-post on WAS forums.

    Sorry for the inconvenience.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Deploying to WAS 7 using ibm-application-bnd.xml: Fails

You must be logged in to post in the forum log in