Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 88586 invoked from network); 31 Aug 2006 20:24:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 31 Aug 2006 20:24:24 -0000 Received: (qmail 15532 invoked by uid 500); 31 Aug 2006 20:24:19 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 15497 invoked by uid 500); 31 Aug 2006 20:24:19 -0000 Mailing-List: contact user-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: user@geronimo.apache.org List-Id: Delivered-To: mailing list user@geronimo.apache.org Received: (qmail 15475 invoked by uid 99); 31 Aug 2006 20:24:19 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 Aug 2006 13:24:19 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of lists@nabble.com designates 72.21.53.35 as permitted sender) Received: from [72.21.53.35] (HELO talk.nabble.com) (72.21.53.35) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 Aug 2006 13:24:17 -0700 Received: from [72.21.53.38] (helo=jubjub.nabble.com) by talk.nabble.com with esmtp (Exim 4.50) id 1GIt4u-00061a-IC for user@geronimo.apache.org; Thu, 31 Aug 2006 13:23:56 -0700 Message-ID: <6087473.post@talk.nabble.com> Date: Thu, 31 Aug 2006 13:23:56 -0700 (PDT) From: raxpl To: user@geronimo.apache.org Subject: Re: Problem Deploying Exploded Webapp Directory In-Reply-To: <0B0729C44CF5FD4FA6567C5A7879D4B702FAA23B@AC0HQBECL13V.RSN.AAC.USAREC.ARMY.MIL> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit References: <0B0729C44CF5FD4FA6567C5A7879D4B702FAA23B@AC0HQBECL13V.RSN.AAC.USAREC.ARMY.MIL> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N 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-1.1/bin/deployer.jar --user system --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-1.1/bin/deployer.jar --user system --password deploy any luck ? rich 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(Deployer.java:254) > at > org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:124) > at > org.apache.geronimo.deployment.Deployer$$FastClassByCGLIB$$734a235d.invo > ke() > at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53) > at > org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInv > oker.java:38) > at > org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.j > ava:122) > at > org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.jav > a:852) > at > org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:239 > ) > at > org.apache.geronimo.deployment.plugin.local.AbstractDeployCommand.doDepl > oy(AbstractDeployCommand.java:106) > at > org.apache.geronimo.deployment.plugin.local.RedeployCommand.redeployUpda > tedConfiguration(RedeployCommand.java:135) > at > org.apache.geronimo.deployment.plugin.local.RedeployCommand.run(Redeploy > Command.java:104) > at java.lang.Thread.run(Thread.java:595) > > Thanks, > > Kevin > > -- View this message in context: http://www.nabble.com/Problem-Deploying-Exploded-Webapp-Directory-tf2197766.html#a6087473 Sent from the Apache Geronimo - Users forum at Nabble.com.