You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Sachin Patel (JIRA)" <de...@geronimo.apache.org> on 2005/11/29 16:57:33 UTC

[jira] Created: (GERONIMO-1245) Backward M5 deployment capability broken

Backward M5 deployment capability broken
----------------------------------------

         Key: GERONIMO-1245
         URL: http://issues.apache.org/jira/browse/GERONIMO-1245
     Project: Geronimo
        Type: Bug
  Components: deployment  
    Versions: 1.0    
    Reporter: Sachin Patel
     Fix For: 1.0


The deployment capability using the 1.0 snapshot deployment jars to deploy to M5 is broken do to the following change made in org.apache.geronimo.deployment.plugin.local.StartCommand

In M5 the list below contained ObjectName entries

// Load and start the module
List list = configurationManager.loadRecursive(moduleID);
for (int j = 0; j < list.size(); j++) {
  ObjectName name = (ObjectName) list.get(j);
...

This was changed to use a list of URI's

List list = configurationManager.loadRecursive(moduleID);
for (int j = 0; j < list.size(); j++) {
  URI name = (URI) list.get(j);

This of course causing a ClassCastException at the point.

Can we introduce additional code to support backward compatibility to M5?  How hard would this be?  I assume there are other areas like this that also need to be fixed.  I can help out if needed. 

-- 
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] Resolved: (GERONIMO-1245) Backward M5 deployment capability broken

Posted by "Sachin Patel (JIRA)" <de...@geronimo.apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-1245?page=all ]
     
Sachin Patel resolved GERONIMO-1245:
------------------------------------

    Resolution: Won't Fix

Concensus was to no support this.

> Backward M5 deployment capability broken
> ----------------------------------------
>
>          Key: GERONIMO-1245
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1245
>      Project: Geronimo
>         Type: Bug
>   Components: deployment
>     Versions: 1.0
>     Reporter: Sachin Patel
>      Fix For: 1.0

>
> The deployment capability using the 1.0 snapshot deployment jars to deploy to M5 is broken do to the following change made in org.apache.geronimo.deployment.plugin.local.StartCommand
> In M5 the list below contained ObjectName entries
> // Load and start the module
> List list = configurationManager.loadRecursive(moduleID);
> for (int j = 0; j < list.size(); j++) {
>   ObjectName name = (ObjectName) list.get(j);
> ...
> This was changed to use a list of URI's
> List list = configurationManager.loadRecursive(moduleID);
> for (int j = 0; j < list.size(); j++) {
>   URI name = (URI) list.get(j);
> This of course causing a ClassCastException at the point.
> Can we introduce additional code to support backward compatibility to M5?  How hard would this be?  I assume there are other areas like this that also need to be fixed.  I can help out if needed. 

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