Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 62666 invoked from network); 8 Nov 2006 17:05:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Nov 2006 17:05:39 -0000 Received: (qmail 71047 invoked by uid 500); 8 Nov 2006 17:05:49 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 70468 invoked by uid 500); 8 Nov 2006 17:05:47 -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 70457 invoked by uid 99); 8 Nov 2006 17:05:47 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Nov 2006 09:05:47 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of ammulder@gmail.com designates 66.249.92.173 as permitted sender) Received: from [66.249.92.173] (HELO ug-out-1314.google.com) (66.249.92.173) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Nov 2006 09:05:34 -0800 Received: by ug-out-1314.google.com with SMTP id m2so87057ugc for ; Wed, 08 Nov 2006 09:05:12 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=er3l5deEF4YcOQF27NyKzLT/Tc9u7U9byxa2G7Qe+6Yw13sdEGYwGTG//hXXHxA+Ss6dp+QCs1hb5QNFXkwF8yKjNHbdKpTB5Lzynwu05tL6+oVXJ22bUEJ3d6JCxaHo1kT65pNjqOkIAFTVglBklBSs3pecUkeDjxOqD1Ir0Q4= Received: by 10.82.107.15 with SMTP id f15mr1750357buc.1163005512284; Wed, 08 Nov 2006 09:05:12 -0800 (PST) Received: by 10.82.118.19 with HTTP; Wed, 8 Nov 2006 09:05:12 -0800 (PST) Message-ID: <74e15baa0611080905t6412247fn1adfc7ee68f4d8a3@mail.gmail.com> Date: Wed, 8 Nov 2006 12:05:12 -0500 From: "Aaron Mulder" Sender: ammulder@gmail.com To: user@geronimo.apache.org Subject: Re: Clustering and Database Access In-Reply-To: <45520BD7.9090404@trifecta.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <4551F33C.7080208@trifecta.com> <74e15baa0611080753r2cb69d05l82e7b156332559b@mail.gmail.com> <45520BD7.9090404@trifecta.com> X-Google-Sender-Auth: 5c774772e4d65f5b X-Virus-Checked: Checked by ClamAV on apache.org OK, the order of elements should be: 1) environment 2) context-root 3) cluster 4) resource-ref 5) gbean You can get this from: http://geronimo.apache.org/schemas-1.1/geronimo-tomcat-1.1.xsd If just putting things in that order doesn't do it, change the first line of the resource-ref to: Thanks, Aaron On 11/8/06, Chris Hall wrote: > Aaron Mulder wrote: > > Can you post your geronimo-web.xml? It sounds like maybe some > > elements are out of order or have the wrong namespace. Or, if you > > have an XML Schema validation tool or function in your IDE you might > > try validating your geronimo-web.xml against the geronimo-tomcat > > schema in the schemas/ directory of your Geronimo tree. > > I've tried shuffling the resource-ref around... should I be declaring it > differently? > > Here's my geronimo-web.xml: > > > > > > > webapp > store > 1.0 > war > > > > console.dbpool > WebAppDS > > > > > / > > > jdbc/WebAppDS > WebAppDS > > > TomcatCluster > > > class="org.apache.geronimo.tomcat.cluster.CatalinaClusterGBean"> > name="className">org.apache.catalina.cluster.tcp.SimpleTcpCluster > > > managerClassName=org.apache.catalina.cluster.session.DeltaManager > expireSessionsOnShutdown=false > useDirtyFlag=false > notifyListenersOnReplication=true > > > name="Membership">TomcatMembership > TomcatReceiver > TomcatSender > name="TomcatValveChain">ReplicationValve > > > > class="org.apache.geronimo.tomcat.cluster.MembershipServiceGBean"> > name="className">org.apache.catalina.cluster.mcast.McastService > > mcastAddr=228.0.0.4 > mcastBindAddress=127.0.0.1 > mcastPort=45564 > mcastFrequency=500 > mcastDropTime=3000 > > > > > class="org.apache.geronimo.tomcat.cluster.ReceiverGBean"> > name="className">org.apache.catalina.cluster.tcp.ReplicationListener > > tcpListenAddress=127.0.0.1 > tcpListenPort=4001 > tcpSelectorTimeout=100 > tcpThreadCount=6 > > > > > class="org.apache.geronimo.tomcat.cluster.SenderGBean"> > name="className">org.apache.catalina.cluster.tcp.ReplicationTransmitter > > replicationMode=pooled > ackTimeout=15000 > > > > > class="org.apache.geronimo.tomcat.ValveGBean"> > name="className">org.apache.catalina.cluster.tcp.ReplicationValve > > > filter=.*\.gif;.*\.js;.*\.css;.*\.png;.*\.jpeg;.*\.jpg;.*\.htm;.*\.html;.*\.txt; > > name="NextValve">JvmRouteBinderValve > > class="org.apache.geronimo.tomcat.ValveGBean"> > name="className">org.apache.catalina.cluster.session.JvmRouteBinderValve > > enabled=true > > > > > > > Thanks. > > -Chris >