geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject RE: Problem Deploying Exploded Webapp Directory
Date Fri, 01 Sep 2006 13:19:34 GMT
Yeap, you have to 'undeploy' the application first. The exploded webapp
directory stays in place, under deploy, then you can deploy to it again.
Apparantly, Geronimo notices that something has changed and hot deploys
the app again. Not a real clean solution. Takes about 3 - 5 minuts to
accomplish a "hot" deploy. Might want to call it a "warm" deploy for


-----Original Message-----
From: raxpl [mailto:raxpl@ANGLESEY.GOV.UK] 
Sent: Thursday, August 31, 2006 4:24 PM
Subject: Re: Problem Deploying Exploded Webapp Directory

i'm also very new on geronimo but i was getting hits within 20 minutes
of installing (including all the same old crackers from brazil that i
got on my
zope3 installation) this is promising ! 
a useful command line instruction:

java -jar <geronimo path stem>/geronimo-1.1/bin/deployer.jar --user
system --password <your password> list-modules

this get you a list of what's deployed...if the system is running
myapp/MY_APP/1.1/war you DO need to undeploy it first (or redeploy, but
i've had the odd crash doing this on debian, not sure why yet)

deleting all the files out of deploy should produce a hot undeployment
(although i've never tried this...i use remote deployments
exclusively...THEY ARE MORE RELIABLE !). With remote deployments you use

java -jar <geronimo path stem>/geronimo-1.1/bin/deployer.jar --user
system --password <your password> deploy <full path to it>

any luck ?


Cobb, Kevin L Mr CONT USAAC wrote:
> I am brand new to Geronimo, but not new to Application Servers or Web 
> Development. Been using Tomcat and others for a long time.
> I am trying to use Geronimo as my Development App Server, so 
> naturally, I would like to be able to "hot deploy". Documentation on 
> that subject is pretty thin. Initial Deployment works as expected, I 
> copy over the Web App directory to the GERONIMO HOME/deploy directory,

> with the necessary files including geronimo-web.xml and web.xml, and 
> the site comes up fine. But, when I change a JSP file and copy it over

> to the existing deploy directory, I get an error (see below). Any 
> hints or suggestions for doing "hot deploys"?
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 12:04:54,570 ERROR [Hot Deployer] Unable to undeploy 
> D:\Servers\geronimo-1.1\deploy\MY_APP(myapp/MY_APP/1.1/war)Module
> myapp/MY_APP/1.1/war already exists in the server.  Try to undeploy it

> first or use the redeploy command.
> org.apache.geronimo.common.DeploymentException: Module 
> myapp/MY_APP/1.1/war already exists in the server.  Try to undeploy it

> first or use the redeploy command.
>         at
> org.apache.geronimo.deployment.Deployer.deploy(
>         at
> org.apache.geronimo.deployment.Deployer.deploy(
>         at
> org.apache.geronimo.deployment.Deployer$$FastClassByCGLIB$$
> vo
> ke(<generated>)
>         at net.sf.cglib.reflect.FastMethod.invoke(
>         at
> org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodI
> nv
>         at
> org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation
> .j
> ava:122)
>         at
> org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.j
> av
> a:852)
>         at
> org.apache.geronimo.kernel.basic.BasicKernel.invoke(
> 39
> )
>         at
> org.apache.geronimo.deployment.plugin.local.AbstractDeployCommand.doDe
> pl
> oy(
>         at
> org.apache.geronimo.deployment.plugin.local.RedeployCommand.redeployUp
> da
> tedConfiguration(
>         at
> oy
>         at
> Thanks,
> Kevin

View this message in context:
Sent from the Apache Geronimo - Users forum at

View raw message