The following issue has been updated:

    Updater: Steven Lamb (mailto:[EMAIL PROTECTED])
       Date: Sun, 16 Jan 2005 4:28 PM
    Comment:
I have attached the file. I need the <service-endpoint> to be generated in the 
ejb-jar.xml thats why the view-type="all" tag is there. Is there a better way 
of having the <service-endpoint> generated without violating the ejb spec?
    Changes:
             Attachment changed to HRFacadeBean.java
    ---------------------------------------------------------------------
For a full history of the issue, see:

  http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1234?page=history

---------------------------------------------------------------------
View the issue:
  http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1234

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XDT-1234
    Summary: ejbspec 2.1 does not generate correct files
       Type: Bug

     Status: Open
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: XDoclet
 Components: 
             EJB Module
   Versions:
             1.2.2

   Assignee: xdoclet-devel (Use for new issues)
   Reporter: Steven Lamb

    Created: Thu, 13 Jan 2005 10:09 PM
    Updated: Sun, 16 Jan 2005 4:28 PM
Environment: Windows 2000, Jboss 4.0.0, Maven 1.0, 

Description:
I have the following xdoclet code to generate a ejbSpect=2.1 bean:
 * @ejb.bean
 *              display-name = "Human Resources Facade Bean"
 *      jndi-name = "HRFacadeBean"
 *      type = "Stateless"
 *              transaction-type = "Bean"
 *              view-type = "all"
 * @ejb.util
 *      generate = "physical"
 */

However when I deploy this bean in JBoss 4.0.0 I get a DeploymentException:
Bean   : HRFacade
Method : public abstract EJBHome getEJBHome() throws RemoteException
Section: 7.11.9
Warning: No warning message found, please file a Bug report.
12:00:38,686 WARN  [verifier] EJB spec violation: 
Bean   : HRFacade
Method : public abstract boolean isIdentical(EJBObject) throws RemoteException
Section: 7.11.9
Warning: No warning message found, please file a Bug report.
12:00:38,702 ERROR [MainDeployer] could not create deployment: 
file:/D:/jboss-4.0.0/server/default/tmp/deploy/tmp32398ark-web-ears-ark-ear-SNAPSHOT.ear-contents/ark-web-ears-ark-ejb-SNAPSHOT.jar
org.jboss.deployment.DeploymentException: Verification of Enterprise Beans 
failed, see above for error messages.

I don't think that XDoclet is generating the correct Java files for deployment. 
I have verified that the ejb-jar.xml is of the correct spec version however.


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://opensource.atlassian.com/projects/xdoclet/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
xdoclet-devel mailing list
xdoclet-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to