[
https://issues.apache.org/jira/browse/ROL-521?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Glen Mazza closed ROL-521.
--------------------------
Resolution: Won't Fix
Roller 1.0RC1 too old; Roller 5.0.x doesn't use this type of configuration file
anymore.
> Using the
> ----------
>
> Key: ROL-521
> URL: https://issues.apache.org/jira/browse/ROL-521
> Project: Roller
> Issue Type: Improvement
> Components: Installation
> Affects Versions: 1.0RC1
> Environment: Tomcat 5.5.4, Mysql 4.1, JConnector 3.0.14, WinXP
> Reporter: Daniel Campagnoli
> Assignee: Roller Unassigned
> Priority: Minor
>
> In the installation guide the sample context.xml for tomcat has the elements
> <Resource name="jdbc/rollerdb" auth="Container" type="javax.sql.DataSource" />
> <ResourceParams name="jdbc/rollerdb">
> <parameter>
> <name>factory</name>
> <value>org.apache.commons.dbcp.BasicDataSourceFactory</value>
> </parameter>
> ....
> </ResourceParams>
> I was getting an exception with message "Cannot create JDBC driver of class
> '' for connect URL 'null' "
> This becuase the ResourceParams stuff seems to have no effect.
> Looking at the tomcat docs, they have the username, url etc as attributes in
> the <Resource> element. I did the same and then it all worked fine for me. So
> the installation guide should be updated to note this.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira