Author: techfox9
Helpful WebLogic error messages..
Monday, June 14th, 2010 @ 9:51 pm
In WebLogic 10.3 ..
weblogic-ejb-jar.xml with this entity-descriptor:
<entity-descriptor> <persistence> <persistence-use> <type-identifier>WebLogic-CMP</type-identifier> <type-version>6.0</type-version> ... </persistence-use> </persistence> </entity-descriptor>
Triggers this error (Note the -truly- useful help message):
Unable to deploy EJB: /opt/bea/user_projects/domains/base_domain/servers/AdminServer/stage /_appsdir_ProductEjb_jar/ProductEjb.jar from ProductEjb.jar: Persistence type 'WebLogic-CMP' with version '6.0' which is referenced in bean 'Product' is not installed. The installed persistence types are:(WebLogic_CMP_RDBMS, 5.1.0), (WebLogic_CMP_RDBMS, 7.0), (WebLogic_CMP_RDBMS, 6.0).
Change this:
<type-identifier>WebLogic-CMP</type-identifier> <type-version>6.0</type-version>
to this:
<type-identifier>WebLogic_CMP_RDBMS</type-identifier> <type-version>7.0</type-version>
and the jar will deploy.