[ http://issues.apache.org/jira/browse/GERONIMO-2004?page=all ] Aaron Mulder resolved GERONIMO-2004: ------------------------------------
Resolution: Invalid Assign To: Aaron Mulder You can't hot deploy CAR files. You need to get the welcome WAR, insert the plan from either configs/welcome-jetty/target/plan/plan.xml or configs/welcome-tomcat/target/plan/plan.xml, and then put the war-with-plan into the hot deploy directory. > 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 > Assignee: Aaron Mulder > 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