tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bruce Pease" <bpe...@wth.com>
Subject Tomcat 7 Cluster Issue
Date Tue, 22 Feb 2011 23:02:05 GMT
Good Afternoon:

 

I am running Windows server 2008 with Oracle/Sun jdk 1.6u24 and Tomcat 7.0.8.
Windows server 2008 multicast is defaulted on.  I am attempting to set up a
cluster (config that currenly works in Windows server 2000 and tomcat 6), and
getting the exception listed below.  I haven't been able to find a
configuration change from Tomcat 6 to 7 that might be causing this error.  I
have included the cluster configuration as well.  Any assistance would be
appreciated.  

 

<Cluster className="org.apache.catalina.ha.tcp.SimpleTcpCluster"
channelSendOptions="11">
<Manager className="org.apache.catalina.ha.session.DeltaManager"
expireSessionsOnShutdown="true" notifyListenersOnReplication="true"/>

                <Channel
className="org.apache.catalina.tribes.group.GroupChannel">

                <Membership
className="org.apache.catalina.tribes.membership.McastService"
address="228.0.0.45"  bind="10.103.4.70" port="45564" frequency="500"
dropTime="3000"/>

                <Receiver
className="org.apache.catalina.tribes.transport.nio.NioReceiver"
address="10.103.4.70"  port="4220" autoBind="100" selectorTimeout="100"
maxThreads="6"/>

                <Sender
className="org.apache.catalina.tribes.transport.ReplicationTransmitter">

                <Transport
className="org.apache.catalina.tribes.transport.nio.PooledParallelSender"/>

                </Sender>

                <Interceptor
className="org.apache.catalina.tribes.group.interceptors.TcpFailureDetector"/
>

                <Interceptor
className="org.apache.catalina.tribes.group.interceptors.MessageDispatch15Int
erceptor"/>

                <Interceptor
className="org.apache.catalina.tribes.group.interceptors.ThroughputIntercepto
r"/>

                </Channel>

                <Valve
className="org.apache.catalina.ha.tcp.ReplicationValve"
filter=".*\.gif;.*\.js;.*\.jpg;.*\.png;.*\.htm;.*\.html;.*\.css;.*\.txt;"/>

                <Valve
className="org.apache.catalina.ha.session.JvmRouteBinderValve"/>

                <Deployer
className="org.apache.catalina.ha.deploy.FarmWarDeployer"
tempDir="/tmp/war-temp/"  deployDir="/tmp/war-deploy/"
watchDir="/tmp/war-listen/" watchEnabled="false"/>

                <ClusterListener
className="org.apache.catalina.ha.session.JvmRouteSessionIDBinderListener"/>

                <ClusterListener
className="org.apache.catalina.ha.session.ClusterSessionListener"/>

</Cluster>

 

Feb 22, 2011 5:48:11 PM org.apache.catalina.ha.tcp.SimpleTcpCluster
startInternal

SEVERE: Unable to start cluster.

org.apache.catalina.tribes.ChannelException: java.net.SocketException: An
operation was attempted on something that is not a socket; No faulty members
identified.

                at
org.apache.catalina.tribes.group.ChannelCoordinator.internalStart(ChannelCoor
dinator.java:178)

                at
org.apache.catalina.tribes.group.ChannelCoordinator.start(ChannelCoordinator.
java:99)

                at
org.apache.catalina.tribes.group.ChannelInterceptorBase.start(ChannelIntercep
torBase.java:150)

                at
org.apache.catalina.tribes.group.ChannelInterceptorBase.start(ChannelIntercep
torBase.java:150)

                at
org.apache.catalina.tribes.group.interceptors.MessageDispatchInterceptor.star
t(MessageDispatchInterceptor.java:153)

                at
org.apache.catalina.tribes.group.ChannelInterceptorBase.start(ChannelIntercep
torBase.java:150)

                at
org.apache.catalina.tribes.group.ChannelInterceptorBase.start(ChannelIntercep
torBase.java:150)

                at
org.apache.catalina.tribes.group.GroupChannel.start(GroupChannel.java:416)

                at
org.apache.catalina.ha.tcp.SimpleTcpCluster.startInternal(SimpleTcpCluster.ja
va:671)

                at
org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)

                at
org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1026)

                at
org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:774)

                at
org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)

                at
org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1035)

                at
org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:291
)

                at
org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)

                at
org.apache.catalina.core.StandardService.startInternal(StandardService.java:4
43)

                at
org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)

                at
org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:724
)

                at
org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)

                at
org.apache.catalina.startup.Catalina.start(Catalina.java:620)

                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:304)

                at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)

 

Bruce D. Pease
Technical Team Lead - Web Applications
CruiseOne(r) <http://www.cruiseone.com/>  & Cruises Inc(tm)
<http://www.cruisesinc.com/> 
1201 W. Cypress Creek Road, Suite 100
Fort Lauderdale, FL 33309-1955
954-958-3654 (direct) | 954-958-3665 (fax)
bpease@wth.com <mailto:sszalay@wth.com> 

 


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message