Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

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.htmlImage Removed

  1. Download and unpack db-derby-10.1.3.1-bin.tar.gz (or .zip)
  2. Set the DERBY_INSTALL environment variable to /path/to/db-derby-10.1.3.1-bin
  3. Set the DERBY_SERVER_HOST environment variable to the hostname/IP address that will be used for connections. (Optional, it defaults to localhost)
  4. navigate to /path/to/derby-db-10.1.3.1-bin/frameworks/NetworkServer/bin
  5. execute the 'setNetworkServerCP' script to set the CLASSPATH
  6. 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?)