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.

<Engine name="Catalina" defaultHost="localhost" jvmRoute="tomcat1">

and uncommented following tag

<Cluster className="org.apache.catalina.ha.tcp.SimpleTcpCluster"/>


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. 
>>
>> <Cluster className="org.apache.catalina.ha.tcp.SimpleTcpCluster"/>
>>
>> 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to