Hi all,
I am using jboss beta2.
I setting <configuration-name> Standard CMP 2.x EntityBean (defined in jboss.xml) and <cmp-version>2.x</cmp-version> (defined in ejb-jar.xml)
Accordingly to the spec I can define Bean implementation as an abstract class. Also I explicitely added public constractor with no arguments.
So why I am receiving such strange warning while I am deploying (see below). Also findByPrimaryKey throws javax.ejb.FinderException while acessing bean.
However when I define configuration-name in jboss.xml as "Standard CMP EntityBean" I don't have such warning and findByPrimaryKey works fine.
Is it any problems in this version of jboss?
The warnings:
--------------
Bean : InfoEJB
Section: 9.2.2
Warning: The entity bean class must not be defined as abstract.
11:32:34,643 INFO [EJBDeployer]
Bean : InfoEJB
Section: 9.2.2
Warning: The entity bean class must define a public constructor that takes no arguments.
----------------------