Friday, December 10, 2010

Converting XMI file to XML

With J2EE 5.0 applications, we might see the following error during application deployment to WAS 7.0

com.ibm.websphere.management.application.client.AppDeploymentException: ADMA0207E: EE 5 module adminredirector.war in ear file contains unsupported xmi format bindings file.
at com.ibm.ws.management.application.client.AppInstallHelper.checkIfEE5ModulesContainXMIBindings(AppInstallHelper.java:1066)
at com.ibm.ws.management.application.client.AppInstallHelper.checkForEE5Restrictions(AppInstallHelper.java:324)
at com.ibm.ws.management.application.task.ValidateEE5RestrictionTask.performTask(ValidateEE5RestrictionTask.java:126)
The way to overcome the above error is
1) Convert ibm-web-ext.xmi and ibm-web-bnd.xml files to use the new IBM's J2EE 5.0 XML schema. Use files from an existing J2EE 5.0 application in RAD 7.5 or RAD 8.0 as a sample and modify them.
2) Change file extension to ".xml" from ".xmi".

Redeploy the application.

No comments:

Post a Comment