Are you using JBoss 2.4.3 or the JBoss CVS code? EJB 2.0 is only in the
latest CVS, not the 2.4.x branch.
----- Original Message -----
From: "Peter Levart" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, October 11, 2001 12:55 PM
Subject: [JBoss-user] CMP 2.0 [JBoss 3.0]


> Hello!
>
> I'm new to JBoss so please bear with me...
>
> I've found a document with that title in the HOWTO section of the JBoss
HTML
> documentation. Is this supposed to work in the latest JBoss 2.4.3. I've
been
> trying to deploy a simple example (bundled with SUN's J2EE 1.3 - the
> cmpcustomer.ear). So besides the already perfect ejb-jar.xml I created the
> jbosscmp-jdbc.xml file as instructed in the HOWTO and added some other
things
> to it that I found would normally go to jaws.xml. The result:
>
> 1. jbosscmp-jdbc.xml is not even looked at.
> 2. If I pack everything into the jaws.xml it is deployed but I get some
> warnings:
>
> [Verifier]
> Bean   : CustomerBean
> Section: 9.2.2
> Warning: The entity bean class must not be defined as abstract.
>
> [Verifier]
> Bean   : CustomerBean
> Section: 9.2.2
> Warning: The entity bean class must define a public constructor that takes
no
> arguments.
>
> [Verifier]
> Bean   : CustomerBean
> Section: 9.4.7.1
> Warning: The primkey-field element must name a public field in the bean
> implementation class.
>
> ... which is an indication that it is trying to do CMP 1.1. and not  CMP
> 2.0...
>
> How can I tell JBoss to use CMP 2.0? Is JAWS and JBossCMP the same thing?
If
> not, where can I get JBossCMP?
>
> Regards, Peter
>
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
>


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

Reply via email to