You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "David Blevins (JIRA)" <ji...@apache.org> on 2012/11/30 00:06:58 UTC

[jira] [Reopened] (TOMEE-597) try to merge java:comp/env/app in java:app/ when possible

     [ https://issues.apache.org/jira/browse/TOMEE-597?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Blevins reopened TOMEE-597:
---------------------------------


We should discuss this on the list.  If a user creates a binding like:

<resource-ref>
  <res-ref-name>java:comp/env/app/myDerbyDatabase</res-ref-name>
  <res-type>javax.sql.DataSource</res-type>
</resource-ref>

We should *not* automatically create a second binding like this:

<resource-ref>
  <res-ref-name>java:app/myDerbyDatabase</res-ref-name>
  <res-type>javax.sql.DataSource</res-type>
</resource-ref>

If we are doing something like this to work around internal quirkiness, we need to find another way.

                
> try to merge java:comp/env/app in java:app/ when possible
> ---------------------------------------------------------
>
>                 Key: TOMEE-597
>                 URL: https://issues.apache.org/jira/browse/TOMEE-597
>             Project: TomEE
>          Issue Type: Improvement
>            Reporter: Romain Manni-Bucau
>             Fix For: 1.5.1
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira