It appears to be a disconnect with the Roller database after it's
successfully authenticated against CAS. More than anything, it seems to be
an issue related to using Roller with CAS on Geronimo - it works fine on
Tomcat and it works fine without CAS in the mix. Oh well, I'm not too
worried - no one uses Geronimo anyway. ;-)

Matt


scott_battaglia wrote:
> 
> Matt,
> 
> Which part is not working? The authentication against the roller database?
> The LDAP authentication?  The redirect?
> 
> Are there any error messages in the CAS logs?
> 
> -Scott
> 
> On 10/23/07, mraible <[EMAIL PROTECTED]> wrote:
>>
>>
>> I got it to work by replacing
>> $GERONIMO_HOME/repository/commons-lang/commons-lang/2.0 with
>> commons-lang-2.3.jar. I kept the same filename so Geronimo wouldn't know
>> the
>> difference. Now CAS starts up correctly and I can authenticate against
>> it.
>> Unfortunately, authenticating against it using Roller doesn't work for
>> some
>> reason.
>>
>> The same webapps work fine when deployed in Tomcat 6.0.14.
>>
>> Matt
>>
>>
>> scott_battaglia wrote:
>> >
>> > Matt,
>> >
>> > Thanks for the positive feedback :-)
>> >
>> > It appears to be a classpath error with regards to Apache Commons Lang.
>> > Any
>> > chance that there is another instance of Commons Lang on the classpath
>> > (i.e.
>> > in Geronimo anywhere) that may be causing a conflict?
>> >
>> > -Scott
>> >
>> > On 10/23/07, mraible <[EMAIL PROTECTED]> wrote:
>> >>
>> >>
>> >> Hello CAS Community,
>> >>
>> >> First of all, let me congratulate you on producing a very nice
>> product.
>> I
>> >> just started using CAS on Sunday and I'm really enjoying it. Easy to
>> >> install, easy to configure - what's there not to like? ;-)
>> >>
>> >> Unfortunately, I haven't had any luck deploying it on Geronimo 2.0.2.
>> >> I've
>> >> configured CAS to talk to an LDAP Server in it's Spring configuration.
>> >> Upon
>> >> deployment - the following error occurs. If you have any information
>> on
>> >> how
>> >> I might go about fixing this, it'd be greatly appreciated.
>> >>
>> >> Thanks,
>> >>
>> >> Matt
>> >>
>> >> Exception starting filter Acegi Filter Chain Proxy
>> >> org.springframework.beans.factory.BeanCreationException: Error
>> creating
>> >> bean
>> >> with name 'centralAuthenticationService' defined in ServletContext
>> >> resource
>> >> [/WEB-INF/applicationContext.xml]: Cannot resolve reference to bean
>> >> 'authenticationManager' while setting bean property
>> >> 'authenticationManager';
>> >> nested exception is
>> >> org.springframework.beans.factory.BeanCreationException:
>> >> Error creating bean with name 'authenticationManager' defined in
>> >> ServletContext resource [/WEB-INF/deployerConfigContext.xml]: Cannot
>> >> create
>> >> inner bean
>> >> 'org.jasig.cas.adaptors.ldap.FastBindLdapAuthenticationHandler#bd64fe'
>> of
>> >> type [org.jasig.cas.adaptors.ldap.FastBindLdapAuthenticationHandler]
>> >> while
>> >> setting bean property 'authenticationHandlers' with key [1]; nested
>> >> exception is org.springframework.beans.factory.BeanCreationException:
>> >> Error
>> >> creating bean with name
>> >> 'org.jasig.cas.adaptors.ldap.FastBindLdapAuthenticationHandler#bd64fe'
>> >> defined in ServletContext resource
>> [/WEB-INF/deployerConfigContext.xml]:
>> >> Cannot resolve reference to bean 'contextSource' while setting bean
>> >> property
>> >> 'contextSource'; nested exception is
>> >> org.springframework.beans.factory.BeanCreationException: Error
>> creating
>> >> bean
>> >> with name 'contextSource' defined in ServletContext resource
>> >> [/WEB-INF/deployerConfigContext.xml]: Invocation of init method
>> failed;
>> >> nested exception is java.lang.NoSuchMethodError:
>> >> org.apache.commons.lang.ArrayUtils.isEmpty([Ljava/lang/Object;)Z
>> >> Caused by:
>> >> org.springframework.beans.factory.BeanCreationException: Error
>> creating
>> >> bean
>> >> with name 'authenticationManager' defined in ServletContext resource
>> >> [/WEB-INF/deployerConfigContext.xml]: Cannot create inner bean
>> >> 'org.jasig.cas.adaptors.ldap.FastBindLdapAuthenticationHandler#bd64fe'
>> of
>> >> type [org.jasig.cas.adaptors.ldap.FastBindLdapAuthenticationHandler]
>> >> while
>> >> setting bean property 'authenticationHandlers' with key [1]; nested
>> >> exception is org.springframework.beans.factory.BeanCreationException:
>> >> Error
>> >> creating bean with name
>> >> 'org.jasig.cas.adaptors.ldap.FastBindLdapAuthenticationHandler#bd64fe'
>> >> defined in ServletContext resource
>> [/WEB-INF/deployerConfigContext.xml]:
>> >> Cannot resolve reference to bean 'contextSource' while setting bean
>> >> property
>> >> 'contextSource'; nested exception is
>> >> org.springframework.beans.factory.BeanCreationException: Error
>> creating
>> >> bean
>> >> with name 'contextSource' defined in ServletContext resource
>> >> [/WEB-INF/deployerConfigContext.xml]: Invocation of init method
>> failed;
>> >> nested exception is java.lang.NoSuchMethodError:
>> >> org.apache.commons.lang.ArrayUtils.isEmpty([Ljava/lang/Object;)Z
>> >> Caused by:
>> >> org.springframework.beans.factory.BeanCreationException: Error
>> creating
>> >> bean
>> >> with name
>> >> 'org.jasig.cas.adaptors.ldap.FastBindLdapAuthenticationHandler#bd64fe'
>> >> defined in ServletContext resource
>> [/WEB-INF/deployerConfigContext.xml]:
>> >> Cannot resolve reference to bean 'contextSource' while setting bean
>> >> property
>> >> 'contextSource'; nested exception is
>> >> org.springframework.beans.factory.BeanCreationException: Error
>> creating
>> >> bean
>> >> with name 'contextSource' defined in ServletContext resource
>> >> [/WEB-INF/deployerConfigContext.xml]: Invocation of init method
>> failed;
>> >> nested exception is java.lang.NoSuchMethodError:
>> >> org.apache.commons.lang.ArrayUtils.isEmpty([Ljava/lang/Object;)Z
>> >> Caused by:
>> >> org.springframework.beans.factory.BeanCreationException: Error
>> creating
>> >> bean
>> >> with name 'contextSource' defined in ServletContext resource
>> >> [/WEB-INF/deployerConfigContext.xml]: Invocation of init method
>> failed;
>> >> nested exception is java.lang.NoSuchMethodError:
>> >> org.apache.commons.lang.ArrayUtils.isEmpty([Ljava/lang/Object;)Z
>> >> Caused by:
>> >> java.lang.NoSuchMethodError:
>> >> org.apache.commons.lang.ArrayUtils.isEmpty([Ljava/lang/Object;)Z
>> >>         at
>> >>
>> org.springframework.ldap.support.AbstractContextSource.afterPropertiesSet(
>> >> AbstractContextSource.java:240)
>> >>         at
>> >>
>> >>
>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods
>> >> (AbstractAutowireCapableBeanFactory.java:1201)
>> >>         at
>> >>
>> >>
>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean
>> >> (AbstractAutowireCapableBeanFactory.java:1171)
>> >>
>> >> --
>> >> View this message in context:
>> >>
>> http://www.nabble.com/CAS-3.1-on-Geronimo-2.0.2-tf4680858.html#a13375354
>> >> Sent from the CAS Users mailing list archive at Nabble.com.
>> >>
>> >> _______________________________________________
>> >> Yale CAS mailing list
>> >> [email protected]
>> >> http://tp.its.yale.edu/mailman/listinfo/cas
>> >>
>> >
>> >
>> >
>> > --
>> > -Scott Battaglia
>> >
>> > LinkedIn: http://www.linkedin.com/in/scottbattaglia
>> >
>> > _______________________________________________
>> > Yale CAS mailing list
>> > [email protected]
>> > http://tp.its.yale.edu/mailman/listinfo/cas
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/CAS-3.1-on-Geronimo-2.0.2-tf4680858.html#a13376564
>> Sent from the CAS Users mailing list archive at Nabble.com.
>>
>> _______________________________________________
>> Yale CAS mailing list
>> [email protected]
>> http://tp.its.yale.edu/mailman/listinfo/cas
>>
> 
> 
> 
> -- 
> -Scott Battaglia
> 
> LinkedIn: http://www.linkedin.com/in/scottbattaglia
> 
> _______________________________________________
> Yale CAS mailing list
> [email protected]
> http://tp.its.yale.edu/mailman/listinfo/cas
> 
> 

-- 
View this message in context: 
http://www.nabble.com/CAS-3.1-on-Geronimo-2.0.2-tf4680858.html#a13378681
Sent from the CAS Users mailing list archive at Nabble.com.

_______________________________________________
Yale CAS mailing list
[email protected]
http://tp.its.yale.edu/mailman/listinfo/cas

Reply via email to