Details
-
Bug
-
Resolution: Done
-
Major
-
AS 5.0.0.Beta4
-
None
Description
As per EJB3 spec:
EJB3 4.6.6 bullet 5.4
'The same business interface cannot be both a local and a remote business interface of the bean.'
When a bean does not comply with this, the deployment fails as expected. However, the log messages says this:
"Caused by: org.jboss.deployers.spi.DeploymentException: Error creating ejb container UserManagerBean: @Remote and @Local may not both be specified on the same interface "interface org.myapp.ejb.UserManager" per EJB3 Spec 4.6.7, Bullet 5.4"
The ProxyFactoryHelper has a typo in logging the spec reference message. It should have been 4.6.6 and not 4.6.7
Attachments
Issue Links
- is related to
-
EJBTHREE-751 @Local and @Remote on one interface must not be allowed
- Closed