Hello,
I have been using clustered CAS 3.0.7 since 2007. Now I am deploying
CAS 3.4.2 and all modifications are made (I can share our server code,
tell my a place to upload it, please).
Our problem is that following this URL steps
(http://www.ja-sig.org/wiki/display/CASUM/Clustering+CAS) we obtain this
error on the startup of the server:
2010-04-28 08:59:46,244 ERROR
[org.springframework.web.context.ContextLoader] - <Context
initialization failed>
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'ticketRegistry' defined in ServletContext resource
[/WEB-INF/spring-configuration/ticketRegistry.xml]: Initialization of
bean failed; nested exception is java.lang.NoClassDefFoundError:
org/jboss/cache/Cache
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:521)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:450)
So I review the list of necesary jars:
concurrent.jar
jboss-cache-jdk50.jar
jboss-common.jar
jboss-j2ee.jar
jboss-jmx.jar
jboss-minimal.jar
jboss-serialization.jar
jboss-system.jar
jgroups.jar
trove.jar
Except trove.jar, all of them were downloaded from:
http://www.java2s.com/Code/Jar/JKL/CatalogJKL.htm
Is it a trusted site?
When I add jbosscache.jar I obtain this error:
2010-04-28 09:05:34,211 ERROR [org.springframework.web.context.ContextLoader] -
<Context initialization failed>
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'ticketRegistry' defined in ServletContext resource
[/WEB-INF/spring-configuration/ticketRegistry.xml]: Initialization of bean
failed; nested exception is
java.lang.reflect.MalformedParameterizedTypeException
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:521)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:450)
at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:290)
at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
My ticketRegistry.xml file shows:
[...]
<bean id="ticketRegistry"
class="org.jasig.cas.ticket.registry.JBossCacheTicketRegistry" >
<property name="cache" ref="cache" />
</bean>
<bean id="cache" class="org.jasig.cas.util.JBossCacheFactoryBean">
<property name="configLocation"
value="classpath:jbossTicketCacheReplicationConfig.xml" />
</bean>
[...]
Our CAS 3.4.2 runs in a tomcat 6.0.26 with jdk1.6.0_17.
¿any ideas about the error?
--
Imanol Apaolaza Sanz
Servicios Informáticos - Universidad de Navarra
Tel. 948 425600 +2810
Para la atención de problemas o consultas que tengan que ver con los Servicios Informáticos, diríjase al 2992 o haga un parte a través de:
http://www.unav.es/net/at.html
--
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-dev