You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "Andy Gumbrecht (JIRA)" <ji...@apache.org> on 2013/04/02 12:35:15 UTC

[jira] [Resolved] (OPENEJB-2012) Redeploying persistence unit uses/adjusts to old DataSource names

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

Andy Gumbrecht resolved OPENEJB-2012.
-------------------------------------

    Resolution: Fixed

Added code to ensure resource info is removed when application is destroyed.
                
> Redeploying persistence unit uses/adjusts to old DataSource names
> -----------------------------------------------------------------
>
>                 Key: OPENEJB-2012
>                 URL: https://issues.apache.org/jira/browse/OPENEJB-2012
>             Project: OpenEJB
>          Issue Type: Bug
>          Components: configuration
>    Affects Versions: (trunk/tomee), 4.6.0
>         Environment: NA
>            Reporter: Andy Gumbrecht
>            Assignee: Andy Gumbrecht
>            Priority: Critical
>             Fix For: 4.6.0
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> Deploy and undeploy app with persistence unit 'Test' that utilizes DataSources 'jtaTest' and 'nonjtaTest'.
> Deployment of a different, but like named app (only case changed) with persistence unit 'test' that utilizes DataSources 'jtatest' and 'nonjtatest' finds the old DataSource descriptors and adjusts names to the previous case 'jtaTest' and 'nonjtaTest - These DataSources are no longer valid and deployment fails.

--
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