THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Archiva is known to work with embedded Derby, so the Derby Network Server is a natural first choice for moving Archiva's user store to an "external" database.
See: http://db.apache.org/derby/papers/DerbyTut/ns_intro.html
- Download and unpack db-derby-10.1.3.1-bin.tar.gz (or .zip)
- Set the DERBY_INSTALL environment variable to /path/to/db-derby-10.1.3.1-bin
- Set the DERBY_SERVER_HOST environment variable to the hostname/IP address that will be used for connections. (Optional, it defaults to localhost)
- navigate to /path/to/derby-db-10.1.3.1-bin/frameworks/NetworkServer/bin
- execute the 'setNetworkServerCP' script to set the CLASSPATH
- execute the 'startNetworkServer' script
...
How do you add another user to the external Derby database, and delete the default 'user1' account? (Are there any other default accounts?)