You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Scott O'Bryan (JIRA)" <de...@myfaces.apache.org> on 2007/08/31 01:46:31 UTC

[jira] Created: (TRINIDAD-667) Configurator Services may get initialized more then once if jars are referenced in classpath multiple times

Configurator Services may get initialized more then once if jars are referenced in classpath multiple times
-----------------------------------------------------------------------------------------------------------

                 Key: TRINIDAD-667
                 URL: https://issues.apache.org/jira/browse/TRINIDAD-667
             Project: MyFaces Trinidad
          Issue Type: Bug
    Affects Versions: 1.2.1-core, 1.0.2-core, 1.0.1-core
            Reporter: Scott O'Bryan


If a /META-INF/services/org.apache.myfaces.trinidad.configurator.Configurator file is located in the classpath multiple times, or if a particular configurator class is listed in multiple /META-INF/services/org.apache.myfaces.trinidad.configurator.Configurator files in the classpath, the configurator is initialized multiple times and the per-request methods are also executed multiple times.

This should not be done as each configurator should only be loaded and run once.  If a certain configurator appears in multiple jars or is listed multiple times in the classpath, it should only be loaded once.

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


[jira] Updated: (TRINIDAD-667) Configurator Services may get initialized more then once if jars are referenced in classpath multiple times

Posted by "Adam Winer (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/TRINIDAD-667?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Adam Winer updated TRINIDAD-667:
--------------------------------

       Resolution: Fixed
    Fix Version/s: 1.0.3-core
           Status: Resolved  (was: Patch Available)

Fixed for 1.0.3 (and on post-1.2.2 branch)

> Configurator Services may get initialized more then once if jars are referenced in classpath multiple times
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: TRINIDAD-667
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-667
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>    Affects Versions: 1.0.1-core, 1.0.2-core, 1.2.1-core
>            Reporter: Scott O'Bryan
>            Assignee: Adam Winer
>             Fix For: 1.0.3-core
>
>         Attachments: TRINIDAD-667.patch
>
>
> If a /META-INF/services/org.apache.myfaces.trinidad.configurator.Configurator file is located in the classpath multiple times, or if a particular configurator class is listed in multiple /META-INF/services/org.apache.myfaces.trinidad.configurator.Configurator files in the classpath, the configurator is initialized multiple times and the per-request methods are also executed multiple times.
> This should not be done as each configurator should only be loaded and run once.  If a certain configurator appears in multiple jars or is listed multiple times in the classpath, it should only be loaded once.

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


[jira] Updated: (TRINIDAD-667) Configurator Services may get initialized more then once if jars are referenced in classpath multiple times

Posted by "Scott O'Bryan (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/TRINIDAD-667?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Scott O'Bryan updated TRINIDAD-667:
-----------------------------------

    Status: Patch Available  (was: Open)

> Configurator Services may get initialized more then once if jars are referenced in classpath multiple times
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: TRINIDAD-667
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-667
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>    Affects Versions: 1.0.1-core, 1.0.2-core, 1.2.1-core
>            Reporter: Scott O'Bryan
>         Attachments: TRINIDAD-667.patch
>
>
> If a /META-INF/services/org.apache.myfaces.trinidad.configurator.Configurator file is located in the classpath multiple times, or if a particular configurator class is listed in multiple /META-INF/services/org.apache.myfaces.trinidad.configurator.Configurator files in the classpath, the configurator is initialized multiple times and the per-request methods are also executed multiple times.
> This should not be done as each configurator should only be loaded and run once.  If a certain configurator appears in multiple jars or is listed multiple times in the classpath, it should only be loaded once.

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