AnsweredAssumed Answered

Alfresco 4.0d + CAS

Question asked by luca on Jun 29, 2012
Latest reply on Sep 5, 2012 by luca
Hi all,
I'm trying to enable authentication through CAS in Alfresco 4.0d, but I have some problems.

When I restart Alfresco I get this error:
Cannot create JDBC driver of class '' for connect URL 'null'
   at sun.jdbc.odbc.JdbcOdbcDriver.getProtocol(
   at sun.jdbc.odbc.JdbcOdbcDriver.knownURL(
   at sun.jdbc.odbc.JdbcOdbcDriver.acceptsURL(
   at java.sql.DriverManager.getDriver(
   at org.apache.tomcat.dbcp.dbcp.BasicDataSource.createConnectionFactory(
   at org.apache.tomcat.dbcp.dbcp.BasicDataSource.createDataSource(
   at org.apache.tomcat.dbcp.dbcp.BasicDataSource.getConnection(
   at org.alfresco.config.JndiObjectFactoryBean.lookup(
   at org.springframework.jndi.JndiObjectFactoryBean.lookupWithFallback(
   at org.springframework.jndi.JndiObjectFactoryBean.afterPropertiesSet(

This happens when Alfresco calls the filter class, when I try to get the applicationContext to retrieve Alfresco system beans like this:
applicationContext = ApplicationContextHelper.getApplicationContext();

Am I doing something wrong?
Anyone can help me?

It seems like I am getting the application Context in a wrong way, but I don't know why  :cry:

The filter class is very simple now because I want to know what is causing the problem.