Yup, that was it. Is this going to resolved in CVS? I can fix this myself in the templates, but I'd rather it was in an official release. Thanks!
>From: Daniel Bratell <[EMAIL PROTECTED]> >To: "Patrick Lightbody" <[EMAIL PROTECTED]>, >[EMAIL PROTECTED] >Subject: Re: [Xdoclet-user] Anyone ever see this? >Date: Mon, 18 Feb 2002 09:49:40 +0100 > >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 _________________________________________________________________ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx _______________________________________________ Xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user
