Bom dia pessoal.
Estou fazendo a migração de um sistema que roda hoje em JBoss para o WebLogic na versão 10.3.
O maior problema que estou encontrando é com mapeamento dos EJBs, principalmente Entity, CMP.
Erro encontrado:
weblogic.xml.process.SAXValidationException: [EJB:012021]Error: No persistence-type element was declared with the type-i
dentifier ‘WebLogic_CMP_RDBMS’ and ‘6.0’ for the EJB ‘CfgApresentacaoAtivEJB’. Make sure your persistence-use declaration matches up with one of your persistence-type declarations for this EJB in the weblogic-ejb-jar.xml file…
at weblogic.ejb.container.deployer.EJBModule.prepare(EJBModule.java:452)
Segue meu weblogic-ejb-jar.xml
<?xml version="1.0"?>
<!DOCTYPE weblogic-ejb-jar PUBLIC
"-//BEA Systems, Inc.//DTD WebLogic 6.0.0 EJB//EN"
"http://www.bea.com/servers/wls600/dtd/weblogic-ejb-jar.dtd">
<weblogic-ejb-jar>
<weblogic-enterprise-bean>
<ejb-name>CfgApresentacaoAtivEJB</ejb-name>
<enable-call-by-reference>true</enable-call-by-reference>
<jndi-name>CfgApresentacaoAtivEJB</jndi-name>
<entity-descriptor>
<persistence>
<persistence-use>
<type-identifier>WebLogic_CMP_RDBMS</type-identifier>
<type-version>6.0</type-version>
<type-storage>META-INF/weblogic-rdbms-jar.xml</type-storage>
</persistence-use>
</persistence>
</entity-descriptor>
</weblogic-enterprise-bean>
</weblogic-ejb-jar>
Alguém já deparou com esse problema ?