Hello Danilo,

Monday, May 13, 2002, 4:58:41 PM, you wrote:

DLR>    Hi,

DLR>    When I deploy my .jar to JBoss 3.0 rc2 I get this warning :

DLR> INFO [EjbDeployer]
DLR> Bean : MyBeanName
DLR> Section : 10.3.4
DLR> Warning : the entity bean class must be defined as public and abstract

DLR> What cause this message ?

DLR> After this I get a error :

DLR> ERROR [EntityContainer] Exception in sevice lifecyle operation: create
DLR> org.jboss.deployment.DeploymentException: No abstract accessors for field 
DLR> named 'codDisc' found in entity class.
DLR>    at 
DLR> 
org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCCMPFFieldMetaData.loadFieldType(JDBCCMPFFieldMetaData.java:603)

DLR>    But I have the getter and setter methods on my bean class.
DLR>    What can be wrong ?

You are, probably, developed EJB1.1 but in specified it as EJB2.0 in
ejb-jar.xml (http://java.sun.com/dtd/ejb-jar_2_0.dtd) Replace it
with http://java.sun.com/j2ee/dtds/ejb-jar_1_1.dtd.

Good luck!

DLR> ----
DLR> Danilo Luiz Rheinheimer
DLR> Florianopolis/SC Brasil
DLR> Sony Cli� 615C
DLR> mailto:[EMAIL PROTECTED]
DLR> ----


DLR> _______________________________________________________________

DLR> Have big pipes? SourceForge.net is looking for download mirrors. We supply
DLR> the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
DLR> _______________________________________________
DLR> JBoss-user mailing list
DLR> [EMAIL PROTECTED]
DLR> https://lists.sourceforge.net/lists/listinfo/jboss-user

-- 
Best regards,
 Alex Loubyansky                           mailto:[EMAIL PROTECTED]



_______________________________________________________________

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to