Djigzo stopped working

Hello All,

Our Djigzo installation has stopped working. We are now getting the
following error when we try to login to Djigzo:

Login failed

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

From djigzo.log, we are seeing the following error:

org.apache.avalon.phoenix.containerkit.lifecycle.LifecycleException:
Component named "djigzo" failed to pass through the Parameterizing
stage. (Reason: org.springframework.beans.factory.BeanCreationException:
Error creating bean with name
'mitm.application.djigzo.service.GlobalPreferencesPlaceholderConfigurer#0'
defined in file [/usr/local/djigzo/conf/spring/services.xml]: Cannot
resolve reference to bean 'globalPreferencesManager' while setting
constructor argument; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'globalPreferencesManager' defined in file
[/usr/local/djigzo/conf/spring/services.xml]: Cannot resolve reference
to bean 'userPreferencesCategoryManager' while setting constructor
argument; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'userPreferencesCategoryManager' defined in file
[/usr/local/djigzo/conf/spring/services.xml]: Cannot resolve reference
to bean 'keyAndCertStore' while setting constructor argument; nested
exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'keyAndCertStore' defined in file
[/usr/local/djigzo/conf/spring/services.xml]: Cannot resolve reference
to bean 'keyStoreProvider' while setting constructor argument; nested
exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'keyStoreProvider' defined in file
[/usr/local/djigzo/conf/spring/services.xml]: Instantiation of bean
failed; nested exception is
org.springframework.beans.factory.BeanDefinitionStoreException: Factory
method [public static mitm.common.security.keystore.KeyStoreProvider
mitm.application.djigzo.service.DjigzoServices.buildKeyStoreProvider(java.lang.String,mitm.common.hibernate.SessionManager)
throws
java.security.KeyStoreException,java.security.NoSuchProviderException,java.security.NoSuchAlgorithmException,java.security.cert.CertificateException,java.io.IOException]
threw exception; nested exception is java.security.KeyStoreException:
DatabaseKeyStore not found).

Upon checking the logs we could see that java has been updated from
1.6.0_24 to 1.6.0_38. We tried downgrading to 1.6.0_24 but the issue
still exists.

How can we fix this issue. Full log file is available at
http://pastebin.com/bNht0NzT

Thanks,
Sreerag

Hello All,

Our Djigzo installation has stopped working. We are now getting the
following error when we try to login to Djigzo:

Login failed

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

From djigzo.log, we are seeing the following error:

org.apache.avalon.phoenix.containerkit.lifecycle.LifecycleException:
Component named "djigzo" failed to pass through the Parameterizing
stage. (Reason: org.springframework.beans.factory.BeanCreationException:
Error creating bean with name
'mitm.application.djigzo.service.GlobalPreferencesPlaceholderConfigurer#0'
defined in file [/usr/local/djigzo/conf/spring/services.xml]: Cannot
resolve reference to bean 'globalPreferencesManager' while setting
constructor argument; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'globalPreferencesManager' defined in file
[/usr/local/djigzo/conf/spring/services.xml]: Cannot resolve reference
to bean 'userPreferencesCategoryManager' while setting constructor
argument; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'userPreferencesCategoryManager' defined in file
[/usr/local/djigzo/conf/spring/services.xml]: Cannot resolve reference
to bean 'keyAndCertStore' while setting constructor argument; nested
exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'keyAndCertStore' defined in file
[/usr/local/djigzo/conf/spring/services.xml]: Cannot resolve reference
to bean 'keyStoreProvider' while setting constructor argument; nested
exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'keyStoreProvider' defined in file
[/usr/local/djigzo/conf/spring/services.xml]: Instantiation of bean
failed; nested exception is
org.springframework.beans.factory.BeanDefinitionStoreException: Factory
method [public static mitm.common.security.keystore.KeyStoreProvider
mitm.application.djigzo.service.DjigzoServices.buildKeyStoreProvider(java.lang.String,mitm.common.hibernate.SessionManager)
throws
java.security.KeyStoreException,java.security.NoSuchProviderException,java.security.NoSuchAlgorithmException,java.security.cert.CertificateException,java.io.IOException]
threw exception; nested exception is java.security.KeyStoreException:
DatabaseKeyStore not found).

Hi Sreerag,

This is an old issue and was solved a while back with release 2.8.6-3
(27-7-2014)

See
https://www.ciphermail.com/other/additional-release-notes-2.8.6-3.html
for more info

You need to upgrade to a newer release. In the mean time you might try
to revert Java to an older Java version.

Upon checking the logs we could see that java has been updated from
1.6.0_24 to 1.6.0_38. We tried downgrading to 1.6.0_24 but the issue
still exists.

I don't know exactly which Java release started to have this problem
(this is also changes between Linux releases) but it should work with
the older Java version. Perhaps your Java runtime uses multiple packages
and you only reverted one package?

The best thing to do however is upgrade to a newer release. The version
you are using predates 2.8.6-3 so it's quite an old version.

Kind regards,

Martijn Brinkers

···

On 03/02/2016 08:34 AM, sreerag(a)managed-me.com wrote:

--
CipherMail email encryption

Email encryption with support for S/MIME, OpenPGP, PDF encryption and
secure webmail pull.

Twitter: http://twitter.com/CipherMail

Hello Martin,

Thanks for the support. We reverted to Java 1.6.0, but still no luck.

···

On 2016-03-02 11:49, Martijn Brinkers wrote:

On 03/02/2016 08:34 AM, sreerag(a)managed-me.com wrote:

Hello All,

Our Djigzo installation has stopped working. We are now getting the
following error when we try to login to Djigzo:

Login failed

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

From djigzo.log, we are seeing the following error:

org.apache.avalon.phoenix.containerkit.lifecycle.LifecycleException:
Component named "djigzo" failed to pass through the Parameterizing
stage. (Reason:
org.springframework.beans.factory.BeanCreationException:
Error creating bean with name
'mitm.application.djigzo.service.GlobalPreferencesPlaceholderConfigurer#0'
defined in file [/usr/local/djigzo/conf/spring/services.xml]: Cannot
resolve reference to bean 'globalPreferencesManager' while setting
constructor argument; nested exception is
org.springframework.beans.factory.BeanCreationException: Error
creating
bean with name 'globalPreferencesManager' defined in file
[/usr/local/djigzo/conf/spring/services.xml]: Cannot resolve reference
to bean 'userPreferencesCategoryManager' while setting constructor
argument; nested exception is
org.springframework.beans.factory.BeanCreationException: Error
creating
bean with name 'userPreferencesCategoryManager' defined in file
[/usr/local/djigzo/conf/spring/services.xml]: Cannot resolve reference
to bean 'keyAndCertStore' while setting constructor argument; nested
exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'keyAndCertStore' defined in file
[/usr/local/djigzo/conf/spring/services.xml]: Cannot resolve reference
to bean 'keyStoreProvider' while setting constructor argument; nested
exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'keyStoreProvider' defined in file
[/usr/local/djigzo/conf/spring/services.xml]: Instantiation of bean
failed; nested exception is
org.springframework.beans.factory.BeanDefinitionStoreException:
Factory
method [public static mitm.common.security.keystore.KeyStoreProvider
mitm.application.djigzo.service.DjigzoServices.buildKeyStoreProvider(java.lang.String,mitm.common.hibernate.SessionManager)
throws
java.security.KeyStoreException,java.security.NoSuchProviderException,java.security.NoSuchAlgorithmException,java.security.cert.CertificateException,java.io.IOException]
threw exception; nested exception is java.security.KeyStoreException:
DatabaseKeyStore not found).

Hi Sreerag,

This is an old issue and was solved a while back with release 2.8.6-3
(27-7-2014)

Email Encryption Gateway release notes - CipherMail Email Encryption

See
https://www.ciphermail.com/other/additional-release-notes-2.8.6-3.html
for more info

You need to upgrade to a newer release. In the mean time you might try
to revert Java to an older Java version.

Upon checking the logs we could see that java has been updated from
1.6.0_24 to 1.6.0_38. We tried downgrading to 1.6.0_24 but the issue
still exists.

I don't know exactly which Java release started to have this problem
(this is also changes between Linux releases) but it should work with
the older Java version. Perhaps your Java runtime uses multiple
packages
and you only reverted one package?

The best thing to do however is upgrade to a newer release. The version
you are using predates 2.8.6-3 so it's quite an old version.

Kind regards,

Martijn Brinkers

----------------------------------------------------------------
#java -version
java version "1.6.0"
Java(TM) SE Runtime Environment (build 1.6.0-b105)
Java HotSpot(TM) 64-Bit Server VM (build 1.6.0-b105, mixed mode)
----------------------------------------------------------------

The issue with updating to a newer version is that the setup was done by
a person who is not here anymore.

Regards,
Sreerag

Hello All,

Our Djigzo installation has stopped working. We are now getting the
following error when we try to login to Djigzo:

Login failed

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

From djigzo.log, we are seeing the following error:

org.apache.avalon.phoenix.containerkit.lifecycle.LifecycleException:
Component named "djigzo" failed to pass through the Parameterizing
stage. (Reason: org.springframework.beans.factory.BeanCreationException:
Error creating bean with name
'mitm.application.djigzo.service.GlobalPreferencesPlaceholderConfigurer#0'

defined in file [/usr/local/djigzo/conf/spring/services.xml]: Cannot
resolve reference to bean 'globalPreferencesManager' while setting
constructor argument; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'globalPreferencesManager' defined in file
[/usr/local/djigzo/conf/spring/services.xml]: Cannot resolve reference
to bean 'userPreferencesCategoryManager' while setting constructor
argument; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'userPreferencesCategoryManager' defined in file
[/usr/local/djigzo/conf/spring/services.xml]: Cannot resolve reference
to bean 'keyAndCertStore' while setting constructor argument; nested
exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'keyAndCertStore' defined in file
[/usr/local/djigzo/conf/spring/services.xml]: Cannot resolve reference
to bean 'keyStoreProvider' while setting constructor argument; nested
exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'keyStoreProvider' defined in file
[/usr/local/djigzo/conf/spring/services.xml]: Instantiation of bean
failed; nested exception is
org.springframework.beans.factory.BeanDefinitionStoreException: Factory
method [public static mitm.common.security.keystore.KeyStoreProvider
mitm.application.djigzo.service.DjigzoServices.buildKeyStoreProvider(java.lang.String,mitm.common.hibernate.SessionManager)

throws
java.security.KeyStoreException,java.security.NoSuchProviderException,java.security.NoSuchAlgorithmException,java.security.cert.CertificateException,java.io.IOException]

threw exception; nested exception is java.security.KeyStoreException:
DatabaseKeyStore not found).

Hi Sreerag,

This is an old issue and was solved a while back with release 2.8.6-3
(27-7-2014)

Email Encryption Gateway release notes - CipherMail Email Encryption

See
https://www.ciphermail.com/other/additional-release-notes-2.8.6-3.html
for more info

You need to upgrade to a newer release. In the mean time you might try
to revert Java to an older Java version.

Upon checking the logs we could see that java has been updated from
1.6.0_24 to 1.6.0_38. We tried downgrading to 1.6.0_24 but the issue
still exists.

I don't know exactly which Java release started to have this problem
(this is also changes between Linux releases) but it should work with
the older Java version. Perhaps your Java runtime uses multiple packages
and you only reverted one package?

The best thing to do however is upgrade to a newer release. The version
you are using predates 2.8.6-3 so it's quite an old version.

Kind regards,

Martijn Brinkers

Hello Martin,

Thanks for the support. We reverted to Java 1.6.0, but still no luck.

According to the original bug report
(https://jira.djigzo.com/browse/GATEWAY-78) reverting back to 6.1.13.3
(from 6.1.13.4) worked. This was however on CentOS 6. Not sure which
Linux release you are using.

It's however better to upgrade to a newer release.

Kind regards,

Martijn Brinkers

···

On 03/02/2016 09:40 AM, sreerag(a)managed-me.com wrote:

On 2016-03-02 11:49, Martijn Brinkers wrote:

On 03/02/2016 08:34 AM, sreerag(a)managed-me.com wrote:

----------------------------------------------------------------
#java -version
java version "1.6.0"
Java(TM) SE Runtime Environment (build 1.6.0-b105)
Java HotSpot(TM) 64-Bit Server VM (build 1.6.0-b105, mixed mode)
----------------------------------------------------------------

The issue with updating to a newer version is that the setup was done by
a person who is not here anymore.

--
CipherMail email encryption

Email encryption with support for S/MIME, OpenPGP, PDF encryption and
secure webmail pull.

Twitter: http://twitter.com/CipherMail

Hello Martin,

We decided to setup a new gateway using CentOS 6.7. I downloaded the
rpm's provided on the website and followed the quick-install-guide.
Finished all configurations and restarted djigzo and end up with the
following error. What has gone wrong?

···

On 2016-03-02 12:52, Martijn Brinkers wrote:

On 03/02/2016 09:40 AM, sreerag(a)managed-me.com wrote:

On 2016-03-02 11:49, Martijn Brinkers wrote:

On 03/02/2016 08:34 AM, sreerag(a)managed-me.com wrote:

Hello All,

Our Djigzo installation has stopped working. We are now getting the
following error when we try to login to Djigzo:

Login failed

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

From djigzo.log, we are seeing the following error:

org.apache.avalon.phoenix.containerkit.lifecycle.LifecycleException:
Component named "djigzo" failed to pass through the Parameterizing
stage. (Reason:
org.springframework.beans.factory.BeanCreationException:
Error creating bean with name
'mitm.application.djigzo.service.GlobalPreferencesPlaceholderConfigurer#0'

defined in file [/usr/local/djigzo/conf/spring/services.xml]: Cannot
resolve reference to bean 'globalPreferencesManager' while setting
constructor argument; nested exception is
org.springframework.beans.factory.BeanCreationException: Error
creating
bean with name 'globalPreferencesManager' defined in file
[/usr/local/djigzo/conf/spring/services.xml]: Cannot resolve
reference
to bean 'userPreferencesCategoryManager' while setting constructor
argument; nested exception is
org.springframework.beans.factory.BeanCreationException: Error
creating
bean with name 'userPreferencesCategoryManager' defined in file
[/usr/local/djigzo/conf/spring/services.xml]: Cannot resolve
reference
to bean 'keyAndCertStore' while setting constructor argument; nested
exception is
org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'keyAndCertStore' defined in file
[/usr/local/djigzo/conf/spring/services.xml]: Cannot resolve
reference
to bean 'keyStoreProvider' while setting constructor argument;
nested
exception is
org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'keyStoreProvider' defined in file
[/usr/local/djigzo/conf/spring/services.xml]: Instantiation of bean
failed; nested exception is
org.springframework.beans.factory.BeanDefinitionStoreException:
Factory
method [public static mitm.common.security.keystore.KeyStoreProvider
mitm.application.djigzo.service.DjigzoServices.buildKeyStoreProvider(java.lang.String,mitm.common.hibernate.SessionManager)

throws
java.security.KeyStoreException,java.security.NoSuchProviderException,java.security.NoSuchAlgorithmException,java.security.cert.CertificateException,java.io.IOException]

threw exception; nested exception is
java.security.KeyStoreException:
DatabaseKeyStore not found).

Hi Sreerag,

This is an old issue and was solved a while back with release 2.8.6-3
(27-7-2014)

Email Encryption Gateway release notes - CipherMail Email Encryption

See
https://www.ciphermail.com/other/additional-release-notes-2.8.6-3.html
for more info

You need to upgrade to a newer release. In the mean time you might
try
to revert Java to an older Java version.

Upon checking the logs we could see that java has been updated from
1.6.0_24 to 1.6.0_38. We tried downgrading to 1.6.0_24 but the issue
still exists.

I don't know exactly which Java release started to have this problem
(this is also changes between Linux releases) but it should work with
the older Java version. Perhaps your Java runtime uses multiple
packages
and you only reverted one package?

The best thing to do however is upgrade to a newer release. The
version
you are using predates 2.8.6-3 so it's quite an old version.

Kind regards,

Martijn Brinkers

Hello Martin,

Thanks for the support. We reverted to Java 1.6.0, but still no luck.

According to the original bug report
(https://jira.djigzo.com/browse/GATEWAY-78) reverting back to 6.1.13.3
(from 6.1.13.4) worked. This was however on CentOS 6. Not sure which
Linux release you are using.

It's however better to upgrade to a newer release.

Kind regards,

Martijn Brinkers

----------------------------------------------------------------
#java -version
java version "1.6.0"
Java(TM) SE Runtime Environment (build 1.6.0-b105)
Java HotSpot(TM) 64-Bit Server VM (build 1.6.0-b105, mixed mode)
----------------------------------------------------------------

The issue with updating to a newer version is that the setup was done
by
a person who is not here anymore.

--------------------------------------------------------------------
[root(a)gateway ~]# /etc/init.d/djigzo start
DJIGZO_HOME=/usr/share/djigzo
/usr/share/djigzo/wrapper/wrapper-djigzo not found or not e[FAILED]e
--------------------------------------------------------------------

The contents of the wrapper folder

[root(a)gateway ~]# ll /usr/share/djigzo/wrapper/
total 1548
-rw-rw-r--. 1 djigzo djigzo 1772 Mar 24 2015 build.xml
-rw-rw-r--. 1 djigzo djigzo 7270 Mar 24 2015 djigzo.wrapper.conf
-rw-rw-r--. 1 djigzo djigzo 52 Mar 24 2015
wrapper.dist.Linux.amd64.properties
-rw-rw-r--. 1 djigzo djigzo 52 Mar 24 2015
wrapper.dist.Linux.i386.properties
-rw-rw-r--. 1 djigzo djigzo 95 Mar 24 2015 wrapper.dist.Mac OS
X.i386.properties
-rw-rw-r--. 1 djigzo djigzo 475607 Mar 24 2015
wrapper-linux-x86-32-3.5.22.tar.gz
-rw-rw-r--. 1 djigzo djigzo 493299 Mar 24 2015
wrapper-linux-x86-64-3.5.22.tar.gz
-rw-rw-r--. 1 djigzo djigzo 582062 Mar 24 2015
wrapper-macosx-universal-32-3.5.22.tar.gz

Regards,
Sreerag

[SNIP]

----------------------------------------------------------------
#java -version
java version "1.6.0"
Java(TM) SE Runtime Environment (build 1.6.0-b105)
Java HotSpot(TM) 64-Bit Server VM (build 1.6.0-b105, mixed mode)
----------------------------------------------------------------

The issue with updating to a newer version is that the setup was done by
a person who is not here anymore.

Hello Martin,

We decided to setup a new gateway using CentOS 6.7. I downloaded the
rpm's provided on the website and followed the quick-install-guide.
Finished all configurations and restarted djigzo and end up with the
following error. What has gone wrong?

--------------------------------------------------------------------
[root(a)gateway ~]# /etc/init.d/djigzo start
DJIGZO_HOME=/usr/share/djigzo
/usr/share/djigzo/wrapper/wrapper-djigzo not found or not e[FAILED]e
--------------------------------------------------------------------

The contents of the wrapper folder

[root(a)gateway ~]# ll /usr/share/djigzo/wrapper/
total 1548
-rw-rw-r--. 1 djigzo djigzo 1772 Mar 24 2015 build.xml
-rw-rw-r--. 1 djigzo djigzo 7270 Mar 24 2015 djigzo.wrapper.conf
-rw-rw-r--. 1 djigzo djigzo 52 Mar 24 2015
wrapper.dist.Linux.amd64.properties
-rw-rw-r--. 1 djigzo djigzo 52 Mar 24 2015
wrapper.dist.Linux.i386.properties
-rw-rw-r--. 1 djigzo djigzo 95 Mar 24 2015 wrapper.dist.Mac OS
X.i386.properties
-rw-rw-r--. 1 djigzo djigzo 475607 Mar 24 2015
wrapper-linux-x86-32-3.5.22.tar.gz
-rw-rw-r--. 1 djigzo djigzo 493299 Mar 24 2015
wrapper-linux-x86-64-3.5.22.tar.gz
-rw-rw-r--. 1 djigzo djigzo 582062 Mar 24 2015

The wrapper package seems not to be unpacked. During installation it is
detected which package should be unpacked (32 bi, 64bit, mac etc.).

Did you install with the rpm packages?

Did you see any error messages during the installation?

Kind regards,

Martijn Brinkers

···

On 03/03/2016 11:34 AM, sreerag(a)managed-me.com wrote:

On 2016-03-02 12:52, Martijn Brinkers wrote:

--
CipherMail email encryption

Email encryption with support for S/MIME, OpenPGP, PDF encryption and
secure webmail pull.

Twitter: http://twitter.com/CipherMail

Hello Martin,

Yes, we installed with the rpm's provided in the website. There were no
errors during installation. This was on a Centos 6.7 64bit server. When
we repeated the same on a Centos 7 Server, wrapper worked.

Regards,
Sreerag

···

On 2016-03-08 12:27, Martijn Brinkers wrote:

On 03/03/2016 11:34 AM, sreerag(a)managed-me.com wrote:

On 2016-03-02 12:52, Martijn Brinkers wrote:

[SNIP]

----------------------------------------------------------------
#java -version
java version "1.6.0"
Java(TM) SE Runtime Environment (build 1.6.0-b105)
Java HotSpot(TM) 64-Bit Server VM (build 1.6.0-b105, mixed mode)
----------------------------------------------------------------

The issue with updating to a newer version is that the setup was
done by
a person who is not here anymore.

Hello Martin,

We decided to setup a new gateway using CentOS 6.7. I downloaded the
rpm's provided on the website and followed the quick-install-guide.
Finished all configurations and restarted djigzo and end up with the
following error. What has gone wrong?

--------------------------------------------------------------------
[root(a)gateway ~]# /etc/init.d/djigzo start
DJIGZO_HOME=/usr/share/djigzo
/usr/share/djigzo/wrapper/wrapper-djigzo not found or not e[FAILED]e
--------------------------------------------------------------------

The contents of the wrapper folder

[root(a)gateway ~]# ll /usr/share/djigzo/wrapper/
total 1548
-rw-rw-r--. 1 djigzo djigzo 1772 Mar 24 2015 build.xml
-rw-rw-r--. 1 djigzo djigzo 7270 Mar 24 2015 djigzo.wrapper.conf
-rw-rw-r--. 1 djigzo djigzo 52 Mar 24 2015
wrapper.dist.Linux.amd64.properties
-rw-rw-r--. 1 djigzo djigzo 52 Mar 24 2015
wrapper.dist.Linux.i386.properties
-rw-rw-r--. 1 djigzo djigzo 95 Mar 24 2015 wrapper.dist.Mac OS
X.i386.properties
-rw-rw-r--. 1 djigzo djigzo 475607 Mar 24 2015
wrapper-linux-x86-32-3.5.22.tar.gz
-rw-rw-r--. 1 djigzo djigzo 493299 Mar 24 2015
wrapper-linux-x86-64-3.5.22.tar.gz
-rw-rw-r--. 1 djigzo djigzo 582062 Mar 24 2015

The wrapper package seems not to be unpacked. During installation it is
detected which package should be unpacked (32 bi, 64bit, mac etc.).

Did you install with the rpm packages?

Did you see any error messages during the installation?

Kind regards,

Martijn Brinkers