Hello,
  I am currently testing CAS server 3.5.1 with load balancing. I have two 
servers setup and am using ehcache to sync both repositories. But for some 
reason that does not seem to be working. I don’t see any errors in the logs, I 
see an entry for a ticket being added to the repository. I am seeing network 
traffic going back and forth between the two servers. But when I try to test 
this, the second server fails validation as It cannot find the service ticket. 
I am not sure what I am missing. 

 I have both servers working fine individually with LDAP/LPPE. Using Apache 
proxy balancer (tried both AJP and HTTP). Attached my ehcache config file. Any 
guidance will be greatly appreciated. Let me know what additional information 
you may need.


 Thanks,
 -Abhijit.

-- 
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user
<!--

Licensed to Jasig under one or more contributor license
agreements. See the NOTICE file distributed with this work
for additional information regarding copyright ownership.
Jasig licenses this file to you under the Apache License,
Version 2.0 (the "License"); you may not use this file
except in compliance with the License. You may obtain a
copy of the License at the following location:

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.

-->
<ehcache name="ehCacheTicketRegistryCache"
updateCheck="false"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:noNamespaceSchemaLocation="http://ehcache.org/ehcache.xsd";>

   <diskStore path="java.io.tmpdir/cas"/>

<!-- Automatic Peer Discovery
     <cacheManagerPeerProviderFactory
     class="net.sf.ehcache.distribution.RMICacheManagerPeerProviderFactory"
     properties="peerDiscovery=automatic, multicastGroupAddress=230.0.0.1, multicastGroupPort=4446, timeToLive=32"
     propertySeparator="," />
     -->
   
   <!-- Manual Peer Discovery -->
   <cacheManagerPeerProviderFactory
   class="net.sf.ehcache.distribution.RMICacheManagerPeerProviderFactory"
   properties="peerDiscovery=manual,
   rmiUrls=//192.168.254.1:41001/org.jasig.cas.ticket.ServiceTicket|//192.168.254.1:41001/org.jasig.cas.ticket.TicketGrantingTicket" />
     
               
   <cacheManagerPeerListenerFactory
               class="net.sf.ehcache.distribution.RMICacheManagerPeerListenerFactory"
                           properties="hostName=testserv.test.edu,port=41001,remoteObjectPort=40001" />
                           </ehcache>

Reply via email to