The following comment has been added to this issue: Author: Andrew Stevens Created: Fri, 14 Jan 2005 5:41 PM Body: Section 7.11.9 of the EJB 2.1 spec says "The web service endpoint interface must not include an EJBObject or EJBLocalObject as either a parameter or return type. ... The web service endpoint interface methods must not expose local or remote interface types, local or remote home interface types, timers or timer handles, ..."
Therefore the methods mentioned in the warnings public abstract boolean isIdentical(EJBObject) throws RemoteException and public abstract EJBHome getEJBHome() throws RemoteException are invalid. Where did those methods come from? Your own, inherited, or generated? Post your source class, please. --------------------------------------------------------------------- View this comment: http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1234?page=comments#action_15620 --------------------------------------------------------------------- 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: Fri, 14 Jan 2005 5:41 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