Issue Details (XML | Word | Printable)

Key: JS2-167
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Unassigned
Reporter: Marc Lehmann
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Jetspeed 2

DataSource problem wiht Tomcat 5.5.x

Created: 26/Nov/04 02:30 PM   Updated: 24/Mar/05 09:09 AM
Return to search
Component/s: Other
Affects Version/s: 2.0-dev/cvs
Fix Version/s: 2.0-dev/cvs, 2.0-M2

Time Tracking:
Not Specified

Environment: TC 5.5.4, JDK 5.0, hsqldb 1.7.1, W2K SP4

Resolution Date: 24/Mar/05 09:09 AM


 Description  « Hide
DataSource is broken. See also http://www.mail-archive.com/jetspeed-user@jakarta.apache.org/msg14119.html

The following solution seems to work for me:

1) ${TOMCAT_HOME}/conf/Catalina/localhost/jetspeed.xml

   Replace <ResourceParams...> ... </ResourceParams> with

  <Resource name="jdbc/jetspeed" auth="Container"
            factory="org.apache.commons.dbcp.BasicDataSourceFactory"
            type="javax.sql.DataSource" username="sa" password=""
            driverClassName="org.hsqldb.jdbcDriver" url="jdbc:hsqldb:hsql://127.0.0.1:9001"
            maxActive="100" maxIdle="30" maxWait="10000"/>

2) Move hsqldb-1.7.1.jar from ${TOMCAT_HOME}/webapps/jetspeed/WEB-INF/lib to ${TOMCAT_HOME}/shared/lib

However, this may not be correct or there may be side-effects...

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
No work has yet been logged on this issue.