WebLogic 6.0 CMP 1.1


EJB programming & troubleshooting: WebLogic 6.0 CMP 1.1

  1. WebLogic 6.0 CMP 1.1 (1 messages)

    Has anyone successfully used WebLogic 6.0 CMP 1.1 -- i.e., using the DTD


    I have a weblogic-rdbms-jar.xml that uses this DTD, and a weblogic-ejb-jar.xml that has the following persistence type entry:


    The persistence use entry matches this.

    When I try to deploy, I get the following error message:

    Error while deploying EJB 'AccountBean'. The bean is using container managed persistence version 1.x, but the bean's persistence type is using version 2.x. The types must be the same.

    Any ideas?

    (I realize I could use 5.1 CMP. BEA support has recommended using the 6.0 CMP 1.1.)

  2. WebLogic 6.0 CMP 1.1[ Go to top ]

    If you're using the example provided by Weblogic (guessing that is where AccountBean comes from) have you made sure you are using the version in the ejb20 sub-directory rather than the ejb sub-directory?