AnsweredAssumed Answered

Alfresco 3.4a + CAS

Question asked by antogrim2 on Feb 14, 2011
Latest reply on Feb 22, 2011 by nickerox
Hello everybody
I'm trying to configure CAS with Alfresco 3.4a…I followed this tutorial –> http://wiki.alfresco.com/wiki/Central_Authentication_Service_Configuration, but when I start tomcat I have this error (in catalina.out)

14-feb-2011 16.53.32 org.apache.catalina.core.StandardContext start
GRAVE: Error filterStart
14-feb-2011 16.53.32 org.apache.catalina.core.StandardContext start
GRAVE: Context [/alfresco] startup failed due to previous errors

and in localhost.xx.xx.xx.log I have the following error:

GRAVE: Exception starting filter Authentication Filter
java.lang.NoClassDefFoundError: org/alfresco/config/ConfigService
   at com.keembay.alfresco.web.app.servlet.CASAuthenticationFilter.init(CASAuthenticationFilter.java:251)
   at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:295)
   at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:422)
   at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:115)
   at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3838)
   at org.apache.catalina.core.StandardContext.start(StandardContext.java:4488)
   at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
   at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
   at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:546)
   at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:637)
   at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:563)
   at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:498)
   at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277)
   at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321)
   at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
   at org.apache.catalina.core.StandardHost.start(StandardHost.java:785)
   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
   at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
   at org.apache.catalina.core.StandardService.start(StandardService.java:519)
   at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
   at org.apache.catalina.startup.Catalina.start(Catalina.java:581)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:597)
   at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
Caused by: java.lang.ClassNotFoundException: org.alfresco.config.ConfigService
   at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1516)
   at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1361)
   … 28 more

In CASAuthenticationFilter.java there is import org.alfresco.config.ConfigService that is the "not found" class..
Can anyone help me?
Thanks in advance
Antonello Grimaldi

Outcomes