Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 55086 invoked from network); 22 Oct 2008 12:09:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 22 Oct 2008 12:09:35 -0000 Received: (qmail 52116 invoked by uid 500); 22 Oct 2008 12:09:17 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 52069 invoked by uid 500); 22 Oct 2008 12:09:17 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 52017 invoked by uid 99); 22 Oct 2008 12:09:16 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Oct 2008 05:09:16 -0700 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Oct 2008 12:08:05 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1KscW3-0006SL-8m for users@tomcat.apache.org; Wed, 22 Oct 2008 05:08:43 -0700 Message-ID: <20109353.post@talk.nabble.com> Date: Wed, 22 Oct 2008 05:08:43 -0700 (PDT) From: kashif_tomcat To: users@tomcat.apache.org Subject: Re: Clustering in tomcat In-Reply-To: <48FDDB90.3070104@hanik.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: kashif@vopium.com References: <20086170.post@talk.nabble.com> <48FDDB90.3070104@hanik.com> X-Virus-Checked: Checked by ClamAV on apache.org Filip following is detail of exception that i get in catalian.out while starting tomcat server. 2008-10-22 17:51:59,297 INFO [org.hibernate.impl.SessionFactoryImpl - close] - closing Oct 22, 2008 5:51:59 PM org.apache.coyote.http11.Http11Protocol destroy INFO: Stopping Coyote HTTP/1.1 on http-8091 Oct 22, 2008 6:02:46 PM org.apache.catalina.core.AprLifecycleListener init INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /u/bin/JDK/jdk1.6.0_10/jre/lib/i386/server:/u/bin/JDK/jdk1.6.0_10/jre/lib/i386:/u/bin/JDK/jdk1.6.0_10/jre/../lib/i386:/usr/java/packages/lib/i386:/lib:/usr/lib Oct 22, 2008 6:02:46 PM org.apache.coyote.http11.Http11Protocol init INFO: Initializing Coyote HTTP/1.1 on http-8091 Oct 22, 2008 6:02:46 PM org.apache.catalina.startup.Catalina load INFO: Initialization processed in 406 ms Oct 22, 2008 6:02:46 PM org.apache.catalina.core.StandardService start INFO: Starting service Catalina Oct 22, 2008 6:02:46 PM org.apache.catalina.core.StandardEngine start INFO: Starting Servlet Engine: Apache Tomcat/6.0.18 Oct 22, 2008 6:02:46 PM org.apache.catalina.ha.tcp.SimpleTcpCluster start INFO: Cluster is about to start Oct 22, 2008 6:02:46 PM org.apache.catalina.tribes.transport.ReceiverBase bind INFO: Receiver Server Socket bound to:/203.215.179.36:4000 Oct 22, 2008 6:02:46 PM org.apache.catalina.tribes.membership.McastServiceImpl setupSocket INFO: Setting cluster mcast soTimeout to 500 Oct 22, 2008 6:02:46 PM org.apache.catalina.tribes.membership.McastServiceImpl waitForMembers INFO: Sleeping for 1000 milliseconds to establish cluster membership, start level:4 Oct 22, 2008 6:02:47 PM org.apache.catalina.tribes.membership.McastServiceImpl waitForMembers INFO: Done sleeping, membership established, start level:4 Oct 22, 2008 6:02:47 PM org.apache.catalina.ha.tcp.SimpleTcpCluster start SEVERE: Unable to start cluster. org.apache.catalina.tribes.ChannelException: java.io.IOException: Operation not permitted; No faulty members identified. at org.apache.catalina.tribes.group.ChannelCoordinator.internalStart(ChannelCoordinator.java:169) at org.apache.catalina.tribes.group.ChannelCoordinator.start(ChannelCoordinator.java:97) at org.apache.catalina.tribes.group.ChannelInterceptorBase.start(ChannelInterceptorBase.java:149) at org.apache.catalina.tribes.group.ChannelInterceptorBase.start(ChannelInterceptorBase.java:149) at org.apache.catalina.tribes.group.interceptors.MessageDispatchInterceptor.start(MessageDispatchInterceptor.java:147) at org.apache.catalina.tribes.group.ChannelInterceptorBase.start(ChannelInterceptorBase.java:149) at org.apache.catalina.tribes.group.GroupChannel.start(GroupChannel.java:407) at org.apache.catalina.ha.tcp.SimpleTcpCluster.start(SimpleTcpCluster.java:669) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1035) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) at org.apache.catalina.core.StandardService.start(StandardService.java:516) at org.apache.catalina.core.StandardServer.start(StandardServer.java:710) at org.apache.catalina.startup.Catalina.start(Catalina.java:578) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413) Caused by: java.io.IOException: Operation not permitted at java.net.PlainDatagramSocketImpl.send(Native Method) at java.net.DatagramSocket.send(DatagramSocket.java:612) at org.apache.catalina.tribes.membership.McastServiceImpl.send(McastServiceImpl.java:385) at org.apache.catalina.tribes.membership.McastServiceImpl.start(McastServiceImpl.java:244) at org.apache.catalina.tribes.membership.McastService.start(McastService.java:318) at org.apache.catalina.tribes.group.ChannelCoordinator.internalStart(ChannelCoordinator.java:158) ... 18 more Oct 22, 2008 6:02:47 PM org.apache.catalina.startup.Catalina start SEVERE: Catalina.start: LifecycleException: org.apache.catalina.tribes.ChannelException: java.io.IOException: Operation not permitted; No faulty members identified. at org.apache.catalina.ha.tcp.SimpleTcpCluster.start(SimpleTcpCluster.java:676) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1035) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) at org.apache.catalina.core.StandardService.start(StandardService.java:516) at org.apache.catalina.core.StandardServer.start(StandardServer.java:710) at org.apache.catalina.startup.Catalina.start(Catalina.java:578) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413) Oct 22, 2008 6:02:47 PM org.apache.catalina.startup.Catalina start INFO: Server startup in 1140 ms i am using ajp port 8109 to connect with tomcat. and added jvmRoute in server.xml in following tag. and uncommented following tag tell me please if anything more is required to do this clustering in tomcat. thanks Filip Hanik - Dev Lists wrote: > > if you paste in the whole error, we can tell you. we are missing the > root cause of the error, the IO exception that happened during startup > > Filip > > kashif_tomcat wrote: >> can anyone help me for clustering in tomcat. >> >> here is scenario: >> >> two tomcat servers running on same linux machine on different ports with >> apache installed on front side as web server and using mode proxy ajp for >> integration with tomcat. now i uncommented following tag in server.xml of >> tomcat conf to enable clustering. >> >> >> >> when i start tomcat server i get following exception: >> >> INFO: Done sleeping, membership established, start level:4 >> Oct 21, 2008 3:04:38 PM org.apache.catalina.ha.tcp.SimpleTcpCluster start >> SEVERE: Unable to start cluster. >> org.apache.catalina.tribes.ChannelException: java.io.IOException: >> Operation >> not permitted; No faulty members identified. >> at >> org.apache.catalina.tribes.group.ChannelCoordinator.internalStart(ChannelCoordinator.java:169) >> at >> org.apache.catalina.tribes.group.ChannelCoordinator.start(ChannelCoordinator.java:97) >> at >> org.apache.catalina.tribes.group.ChannelInterceptorBase.start(ChannelInterceptorBase.java:149) >> ) >> >> >> can anyone tell me what more should i do ? is there anything missing? >> >> >> > > > --------------------------------------------------------------------- > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org > For additional commands, e-mail: users-help@tomcat.apache.org > > > -- View this message in context: http://www.nabble.com/Clustering-in-tomcat-tp20086170p20109353.html Sent from the Tomcat - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org