error with org.jasig.cas.adaptors.ldap.util.AuthenticatedLdapContextSource
Scott Battaglia
scott.battaglia at gmail.com
Fri Oct 13 12:13:53 EDT 2006
Can you provide the complete stack trace if available?
Also, you can turn on more debugging by editing the log4j.properties file in
the WEB-INF/classes directory.
-Scott
On 10/13/06, Laurent Domenech <domenela at ensieta.fr> wrote:
>
> Thanks a lot Scott.
> I also had to copy ldaptemplate-1.0.2.jar there. I'm now two steps further
> (as I also set up SSL), which is good but (there's always a but) now I'm
> getting this (taken from logs/catalina.out) when trying a connection:
>
>
> org.springframework.webflow.ActionState$NoMatchingActionResultTransitionExce
> ption: Cannot find a transition matching an action result event;
> continuing
> with next action...
> at
> org.springframework.webflow.ActionState.getRequiredTransition(
> ActionState.ja
> va:150)
> at
> org.springframework.webflow.TransitionableState.onEvent
> (TransitionableState.
> java:102)
> at org.springframework.webflow.Flow.onEvent(Flow.java:603)
> at
>
> org.springframework.webflow.execution.impl.RequestControlContextImpl.signalE
> vent(RequestControlContextImpl.java:199)
> .../...
>
> I suspect this is linked to the local ldap settings in
> deployerConfigContext.xml. Could it be that the connection works but it
> doesn't know what to do after?
>
> Also is there a way to enable more logging? Or a file that already has
> something like a trace of connection attempts?
>
> Thanks in advance,
> Laurent
>
>
> ----- Original Message -----
> > Date: Thu, 12 Oct 2006 10:22:06 -0400
> > From: "Scott Battaglia" <scott.battaglia at gmail.com>
> > Subject: Re: error with
> > org.jasig.cas.adaptors.ldap.util.AuthenticatedLdapContextSource
> > To: "Yale CAS mailing list" <cas at tp.its.yale.edu>
> > Message-ID:
> > <1bbd36a10610120722x1febc270p38ebd566c409cd41 at mail.gmail.com>
> > Content-Type: text/plain; charset="iso-8859-1"
> >
> > You'll need to place the ldap jar from the "target" directory into your
> > localPlugins/lib directory and build the war.
> >
> > That should work.
> >
> > -Scott
> >
> > On 10/12/06, Laurent Domenech <domenela at ensieta.fr> wrote:
> > >
> > > Hi there,
> > >
> > > I'm trying to setup a CAS server with authentication to our LDAP
> servers.
> > > I'm using the search-and-bind authentication method as described in
> > > http://www.ja-sig.org/products/cas/server/ldapauthhandler/index.html.
> > >
> > > I have changed (inside the /webapp/WEB-INF/deployerConfigContext.xml
> file)
> > > the server, username and password values to reflect our local setup
> and
> > > built it using "ant clean; ant jar; ant war". Then I have deployed the
> new
> > > cas.war file to my tomcat server.
> > >
> > > Unfortunately, after I deploy the cas.war file and try to connect to
> it,
> > > I'm
> > > getting the following error:
> > >
> > > The Throwable encountered at context listener initialization was:
> > >
> > > org.springframework.beans.factory.BeanDefinitionStoreException: Error
> > > registering bean with name 'contextSource' defined in ServletContext
> > > resource [/WEB-INF/deployerConfigContext.xml]: Bean class
> > > [org.jasig.cas.adaptors.ldap.util.AuthenticatedLdapContextSource] not
> > > found;
> > > nested exception is java.lang.ClassNotFoundException:
> > > org.jasig.cas.adaptors.ldap.util.AuthenticatedLdapContextSource
> > >
> > > It seems like the
> > > org.jasig.cas.adaptors.ldap.util.AuthenticatedLdapContextSource is
> > > missing.
> > > >From what I can see, it's only referred to in the
> > > deployerConfigContext.xml
> > > file.
> > >
> > > Am I missing something?
> > >
> > > Any help will be greatly appreciated.
> > >
> > > Regards,
> > > Laurent
>
> _______________________________________________
> Yale CAS mailing list
> cas at tp.its.yale.edu
> http://tp.its.yale.edu/mailman/listinfo/cas
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tp.its.yale.edu/pipermail/cas/attachments/20061013/4b40b00f/attachment.html
More information about the cas
mailing list