Ok, I'm struggling to get Archiva 1.4 in standalone mode to use an existing Postgres db. Can anyone help me configure it?
Depends if you are using standalone or in a servlet container
1)Standalone have a look here http://archiva.apache.org/docs/1.4-M4-SNAPSHOT/adminguide/standalone.html replace com.mysql.jdbc.Driver with your jdbc driver and replace url jdbc:mysql://localhost/archiva
put your jdbc driver jar to lib directory 2) servlet container (it depends :-) ) for Apache Tomcat see http://archiva.apache.org/docs/1.4-M4-SNAPSHOT/adminguide/webapp.html put your jdbc driver jar to lib directory change values
driverClassName="org.apache.derby.jdbc.EmbeddedDriver" url="jdbc:derby:/path/to/database/users;create=true"
I have updated documentation here database section