You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Joe Bohn (JIRA)" <de...@geronimo.apache.org> on 2006/05/18 05:08:05 UTC

[jira] Created: (GERONIMO-2036) SingleFileHotDeployer doesn't undeploy app on force if directory has changed

SingleFileHotDeployer doesn't undeploy app on force if directory has changed
----------------------------------------------------------------------------

         Key: GERONIMO-2036
         URL: http://issues.apache.org/jira/browse/GERONIMO-2036
     Project: Geronimo
        Type: Bug
    Security: public (Regular issues) 
    Versions: 1.1    
 Environment: windows xp
    Reporter: Joe Bohn
 Assigned to: Joe Bohn 
     Fix For: 1.1


When using the SingleFileHotDeployer with force deployment the image cannot be copied to a new directory structure or tolerate the directory being renamed.   If this is done and the hot deployer attempts to redeploy the application the result will be a failure to deploy because a configuration with the same ID already exists.

The right best way to fix this would be to associate relative paths with the configurations rather than the resolved paths.   However, that fix is a bit complication for this point in the 1.1 release.   Therefore, this fix which is local to just SingleFileHotDeploy will check for an installed configuration with the same ID if we are about to force deploy an application and we haven't found a matching configuration already using the resolved path.

-- 
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: (GERONIMO-2036) SingleFileHotDeployer doesn't undeploy app on force if directory has changed

Posted by "David Jencks (JIRA)" <de...@geronimo.apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-2036?page=all ]
     
David Jencks closed GERONIMO-2036:
----------------------------------

    Resolution: Fixed

applied in rev 408760

> SingleFileHotDeployer doesn't undeploy app on force if directory has changed
> ----------------------------------------------------------------------------
>
>          Key: GERONIMO-2036
>          URL: http://issues.apache.org/jira/browse/GERONIMO-2036
>      Project: Geronimo
>         Type: Bug
>     Security: public(Regular issues) 
>     Versions: 1.1
>  Environment: windows xp
>     Reporter: Joe Bohn
>     Assignee: David Jencks
>      Fix For: 1.1
>  Attachments: 2036_SFHD.patch
>
> When using the SingleFileHotDeployer with force deployment the image cannot be copied to a new directory structure or tolerate the directory being renamed.   If this is done and the hot deployer attempts to redeploy the application the result will be a failure to deploy because a configuration with the same ID already exists.
> The best way to fix this would be to associate relative paths with the configurations rather than the resolved paths.   However, that fix is a bit complication for this point in the 1.1 release.   Therefore, this fix which is local to just SingleFileHotDeploy will check for an installed configuration with the same ID if we are about to force deploy an application and we haven't found a matching configuration already using the resolved path.

-- 
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] Updated: (GERONIMO-2036) SingleFileHotDeployer doesn't undeploy app on force if directory has changed

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

Joe Bohn updated GERONIMO-2036:
-------------------------------

    Description: 
When using the SingleFileHotDeployer with force deployment the image cannot be copied to a new directory structure or tolerate the directory being renamed.   If this is done and the hot deployer attempts to redeploy the application the result will be a failure to deploy because a configuration with the same ID already exists.

The best way to fix this would be to associate relative paths with the configurations rather than the resolved paths.   However, that fix is a bit complication for this point in the 1.1 release.   Therefore, this fix which is local to just SingleFileHotDeploy will check for an installed configuration with the same ID if we are about to force deploy an application and we haven't found a matching configuration already using the resolved path.

  was:
When using the SingleFileHotDeployer with force deployment the image cannot be copied to a new directory structure or tolerate the directory being renamed.   If this is done and the hot deployer attempts to redeploy the application the result will be a failure to deploy because a configuration with the same ID already exists.

The right best way to fix this would be to associate relative paths with the configurations rather than the resolved paths.   However, that fix is a bit complication for this point in the 1.1 release.   Therefore, this fix which is local to just SingleFileHotDeploy will check for an installed configuration with the same ID if we are about to force deploy an application and we haven't found a matching configuration already using the resolved path.


