[jboss-jira] [JBoss JIRA] Created: (JBAS-6699) EJB verification error message should contain the EJB spec version number

jaikiran pai (JIRA) jira-events at lists.jboss.org
Mon Mar 30 04:13:22 EDT 2009


EJB verification error message should contain the EJB spec version number
-------------------------------------------------------------------------

                 Key: JBAS-6699
                 URL: https://jira.jboss.org/jira/browse/JBAS-6699
             Project: JBoss Application Server
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: EJB2
    Affects Versions: JBossAS-5.1.0.Beta1
            Reporter: jaikiran pai
            Assignee: Alexey Loubyansky


When a EJB2 bean is being deployed, the deployer passes it through a verification stage. When the verification fails, the bean deployment is failed and a message is shown in the logs. Currently, the message does not include the EJB spec version. For example, when the bean remote interface and the bean impl class methods don't have a matching throws clause, the following error message is thrown:

12:59:20,209 WARN [verifier] EJB spec violation:
Bean : ejb_Test2
Method : public abstract void testAccess() throws RemoteException
Section: 7.10.5
Warning: All the exceptions defined in the throws clause of the matching method of the session bean class must be defined in the throws clause of the method of the remote interface.



Note the EJB section referred in this message. This section exists in EJB2.0 spec but not in EJB2.1 spec. So it's important to include the EJB spec version too.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list