geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tapas Mishra <>
Subject deployment plan for grails on geronimo failed
Date Tue, 04 May 2010 09:46:10 GMT
I went through

 Troubleshooting J2EE asset deployment

some how my deployment of a helloworld grails application on geronimo failed.

Following is web.xml file
on WEB-INF of application

<?xml version="1.0" encoding="UTF-8"?>

<web-app version="2.4"



and following is geronimo-web.xml for
the application
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns="">

The deploy directory is empty in /geronimo-jetty7-javaee5-2.2/deploy folder.
But when I am issuing
./  deploy /root/a12/target/a12-0.1.war
from bin of <geronemo home>
I get following error

Using GERONIMO_HOME:   /root/geronimo-jetty7-javaee5-2.2
Using GERONIMO_TMPDIR: var/temp
Using JRE_HOME:        /root/jdk1.6.0_20/jre
2010-05-04 04:12:08,426 ERROR [DeployTool] Error:
org.apache.geronimo.common.DeploymentException: Unable to deploy
a12-0.1.war: Module org.apache.geronimo.samples/a12/2.2/war already
exists in the server.  Try to undeploy it first or use the redeploy

	at org.apache.geronimo.deployment.cli.CommandDeploy.runCommand(
	at org.apache.geronimo.deployment.cli.CommandDistribute.executeOnline(
	at org.apache.geronimo.deployment.cli.CommandDistribute.execute(
	at org.apache.geronimo.deployment.cli.DeployTool.execute(
	at org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.main(
	at org.apache.geronimo.cli.AbstractCLI.executeMain(
	at org.apache.geronimo.cli.deployer.DeployerCLI.main(

Where as there is no file name
if I check the presence of module

staging:~/geronimo-jetty7-javaee5-2.2/bin# ./  list-modules | grep a12
there is no output.


View raw message