[jboss-jira] [JBoss JIRA] Assigned: (EJBTHREE-1862) False WARN message if res-type is missing in resource-ref

jaikiran pai (JIRA) jira-events at lists.jboss.org
Fri Jul 3 03:16:51 EDT 2009


     [ https://jira.jboss.org/jira/browse/EJBTHREE-1862?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

jaikiran pai reassigned EJBTHREE-1862:
--------------------------------------

    Assignee: jaikiran pai


> 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
>            Assignee: jaikiran pai
>            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