Hey tek, I don't have access to my bean right now. But
I can tell you that it is not declared as abstract,
does it have to be? Should I leave out methods like
Activate, Passivate, Remove, etc.?

Thanks for your help, I truly appreciate it!

--- tek1 <[EMAIL PROTECTED]> wrote:
> What version of XDoclet are you using?
> 
> The @ejb tag looks ok.  Although "@ejb:bean" works,
> I believe that the 
> syntax is moving to a "." between the tag and the
> attribute (i.e. "@ejb.bean").
> 
> Also, is your ServiceBean declared as an abstract
> class, and does it 
> implement javax.ejb.SessionBean?
> 
> What does your ServiceBean class look like?
> 
> 
> 
> At 14:48 03/06/09 -0700, you wrote:
> >Hi all, I'm working on a session bean and I'm
> trying
> >to generate with Xdoclet. I'm getting the following
> >error while generating my ejb-jar.xml:
> >
> >[ejbdoclet] org.xml.sax.SAXParseException: The
> content
> >of element type "enterpri
> >se-beans" is incomplete, it must match
> >"(session|entity|message-driven)+"
> >
> >I have the following "header" in my session bean
> .java
> >file:
> >
> >  * @ejb:bean name="ServiceBean"
> >  *           type="Stateless"
> >  *           jndi-name="Service"
> >
> >As for my build file, I have the following inside
> my
> ><ejbdoclet> <filset> tag:
> >
> ><fileset dir="${myApplication.java.dir}">
> ><include name="ServiceBean.java" />
> ></fileset>
> >
> >Just to be sure if my "dir" was correct I did an
> echo
> >on it and it was fine.
> >
> >I have no clue as to what could be wrong. I would
> >truly appreciate any help.
> >
> >Regards.
> 
> 
> 
>
-------------------------------------------------------
> This SF.net email is sponsored by:  Etnus, makers of
> TotalView, The best
> thread debugger on the planet. Designed with thread
> debugging features
> you've never dreamed of, try TotalView 6 free at
> www.etnus.com.
> _______________________________________________
> xdoclet-user mailing list
> [EMAIL PROTECTED]
>
https://lists.sourceforge.net/lists/listinfo/xdoclet-user


__________________________________
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com


-------------------------------------------------------
This SF.net email is sponsored by:  Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.com.
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to