[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jboss-user
Subject:    Re: [JBoss-user] Deploying local entity beans
From:       Horia Muntean <horia () bvb ! ro>
Date:       2003-05-30 7:03:07
[Download RAW message or body]

Check the DTD from your *.xml descriptors. i.e. your ejb-jar.xml should 
start with:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise 
JavaBeans 2.0//EN" "http://java.sun.com/dtd/ejb-jar_2_0.dtd">

<ejb-jar >
.....................................

Regards,
Horia

Marco Tedone wrote:
> Hi, I'm deploying a very simple entity bean on Jboss. My intention is to
> deploy it with a Local Interface and manage it through a session bean
> facade.
> 
> During deployment I receive the following error:
> 
> <!-- ERROR BEGIN -->
> 22:51:14,390 WARN  [verifier] EJB spec violation:
> Bean   : UsersEJB
> Section: 9.2.2
> Warning: The entity bean class must not be defined as abstract.
> 
> 22:51:14,390 WARN  [verifier] EJB spec violation:
> Bean   : UsersEJB
> Section: 9.4.7.1
> Warning: The primkey-field element must name a public field in the bean
> implemen
> tation class.
> 
> <!-- ERROR END -->
> 
> It's true that I declared the BeanImplementation class as abstract (as it
> contains the abstract getter and setter methods), but I'm following the
> Professional EJB book, edited by wrox.
> 
> Shall I assume that I'm reading a faulty book, or is there anything in my
> architecture which I'm missing?
> 
> Thanks for any help,
> 
> Marco
> 
> 
> 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: eBay
> Get office equipment for less on eBay!
> http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
> _______________________________________________
> JBoss-user mailing list
> JBoss-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jboss-user



-------------------------------------------------------
This SF.net email is sponsored by: eBay
Get office equipment for less on eBay!
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic