[
http://jira.jboss.com/jira/browse/EJBTHREE-1156?page=comments#action_1239... ]
Andrew Lee Rubinger commented on EJBTHREE-1156:
-----------------------------------------------
If 2.1 Stateless "create" method is not a single method with no parameters, the
following message will be displayed on deployment:
vfsfile:/home/alrubinger/business/jboss/wc/jbossas/trunk/ejb3/output/test-lib/ejbthree1156.jar
-> java.lang.RuntimeException: EJB 3.0 Specification Violation (4.6.8 Bullet 4, 4.6.10
Bullet 4): "A stateless session bean must define exactly one create method with no
arguments."; found in org.jboss.ejb3.test.ejbthree1156.TestHome
Ensure Stateless EJBs 2.1 Home define only one "create()"
method with no arguments
----------------------------------------------------------------------------------
Key: EJBTHREE-1156
URL:
http://jira.jboss.com/jira/browse/EJBTHREE-1156
Project: EJB 3.0
Issue Type: Bug
Reporter: Andrew Lee Rubinger
Assigned To: Andrew Lee Rubinger
Fix For: AS 5.0.0.CR1
EJB3 Core Specification 4.6.8 Bullet 4:
A session bean's remote home interface must define one or more create<METHOD>
meth-
ods. A stateless session bean must define exactly one create method with no arguments.
Same applies for Local.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira