Apache Rave provides software for running a social networking portal. The default download uses the H2 in-memory relational database on the backend. To change this to MySQL, PostgreSQL or another external database, you need to do the following:
- Edit the file rave-portal/src/main/webapp/WEB-INF/dataContext.xml to use the desired JDBC driver; and
- Download the appropriate database driver jar file and place it in the WEB-INF/lib directory of your portal's tomcat server.
- If you are starting the server with "mvn cargo:start", this is rave-portal/target/tomcat6x/webapps/portal/WEB-INF/lib/|
- You probably will want to install the JDBC driver jar in your local Maven repository and put the dependency in rave-portal/pom.xml.