At 00:41 2002-02-18 -0800, Patrick Lightbody wrote:
>I'm trying to deploy something using Xdoclet. The ejbtask tag in ant has 
>the spec set to 1.1, and all the WL XML files generated are pointint to 
>1.1 DTDs, so why is this error still coming up?
...
>"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."

I found out the hard way that XDoclet doesn't support CMP 1.1 beans in 
Weblogic. Look at your weblogic-ejb-jar.xml file. There you'll find:

             <persistence-type>
                <type-identifier>WebLogic_CMP_RDBMS</type-identifier>
--->            <type-version>6.0</type-version>
                <type-storage>META-INF/weblogic-cmp-rdbms-jar.xml</type-storage>
             </persistence-type>

The line with 6.0 tells Weblogic to use the CMP2 engine. For CMP 1.1 that 
should be 5.1.0. That 6.0 is hardcoded into XDoclet's templates. (Consider 
this a bug report).

/Daniel


_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to