Sending this to the cas list as well.

________________________________
From: [email protected] 
[[email protected]] on behalf of Young III, Russell 
Alonzo [[email protected]]
Sent: Tuesday, June 18, 2013 1:51 PM
To: [email protected]
Subject: Re: [uportal-user] uPortal CAS proxy authentication for clearPass

We just upgraded to uportal 4. This is the related stack trace in the logs:


SEVERE: Exception starting filter CAS Validate Filter

java.lang.IllegalArgumentException: Error creating new instance of class 
org.jasig.cas.client.proxy.EhcacheBackedProxyGrantingTicketStorageImpl

at org.jasig.cas.client.util.ReflectUtils.newInstance(ReflectUtils.java:84)

at org.jasig.cas.client.util.ReflectUtils.newInstance(ReflectUtils.java:66)

at 
org.jasig.cas.client.validation.Cas20ProxyReceivingTicketValidationFilter.initInternal(Cas20ProxyReceivingTicketValidationFilter.java:78)

at org.jasig.cas.client.util.AbstractCasFilter.init(AbstractCasFilter.java:82)

at 
org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:281)

From: James Wennmacher <[email protected]<mailto:[email protected]>>
Date: Tuesday, June 18, 2013 1:38 PM
To: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Cc: Microsoft Office User <[email protected]<mailto:[email protected]>>
Subject: Re: [uportal-user] uPortal CAS proxy authentication for clearPass

You may want to post what version of uPortal are you using.  Is there an error 
message in the logs?

James Wennmacher
Unicon
480.558.2420
On 06/18/2013 11:29 AM, Young III, Russell Alonzo wrote:
CacheManager in the EhcacheBackedProxyGrantingTicketStorageImpl class is not 
getting the cache.

________________________________
From: Young III, Russell Alonzo
Sent: Tuesday, June 18, 2013 9:33 AM
To: [email protected]<mailto:[email protected]>
Subject: uPortal CAS proxy authentication for clearPass

We are trying to get the proxy ticket cache to sync across the servers in a 
load balanced environment. I have the following in the uportal-war web.xml 
under the CAS validate filter.


<init-param>

<param-name>proxyGrantingTicketStorageClass</param-name>

        
<param-value>org.jasig.cas.client.proxy.EhcacheBackedProxyGrantingTicketStorageImpl</param-value>

</init-param>



We are using the Cas20ProxyRecievingTicketValidationFilter.

uPortal already has a Cache Manager setup in it's 
src/main/resources/properties/ehcache.xml using Jgroups. I added the following 
to that file.


<cache

name="org.jasig.cas.client.proxy.EhcacheBackedProxyGrantingTicketStorageImpl.cache"

eternal="false"maxElementsInMemory="1000"overflowToDisk="false"

diskPersistent="false"timeToIdleSeconds="0"timeToLiveSeconds="300"

memoryStoreEvictionPolicy="LRU"statistics="true"/>

I tried this with the name being both with and without the ".cache". Either way 
the CacheManage in the EhcacheBackedProxyGrantingTicketStorageImpl class is not 
getting the class. Do I need to setup a different ehcache cache manager in a 
different file? Is there something else we need to do?


Thanks,

-Russ

                --

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


                --

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/uportal-user

-- 
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

Reply via email to