Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 29 Next »

[07:46:24 CDT(-0500)] <foxnesn1> morning

[10:10:50 CDT(-0500)] <foxnesn1> morning

[10:11:40 CDT(-0500)] <atilling> morning

[10:12:49 CDT(-0500)] <foxnesn1> today is another day of getting this work with ldap hehe

[10:13:24 CDT(-0500)] <foxnesn1> i think im gonna stick with a basic fastbind config

[10:13:49 CDT(-0500)] <atilling> ok, if working against AD try with ldap first then ldaps

[10:18:25 CDT(-0500)] <foxnesn1> do i need to create a user for userDetailsService?

[10:21:55 CDT(-0500)] <foxnesn1> also, bean id=contextSource , does that have to be inside bean id="authenticationManager" ?

[10:22:16 CDT(-0500)] <atilling> userDetailService is only used for service manager

[10:23:20 CDT(-0500)] <atilling> no contextSource can be a seperate bean and you can ref it

[10:29:37 CDT(-0500)] <foxnesn1> so do i have to create a userDetailService account somewhere or just name it whatever?

[10:37:21 CDT(-0500)] <foxnesn1> hrm, tomcat will not start cas with the fastbind info in it

[10:38:30 CDT(-0500)] <foxnesn1> atilling: mind looking at my deployer and see if there is any syntax issues?

[10:39:41 CDT(-0500)] <foxnesn1> http://pastie.org/2683593

[10:43:34 CDT(-0500)] <atilling> do you get any errors in catalina.out?

[10:45:55 CDT(-0500)] <foxnesn1> one sec, i moved some stuff around

[10:45:58 CDT(-0500)] <foxnesn1> to clean it up a bit

[10:50:39 CDT(-0500)] <atilling> try this for your contextSource http://pastie.org/2683654

[10:52:11 CDT(-0500)] <foxnesn1> wow erross galore

[10:56:22 CDT(-0500)] <foxnesn1> still will not start

[10:58:13 CDT(-0500)] <atilling> can you send me the logs via pastie

[10:59:45 CDT(-0500)] <atilling> I'll try to help you figure the error

[10:59:58 CDT(-0500)] <foxnesn1> the log is MASSIVE

[11:00:12 CDT(-0500)] <foxnesn1> here are the main errors which i truncated

[11:00:15 CDT(-0500)] <foxnesn1> org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'centralAuthenticationService' defined in ServletContext

[11:00:38 CDT(-0500)] <foxnesn1> 2011-10-12 11:56:03,329 ERROR [org.springframework.web.context.ContextLoader] - <Context initialization failed>

[11:01:08 CDT(-0500)] <foxnesn1> [/WEB-INF/spring-configuration/applicationContext.xml]: Cannot resolve reference to bean 'authenticationManager' while setting bean property

[11:04:15 CDT(-0500)] <foxnesn1> http://pastie.org/2683729

[11:04:16 CDT(-0500)] <foxnesn1> there

[11:04:19 CDT(-0500)] <foxnesn1> epic fail

[11:08:07 CDT(-0500)] <foxnesn1> brb

[11:19:12 CDT(-0500)] <atilling> actually with java errors usually the last error is the real error

[11:20:11 CDT(-0500)] <atilling> in this case the CAS service fail because it could find AuthManager - somewhere in the errors you should have an error as to why authenticationManager wasn't created

[11:36:25 CDT(-0500)] <foxnesn1> did u check out the pastie?

[11:43:10 CDT(-0500)] <atilling> I must have missed the pastie link

[11:43:20 CDT(-0500)] <foxnesn1> http://pastie.org/2683729

[11:44:47 CDT(-0500)] <atilling> ok, this is your real error ClassNotFoundException: org.jasig.cas.adaptors.ldap.util.AuthenticatedLdapContextSource

[11:45:49 CDT(-0500)] <atilling> I think you want org.springframework.ldap.core.support.LdapContextSource in you deployer

[11:46:42 CDT(-0500)] <atilling> as the class for contextSource

[11:59:16 CDT(-0500)] <foxnesn1> hrm, should that be updated in the wiki then?

[12:01:20 CDT(-0500)] <atilling> it's right in the wiki

[12:01:48 CDT(-0500)] <atilling> I think you grabbed it from my old DeployerConfig I had linked in pastie

[12:02:05 CDT(-0500)] <foxnesn1> the example configuration for fastbind and AD

  • No labels