geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Donald Woods (JIRA)" <>
Subject [jira] Updated: (GERONIMO-3208) In-place deployment fails when renaming file
Date Mon, 23 Jul 2007 00:59:31 GMT


Donald Woods updated GERONIMO-3208:

         Priority: Blocker  (was: Major)
    Fix Version/s:     (was: 2.0-M6)

I believe this is also causing some Plugin installs to fail, like when you try to add the
webconsole onto the minimal Tomcat assembly, it complains about framework.war is not a war....

> In-place deployment fails when renaming file
> --------------------------------------------
>                 Key: GERONIMO-3208
>                 URL:
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: deployment
>    Affects Versions: 2.0-M6
>         Environment: Windows XP SP2
>            Reporter: Aman Nanner
>            Priority: Blocker
>             Fix For: 2.0-M7
>         Attachments:
> I am using the latest SNAPSHOT of Geronimo.
> I was trying to deploy my custom application with Geronimo using "in-place" deployment,
but it would fail with a ZipException and an "Access denied" message at the following line:
> {code}
> System Thread [RMI TCP Connection(189)-] (Suspended (breakpoint at line
127 in InPlaceResourceContext))	
> 	InPlaceResourceContext.flush() line: 127	
> 	EARContext(DeploymentContext).flush() line: 428	
> 	TomcatModuleBuilder(AbstractWebModuleBuilder).installModule(JarFile, EARContext, Module,
Collection, ConfigurationStore, Collection) line: 312	
> 	AbstractWebModuleBuilder$$FastClassByCGLIB$$8523248f.invoke(int, Object, Object[]) line:
not available	
> {code}
> So I tried creating a small EAR file for testing purposes, and deployment of it also
failed but at a different point:
> {code}
>      [java] Error: Unable to distribute testing.ear: Problem closing war context
>      [java] Cannot rename file
>      [java] D:\Development\mx0706\build\geronimo\maintenix\testing.ear\testing.war
>      [java] to
>      [java] D:\Development\mx0706\build\geronimo\maintenix\testing.ear\testing.war.saved
> {code}
> This failed at line 121 in the {{InPlaceResourceContext}} class.  I've attached the sample
EAR file that was causing me this problem.

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

View raw message