Hi,

yes it is 6.0.20. I just downgrade to 6.0.18 and it seems to work. Thanks!

2009/6/15 Filip Hanik - Dev Lists <devli...@hanik.com>:
> you could be running into this regression
> https://issues.apache.org/bugzilla/show_bug.cgi?id=47308
> if you are using 6.0.20, otherwise you may not have multicasting configured
>
> Filip
>
> Sergey Elin wrote:
>>
>> Hi,
>>
>> I'm trying to setup a simple 2-node tomcat cluster on Windows 7 RC.
>> Everything works fine exept local nodes dosen't connect to each other
>> and even dosen't find each other. Any external nodes can find and
>> share sessions with local. I try to follow some googled tips (even
>> turn off firewall) without any success. Any ideas? Am I missed
>> something?
>>
>> Here is my server.xml and output:
>> <?xml version="1.0" encoding="utf-8"?>
>> <Server port="${tomcat.server.port}1" shutdown="SHUTDOWN">
>>        <!--APR library loader. Documentation at /docs/apr.html -->
>>        <Listener className="org.apache.catalina.core.AprLifecycleListener"
>> SSLEngine="on"/>
>>        <!--Initialize Jasper prior to webapps are loaded. Documentation at
>> /docs/jasper-howto.html -->
>>        <Listener className="org.apache.catalina.core.JasperListener"/>
>>        <!-- JMX Support for the Tomcat server. Documentation at
>> /docs/non-existent.html -->
>>        <Listener
>> className="org.apache.catalina.mbeans.ServerLifecycleListener"/>
>>        <Listener
>> className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener"/>
>>        <!-- Global JNDI resources
>>       Documentation at /docs/jndi-resources-howto.html
>>  -->
>>        <GlobalNamingResources>
>>                <!-- Editable user database that can also be used by
>>         UserDatabaseRealm to authenticate users
>>    -->
>>                <Resource name="UserDatabase" auth="Container"
>> type="org.apache.catalina.UserDatabase" description="User database
>> that can be updated and saved"
>> factory="org.apache.catalina.users.MemoryUserDatabaseFactory"
>> pathname="conf/tomcat-users.xml"/>
>>        </GlobalNamingResources>
>>        <Service name="Catalina">
>>
>>                <Connector port="${tomcat.server.port}2"
>> protocol="HTTP/1.1"
>> connectionTimeout="20000" redirectPort="${tomcat.server.port}3"
>> maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
>> enableLookups="false" acceptCount="100" debug="0"
>> disableUploadTimeout="true"/>
>> <!--
>> <Connector port="${tomcat.init.port}3" protocol="HTTP/1.1"
>> SSLEnabled="true"
>> maxThreads="150" scheme="https" secure="true"
>> clientAuth="false" sslProtocol="TLS"/>
>>                <Connector port="${tomcat.init.port}4" protocol="AJP/1.3"
>> redirectPort="${tomcat.init.port}3"/>
>> -->
>>
>>                <Engine name="Catalina" defaultHost="cluster"
>> jvmRoute="node${tomcat.server.port}">
>>                        <Cluster
>> className="org.apache.catalina.ha.tcp.SimpleTcpCluster"
>> channelSendOptions="8">
>>          <Manager className="org.apache.catalina.ha.session.DeltaManager"
>>                   expireSessionsOnShutdown="false"
>>                   notifyListenersOnReplication="true"/>
>>                                <Channel
>> className="org.apache.catalina.tribes.group.GroupChannel">
>>                                        <Membership
>> className="org.apache.catalina.tribes.membership.McastService"
>> frequency="500" dropTime="3000" />
>>                                        <Receiver
>> className="org.apache.catalina.tribes.transport.nio.NioReceiver"
>> 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.MessageDispatch15Interceptor"/>
>> <!--                                    <Interceptor
>>
>> className="org.apache.catalina.tribes.group.interceptors.ThroughputInterceptor"/>
>> -->
>>                                </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"/>
>>
>>                <ClusterListener
>>
>> className="org.apache.catalina.ha.session.JvmRouteSessionIDBinderListener"/>
>>                <ClusterListener
>> className="org.apache.catalina.ha.session.ClusterSessionListener"/>
>>                        </Cluster>
>>                        <Realm
>> className="org.apache.catalina.realm.UserDatabaseRealm"
>> resourceName="UserDatabase"/>
>>                        <Host name="cluster" appBase="webapps"
>> unpackWARs="true"
>> autoDeploy="true" xmlValidation="false" xmlNamespaceAware="false">
>>                                <Context docBase="examples"
>> path="/examples"
>>                                        reloadable="true"
>> distributable="true" />
>>                        </Host>
>>                </Engine>
>>        </Service>
>> </Server>
>>
>>
>> Here is output:
>>
>> 15.06.2009 22:36:36 org.apache.catalina.core.AprLifecycleListener init
>> INFO: The APR based Apache Tomcat Native library which allows optimal
>> performance in production envi
>> ronments was not found on the java.library.path:
>> C:\Sun\Java\jdk1.6.0_14x64\bin;.;C:\Windows\Sun\Jav
>> a\bin;C:\Windows\system32;C:\Windows;C:\Program Files
>> (x86)\ActiveState Komodo Edit 5\;C:\Program Fi
>> les (x86)\MiKTeX
>>
>> 2.7\miktex\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\S
>> ystem32\WindowsPowerShell\v1.0\;C:\Program Files
>> (x86)\TortoiseHg;C:\Program Files (x86)\Subversion\
>> bin;C:\Program
>> Files\TortoiseSVN\bin;C:\Python\Python31;C:\dmd\dmd.1.041-tango-0.99.8\bin;C:\Apache\
>> apache-ant-1.7.1\bin;C:\Apache\apache-maven-2.0.10\bin
>> 15.06.2009 22:36:36 org.apache.coyote.http11.Http11Protocol init
>> INFO: Initializing Coyote HTTP/1.1 on http-8022
>> 15.06.2009 22:36:36 org.apache.catalina.startup.Catalina load
>> INFO: Initialization processed in 1083 ms
>> 15.06.2009 22:36:36 org.apache.catalina.core.StandardService start
>> INFO: Starting service Catalina
>> 15.06.2009 22:36:36 org.apache.catalina.core.StandardEngine start
>> INFO: Starting Servlet Engine: Apache Tomcat/6.0.20
>> 15.06.2009 22:36:36 org.apache.catalina.ha.tcp.SimpleTcpCluster start
>> INFO: Cluster is about to start
>> 15.06.2009 22:36:36 org.apache.catalina.tribes.transport.ReceiverBase
>> getBind
>> FINE: Starting replication listener on address:192.168.149.1
>> 15.06.2009 22:36:36 org.apache.catalina.tribes.transport.ReceiverBase bind
>> INFO: Receiver Server Socket bound to:/192.168.149.1:4001
>> 15.06.2009 22:36:36
>> org.apache.catalina.tribes.membership.McastServiceImpl setupSocket
>> INFO: Setting cluster mcast soTimeout to 500
>> 15.06.2009 22:36:36
>> org.apache.catalina.tribes.membership.McastServiceImpl waitForMembers
>> INFO: Sleeping for 1000 milliseconds to establish cluster membership,
>> start level:4
>> 15.06.2009 22:36:37
>> org.apache.catalina.tribes.membership.McastServiceImpl waitForMembers
>> INFO: Done sleeping, membership established, start level:4
>> 15.06.2009 22:36:37
>> org.apache.catalina.tribes.membership.McastServiceImpl waitForMembers
>> INFO: Sleeping for 1000 milliseconds to establish cluster membership,
>> start level:8
>> 15.06.2009 22:36:38
>> org.apache.catalina.tribes.membership.McastServiceImpl waitForMembers
>> INFO: Done sleeping, membership established, start level:8
>> 15.06.2009 22:36:39 org.apache.catalina.ha.session.DeltaManager start
>> INFO: Register manager /examples to cluster element Engine with name
>> Catalina
>> 15.06.2009 22:36:39 org.apache.catalina.ha.session.DeltaManager start
>> INFO: Starting clustering manager at /examples
>> 15.06.2009 22:36:39 org.apache.catalina.ha.session.DeltaManager
>> getAllClusterSessions
>> INFO: Manager [cluster#/examples]: skipping state transfer. No members
>> active in cluster group.
>> 15.06.2009 22:36:39 org.apache.catalina.core.ApplicationContext log
>> INFO: ContextListener: contextInitialized()
>> 15.06.2009 22:36:39 org.apache.catalina.core.ApplicationContext log
>> INFO: SessionListener: contextInitialized()
>> 15.06.2009 22:36:39 org.apache.catalina.ha.session.JvmRouteBinderValve
>> start
>> INFO: JvmRouteBinderValve started
>> 15.06.2009 22:36:39 org.apache.coyote.http11.Http11Protocol start
>> INFO: Starting Coyote HTTP/1.1 on http-8022
>> 15.06.2009 22:36:39 org.apache.catalina.startup.Catalina start
>> INFO: Server startup in 3305 ms
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
>> For additional commands, e-mail: users-h...@tomcat.apache.org
>>
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to