You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "David Jencks (JIRA)" <ji...@apache.org> on 2007/04/20 03:43:15 UTC

[jira] Created: (GERONIMO-3107) PersistenceUnits getting processed more than once

PersistenceUnits getting processed more than once
-------------------------------------------------

                 Key: GERONIMO-3107
                 URL: https://issues.apache.org/jira/browse/GERONIMO-3107
             Project: Geronimo
          Issue Type: Bug
      Security Level: public (Regular issues)
          Components: dependencies
    Affects Versions: 2.0-M5
            Reporter: David Jencks
         Assigned To: David Jencks
             Fix For: 2.0-M5


A persistence.xml is getting processed multiple times, e.g. the daytrader one.  This is causing problems finding it from a pcr.  A dumb solution is to keep a list of known urls and not process them again.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (GERONIMO-3107) PersistenceUnits getting processed more than once

Posted by "Matt Hogstrom (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-3107?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matt Hogstrom updated GERONIMO-3107:
------------------------------------

    Assignee: Matt Hogstrom  (was: David Jencks)

> PersistenceUnits getting processed more than once
> -------------------------------------------------
>
>                 Key: GERONIMO-3107
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-3107
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: dependencies
>    Affects Versions: 2.0-M5
>            Reporter: David Jencks
>         Assigned To: Matt Hogstrom
>             Fix For: 2.0-M5
>
>         Attachments: GERONIMO-3107.patch
>
>
> A persistence.xml is getting processed multiple times, e.g. the daytrader one.  This is causing problems finding it from a pcr.  A dumb solution is to keep a list of known urls and not process them again.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (GERONIMO-3107) PersistenceUnits getting processed more than once

Posted by "Matt Hogstrom (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-3107?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matt Hogstrom closed GERONIMO-3107.
-----------------------------------

    Resolution: Fixed

Applied the patch.  Swizzled the patch a little to only add a PU to the knownPersistenceUnits only after the unit was successfully created.  

Fixed the original problem.

> PersistenceUnits getting processed more than once
> -------------------------------------------------
>
>                 Key: GERONIMO-3107
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-3107
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: dependencies
>    Affects Versions: 2.0-M5
>            Reporter: David Jencks
>         Assigned To: Matt Hogstrom
>             Fix For: 2.0-M5
>
>         Attachments: GERONIMO-3107.patch
>
>
> A persistence.xml is getting processed multiple times, e.g. the daytrader one.  This is causing problems finding it from a pcr.  A dumb solution is to keep a list of known urls and not process them again.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (GERONIMO-3107) PersistenceUnits getting processed more than once

Posted by "David Jencks (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-3107?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Jencks updated GERONIMO-3107:
-----------------------------------

    Attachment: GERONIMO-3107.patch

Untested patch that ought to eliminate dups.

> PersistenceUnits getting processed more than once
> -------------------------------------------------
>
>                 Key: GERONIMO-3107
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-3107
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: dependencies
>    Affects Versions: 2.0-M5
>            Reporter: David Jencks
>         Assigned To: David Jencks
>             Fix For: 2.0-M5
>
>         Attachments: GERONIMO-3107.patch
>
>
> A persistence.xml is getting processed multiple times, e.g. the daytrader one.  This is causing problems finding it from a pcr.  A dumb solution is to keep a list of known urls and not process them again.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.