Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 12719 invoked from network); 17 Apr 2006 03:10:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 17 Apr 2006 03:10:35 -0000 Received: (qmail 26612 invoked by uid 500); 17 Apr 2006 03:10:32 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 25496 invoked by uid 500); 17 Apr 2006 03:10:27 -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 25484 invoked by uid 99); 17 Apr 2006 03:10:27 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 16 Apr 2006 20:10:27 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [63.246.7.35] (HELO mail.virtuas.com) (63.246.7.35) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 16 Apr 2006 20:10:25 -0700 Received: (qmail 10856 invoked by uid 89); 17 Apr 2006 03:10:04 -0000 Received: by simscan 1.1.0 ppid: 10741, pid: 10744, t: 2.9804s scanners: clamav: m: spam: 3.0.2 Received: from unknown (HELO ?127.0.0.1?) (bnoll@virtuas.com@65.167.130.236) by mail.virtuas.com with SMTP; 17 Apr 2006 03:10:01 -0000 Message-ID: <4443070E.8000202@virtuas.com> Date: Sun, 16 Apr 2006 21:10:06 -0600 From: Bryan Noll User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 To: dev@geronimo.apache.org, user@geronimo.apache.org Subject: Re: Unable to deploy simple Tapestry app. References: <444001BB.3080007@virtuas.com> In-Reply-To: <444001BB.3080007@virtuas.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 0615-3, 04/14/2006), Outbound message X-Antivirus-Status: Clean X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on virtuas01.managed.contegix.com X-Spam-Level: X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: No, score=-3.4 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.0.2 X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Folks on this dev list seem pretty busy working through jira issues and the like for the release. I'm moving this over to the user list... maybe someone there has been there, done that with this Tapestry/Geronimo integration. Thanks... Bryan Noll wrote: > Hello... > > I'm having some issues deploying a simple Tapestry application to > Geronimo. I'm trying to keep it as simple as I can... no > geronimo-web.xml. So, Tapestry is tightly coupled with Hivemind, and > Hivemind is complaining... telling me "Module hivemind is > duplicated!". It would appear to me that this seems like a class > loading issue with Geronimo. Evidently, the hivemind-1.1.jar library > that's bundled in the war is getting deployed twice.... or something > like that. > To give you an brief idea of what's going on here, the Tapestry > bootstrap process is attempting to get all of these hivemodule.xml > files loaded by iterating over a Collection of them. That is what's > happening every time > 'RegistryInfrastructureConstructor.addModuleDescriptor' is getting > called. So, right before I get the following stack strace, I see some > debug level logging coming out of the hivemind code saying > '12:54:13,609 DEBUG [RegistryBuilder] Processing module hivemind'. > That is the 2nd time I see that, hence the problem...it got it loaded > the 1st time, and is now puking. > > Here's the stacktrace. I'm gonna post to the Tapestry list as well > and see if they've got anything to say about it. > > Thanks in advance for any thoughts.... > > org.apache.hivemind.ApplicationRuntimeException: Error: Module > hivemind is duplicated! Definition in > jar:file:/C:/tools/geronimo-1.2-SNAPSHOT/config-store/42/war/WEB-INF/lib/hivemind-1.1.jar!/META-INF/hivemodule.xml > has been ignored in favor of existing definition from > jar:file:/C:/tools/geronimo-1.2-SNAPSHOT/config-store/42/war/WEB-INF/lib/hivemind-1.1.jar!/META-INF/hivemodule.xml. > > org.apache.hivemind.impl.StrictErrorHandler.error(StrictErrorHandler.java:39) > > org.apache.hivemind.impl.RegistryInfrastructureConstructor.addModuleDescriptor(RegistryInfrastructureConstructor.java:202) > > org.apache.hivemind.impl.RegistryBuilder.processModuleDescriptorProvider(RegistryBuilder.java:168) > > org.apache.hivemind.impl.RegistryBuilder.constructRegistry(RegistryBuilder.java:143) > > org.apache.tapestry.ApplicationServlet.constructRegistry(ApplicationServlet.java:253) > > org.apache.tapestry.ApplicationServlet.init(ApplicationServlet.java:194) > org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1105) > > org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:932) > org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3915) > > org.apache.catalina.core.StandardContext.start(StandardContext.java:4176) > org.apache.geronimo.tomcat.GeronimoStandardContext.access$101(GeronimoStandardContext.java:66) > > org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMethodValve.invoke(GeronimoStandardContext.java:270) > > org.apache.geronimo.tomcat.valve.GeronimoBeforeAfterValve.invoke(GeronimoBeforeAfterValve.java:31) > > org.apache.geronimo.tomcat.GeronimoStandardContext.start(GeronimoStandardContext.java:185) > > org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759) > > org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739) > org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524) > org.apache.geronimo.tomcat.TomcatContainer.addContext(TomcatContainer.java:287) > > org.apache.geronimo.tomcat.TomcatContainer$$FastClassByCGLIB$$9370b073.invoke() > > net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53) > org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38) > > org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:118) > > org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:800) > > org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57) > org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:36) > > org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96) > > org.apache.geronimo.tomcat.TomcatContainer$$EnhancerByCGLIB$$7af7fb0d.addContext() > > org.apache.geronimo.tomcat.TomcatWebAppContext.doStart(TomcatWebAppContext.java:416) > > org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:936) > > org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:325) > > org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:110) > > org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:132) > > org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:537) > > org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:208) > > org.apache.geronimo.kernel.config.Configuration.startRecursiveGBeans(Configuration.java:315) > > org.apache.geronimo.kernel.config.Configuration$$FastClassByCGLIB$$7f4b4a9b.invoke() > > net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53) > org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38) > > org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:118) > > org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:835) > > org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:178) > org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:173) > org.apache.geronimo.kernel.config.ConfigurationManagerImpl.start(ConfigurationManagerImpl.java:229) > > org.apache.geronimo.kernel.config.ConfigurationManagerImpl$$FastClassByCGLIB$$fbed85d2.invoke() > > net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53) > org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38) > > org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:118) > > org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:835) > > org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:178) > org.apache.geronimo.kernel.KernelGBean.invoke(KernelGBean.java:125) > org.apache.geronimo.kernel.KernelGBean$$FastClassByCGLIB$$1cccefc9.invoke() > > net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53) > org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38) > > org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:118) > > org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:835) > > org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:178) > org.apache.geronimo.kernel.jmx.MBeanServerDelegate.invoke(MBeanServerDelegate.java:117) > > mx4j.remote.rmi.RMIConnectionInvoker.invoke(RMIConnectionInvoker.java:219) > > sun.reflect.GeneratedMethodAccessor223.invoke(Unknown Source) > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > > java.lang.reflect.Method.invoke(Method.java:324) > mx4j.remote.rmi.RMIConnectionProxy.invoke(RMIConnectionProxy.java:34) > mx4j.remote.rmi.RMIConnectionSubjectInvoker.chain(RMIConnectionSubjectInvoker.java:99) > > mx4j.remote.rmi.RMIConnectionSubjectInvoker.access$000(RMIConnectionSubjectInvoker.java:31) > > mx4j.remote.rmi.RMIConnectionSubjectInvoker$1.run(RMIConnectionSubjectInvoker.java:90) > > java.security.AccessController.doPrivileged(Native Method) > javax.security.auth.Subject.doAsPrivileged(Subject.java:500) > mx4j.remote.MX4JRemoteUtils.subjectInvoke(MX4JRemoteUtils.java:163) > mx4j.remote.rmi.RMIConnectionSubjectInvoker.subjectInvoke(RMIConnectionSubjectInvoker.java:86) > > mx4j.remote.rmi.RMIConnectionSubjectInvoker.invoke(RMIConnectionSubjectInvoker.java:80) > > $Proxy4.invoke(Unknown Source) > javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:221) > > sun.reflect.GeneratedMethodAccessor223.invoke(Unknown Source) > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > > java.lang.reflect.Method.invoke(Method.java:324) > sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261) > sun.rmi.transport.Transport$1.run(Transport.java:148) > java.security.AccessController.doPrivileged(Native Method) > sun.rmi.transport.Transport.serviceCall(Transport.java:144) > sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460) > sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701) > > java.lang.Thread.run(Thread.java:534) > -- +------------------------------- | Bryan Noll | Practice Consultant | Virtuas Open Source Solutions | o: 303.260.7300 x713 | c: 720.201.9659 +-------------------------------