Problem with djigzo Back-end

Getting the following error when trying to logon the gateway login:

Login failed

Back-end is not running or not yet fully started up

Looking into the djigzo.log file, we find the following entries:

java.lang.SecurityException: Cannot locate policy or framework files!

        at javax.crypto.JceSecurity.setupJurisdictionPolicies(JceSecurity.java:256)

        at javax.crypto.JceSecurity.access$000(JceSecurity.java:48)

        at javax.crypto.JceSecurity$1.run(JceSecurity.java:78)

        at java.security.AccessController.doPrivileged(Native Method)

        at javax.crypto.JceSecurity.<clinit>(JceSecurity.java:76)

        at javax.crypto.JceSecurityManager.<clinit>(JceSecurityManager.java:60)

        at javax.crypto.Cipher.getConfiguredPermission(Cipher.java:2369)

        at javax.crypto.Cipher.getMaxAllowedKeyLength(Cipher.java:2393)

        at mitm.common.security.JCEPolicyManager.isUnlimitedStrength(JCEPolicyManager.java:97)

        at mitm.application.djigzo.DjigzoConfigurator.checkUnlimitedStrength(DjigzoConfigurator.java:161)

        at mitm.application.djigzo.DjigzoConfigurator.configure(DjigzoConfigurator.java:224)

        at mitm.application.djigzo.james.service.DjigzoServiceImpl.configure(DjigzoServiceImpl.java:141)

        at org.apache.avalon.framework.container.ContainerUtil.configure(ContainerUtil.java:201)

        at org.apache.avalon.phoenix.containerkit.lifecycle.LifecycleHelper.startup(LifecycleHelper.java:182)

        at org.apache.avalon.phoenix.components.application.DefaultApplication.startup(DefaultApplication.java:530)

The log file may contain further details of error.

Please check the configuration files and restart Phoenix.

If the problem persists, contact the Avalon project. See

http://jakarta.apache.org/avalon for more information.

Shutting down Phoenix.

After some searching, I ran into the following post:

https://lists.djigzo.com/pipermail/users/2015-January/001201.html

which led to the following page:

https://www.ciphermail.com/other/additional-release-notes-2.8.6-3.html

so, we upgraded to ciphermail 2.10.0-3 from the previous 1.6 which installed successfully. Unfortunately, the Back-end is not running or not yet fully started up error still persists.

Running on Ubuntu 10.04.4 32-bit on Tomcat 6 and PostreSQL 8.4.

We would appreciate some help here.

thanks a lot

Dino

This is probably caused because you installed Oracle (formerly SUN)
Java. The Oracle JVM requires that the unlimited jurisdiction policy
files are installed and that a signed crypto jar is used. You should
make sure that the default Java is OpenJDK.

You can check your default configured java by running:

java -version

For OpenJDK it should return something like

java version "1.7.0_79"
OpenJDK Runtime Environment (IcedTea 2.5.5) (7u79-2.5.5-0ubuntu0.14.04.2)
OpenJDK 64-Bit Server VM (build 24.79-b02, mixed mode)

For Oracle JVM it returns something else

Kind regards,

Martijn Brinkers

···

On 04/30/2015 09:00 PM, Dino Edwards wrote:

Getting the following error when trying to logon the gateway login:

Login failed

Back-end is not running or not yet fully started up

Looking into the djigzo.log file, we find the following entries:

java.lang.SecurityException: Cannot locate policy or framework files!

        at javax.crypto.JceSecurity.setupJurisdictionPolicies(JceSecurity.java:256)

        at javax.crypto.JceSecurity.access$000(JceSecurity.java:48)

        at javax.crypto.JceSecurity$1.run(JceSecurity.java:78)

        at java.security.AccessController.doPrivileged(Native Method)

        at javax.crypto.JceSecurity.<clinit>(JceSecurity.java:76)

        at javax.crypto.JceSecurityManager.<clinit>(JceSecurityManager.java:60)

        at javax.crypto.Cipher.getConfiguredPermission(Cipher.java:2369)

        at javax.crypto.Cipher.getMaxAllowedKeyLength(Cipher.java:2393)

        at mitm.common.security.JCEPolicyManager.isUnlimitedStrength(JCEPolicyManager.java:97)

        at mitm.application.djigzo.DjigzoConfigurator.checkUnlimitedStrength(DjigzoConfigurator.java:161)

        at mitm.application.djigzo.DjigzoConfigurator.configure(DjigzoConfigurator.java:224)

        at mitm.application.djigzo.james.service.DjigzoServiceImpl.configure(DjigzoServiceImpl.java:141)

        at org.apache.avalon.framework.container.ContainerUtil.configure(ContainerUtil.java:201)

        at org.apache.avalon.phoenix.containerkit.lifecycle.LifecycleHelper.startup(LifecycleHelper.java:182)

        at org.apache.avalon.phoenix.components.application.DefaultApplication.startup(DefaultApplication.java:530)

The log file may contain further details of error.

Please check the configuration files and restart Phoenix.

If the problem persists, contact the Avalon project. See

http://jakarta.apache.org/avalon for more information.

Shutting down Phoenix.

After some searching, I ran into the following post:

https://lists.djigzo.com/pipermail/users/2015-January/001201.html

which led to the following page:

https://www.ciphermail.com/other/additional-release-notes-2.8.6-3.html

so, we upgraded to ciphermail 2.10.0-3 from the previous 1.6 which installed successfully. Unfortunately, the Back-end is not running or not yet fully started up error still persists.

Running on Ubuntu 10.04.4 32-bit on Tomcat 6 and PostreSQL 8.4.

We would appreciate some help here.

thanks a lot

Dino

_______________________________________________
Users mailing list
Users(a)lists.djigzo.com
https://lists.djigzo.com/lists/listinfo/users

--
CipherMail email encryption

Open source email encryption gateway with support for S/MIME, OpenPGP
and PDF messaging.

https://www.ciphermail.com

Twitter: http://twitter.com/CipherMail