I'm a little confused about what you're trying to do. Are you saying you're trying to package the wadi-webapp.war into an ear file? Do you have a specific goal by doing this? I think this issue is caused by misconfiguration in the ear deployment plan. Would you be able to post your ear? If not, could you post your geronimo-application.xml?
Thanks! On Fri, Jun 27, 2008 at 6:49 PM, [EMAIL PROTECTED] < [EMAIL PROTECTED]> wrote: > > I am having trouble enabling wadi for a web app contained in an ear. I am > able to deploy the sample wadi-webapp war by changing the clustering-wadi > tag in geronimo-web.xml to tomcat-clustering-wadi but am unable to package > the war in an ear, when doing so geronimo complains about not being able to > locate the web module gbean. > > Here is the relevant portion of the logs: > > 16:40:50,618 INFO [DirectoryHotDeployer] Deploying wadi.ear > 16:40:50,723 ERROR [DirectoryHotDeployer] Unable to deploy: Could not > locate > web module gbean in web app configuration > org.apache.geronimo.common.DeploymentException: Could not locate web module > gbean in web app configuration > at > > org.apache.geronimo.tomcat.cluster.wadi.builder.WADITomcatClusteringBuilder.extractWebModule(WADITomcatClusteringBuilder.java:134) > at > > org.apache.geronimo.tomcat.cluster.wadi.builder.WADITomcatClusteringBuilder.build(WADITomcatClusteringBuilder.java:115) > at > > org.apache.geronimo.deployment.NamespaceDrivenBuilderCollection.build(NamespaceDrivenBuilderCollection.java:48) > at > > org.apache.geronimo.tomcat.deployment.TomcatModuleBuilder.addGBeans(TomcatModuleBuilder.java:410) > at > > org.apache.geronimo.j2ee.deployment.SwitchingModuleBuilder.addGBeans(SwitchingModuleBuilder.java:165) > at > > org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:647) > at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:254) > at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:133) > at sun.reflect.GeneratedMethodAccessor266.invoke(Unknown Source) > at > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:618) > at > > org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34) > at > > org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124) > at > > org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:867) > at > org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:239) > at > > org.apache.geronimo.deployment.plugin.local.AbstractDeployCommand.doDeploy(AbstractDeployCommand.java:116) > at > > org.apache.geronimo.deployment.plugin.local.DistributeCommand.run(DistributeCommand.java:61) > at java.lang.Thread.run(Thread.java:810) > Caused by: org.apache.geronimo.kernel.GBeanNotFoundException: No matches > for > referencePatterns: > > [default/wadi_wadi.war/1214606450652/car?#org.apache.geronimo.tomcat.TomcatWebAppContext] > at > > org.apache.geronimo.kernel.config.Configuration.findGBeanData(Configuration.java:669) > at > > org.apache.geronimo.kernel.config.Configuration.findGBeanData(Configuration.java:626) > at > > org.apache.geronimo.tomcat.cluster.wadi.builder.WADITomcatClusteringBuilder.extractWebModule(WADITomcatClusteringBuilder.java:132) > ... 17 more > > > if anyone has a pointers or suggestions it would be greatly appreciated > > -- > View this message in context: > http://www.nabble.com/using-wadi-with-tomcat---web-app-in-an-ear-tp18165228s134p18165228.html > Sent from the Apache Geronimo - Users mailing list archive at Nabble.com. > > -- ~Jason Warner
