I'm not familiar with that war file from Liferay. We recommend you download the standard CAS release: http://www.jasig.org/products/cas/
and follow the directions here: http://www.ja-sig.org/wiki/display/CASUM/Home Thanks -Scott On Jan 22, 2008 6:26 AM, Sonia John <[EMAIL PROTECTED]> wrote: > > Hi All > > > > > > I have trouble configuring CAS with LDAP and Liferay. I downloaded the CAS > war (liferay-portal-cas-web-4.3.5.war) from sourceforge.net. I configured > CAS with Liferay portal on JBoss with SimpleAuthentication . Now I want > configure CAS with LDAP. I modified "deployerConfigContext.xml" under > cas-web.war\WEB-INF and also added ldap.jar and > spring-ldap-1.0-SNAPSHOT.jar > under WEB-INF/Lib. I couldn't find the pom.xml file in the war file (I am > not familiar with maven). I get the following error when I try to start > the > liferay portal. > > > > l-impl.jar!/portal.properties for {companyId=10096, webId=liferay.com} > > 22:51:49,789 INFO [STDOUT] Loading > file:/C:/Liferay/training/ext/Servers/jboss-tomcat-4.2.0 > /server/default/deploy/ROOT.war/WEB-INF/classes/porta > > l-ext.properties for {companyId=10096, webId=liferay.com} > > 22:51:51,352 INFO [TomcatDeployer] deploy, ctxPath=/cas-web, > warUrl=.../deploy/cas-web.war/ > > 22:51:52,945 INFO [STDOUT] 2008-01-17 22:51:52,935 ERROR > [org.springframework.web.context.ContextLoader] - <Context initialization > failed> > > org.springframework.beans.factory.BeanDefinitionStoreException: Error > registering bean with name 'contextSource' defined in ServletContext > resour > > ce [/WEB-INF/deployerConfigContext.xml]: Class that bean class > [org.jasig.cas.adaptors.ldap.util.AuthenticatedLdapContextSource] depends > on > not f > > ound; nested exception is java.lang.NoClassDefFoundError: > net/sf/ldaptemplate/support/LdapContextSource > > Caused by: > > java.lang.NoClassDefFoundError: > net/sf/ldaptemplate/support/LdapContextSource > > 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:1817) > > at > org.apache.catalina.loader.WebappClassLoader.findClass( > WebappClassLoader.java:872) > > at > org.apache.catalina.loader.WebappClassLoader.loadClass( > WebappClassLoader.java:1325) > > at > org.apache.catalina.loader.WebappClassLoader.loadClass( > WebappClassLoader.java:1204) > > at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) > > at java.lang.Class.forName0(Native Method) > > at java.lang.Class.forName(Class.java:247) > > at org.springframework.util.ClassUtils.forName(ClassUtils.java:160) > > at > > org.springframework.beans.factory.support.AbstractBeanDefinition.resolveBeanClass > (AbstractBeanDefinition.java:324) > > at > > org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass > (AbstractBeanFactory.java:833) > > at > > org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType > (DefaultListableBeanFactory.java:138) > > at > > org.springframework.context.support.AbstractApplicationContext.getBeanNamesForType > (AbstractApplicationContext.java:657) > > at > > org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors > (AbstractApplicationContext.java:387) > > at > org.springframework.context.support.AbstractApplicationContext.refresh( > AbstractApplicationContext.java:319) > > at > > org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh > (AbstractRefreshableWebApplicationContext.java > > :156) > > at > org.springframework.web.context.ContextLoader.createWebApplicationContext( > ContextLoader.java:246) > > at > org.springframework.web.context.ContextLoader.initWebApplicationContext( > ContextLoader.java:184) > > at > org.springframework.web.context.ContextLoaderListener.contextInitialized( > ContextLoaderListener.java:49) > > at > org.jasig.cas.web.init.SafeContextLoaderListener.contextInitialized( > SafeContextLoaderListener.java:62) > > > > Please find the attached log files and xml file. > > > > Please help… > > > > Thanks > > Sonia > > > http://www.nabble.com/file/p14937408/boot.log boot.log <br> > http://www.nabble.com/file/p14937408/server.log server.log <br> > http://www.nabble.com/file/p14937408/deployerConfigContext_new.xml > deployerConfigContext_new.xml <br> > -- > View this message in context: > http://www.nabble.com/Error-while-configuring-CAS-with-OpenLDAP-and-Liferay-4.3.5-tp14937408p14937408.html > 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
