The Gateway Computing Environments 2011 workshop will be at Supercomputing 2011. Submissions are open and welcome. See http://www.collab-ogce.org/gce11/index.php/Main_Page for more information.
Wednesday, July 27, 2011
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.