You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "Michael Dick (JIRA)" <ji...@apache.org> on 2011/06/08 22:11:58 UTC

[jira] [Created] (OPENJPA-2010) Duplicate meta data warning logged due to parsing the same location twice

Duplicate meta data warning logged due to parsing the same location twice
-------------------------------------------------------------------------

                 Key: OPENJPA-2010
                 URL: https://issues.apache.org/jira/browse/OPENJPA-2010
             Project: OpenJPA
          Issue Type: Bug
          Components: kernel
    Affects Versions: 2.1.0, 2.0.1
            Reporter: Michael Dick
            Assignee: Michael Dick
             Fix For: 2.0.2, 2.1.1, 2.2.0


I've only seen this when entities are defined in an XML mapping file, and then only in some difficult to replicate classloader environments.

The same XML mapping file may be parsed more than one time, resulting in a misleading warning message about duplicate metadata. The metadata is in fact identical, and does not indicate a problem. 

To detect this condition we can store the source file and line number where the meta data was defined, and only issue the warning if the metadata is defined in a different location. 


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Reopened] (OPENJPA-2010) Duplicate meta data warning logged due to parsing the same location twice

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

Michael Dick reopened OPENJPA-2010:
-----------------------------------


> Duplicate meta data warning logged due to parsing the same location twice
> -------------------------------------------------------------------------
>
>                 Key: OPENJPA-2010
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-2010
>             Project: OpenJPA
>          Issue Type: Bug
>          Components: kernel
>    Affects Versions: 2.0.1, 2.1.0
>            Reporter: Michael Dick
>            Assignee: Michael Dick
>             Fix For: 2.0.2, 2.1.2, 2.2.0
>
>
> I've only seen this when entities are defined in an XML mapping file, and then only in some difficult to replicate classloader environments.
> The same XML mapping file may be parsed more than one time, resulting in a misleading warning message about duplicate metadata. The metadata is in fact identical, and does not indicate a problem. 
> To detect this condition we can store the source file and line number where the meta data was defined, and only issue the warning if the metadata is defined in a different location. 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Closed] (OPENJPA-2010) Duplicate meta data warning logged due to parsing the same location twice

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

Michael Dick closed OPENJPA-2010.
---------------------------------


> Duplicate meta data warning logged due to parsing the same location twice
> -------------------------------------------------------------------------
>
>                 Key: OPENJPA-2010
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-2010
>             Project: OpenJPA
>          Issue Type: Bug
>          Components: kernel
>    Affects Versions: 2.0.1, 2.1.0
>            Reporter: Michael Dick
>            Assignee: Michael Dick
>             Fix For: 2.0.2, 2.1.1, 2.2.0
>
>
> I've only seen this when entities are defined in an XML mapping file, and then only in some difficult to replicate classloader environments.
> The same XML mapping file may be parsed more than one time, resulting in a misleading warning message about duplicate metadata. The metadata is in fact identical, and does not indicate a problem. 
> To detect this condition we can store the source file and line number where the meta data was defined, and only issue the warning if the metadata is defined in a different location. 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (OPENJPA-2010) Duplicate meta data warning logged due to parsing the same location twice

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

Michael Dick resolved OPENJPA-2010.
-----------------------------------

    Resolution: Fixed

> Duplicate meta data warning logged due to parsing the same location twice
> -------------------------------------------------------------------------
>
>                 Key: OPENJPA-2010
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-2010
>             Project: OpenJPA
>          Issue Type: Bug
>          Components: kernel
>    Affects Versions: 2.0.1, 2.1.0
>            Reporter: Michael Dick
>            Assignee: Michael Dick
>             Fix For: 2.0.2, 2.1.2, 2.2.0
>
>
> I've only seen this when entities are defined in an XML mapping file, and then only in some difficult to replicate classloader environments.
> The same XML mapping file may be parsed more than one time, resulting in a misleading warning message about duplicate metadata. The metadata is in fact identical, and does not indicate a problem. 
> To detect this condition we can store the source file and line number where the meta data was defined, and only issue the warning if the metadata is defined in a different location. 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Work started] (OPENJPA-2010) Duplicate meta data warning logged due to parsing the same location twice

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

