Re: using wadi with tomcat web app in an ear
) 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 -- View this message in context: http://www.nabble.com/using-wadi-with- tomcat---web-app-in-an-ear-tp18165228s134p18225518.html Sent from the Apache Geronimo - Users mailing list archive at Nabble.com. -- ~Jason Warner -- ~Jason Warner
Re: using wadi with tomcat web app in an ear
-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, jon.saba...@gmail.com jon.saba...@gmail.com 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 -- View this message in context: http://www.nabble.com/using-wadi-with- tomcat---web-app-in-an-ear-tp18165228s134p18225518.html Sent from the Apache Geronimo - Users mailing list archive at Nabble.com. -- ~Jason Warner -- ~Jason Warner
Re: using wadi with tomcat web app in an ear
, security-constraint, login-config, security-role, env-entry, and ejb-ref elements should follow this fragment. -- /web-app -- ?xml version=1.0 encoding=UTF-8? web-app xmlns=http://geronimo.apache.org/xml/ns/j2ee/web/tomcat-1.1; xmlns:wadi=http://geronimo.apache.org/xml/ns/clustering-wadi-1.2; environment moduleId groupIdorg.codehaus.wadi/groupId artifactIdwadi-webapp/artifactId version2.0-SNAPSHOT/version typewar/type /moduleId /environment context-root/wadi-webapp/context-root wadi:tomcat-clustering-wadi wadi:deltaReplicationfalse/wadi:deltaReplication /wadi:tomcat-clustering-wadi /web-app In the ear that I would actually like to cluster there is a geronimo-application.xml as well as application.xml (no modifications to working configs with those, only change would be a distributable / element in the war's web.xml tomcat-clustering-wadi / in geronimo- web.xml), but the exception thrown during deployment matches the test ears exception with the only exception being the gbean name being looked for. Jason Warner wrote: 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, jon.saba...@gmail.com jon.saba...@gmail.com 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.WADITomcatClusteringBu ilder.extractWebModule(WADITomcatClusteringBuilder.java:134) at org.apache.geronimo.tomcat.cluster.wadi.builder.WADITomcatClusteringBu ilder.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.buildConfiguratio n(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.doDe ploy(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.WADITomcatClusteringBu ilder.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
Re: using wadi with tomcat web app in an ear
?#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 -- View this message in context: http://www.nabble.com/using-wadi-with- tomcat---web-app-in-an-ear-tp18165228s134p18225518.html Sent from the Apache Geronimo - Users mailing list archive at Nabble.com. -- ~Jason Warner -- ~Jason Warner
Re: using wadi with tomcat web app in an ear
) 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 -- View this message in context: http://www.nabble.com/using-wadi-with- tomcat---web-app-in-an-ear-tp18165228s134p18225518.html Sent from the Apache Geronimo - Users mailing list archive at Nabble.com. -- ~Jason Warner -- ~Jason Warner