The following error message appears when a J2EE app is attempted for deployment-
A composition unit with name already exists. Select a different application name.
RESOLUTION:
com.ibm.websphere.management.application.client.AppDeploymentException: ADMA0207E: EE 5 module adminredirector.war in ear file contains unsupported xmi format bindings file.The way to overcome the above error is
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)
PROBLEM #1:
at org.apache.openjpa.jdbc.schema.DataSourceFactory.newDataSource(DataSourceFactory.java:74)
..
..
[10/6/10 8:43:48:255 CDT] 00000017 SystemErr R Caused by: java.lang.RuntimeException: There were errors initializing your configuration:
at org.apache.openjpa.jdbc.schema.DataSourceFactory.newDataSource(DataSourceFactory.java:74)
RESOLUTION:
The link between WAS and OpenJPA is the "datasource" name specified in "persistence.xml". The above error indicates that such a link does not exist i.e., the datasource speficied in persistence.xml can not be found as JNDI resource on the WAS server. Therefore configure a matching JDBC resource (datasource). Further details on the link between two is found in OpenJPA-1.2.2 Manual.pdf - Section 4.2. Using a Third-Party DataSource.
PROBLEM #2:
[10/6/10 9:21:30:773 CDT] 00000019 SystemErr R
at org.apache.openjpa.jdbc.schema.DataSourceFactory.newConnectException(DataSourceFactory.java:256)
In the Data Source Configuration, I need to select the "Component-managed Authentication Alias". If it had a value of "None' which is the default, I was witnessing the above problem.