Work on OPENJPA-2010 started by Michael Dick.

> Duplicate meta data warning logged due to parsing the same location twice
> -------------------------------------------------------------------------
>
>                 Key: OPENJPA-2010
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-2010
>             Project: OpenJPA
>          Issue Type: Bug
>          Components: kernel
>    Affects Versions: 2.0.1, 2.1.0
>            Reporter: Michael Dick
>            Assignee: Michael Dick
>             Fix For: 2.0.2, 2.1.1, 2.2.0
>
>
> I've only seen this when entities are defined in an XML mapping file, and then only in some difficult to replicate classloader environments.
> The same XML mapping file may be parsed more than one time, resulting in a misleading warning message about duplicate metadata. The metadata is in fact identical, and does not indicate a problem. 
> To detect this condition we can store the source file and line number where the meta data was defined, and only issue the warning if the metadata is defined in a different location. 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Resolved] (OPENJPA-2010) Duplicate meta data warning logged due to parsing the same location twice

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

Michael Dick resolved OPENJPA-2010.
-----------------------------------

    Resolution: Fixed

> Duplicate meta data warning logged due to parsing the same location twice
> -------------------------------------------------------------------------
>
>                 Key: OPENJPA-2010
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-2010
>             Project: OpenJPA
>          Issue Type: Bug
>          Components: kernel
>    Affects Versions: 2.0.1, 2.1.0
>            Reporter: Michael Dick
>            Assignee: Michael Dick
>             Fix For: 2.0.2, 2.1.1, 2.2.0
>
>
> I've only seen this when entities are defined in an XML mapping file, and then only in some difficult to replicate classloader environments.
> The same XML mapping file may be parsed more than one time, resulting in a misleading warning message about duplicate metadata. The metadata is in fact identical, and does not indicate a problem. 
> To detect this condition we can store the source file and line number where the meta data was defined, and only issue the warning if the metadata is defined in a different location. 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (OPENJPA-2010) Duplicate meta data warning logged due to parsing the same location twice

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

Michael Dick updated OPENJPA-2010:
----------------------------------

    Fix Version/s:     (was: 2.1.1)
                   2.1.2

> Duplicate meta data warning logged due to parsing the same location twice
> -------------------------------------------------------------------------
>
>                 Key: OPENJPA-2010
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-2010
>             Project: OpenJPA
>          Issue Type: Bug
>          Components: kernel
>    Affects Versions: 2.0.1, 2.1.0
>            Reporter: Michael Dick
>            Assignee: Michael Dick
>             Fix For: 2.0.2, 2.1.2, 2.2.0
>
>
> I've only seen this when entities are defined in an XML mapping file, and then only in some difficult to replicate classloader environments.
> The same XML mapping file may be parsed more than one time, resulting in a misleading warning message about duplicate metadata. The metadata is in fact identical, and does not indicate a problem. 
> To detect this condition we can store the source file and line number where the meta data was defined, and only issue the warning if the metadata is defined in a different location. 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Closed] (OPENJPA-2010) Duplicate meta data warning logged due to parsing the same location twice

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

Michael Dick closed OPENJPA-2010.
---------------------------------


> Duplicate meta data warning logged due to parsing the same location twice
> -------------------------------------------------------------------------
>
>                 Key: OPENJPA-2010
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-2010
>             Project: OpenJPA
>          Issue Type: Bug
>          Components: kernel
>    Affects Versions: 2.0.1, 2.1.0
>            Reporter: Michael Dick
>            Assignee: Michael Dick
>             Fix For: 2.0.2, 2.1.2, 2.2.0
>
>
> I've only seen this when entities are defined in an XML mapping file, and then only in some difficult to replicate classloader environments.
> The same XML mapping file may be parsed more than one time, resulting in a misleading warning message about duplicate metadata. The metadata is in fact identical, and does not indicate a problem. 
> To detect this condition we can store the source file and line number where the meta data was defined, and only issue the warning if the metadata is defined in a different location. 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira