Uploaded image for project: 'Geronimo'
  1. Geronimo
  2. GERONIMO-1982

server try to deploy the modules in hot deployment directory again during server startup

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.x
    • 1.1.2, 1.2, 2.0-M1
    • Hot Deploy Dir
    • Security Level: public (Regular issues)
    • None
    • all

    • Patch Available

    Description

      When Geronimo starts, it try to deploy the modules in the hot deployment directory again even if that module is already deployed. Since the application is already deployed, it throws an error : the application already exists in the server.

      The Exception trace is :
      org.apache.geronimo.common.DeploymentException: Module GeronimoTestApp already exists in the server. Try to undeploy it first or use the redeploy command.
      at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:245)
      at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:102)
      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:118)
      at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:835)
      at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:178)
      at org.apache.geronimo.deployment.plugin.local.AbstractDeployCommand.doDeploy(AbstractDeployCommand.java:106)
      at org.apache.geronimo.deployment.plugin.local.DistributeCommand.run(DistributeCommand.java:59)
      at java.lang.Thread.run(Thread.java:534)

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              rakesh.geronimo Rakesh Ranjan
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: