# Problem with djigzo Back-end

**URL:** <https://community.ciphermail.com/t/problem-with-djigzo-back-end/442>\
**Category:** Gateway\
**Created:** [April 30, 2015, 7:00pm UTC](https://community.ciphermail.com/t/problem-with-djigzo-back-end/442 "2015-04-30T19:00:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dino\_Edwards](https://avatars.discourse-cdn.com/v4/letter/d/6a8cbe/32.png) [@Dino\_Edwards](https://community.ciphermail.com/u/Dino_Edwards)\
**Post date:** [April 30, 2015, 7:00pm UTC](https://community.ciphermail.com/t/problem-with-djigzo-back-end/442/1 "2015-04-30T19:00:31Z")

</div>

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!

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;at javax.crypto.JceSecurity.setupJurisdictionPolicies(JceSecurity.java:256)

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

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

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;at java.security.AccessController.doPrivileged(Native Method)

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;at javax.crypto.JceSecurity.\<clinit\>(JceSecurity.java:76)

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;at javax.crypto.JceSecurityManager.\<clinit\>(JceSecurityManager.java:60)

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;at javax.crypto.Cipher.getConfiguredPermission(Cipher.java:2369)

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;at javax.crypto.Cipher.getMaxAllowedKeyLength(Cipher.java:2393)

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

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

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

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

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

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

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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](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](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](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

---

<div class="post-metadata">

**Author:** ![martijn](https://dub1.discourse-cdn.com/flex017/user_avatar/community.ciphermail.com/martijn/32/127_2.png) [@martijn](https://community.ciphermail.com/u/martijn)\
**Post date:** [April 30, 2015, 7:05pm UTC](https://community.ciphermail.com/t/problem-with-djigzo-back-end/442/2 "2015-04-30T19:05:37Z")

</div>

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!
> > 
> > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;at javax.crypto.JceSecurity.setupJurisdictionPolicies(JceSecurity.java:256)
> > 
> > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;at javax.crypto.JceSecurity.access$000(JceSecurity.java:48)
> > 
> > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;at javax.crypto.JceSecurity$1.run(JceSecurity.java:78)
> > 
> > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;at java.security.AccessController.doPrivileged(Native Method)
> > 
> > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;at javax.crypto.JceSecurity.\<clinit\>(JceSecurity.java:76)
> > 
> > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;at javax.crypto.JceSecurityManager.\<clinit\>(JceSecurityManager.java:60)
> > 
> > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;at javax.crypto.Cipher.getConfiguredPermission(Cipher.java:2369)
> > 
> > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;at javax.crypto.Cipher.getMaxAllowedKeyLength(Cipher.java:2393)
> > 
> > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;at mitm.common.security.JCEPolicyManager.isUnlimitedStrength(JCEPolicyManager.java:97)
> > 
> > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;at mitm.application.djigzo.DjigzoConfigurator.checkUnlimitedStrength(DjigzoConfigurator.java:161)
> > 
> > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;at mitm.application.djigzo.DjigzoConfigurator.configure(DjigzoConfigurator.java:224)
> > 
> > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;at mitm.application.djigzo.james.service.DjigzoServiceImpl.configure(DjigzoServiceImpl.java:141)
> > 
> > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;at org.apache.avalon.framework.container.ContainerUtil.configure(ContainerUtil.java:201)
> > 
> > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;at org.apache.avalon.phoenix.containerkit.lifecycle.LifecycleHelper.startup(LifecycleHelper.java:182)
> > 
> > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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
> > 
> > [Apache Avalon has closed](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](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](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](https://lists.djigzo.com/lists/listinfo/users)
> 
> --  
> CipherMail email encryption
> 
> Open source email encryption gateway with support for S/MIME, OpenPGP  
> and PDF messaging.
> 
> > **[CipherMail email encryption and digital signatures](https://www.ciphermail.com)**
> >
> > Easy to use server-side email encryption for automatic encryption and digital signing of email.
> 
> Twitter: [http://twitter.com/CipherMail](http://twitter.com/CipherMail)
