You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hivemind.apache.org by "Mark Reynolds (JIRA)" <hi...@jakarta.apache.org> on 2006/04/15 04:40:00 UTC

[jira] Created: (HIVEMIND-174) Inconsistency when duplicate module names are found on classpath

Inconsistency when duplicate module names are found on classpath
----------------------------------------------------------------

         Key: HIVEMIND-174
         URL: http://issues.apache.org/jira/browse/HIVEMIND-174
     Project: HiveMind
        Type: Bug

    Versions: 1.1    
    Reporter: Mark Reynolds
    Priority: Minor


When duplicate module names are found on the classpath, an ApplicationRuntimeException is thrown but the message is worded as if it is a warning.

org.apache.hivemind.ApplicationRuntimeException: Error: Module hivemind is duplicated!  Definition in jar:file:/C:/tools/geronimo-1.2-SNAPSHOT/config-store/44/war/WEB-INF/lib/hivemind-1.1.jar!/META-INF/hivemodule.xml
has been ignored in favor of existing definition from jar:file:/C:/tools/geronimo-1.2-SNAPSHOT/config-store/44/war/WEB-INF/lib/hivemind-1.1.jar!/META-INF/hivemodule.xml

It seems like the it should either be changed to a logged warning or the "has been ignored in favor of..." language should be changed.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: hivemind-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: hivemind-dev-help@jakarta.apache.org


[jira] Commented: (HIVEMIND-174) Inconsistency when duplicate module names are found on classpath

Posted by "Mark Reynolds (JIRA)" <hi...@jakarta.apache.org>.
    [ http://issues.apache.org/jira/browse/HIVEMIND-174?page=comments#action_12425591 ] 
            
Mark Reynolds commented on HIVEMIND-174:
----------------------------------------

I didn't understand that this was configurable. I guess Tapestry must be setting the StrictErrorHandler. Now that I understand, I can't think of a better message. Thanks for the explanation.

> Inconsistency when duplicate module names are found on classpath
> ----------------------------------------------------------------
>
>                 Key: HIVEMIND-174
>                 URL: http://issues.apache.org/jira/browse/HIVEMIND-174
>             Project: HiveMind
>          Issue Type: Bug
>    Affects Versions: 1.1
>            Reporter: Mark Reynolds
>            Priority: Minor
>
> When duplicate module names are found on the classpath, an ApplicationRuntimeException is thrown but the message is worded as if it is a warning.
> org.apache.hivemind.ApplicationRuntimeException: Error: Module hivemind is duplicated!  Definition in jar:file:/C:/tools/geronimo-1.2-SNAPSHOT/config-store/44/war/WEB-INF/lib/hivemind-1.1.jar!/META-INF/hivemodule.xml
> has been ignored in favor of existing definition from jar:file:/C:/tools/geronimo-1.2-SNAPSHOT/config-store/44/war/WEB-INF/lib/hivemind-1.1.jar!/META-INF/hivemodule.xml
> It seems like the it should either be changed to a logged warning or the "has been ignored in favor of..." language should be changed.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Closed: (HIVEMIND-174) Inconsistency when duplicate module names are found on classpath

Posted by "Knut Wannheden (JIRA)" <hi...@jakarta.apache.org>.
     [ http://issues.apache.org/jira/browse/HIVEMIND-174?page=all ]

Knut Wannheden closed HIVEMIND-174.
-----------------------------------

    Resolution: Fixed

> Inconsistency when duplicate module names are found on classpath
> ----------------------------------------------------------------
>
>                 Key: HIVEMIND-174
>                 URL: http://issues.apache.org/jira/browse/HIVEMIND-174
>             Project: HiveMind
>          Issue Type: Bug
>    Affects Versions: 1.1
>            Reporter: Mark Reynolds
>            Priority: Minor
>
> When duplicate module names are found on the classpath, an ApplicationRuntimeException is thrown but the message is worded as if it is a warning.
> org.apache.hivemind.ApplicationRuntimeException: Error: Module hivemind is duplicated!  Definition in jar:file:/C:/tools/geronimo-1.2-SNAPSHOT/config-store/44/war/WEB-INF/lib/hivemind-1.1.jar!/META-INF/hivemodule.xml
> has been ignored in favor of existing definition from jar:file:/C:/tools/geronimo-1.2-SNAPSHOT/config-store/44/war/WEB-INF/lib/hivemind-1.1.jar!/META-INF/hivemodule.xml
> It seems like the it should either be changed to a logged warning or the "has been ignored in favor of..." language should be changed.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (HIVEMIND-174) Inconsistency when duplicate module names are found on classpath

Posted by "Knut Wannheden (JIRA)" <hi...@jakarta.apache.org>.
    [ http://issues.apache.org/jira/browse/HIVEMIND-174?page=comments#action_12425494 ] 
            
Knut Wannheden commented on HIVEMIND-174:
-----------------------------------------

HiveMind reports this error to the ErrorHandler which in your case must be a StrictErrorHandler instance since an exception is thrown. With a DefaultErrorHandler instance HiveMind would, as indicated in the message, ignore the duplicate module descriptor and continue (without throwing an exception). Can you propose a better error message?

> Inconsistency when duplicate module names are found on classpath
> ----------------------------------------------------------------
>
>                 Key: HIVEMIND-174
>                 URL: http://issues.apache.org/jira/browse/HIVEMIND-174
>             Project: HiveMind
>          Issue Type: Bug
>    Affects Versions: 1.1
>            Reporter: Mark Reynolds
>            Priority: Minor
>
> When duplicate module names are found on the classpath, an ApplicationRuntimeException is thrown but the message is worded as if it is a warning.
> org.apache.hivemind.ApplicationRuntimeException: Error: Module hivemind is duplicated!  Definition in jar:file:/C:/tools/geronimo-1.2-SNAPSHOT/config-store/44/war/WEB-INF/lib/hivemind-1.1.jar!/META-INF/hivemodule.xml
> has been ignored in favor of existing definition from jar:file:/C:/tools/geronimo-1.2-SNAPSHOT/config-store/44/war/WEB-INF/lib/hivemind-1.1.jar!/META-INF/hivemodule.xml
> It seems like the it should either be changed to a logged warning or the "has been ignored in favor of..." language should be changed.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira