Versions Compared

Key

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

...

No Format
db2 -tvf create-archiva.sql

Three additional scripts, reorg-archiva.sh, runstats-archiva.sh and count-archiva.sql have also been provided to assist in normal DBA work.

Archiva on WebSphere 6.1

Creating and installing Archiva is a now a simple matter of executing the supplied scripts. You will probably need to edit them just to set the appropriate Cell and Node settings. Generally, the variables that need editing are at the top of the scripts.

...

Additional Setup

The indexing of files can take a large number of files. I have set the number of files for the user to 20,000 (as 10,000 was not enough). Edit /etc/security/limits to change this value.

Please remember that a 64-bit JVM takes about 60% more heap space than a 32-bit JVM does. Size your VM, if using 64-bit, accordingly. I'm using 1Gb (-Xmx1024M) heap, as 512Mb was causing regular heap dumps due to out of memory errors.

Notes

This is simply how I do it. It does require additional machine resources, as it takes a complete JVM, but I prefer to create a server per application which provides for better application isolation and tuning capabilities.

...