[ http://issues.apache.org/jira/browse/GERONIMO-1445?page=all ]
Sachin Patel resolved GERONIMO-1445. ------------------------------------ Resolution: Fixed Can no longer reproduce this, the problem seems to be fixed. Please verify. > Allow deployment and use of exploded EAR modules > ------------------------------------------------ > > Key: GERONIMO-1445 > URL: http://issues.apache.org/jira/browse/GERONIMO-1445 > Project: Geronimo > Issue Type: Bug > Security Level: public(Regular issues) > Components: deployment, Hot Deploy Dir > Affects Versions: 1.0 > Environment: Windows XP > Reporter: Todd Williams > Priority: Critical > Fix For: 1.1.1 > > Attachments: GeronimoTestEar.ear.zip > > > Using the Geronimo 1.0 / Tomcat bundle, placing an exploded WAR into the > deploy directory causes it to be picked up and deployed by the hot deployer > as expected. However, if I wrap the exploded war with an exploded EAR, > Geronimo fails to deploy with the error message : > 17:00:50,282 INFO [Hot Deployer] Deploying GeronimoTestEar.ear > 17:00:51,494 ERROR [Hot Deployer] Unable to deploy: Module was not a war: > GeronimoTestWeb.war > org.apache.geronimo.common.DeploymentException: Module was not a war: > GeronimoTestWeb.war > at > org.apache.geronimo.j2ee.deployment.EARConfigBuilder.addModules(EARConfigBuilder.java:544) > at > org.apache.geronimo.j2ee.deployment.EARConfigBuilder.getEarPlan(EARConfigBuilder.java:226) > at > org.apache.geronimo.j2ee.deployment.EARConfigBuilder.getDeploymentPlan(EARConfigBuilder.java:122) > at > org.apache.geronimo.j2ee.deployment.EARConfigBuilder$$FastClassByCGLIB$$38e56ec6.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:800) > at > org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57) > at > org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:36) > at > org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96) > at > org.apache.geronimo.deployment.ConfigurationBuilder$$EnhancerByCGLIB$$1c79c440.getDeploymentPlan(<generated>) > at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:219) > 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) > I'll attached a zip that when unzipped contains the exploded hierarchy for > the EAR. The application is small, but valid, as it deploys just fine when > created as an archived EAR. -- 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