Problems with Clustering

View: New views
5 Messages — Rating Filter:   Alert me  

Problems with Clustering

by tbull :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Greetings

I have been beating my head on the wall (it seems) all day, my cas
works great, on one server :( when I put it on the cluster it never
updates itself.  If anyone could give me a pointer I would really
appreciate it.  The server in question is BEA 9.2.

Here is the output from when CAS loads up

2008-06-18 15:43:14,640 INFO [org.jboss.cache.PropertyConfigurator] -
<Found existing property editor for org.w3c.dom.Element:
org.jboss.util.propertyeditor.ElementEditor@101442b>
2008-06-18 15:43:14,640 INFO [org.jboss.cache.PropertyConfigurator] -
<attribute size: 14>
2008-06-18 15:43:14,765 WARN [org.jboss.cache.TreeCache] - <Using
deprecated configuration element 'UseMarshalling'.  See
'UseRegionBasedMarshalling' instead.>
2008-06-18 15:43:14,781 INFO
[org.jasig.cas.util.JBossCacheFactoryBean] - <Starting TreeCache
service.>
2008-06-18 15:43:14,781 WARN [org.jboss.cache.TreeCache] - <No
transaction manager lookup class has been defined. Transactions cannot
be used>
2008-06-18 15:43:14,828 INFO
[org.jboss.cache.factories.InterceptorChainFactory] - <interceptor
chain is:
class org.jboss.cache.interceptors.CallInterceptor
class org.jboss.cache.interceptors.PessimisticLockInterceptor
class org.jboss.cache.interceptors.UnlockInterceptor
class org.jboss.cache.interceptors.ReplicationInterceptor
class org.jboss.cache.interceptors.TxInterceptor
class org.jboss.cache.interceptors.CacheMgmtInterceptor>
2008-06-18 15:43:14,843 INFO [org.jgroups.JChannel] - <JGroups version: 2.4.1>
2008-06-18 15:43:15,031 WARN [org.jgroups.protocols.UNICAST] -
<window_size is deprecated and will be ignored>
2008-06-18 15:43:15,031 WARN [org.jgroups.protocols.UNICAST] -
<min_threshold is deprecated and will be ignored>
2008-06-18 15:43:15,109 INFO [org.jgroups.protocols.UDP] - <sockets
will use interface 32.91.4.109>
2008-06-18 15:43:15,109 INFO [org.jgroups.protocols.UDP] - <socket information:
local_addr=32.91.4.109:4209, mcast_addr=239.192.10.33:3633,
bind_addr=/32.91.4.109, ttl=64
sock: bound to 32.91.4.109:4209, receive buffer size=80000, send
buffer size=150000
mcast_recv_sock: bound to 32.91.4.109:3633, send buffer size=150000,
receive buffer size=80000
mcast_send_sock: bound to 32.91.4.109:4210, send buffer size=150000,
receive buffer size=80000>

-------------------------------------------------------
GMS: address is 32.91.4.109:4209
-------------------------------------------------------
2008-06-18 15:43:17,156 INFO [org.jboss.cache.TreeCache] -
<viewAccepted(): [32.91.4.109:4209|0] [32.91.4.109:4209]>
2008-06-18 15:43:17,171 INFO [org.jboss.cache.TreeCache] - <TreeCache
local address is 32.91.4.109:4209>
2008-06-18 15:43:17,171 INFO [org.jboss.cache.TreeCache] - <State
could not be retrieved (we are the first member in group)>
2008-06-18 15:43:17,437 INFO [org.quartz.simpl.SimpleThreadPool] -
<Job execution threads will use class loader of thread: [STANDBY]
ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'>
2008-06-18 15:43:18,593 INFO [org.quartz.core.QuartzScheduler] -
<Quartz Scheduler v.1.5.2 created.>
2008-06-18 15:43:18,593 INFO [org.quartz.simpl.RAMJobStore] -
<RAMJobStore initialized.>
2008-06-18 15:43:18,593 INFO [org.quartz.impl.StdSchedulerFactory] -
<Quartz scheduler 'DefaultQuartzScheduler' initialized from default
resource file in Quartz package: 'quartz.properties'>
2008-06-18 15:43:18,593 INFO [org.quartz.impl.StdSchedulerFactory] -
<Quartz scheduler version: 1.5.2>
2008-06-18 15:43:18,593 INFO [org.quartz.core.QuartzScheduler] -
<JobFactory set to:
org.springframework.scheduling.quartz.AdaptableJobFactory@1813820>
2008-06-18 15:43:18,593 INFO [org.quartz.core.QuartzScheduler] -
<Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started.>
2008-06-18 15:43:18,875 INFO
[org.acegisecurity.intercept.AbstractSecurityInterceptor] - <Validated
configuration attributes>



I would really appreciate any pointers, I am at a loss for where to turn next..

thanks in advance
troy
_______________________________________________
Yale CAS mailing list
cas@...
http://tp.its.yale.edu/mailman/listinfo/cas

RE: Problems with Clustering

by Andrew Ralph Feller, afelle1 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Troy,

Have you read the wiki article
(http://www.ja-sig.org/wiki/display/CASUM/Clustering+CAS) on clustering
CAS yet?  

Andrew R Feller, Analyst
University Information Systems
200 Fred Frey Building
Louisiana State University
Baton Rouge, LA, 70803
(225) 578-3737 (Office)
(225) 578-6400 (Fax)


-----Original Message-----
From: cas-bounces@... [mailto:cas-bounces@...]
On Behalf Of Troy Bull
Sent: Wednesday, June 18, 2008 3:46 PM
To: cas@...
Subject: Problems with Clustering

Greetings

I have been beating my head on the wall (it seems) all day, my cas
works great, on one server :( when I put it on the cluster it never
updates itself.  If anyone could give me a pointer I would really
appreciate it.  The server in question is BEA 9.2.

Here is the output from when CAS loads up

2008-06-18 15:43:14,640 INFO [org.jboss.cache.PropertyConfigurator] -
<Found existing property editor for org.w3c.dom.Element:
org.jboss.util.propertyeditor.ElementEditor@101442b>
2008-06-18 15:43:14,640 INFO [org.jboss.cache.PropertyConfigurator] -
<attribute size: 14>
2008-06-18 15:43:14,765 WARN [org.jboss.cache.TreeCache] - <Using
deprecated configuration element 'UseMarshalling'.  See
'UseRegionBasedMarshalling' instead.>
2008-06-18 15:43:14,781 INFO
[org.jasig.cas.util.JBossCacheFactoryBean] - <Starting TreeCache
service.>
2008-06-18 15:43:14,781 WARN [org.jboss.cache.TreeCache] - <No
transaction manager lookup class has been defined. Transactions cannot
be used>
2008-06-18 15:43:14,828 INFO
[org.jboss.cache.factories.InterceptorChainFactory] - <interceptor
chain is:
class org.jboss.cache.interceptors.CallInterceptor
class org.jboss.cache.interceptors.PessimisticLockInterceptor
class org.jboss.cache.interceptors.UnlockInterceptor
class org.jboss.cache.interceptors.ReplicationInterceptor
class org.jboss.cache.interceptors.TxInterceptor
class org.jboss.cache.interceptors.CacheMgmtInterceptor>
2008-06-18 15:43:14,843 INFO [org.jgroups.JChannel] - <JGroups version:
2.4.1>
2008-06-18 15:43:15,031 WARN [org.jgroups.protocols.UNICAST] -
<window_size is deprecated and will be ignored>
2008-06-18 15:43:15,031 WARN [org.jgroups.protocols.UNICAST] -
<min_threshold is deprecated and will be ignored>
2008-06-18 15:43:15,109 INFO [org.jgroups.protocols.UDP] - <sockets
will use interface 32.91.4.109>
2008-06-18 15:43:15,109 INFO [org.jgroups.protocols.UDP] - <socket
information:
local_addr=32.91.4.109:4209, mcast_addr=239.192.10.33:3633,
bind_addr=/32.91.4.109, ttl=64
sock: bound to 32.91.4.109:4209, receive buffer size=80000, send
buffer size=150000
mcast_recv_sock: bound to 32.91.4.109:3633, send buffer size=150000,
receive buffer size=80000
mcast_send_sock: bound to 32.91.4.109:4210, send buffer size=150000,
receive buffer size=80000>

-------------------------------------------------------
GMS: address is 32.91.4.109:4209
-------------------------------------------------------
2008-06-18 15:43:17,156 INFO [org.jboss.cache.TreeCache] -
<viewAccepted(): [32.91.4.109:4209|0] [32.91.4.109:4209]>
2008-06-18 15:43:17,171 INFO [org.jboss.cache.TreeCache] - <TreeCache
local address is 32.91.4.109:4209>
2008-06-18 15:43:17,171 INFO [org.jboss.cache.TreeCache] - <State
could not be retrieved (we are the first member in group)>
2008-06-18 15:43:17,437 INFO [org.quartz.simpl.SimpleThreadPool] -
<Job execution threads will use class loader of thread: [STANDBY]
ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'>
2008-06-18 15:43:18,593 INFO [org.quartz.core.QuartzScheduler] -
<Quartz Scheduler v.1.5.2 created.>
2008-06-18 15:43:18,593 INFO [org.quartz.simpl.RAMJobStore] -
<RAMJobStore initialized.>
2008-06-18 15:43:18,593 INFO [org.quartz.impl.StdSchedulerFactory] -
<Quartz scheduler 'DefaultQuartzScheduler' initialized from default
resource file in Quartz package: 'quartz.properties'>
2008-06-18 15:43:18,593 INFO [org.quartz.impl.StdSchedulerFactory] -
<Quartz scheduler version: 1.5.2>
2008-06-18 15:43:18,593 INFO [org.quartz.core.QuartzScheduler] -
<JobFactory set to:
org.springframework.scheduling.quartz.AdaptableJobFactory@1813820>
2008-06-18 15:43:18,593 INFO [org.quartz.core.QuartzScheduler] -
<Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started.>
2008-06-18 15:43:18,875 INFO
[org.acegisecurity.intercept.AbstractSecurityInterceptor] - <Validated
configuration attributes>



I would really appreciate any pointers, I am at a loss for where to turn
next..

thanks in advance
troy
_______________________________________________
Yale CAS mailing list
cas@...
http://tp.its.yale.edu/mailman/listinfo/cas
_______________________________________________
Yale CAS mailing list
cas@...
http://tp.its.yale.edu/mailman/listinfo/cas

Re: Problems with Clustering

by tbull :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Thu, Jun 19, 2008 at 7:13 AM, Andrew R Feller <afelle1@...> wrote:
> Troy,
>
> Have you read the wiki article
> (http://www.ja-sig.org/wiki/display/CASUM/Clustering+CAS) on clustering
> CAS yet?
>

Yes that's how I got to where I am right now.  I went over that
article many times checking to see that I haven't missed anything.

Thanks
Troy
_______________________________________________
Yale CAS mailing list
cas@...
http://tp.its.yale.edu/mailman/listinfo/cas

RE: Problems with Clustering

by Andrew Ralph Feller, afelle1 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Alrighty.  I noticed in your error log that you have configured JBoss
replication to use unicasting instead of multicasting, is that correct?
Could you post your jboss configuration?

Andrew R Feller, Analyst
University Information Systems
200 Fred Frey Building
Louisiana State University
Baton Rouge, LA, 70803
(225) 578-3737 (Office)
(225) 578-6400 (Fax)


-----Original Message-----
From: cas-bounces@... [mailto:cas-bounces@...]
On Behalf Of Troy Bull
Sent: Thursday, June 19, 2008 8:13 AM
To: Yale CAS mailing list
Subject: Re: Problems with Clustering

On Thu, Jun 19, 2008 at 7:13 AM, Andrew R Feller <afelle1@...>
wrote:
> Troy,
>
> Have you read the wiki article
> (http://www.ja-sig.org/wiki/display/CASUM/Clustering+CAS) on
clustering
> CAS yet?
>

Yes that's how I got to where I am right now.  I went over that
article many times checking to see that I haven't missed anything.

Thanks
Troy
_______________________________________________
Yale CAS mailing list
cas@...
http://tp.its.yale.edu/mailman/listinfo/cas
_______________________________________________
Yale CAS mailing list
cas@...
http://tp.its.yale.edu/mailman/listinfo/cas

Re: Problems with Clustering

by tbull :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Thu, Jun 19, 2008 at 8:32 AM, Andrew R Feller <afelle1@...> wrote:
> Alrighty.  I noticed in your error log that you have configured JBoss
> replication to use unicasting instead of multicasting, is that correct?
> Could you post your jboss configuration?

Glad to, and thanks for taking a look:

-----------------------------------------------

<?xml version="1.0" encoding="UTF-8"?>
<server>

    <mbean code="org.jboss.cache.TreeCache"
        name="jboss.cache:service=TreeCache">

        <depends>jboss:service=Naming</depends>
        <attribute name="IsolationLevel">REPEATABLE_READ</attribute>
        <attribute name="CacheMode">REPL_SYNC</attribute>
        <attribute name="UseReplQueue">false</attribute>
        <attribute name="ReplQueueInterval">0</attribute>
        <attribute name="ReplQueueMaxElements">0</attribute>
        <attribute name="ClusterName">TreeCache-Cluster</attribute>
        <attribute name="ClusterConfig">
            <config>
                <UDP mcast_addr="239.192.10.33" mcast_port="3633"
                    ip_ttl="64" ip_mcast="true"
                    mcast_send_buf_size="150000" mcast_recv_buf_size="80000"
                    ucast_send_buf_size="150000" ucast_recv_buf_size="80000"
                    loopback="false"/>
                <PING timeout="2000" num_initial_members="3"
                    up_thread="false" down_thread="false"/>
                <MERGE2 min_interval="10000" max_interval="20000"/>
                <!--        <FD shun="true" up_thread="true"
down_thread="true" />-->
                <FD_SOCK/>
                <VERIFY_SUSPECT timeout="1500"
                    up_thread="false" down_thread="false"/>
                <pbcast.NAKACK gc_lag="50"
retransmit_timeout="600,1200,2400,4800"
                    max_xmit_size="8192" up_thread="false" down_thread="false"/>
                <UNICAST timeout="600,1200,2400" window_size="100"
min_threshold="10"
                    down_thread="false"/>
                <pbcast.STABLE desired_avg_gossip="20000"
                    up_thread="false" down_thread="false"/>
                <FRAG frag_size="8192"
                    down_thread="false" up_thread="false"/>
                <pbcast.GMS join_timeout="5000" join_retry_timeout="2000"
                    shun="true" print_local_addr="true"/>
                <pbcast.STATE_TRANSFER up_thread="true" down_thread="true"/>
            </config>
        </attribute>
        <attribute name="FetchInMemoryState">true</attribute>
        <attribute name="InitialStateRetrievalTimeout">15000</attribute>
        <attribute name="SyncReplTimeout">15000</attribute>
        <attribute name="LockAcquisitionTimeout">10000</attribute>
        <attribute name="EvictionPolicyClass"></attribute>
        <attribute name="UseMarshalling">false</attribute>
                <attribute name="StateTransferVersion">130</attribute>
    </mbean>
</server>
_______________________________________________
Yale CAS mailing list
cas@...
http://tp.its.yale.edu/mailman/listinfo/cas
LightInTheBox - Buy quality products at wholesale price