Dear Wiki user, You have subscribed to a wiki page or wiki category on "James Wiki" for change notification.
The following page has been changed by AlessandroDelgado: http://wiki.apache.org/james/FrequentlyAskedQuestions ------------------------------------------------------------------------------ == How do I upgrade James? == - 0. Stop the James server and rename the previous James directory to another name. + 1. Stop the James server and rename the previous James directory to another name. - - 1. Run phoenix to let the new james.sar to be deployed. + 2. Run phoenix to let the new james.sar to be deployed. - - 2. Copy and modify config.xml: + 3. Copy and modify config.xml: - - 2.1 Remove fetchpop block, since fetchpop was removed in 2.3. + 3.1 Remove fetchpop block, since fetchpop was removed in version 2.3. - - 2.2 Move <mailetpackages> and <matcherpackages> outside the <spoolmanager> block. + 3.2 Move <mailetpackages> and <matcherpackages> outside the <spoolmanager> block. - - 2.3 Add the <mailet match="All" class="PostmasterAlias"/> as the first mailet of the "root" processor. This was hardcoded in 2.2.0 and previous, but it is now configurable. + 3.3 Add the <mailet match="All" class="PostmasterAlias"/> as the first mailet of the "root" processor. This was hardcoded in 2.2.0 and previous, but it is now configurable. - - 2.4 Move the spoolrepository out of the mailstore. It is also necessary to change the syntax. For example, + 3.4 Move the spoolrepository out of the mailstore. It is also necessary to change the syntax. For example, {{{ <spoolRepository> <repository destinationURL="db://maildb/spool/spool" type="SPOOL"/> @@ -30, +24 @@ <spoolrepository destinationURL="db://maildb/spool/spool" type="SPOOL"/> }}} - 2.5 Move the objectstore config into the mailstore config. + 3.5 Move the objectstore config into the mailstore config. - - 2.6 To be able to use SSL you need to add this SSL config to the server-sockets block: + 3.6 To be able to use SSL you need to add this SSL config to the server-sockets block: {{{ <factory name="ssl" class="org.apache.avalon.cornerstone.blocks.sockets.TLSServerSocketFactory"> <ssl-factory> @@ -49, +42 @@ </factory> }}} - 3. Modify custom mailets if necessary. The following things were changed, so maybe it is necessary for you to change some stuff in your mailets: + 4. Modify custom mailets if necessary. The following things were changed, so maybe it is necessary for you to change some stuff in your mailets: - - 3.1 Avalon Updates: + 4.1 Avalon Updates: - * avalon Component has been replaced by avalon Service + * avalon Component has been replaced by avalon Service - * avalon Composable has been replaced by avalon Serviceable + * avalon Composable has been replaced by avalon Serviceable - * avalon ComponentManager has been replaced by avalon ServiceManager + * avalon ComponentManager has been replaced by avalon ServiceManager - - 3.2 Cornerstone updates: + 4.2 Cornerstone updates: * MailStore interface has been removed: mailets looking up the MailStore should now lookup a Store (org.apache.avalon.cornerstone.services.store.Store) - - 4. Replace the newly created apps/james/var directory by the old apps/james/var directory, so that user accounts, inboxes, spools and other things will be moved into James' new install. + 5. Replace the newly created apps/james/var directory by the old apps/james/var directory, so that user accounts, inboxes, spools and other things will be moved into James' new install. - - 5. You should now be able to start JAMES without problems. + 6. You should now be able to start JAMES without problems. - - == Questions About The Default Configuration == === Where Is The Derby Log? ===