[Djigzo users] Problems with upgrading from 1.4.1 to 2.0.1

Martijn Brinkers martijn at djigzo.com
Thu Apr 7 10:03:46 CEST 2011

On 01/-10/-28163 08:59 PM, Martijn Brinkers wrote:
>> [snip]
>> There was a change in 2.0.1 that might explain this error. Djigzo 2.0.1
>> no longer provides activation.jar because Djigzo now requires Java 6
>> which already includes the activation.jar functionality. This works on
>> CentOS/RedHat. What might have happened though is that the upgrade
>> process left a symlink to activation.jar while the jar no longer exit.
>> Can you try the following:
>> 1. download activation.jar from
>> http://www.djigzo.com/downloads/test/activation.jar
>> 2. move (or copy) activation.jar to /usr/share/djigzo/lib/mail
>> 3. Restart Djigzo and Tomcat
> It seems that some old symlinks are not removed during the upgrade
> process. You can fix this for now by manually deleting the old symlinks
> after the upgrade to 2.0.1 with the following steps:
> 1. goto /usr/share/djigzo/james-2.3.1/apps/james/SAR-INF/lib
> $cd /usr/share/djigzo/james-2.3.1/apps/james/SAR-INF/lib
> 2. remove the invalid symlinks (if you login with SSH, the invalid
> symlinks are shown in red color)
> $ rm activation.jar
> $ rm jcifs-1.3.12.jar
> $ rm saaj-api-1.3.jar
> $ rm saaj-impl-1.3.jar
> 3. Restart Djigzo and Tomcat
> I'll update the documentation for now and see why the upgrade fails to
> remove the symlinks.
> Note: this problem only relates to an upgrade of Djigzo to 2.0.1 on
> CentOS/RedHat. The Debian/Ubuntu installer should not experience this
> problem

Another, perhaps better, way to remove all invalid symlinks to issue the
following command:

$ symlinks -d /usr/share/djigzo/james-2.3.1/apps/james/SAR-INF/lib/

This delets all invalid symlinks from the lib dir.

It seems that during upgrade there is some race condition where the old
jars are still available and therefore a symlink is created and after
the upgrade RPM removes the old jars. This will be fixed in a new
version of Djigzo. For now use the symlinks -d command to remove old
symlinks when upgrading on RedHat/CentOs to 2.0.1.

Kind regards,


Djigzo open source email encryption
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3398 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.ciphermail.com/pipermail/users/attachments/20110407/c5e9878e/attachment-0001.p7s>

More information about the Users mailing list