I was working with a fresh copy, and got the following error after changing
the root pom.xml file by inserting the requested dependency before the
others. The error also occurs if I insert it at the end, and it builds if I
comment the dependency out. cas-server-support-ldap only depends on the
core.

What would I have done to

$ mvn -Dmaven.test.skip=true clean package install
[INFO] Scanning for projects...
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] The projects in the reactor contain a cyclic reference: Edge between
'Vertex{label='org.jasig.cas:cas-server-support-ldap'}' and 'Vertex{label='
org.jasig.cas:cas-server-support-ldap'}' introduces to cycle in the graph
org.jasig.c
as:cas-server-support-ldap --> org.jasig.cas:cas-server-support-ldap
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: < 1 second
[INFO] Finished at: Tue Dec 04 13:33:44 CST 2007
[INFO] Final Memory: 1M/3M
[INFO]
------------------------------------------------------------------------

On Dec 4, 2007 12:44 PM, Scott Battaglia <[EMAIL PROTECTED]> wrote:

> If its still authenticating username/username that means that your
> deployerConfigContext.xml in cas-server-webapp/src/main/webapp/WEB-INF has
> not been updated or you've deployed an incorrect WAR file.
>
> -Scott
>
>
> On Dec 4, 2007 11:41 AM, Jonathan Hayward http://JonathansCorner.com <[EMAIL 
> PROTECTED]
> > wrote:
>
> > I had some initial issues with a web proxy handing Maven a "Please
> > authenticate yourself" redirect when Maven tried to download its first XML
> > file. Those are solved now.
> >
> > After that, I tried a rebuild, wiped Liferay's tmp directory, and
> > bounced Liferay. It's still authenticating username/username rather than
> > password/password.
> >
> >
> > On Dec 3, 2007 10:03 PM, Scott Battaglia <[EMAIL PROTECTED]>
> > wrote:
> >
> > > If you have correctly added the cas-server-support-ldap to the
> > > cas-server-webapp/pom.xml all you should need to do is run
> > > mvn -Dmaven.test.skip=true clean package install
> > >
> > > Then you'll find the war with the correct jars in
> > > cas-server-webapp/target/cas.war
> > >
> > > You'll want to delete any cas directory in the Tomcat webapps just to
> > > make sure your new one gets deployed correctly.
> > >
> > > -Scott
> > >
> > >
> > > On Dec 3, 2007 5:44 PM, Jonathan Hayward http://JonathansCorner.com <
> > > [EMAIL PROTECTED]> wrote:
> > >
> > > > I had already placed that in the webapp pom.xml, modulo a variable
> > > > interpolation for the groupId. I tried adding the jar to the CAS 
> > > > WEB-INF/lib
> > > > directory; I can't tell any improvement in the behaviour.
> > > >
> > > > Are there other possibilities?
> > > >
> > > > On Dec 3, 2007 4:15 PM, Dale Ogilvie <[EMAIL PROTECTED]>
> > > > wrote:
> > > >
> > > > >  The missing class will be defined in cas-server-support-ldap.
> > > > > Adding this dependency to the webapp pom.xml should include it in
> > > > > the built cas.jar
> > > > >
> > > > >  *-* <dependency>
> > > > >  * * <groupId> *org.jasig.cas*</groupId>
> > > > >  * * <artifactId> *cas-server-support-ldap*</artifactId>
> > > > >  * * <version> *${project.version}*</version>
> > > > > </dependency>
> > > > >
> > > > > Or, as a quick fix you could copy
> > > > > cas-server-support-ldap-3.1.1.jar to the cas WEB-INF/lib directory
> > > > > on the app server.
> > > > >
> > > > >  ------------------------------
> > > > > *From:* [EMAIL PROTECTED] [mailto:
> > > > > [EMAIL PROTECTED] *On Behalf Of *Jonathan Hayward
> > > > > http://JonathansCorner.com
> > > > > *Sent:* Tuesday, 4 December 2007 10:30 a.m.
> > > > > *To:* Yale CAS mailing list
> > > > > *Subject:* Re: Username/password authentication
> > > > >
> > > > > I ran through that and got an error on trying to log in to CAS:
> > > > >
> > > > >  CAS is Unavailable
> > > > >
> > > > > There was a fatal error initializing the CAS application context.
> > > > > This is almost always because of an error in the Spring bean 
> > > > > configuration
> > > > > files. Are the files valid XML? Do the beans they refer to all exist?
> > > > >
> > > > > Before placing CAS in production, you should change this page to
> > > > > present a UI appropriate for the case where the CAS web application is
> > > > > fundamentally broken. Perhaps "Sorry, CAS is currently unavailable." 
> > > > > with
> > > > > some links to your user support information.
> > > > >
> > > > > 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
> > > > >
> > > > > The Throwable encountered at dispatcher servlet 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
> > > > > I built it incorporating changes from 
> > > > > http://www.ja-sig.org/wiki/display/CAS/Examples+to+Configure+CAS
> > > > > and http://www.ja-sig.org/wiki/display/CASUM/LDAP .
> > > > >
> > > > > _______________________________________________
> > > > > Yale CAS mailing list
> > > > > [email protected]
> > > > > http://tp.its.yale.edu/mailman/listinfo/cas
> > > > >
> > > > >
> > > >
> > > >
> > > > --
> > > > ++ Jonathan Hayward, [EMAIL PROTECTED]
> > > > ** To see an award-winning website with stories, essays, artwork,
> > > > ** games, and a four-dimensional maze, why not visit my home page?
> > > > ** All of this is waiting for you at http://JonathansCorner.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
> > >
> > >
> >
> >
> > --
> > ++ Jonathan Hayward, [EMAIL PROTECTED]
> > ** To see an award-winning website with stories, essays, artwork,
> > ** games, and a four-dimensional maze, why not visit my home page?
> > ** All of this is waiting for you at http://JonathansCorner.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
>
>


-- 
++ Jonathan Hayward, [EMAIL PROTECTED]
** To see an award-winning website with stories, essays, artwork,
** games, and a four-dimensional maze, why not visit my home page?
** All of this is waiting for you at http://JonathansCorner.com
_______________________________________________
Yale CAS mailing list
[email protected]
http://tp.its.yale.edu/mailman/listinfo/cas

Reply via email to