> SingleFileHotDeployer doesn't undeploy app on force if directory has changed
> ----------------------------------------------------------------------------
>
>          Key: GERONIMO-2036
>          URL: http://issues.apache.org/jira/browse/GERONIMO-2036
>      Project: Geronimo
>         Type: Bug
>     Security: public(Regular issues) 
>     Versions: 1.1
>  Environment: windows xp
>     Reporter: Joe Bohn
>     Assignee: Joe Bohn
>      Fix For: 1.1
>  Attachments: 2036_SFHD.patch
>
> When using the SingleFileHotDeployer with force deployment the image cannot be copied to a new directory structure or tolerate the directory being renamed.   If this is done and the hot deployer attempts to redeploy the application the result will be a failure to deploy because a configuration with the same ID already exists.
> The best way to fix this would be to associate relative paths with the configurations rather than the resolved paths.   However, that fix is a bit complication for this point in the 1.1 release.   Therefore, this fix which is local to just SingleFileHotDeploy will check for an installed configuration with the same ID if we are about to force deploy an application and we haven't found a matching configuration already using the resolved path.

-- 
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] Updated: (GERONIMO-2036) SingleFileHotDeployer doesn't undeploy app on force if directory has changed

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

Joe Bohn updated GERONIMO-2036:
-------------------------------

    Attachment: 2036_SFHD.patch

Patch was created on windows XP from geronimo root directory.

> SingleFileHotDeployer doesn't undeploy app on force if directory has changed
> ----------------------------------------------------------------------------
>
>          Key: GERONIMO-2036
>          URL: http://issues.apache.org/jira/browse/GERONIMO-2036
>      Project: Geronimo
>         Type: Bug
>     Security: public(Regular issues) 
>     Versions: 1.1
>  Environment: windows xp
>     Reporter: Joe Bohn
>     Assignee: Joe Bohn
>      Fix For: 1.1
>  Attachments: 2036_SFHD.patch
>
> When using the SingleFileHotDeployer with force deployment the image cannot be copied to a new directory structure or tolerate the directory being renamed.   If this is done and the hot deployer attempts to redeploy the application the result will be a failure to deploy because a configuration with the same ID already exists.
> The right best way to fix this would be to associate relative paths with the configurations rather than the resolved paths.   However, that fix is a bit complication for this point in the 1.1 release.   Therefore, this fix which is local to just SingleFileHotDeploy will check for an installed configuration with the same ID if we are about to force deploy an application and we haven't found a matching configuration already using the resolved path.

-- 
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] Assigned: (GERONIMO-2036) SingleFileHotDeployer doesn't undeploy app on force if directory has changed

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

Joe Bohn reassigned GERONIMO-2036:
----------------------------------

    Assign To: David Jencks  (was: Joe Bohn)

> SingleFileHotDeployer doesn't undeploy app on force if directory has changed
> ----------------------------------------------------------------------------
>
>          Key: GERONIMO-2036
>          URL: http://issues.apache.org/jira/browse/GERONIMO-2036
>      Project: Geronimo
>         Type: Bug
>     Security: public(Regular issues) 
>     Versions: 1.1
>  Environment: windows xp
>     Reporter: Joe Bohn
>     Assignee: David Jencks
>      Fix For: 1.1
>  Attachments: 2036_SFHD.patch
>
> When using the SingleFileHotDeployer with force deployment the image cannot be copied to a new directory structure or tolerate the directory being renamed.   If this is done and the hot deployer attempts to redeploy the application the result will be a failure to deploy because a configuration with the same ID already exists.
> The best way to fix this would be to associate relative paths with the configurations rather than the resolved paths.   However, that fix is a bit complication for this point in the 1.1 release.   Therefore, this fix which is local to just SingleFileHotDeploy will check for an installed configuration with the same ID if we are about to force deploy an application and we haven't found a matching configuration already using the resolved path.

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