You should always make sure the CAS version you are using and the versions
of the modules match (so CAS 3.2.1 should use
cas-server-integration-jboss-3.2.1).  That may be what is pulling in those
older Spring jars?

-Scott

-Scott Battaglia
PGP Public Key Id: 0x383733AA
LinkedIn: http://www.linkedin.com/in/scottbattaglia


On Tue, Jan 6, 2009 at 7:09 PM, Osburn, Andy G <[email protected]> wrote:

> Thanks for getting back to me, Scott. (It's been a couple weeks I've been
> on vaca)
>
> I copied our custom CAS source directory from one machine (the one that
> compiled the working, production CAS app 3.2.1 with ClearPass no clustering)
> to another machine, made the clustering changes and compiled a new war file.
> I followed the JA-SIG instructions for implementing clustering:
>
> http://www.ja-sig.org/wiki/display/CASUM/Clustering+CAS
>
> I compared the target directory on both machines and found these new jars
> on the clustering machine:
>
> target/cas.clearpass-1.0-SNAPSHOT/WEB-INF/lib
>
> cas-server-integration-jboss-3.1.jar
> concurrent-1.3.4.jar
> jboss-cache-1.4.1.GA.jar
> jboss-common-4.0.4.jar
> jboss-j2ee-4.0.2.jar
> jboss-jmx-4.0.4.jar
> jboss-minimal-4.0.2.ja
> jboss-serialization-1.0.3.GA.jar
> jboss-system-4.0.2.jar
> jgroups-2.4.1.jar
> jta-1.0.1B.jar
> ldapbp-1.0.jar
> spring-2.0.6.jar *****
> spring-ldap-1.1.2.jar *****
> trove-1.0.2.jar
>
> I can understand all of the new JBOSS jar files being added, but there is
> two new Spring jars. Do you think I'm the right path here? What would be the
> best way to go from here?
>
> Thanks millions,
>
> Andy
>
>
> From: [email protected] [mailto:[email protected]] On
> Behalf Of Scott Battaglia
> Sent: Thursday, December 18, 2008 10:53 AM
> To: Yale CAS mailing list
> Subject: Re: Clustering with AD auth, ClearPass and a bad bean
>
> Apparently ClearPass is overriding a method its not supposed to:
> Caused by: java.lang.VerifyError: class edu.csus.cas.clearpass.
> ClearPassController overrides final method
> handleRequest.(Ljavax/servlet/http/HttpServletReques
>
> t;Ljavax/servlet/http/HttpServletResponse;)Lorg/springframework/web/servlet/ModelAndView;
>
> Maybe you changed Spring versions from what ClearPass was compiled with?
>
> -Scott
>
> -Scott Battaglia
> PGP Public Key Id: 0x383733AA
> LinkedIn: http://www.linkedin.com/in/scottbattaglia
>
> On Thu, Dec 18, 2008 at 12:44 PM, Osburn, Andy G <[email protected]> wrote:
> Hi all,
>
> My name's Andy from Sacramento State.
>
> I'm clustering CAS, and I think everything is fine with the cluster. I got
> CAS clustered in a test environment with plain vanilla CAS 3.2. But now I'm
> getting an exception on my test environment with the ClearPass mod and AD
> auth all set up (super close to our production setup) - see below. We're
> using the CAS ClearPass mod. Can anyone shove me in the right direction?
>
> Andy
>
>
> ...
> Dec 18, 2008 8:35:30 AM org.apache.catalina.core.AprLifecycleListener
> lifecycleEvent
> INFO: The Apache Tomcat Native library which allows optimal performance in
> production environments was not found on the java.library.path:
> /apps/jdk1.6.0_07/j
>
> re/lib/amd64/server:/apps/jdk1.6.0_07/jre/lib/amd64:/apps/jdk1.6.0_07/jre/../lib/amd64:/usr/java/packages/lib/amd64:/lib:/usr/lib
> Dec 18, 2008 8:35:30 AM org.apache.coyote.http11.Http11BaseProtocol init
> INFO: Initializing Coyote HTTP/1.1 on http-8080
> Dec 18, 2008 8:35:30 AM org.apache.catalina.startup.Catalina load
> INFO: Initialization processed in 848 ms
> Dec 18, 2008 8:35:30 AM org.apache.catalina.core.StandardService start
> INFO: Starting service Catalina
> Dec 18, 2008 8:35:30 AM org.apache.catalina.core.StandardEngine start
> INFO: Starting Servlet Engine: Apache Tomcat/5.5.26
> Dec 18, 2008 8:35:30 AM org.apache.catalina.core.StandardHost start
> INFO: XML validation disabled
> Dec 18, 2008 8:35:30 AM org.apache.catalina.cluster.tcp.SimpleTcpCluster
> start
> INFO: Cluster is about to start
> Dec 18, 2008 8:35:31 AM
> org.apache.catalina.cluster.tcp.ReplicationTransmitter start
> INFO: Start ClusterSender at cluster Catalina:type=Cluster,host=localhost
> with name Catalina:type=ClusterSender,host=localhost
> Dec 18, 2008 8:35:31 AM org.apache.catalina.cluster.mcast.McastServiceImpl
> setupSocket
> INFO: Setting cluster mcast soTimeout to 500
> Dec 18, 2008 8:35:31 AM org.apache.catalina.cluster.mcast.McastServiceImpl
> setupSocket
> INFO: Setting cluster mcast TTL to 1
> Dec 18, 2008 8:35:31 AM org.apache.catalina.cluster.mcast.McastService
> start
> INFO: Sleeping for 2000 milliseconds to establish cluster membership
> Dec 18, 2008 8:35:33 AM org.apache.catalina.cluster.mcast.McastService
> registerMBean
> INFO: membership mbean registered
> (Catalina:type=ClusterMembership,host=localhost)
> Dec 18, 2008 8:35:33 AM org.apache.catalina.startup.HostConfig deployWAR
> INFO: Deploying web application archive csus.cas.war
> Dec 18, 2008 8:35:34 AM org.apache.catalina.cluster.session.DeltaManager
> start
> INFO: Starting clustering manager...:/csus.cas
> Dec 18, 2008 8:35:34 AM org.apache.catalina.cluster.session.DeltaManager
> start
> INFO: Register manager /csus.cas to cluster element Host with name
> localhost
> Dec 18, 2008 8:35:34 AM org.apache.catalina.cluster.session.DeltaManager
> start
> INFO: Starting clustering manager at /csus.cas
> Dec 18, 2008 8:35:34 AM org.apache.catalina.cluster.session.DeltaManager
> getAllClusterSessions
> INFO: Manager [/csus.cas]: skipping state transfer. No members active in
> cluster group.
> 2008-12-18 08:35:36,306 INFO [org.jasig.cas.util.JBossCacheFactoryBean] -
> <Starting TreeCache service.>
>
> -------------------------------------------------------
> GMS: address is 192.168.86.246:32825
> -------------------------------------------------------
> 2008-12-18 08:35:40,135 ERROR
> [org.springframework.web.servlet.DispatcherServlet] - <Context
> initialization failed>
> org.springframework.beans.factory.BeanCreationException: Error creating
> bean with name 'handlerMappingC' defined in ServletContext resource
> [/WEB-INF/cas-serv
> let.xml]: Initialization of bean failed; nested exception is
> org.springframework.beans.factory.CannotLoadBeanClassException: Error
> loading class [edu.csus.cas
> .clearpass.ClearPassController] for bean with name 'clearPassController'
> defined in ServletContext resource [/WEB-INF/cas-servlet.xml]: problem with
> class fil
> e or dependent class; nested exception is java.lang.VerifyError: class
> edu.csus.cas.clearpass.ClearPassController overrides final method
> handleRequest.(Ljavax
>
> /servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)Lorg/springframework/web/servlet/ModelAndView;
> Caused by: org.springframework.beans.factory.CannotLoadBeanClassException:
> Error loading class [edu.csus.cas.clearpass.ClearPassController] for bean
> with name
>  'clearPassController' defined in ServletContext resource
> [/WEB-INF/cas-servlet.xml]: problem with class file or dependent class;
> nested exception is java.lan
> g.VerifyError: class edu.csus.cas.clearpass.ClearPassController overrides
> final method
> handleRequest.(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/ht
> tp/HttpServletResponse;)Lorg/springframework/web/servlet/ModelAndView;
> Caused by: java.lang.VerifyError: class
> edu.csus.cas.clearpass.ClearPassController overrides final method
> handleRequest.(Ljavax/servlet/http/HttpServletReques
>
> t;Ljavax/servlet/http/HttpServletResponse;)Lorg/springframework/web/servlet/ModelAndView;
>        at java.lang.ClassLoader.defineClass1(Native Method)
>        at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
>        at
> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
>        at
> org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1853)
>        at
> org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:875)
>        at
> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1330)
>
> ...
>
> _______________________________________________
> Yale CAS mailing list
> [email protected]
> http://tp.its.yale.edu/mailman/listinfo/cas
>
> _______________________________________________
> Yale CAS mailing list
> [email protected]
> http://tp.its.yale.edu/mailman/listinfo/cas
>
_______________________________________________
Yale CAS mailing list
[email protected]
http://tp.its.yale.edu/mailman/listinfo/cas

Reply via email to