[jboss-user] [EJB3] - How to use ejb3 in ejb2 using xdoclet
bharath sadanagiri
do-not-reply at jboss.com
Thu Nov 4 09:49:07 EDT 2010
bharath sadanagiri [http://community.jboss.org/people/jayabharath] created the discussion
"How to use ejb3 in ejb2 using xdoclet"
To view the discussion, visit: http://community.jboss.org/message/569647#569647
--------------------------------------------------------------
Hi,
We have an EJB2 project, in this project xdoclets have been used. I have written an EJB3.0 stateless session bean, I am trying to use the EJB3.0 stateless SB in 2.0 MDB that has xdoclets. I have declared like the following
* @jboss.depends
* name="jboss.j2ee:jndiName=ERPayrollReceiver/AuditService/local,service=EJB"
*
* @ejb.ejb-ref ejb-name="AuditService"
* view-type="local"
* ref-name="ejb/AuditServiceLocal"
But I am getting the following compile time exception.
[ejbdoclet] Generating EJB deployment descriptor (ejb-jar.xml).
[ejbdoclet] (XDocletMain.start 53 ) Running XDoclet failed.
[ejbdoclet] (XDocletMain.start 54 ) <<No such EJB defined: AuditService>>
[ejbdoclet] C:\SVN_DAS\ERPush\build\macros-include.xml:15: XDoclet failed.
[ejbdoclet] at xdoclet.DocletTask.start(DocletTask.java:471)
Any help can be appreciated.
Thanks,
Bharath
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/569647#569647]
Start a new discussion in EJB3 at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2029]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20101104/0b1611f6/attachment.html
More information about the jboss-user
mailing list