Roller is working normaly when I use the default login process (db).
The mysql-connector-java-5.0.4-bin.jar is on the directory C:\Java\apache-
tomcat-5.5.20\common\lib
and the correct username and password was set in the
roller-custom.properties.
Is there another place to setup this conection for the acegi?
This is the security.xml part where is the dataSource.
<bean id="jdbcAuthoritiesPopulator" class="
org.apache.roller.weblogger.ui.core.security.AuthoritiesPopulator">
<property name="dataSource">
<bean class="org.springframework.jndi.JndiObjectFactoryBean">
<property name="jndiName"
value="java:comp/env/jdbc/rollerdb"/>
</bean>
</property>
<property name="authoritiesByUsernameQuery">
<value>SELECT username,rolename FROM userrole WHERE username =
?</value>
</property>
<property name="defaultRole"><value>admin</value></property>
</bean>
On 10/4/07, Dave <[EMAIL PROTECTED]> wrote:
>
> On 10/4/07, Wladimir Boton <[EMAIL PROTECTED]> wrote:
> > I got to turn on the log.
> >
> > I am getting the following error and I don“t know what to do.
> >
> > 2007-10-04 20:00:08,546 [http-8080-Processor25] DEBUG
> > org.acegisecurity.ui.webapp.AuthenticationProcessingFilter -
> Authentication
> > request failed: org.acegisecurity.AuthenticationServiceException: Could
> not
> > get JDBC Connection; nested exception is
> > org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC
> driver of
> > class '' for connect URL 'null'; nested exception is
> > org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get
> > JDBC Connection; nested exception is
> > org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC
> driver of
> > class '' for connect URL 'null'
>
> That wonderful Tomcat error message usually means that something is
> wrong with your database connection configuration, for example
> incorrect database URL, username or password, or perhaps your JDBC
> driver jar is not the Tomcat classpath.
>
> - Dave
>
--
Wladimir Boton
http://www.wboton.com