[jboss-jira] [JBoss JIRA] Created: (EJBTHREE-1862) False WARN message if res-type is missing in resource-ref
Wolfgang Knauf (JIRA)
jira-events at lists.jboss.org
Thu Jul 2 14:24:51 EDT 2009
False WARN message if res-type is missing in resource-ref
---------------------------------------------------------
Key: EJBTHREE-1862
URL: https://jira.jboss.org/jira/browse/EJBTHREE-1862
Project: EJB 3.0
Issue Type: Bug
Affects Versions: 1.1.7
Reporter: Wolfgang Knauf
Priority: Minor
This one was introduced by https://jira.jboss.org/jira/browse/EJBTHREE-1823
I think this warn message is a slight violation of the spec (chapter 16.7.1.3 of EJB3 spec and 5.6.2 of JavaEE5 spec):
"The resource-ref element consists of ... the optional res-type .... The res-type element is optional if an injection target is specified for the
resource; in this case, the res-type defaults to the type of the injection target."
So, the warning should only be output if no injection target is specified.
--
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