geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Prasad Kashyap (JIRA)" <...@geronimo.apache.org>
Subject [jira] Commented: (GERONIMO-2004) Hot deployment of welcome app failed
Date Fri, 12 May 2006 17:45:09 GMT
    [ http://issues.apache.org/jira/browse/GERONIMO-2004?page=comments#action_12383226 ] 

Prasad Kashyap commented on GERONIMO-2004:
------------------------------------------

Observations:
---------------------
Recreated Anita's steps and reproduced the problem by dropping the welcome-jetty-1.1-SNAPSHOT.car
file into the deploy dir.

It wanted a plan file.

Then I exploded the car and dropped a geronimo-web.xml plan into the WEB-INF dir. It complained
with the error -  "Sum file already exists"

Then I deleted the checksum file (META-INF/config.sha1). It deployed successfully !

Questions:
----------------
1) should we still need a plan.xml when we already have the config info serialized ?
2) should we barf when we find an existing checksum file ?

> Hot deployment of welcome app failed
> ------------------------------------
>
>          Key: GERONIMO-2004
>          URL: http://issues.apache.org/jira/browse/GERONIMO-2004
>      Project: Geronimo
>         Type: Bug
>     Security: public(Regular issues) 
>   Components: Hot Deploy Dir
>     Versions: 1.1
>  Environment: All
>     Reporter: Anita Kulshreshtha
>      Fix For: 1.1

>
> This is for rev 405570 and a freshly built j2ee-tomcat-server.
> The following trace can be produced by - 
> 1. start the server
> 2. uninstall geronimo/welcome-tomcat/---/car using console. The uninstall was successful.
> 3. hot deploy 
> 08:44:02,359 INFO  [Hot Deployer] Deploying welcome-tomcat-1.1-SNAPSHOT.car
> 08:44:03,046 WARN  [TomcatModuleBuilder] Web application . does not contain a WEB-INF/geronimo-web.x
> ml deployment plan.  This may or may not be a problem, depending on whether you have
things like res
> ource references that need to be resolved.  You can also give the deployer a separate
deployment pla
> n file on the command line.
> 08:44:03,921 ERROR [Deployer] Deployment failed due to
> java.io.IOException: Sum file already exists
>         at org.apache.geronimo.system.configuration.ConfigurationStoreUtil.writeChecksumFor(Configur
> ationStoreUtil.java:46)
>         at org.apache.geronimo.system.configuration.ExecutableConfigurationUtil.writeConfiguration(E
> xecutableConfigurationUtil.java:156)
>         at org.apache.geronimo.system.configuration.RepositoryConfigurationStore.install(RepositoryC
> onfigurationStore.java:319)
>         at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:308)
>         at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:119)
>         at org.apache.geronimo.deployment.Deployer$$FastClassByCGLIB$$734a235d.invoke(<generated>)
>         at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
>         at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
>         at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:122)
>         at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:852)
>         at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:239)
>         at org.apache.geronimo.deployment.plugin.local.AbstractDeployCommand.doDeploy(AbstractDeploy
> Command.java:106)
>         at org.apache.geronimo.deployment.plugin.local.DistributeCommand.run(DistributeCommand.java:
> 60)
>         at java.lang.Thread.run(Thread.java:534)
> 08:44:04,031 ERROR [Hot Deployer] Unable to deploy: java.io.IOException: Sum file already
exists
> org.apache.geronimo.common.DeploymentException: java.io.IOException: Sum file already
exists
>         at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:349)
>         at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:119)
>         at org.apache.geronimo.deployment.Deployer$$FastClassByCGLIB$$734a235d.invoke(<generated>)
>         at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
>         at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
>         at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:122)
>         at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:852)
>         at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:239)
>         at org.apache.geronimo.deployment.plugin.local.AbstractDeployCommand.doDeploy(AbstractDeploy
> Command.java:106)
>         at org.apache.geronimo.deployment.plugin.local.DistributeCommand.run(DistributeCommand.java:
> 60)
>         at java.lang.Thread.run(Thread.java:534)
> Caused by: java.io.IOException: Sum file already exists
>         at org.apache.geronimo.system.configuration.ConfigurationStoreUtil.writeChecksumFor(Configur
> ationStoreUtil.java:46)
>         at org.apache.geronimo.system.configuration.ExecutableConfigurationUtil.writeConfiguration(E
> xecutableConfigurationUtil.java:156)
>         at org.apache.geronimo.system.configuration.RepositoryConfigurationStore.install(RepositoryC
> onfigurationStore.java:319)
>         at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:308)
>         ... 10 more

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


Mime
View raw message