Hello,
we have successfully inistalled Ciphermail on Odroid XU3, following the documentation.
The only exception was the java wrapper for ARM, which we downloaded from http://wrapper.tanukisoftware.com/download/3.5.26/wrapper-linux-armhf-32-3.5.26.tar.gz
The current system/status is a s follows:
-Odroid XU3 mit Lubuntu
-Ubuntu 14.04.1 LTS (GNU/Linux 3.10.63 armv7l)
-java version "1.8.0_06"
-Java(TM) SE Runtime Environment (build 1.8.0_06-b23)
-Java HotSpot(TM) Client VM (build 25.6-b23, mixed mode)
The webinterface is running but it shows the message, that the backend isn't running.
/etc/init.d/djigzo restart
returns:
* DJIGZO_HOME=/usr/local/djigzo
* DJIGZO_HOME=/usr/local/djigzo
* Stopping Ciphermail
No /usr/local/djigzo/wrapper/wrapper-djigzo
found running; none killed.
[ OK ]
* DJIGZO_HOME=/usr/local/djigzo
* Starting Ciphermail
* Total memory: MB
* JVM max memory: MB
[ OK ]
In the djigzo.log we find a couple of error messages:
19 Jan 2015 06:51:29 | INFO closing (org.hibernate.impl.SessionFactoryImpl) [Phoenix-Monitor]
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 ref
erence 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.Certifi
cateException,java.io.IOException] threw exception; nested exception is java.security.KeyStoreException: DatabaseKeyStore not found).
at org.apache.avalon.phoenix.containerkit.lifecycle.LifecycleHelper.fail(LifecycleHelper.java:354)
at org.apache.avalon.phoenix.containerkit.lifecycle.LifecycleHelper.startup(LifecycleHelper.java:226)
at org.apache.avalon.phoenix.components.application.DefaultApplication.startup(DefaultApplication.java:530)
at org.apache.avalon.phoenix.components.application.DefaultApplication.doRunPhase(DefaultApplication.java:478)
at org.apache.avalon.phoenix.components.application.DefaultApplication.runPhase(DefaultApplication.java:409)
at org.apache.avalon.phoenix.components.application.DefaultApplication.start(DefaultApplication.java:180)
at org.apache.avalon.framework.container.ContainerUtil.start(ContainerUtil.java:260)
at org.apache.avalon.phoenix.components.kernel.DefaultKernel.startup(DefaultKernel.java:295)
at org.apache.avalon.phoenix.components.kernel.DefaultKernel.addApplication(DefaultKernel.java:376)
at org.apache.avalon.phoenix.components.deployer.DefaultDeployer.deploy(DefaultDeployer.java:357)
at org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployFile(DefaultEmbeddor.java:542)
at org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployFile(DefaultEmbeddor.java:535)
at org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployFiles(DefaultEmbeddor.java:520)
at org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployDefaultApplications(DefaultEmbeddor.java:509)
at org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.execute(DefaultEmbeddor.java:268)
at org.apache.avalon.phoenix.frontends.CLIMain.run(CLIMain.java:198)
at java.lang.Thread.run(Thread.java:745)
Caused by: 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.BeanCreationExcept
ion: 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
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:334)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:108)
at org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:651)
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:145)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1075)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:979)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:487)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:296)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:293)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:198)
at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:657)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:461)
at org.springframework.context.support.FileSystemXmlApplicationContext.<init>(FileSystemXmlApplicationContext.java:140)
at org.springframework.context.support.FileSystemXmlApplicationContext.<init>(FileSystemXmlApplicationContext.java:94)
at mitm.application.djigzo.service.SpringServiceRegistry.<init>(SpringServiceRegistry.java:54)
at mitm.application.djigzo.service.DjigzoServiceRegistry.initializeSpringIOC(DjigzoServiceRegistry.java:46)
at mitm.application.djigzo.service.DjigzoServiceRegistry.initialize(DjigzoServiceRegistry.java:58)
at mitm.application.djigzo.DjigzoConfigurator.initializeRegistry(DjigzoConfigurator.java:156)
at mitm.application.djigzo.DjigzoConfigurator.configure(DjigzoConfigurator.java:226)
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)
... 15 more
There was an uncaught exception:
···
---------------------------------------------------------
--- Message ---
Failed to start application james.
--- Stack Trace ---
org.apache.avalon.phoenix.interfaces.DeploymentException: Failed to start application james.
at org.apache.avalon.phoenix.components.deployer.DefaultDeployer.deploy(DefaultDeployer.java:379)
at org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployFile(DefaultEmbeddor.java:542)
at org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployFile(DefaultEmbeddor.java:535)
at org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployFiles(DefaultEmbeddor.java:520)
at org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployDefaultApplications(DefaultEmbeddor.java:509)
at org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.execute(DefaultEmbeddor.java:268)
at org.apache.avalon.phoenix.frontends.CLIMain.run(CLIMain.java:198)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.apache.avalon.framework.CascadingException: Failed to start application james.
at org.apache.avalon.phoenix.components.kernel.DefaultKernel.startup(DefaultKernel.java:313)
at org.apache.avalon.phoenix.components.kernel.DefaultKernel.addApplication(DefaultKernel.java:376)
at org.apache.avalon.phoenix.components.deployer.DefaultDeployer.deploy(DefaultDeployer.java:357)
... 7 more
Caused by: org.apache.avalon.phoenix.interfaces.ApplicationException: 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 re
ference 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.Certif
icateException,java.io.IOException] threw exception; nested exception is java.security.KeyStoreException: DatabaseKeyStore not found).
at org.apache.avalon.phoenix.components.application.DefaultApplication.start(DefaultApplication.java:186)
at org.apache.avalon.framework.container.ContainerUtil.start(ContainerUtil.java:260)
at org.apache.avalon.phoenix.components.kernel.DefaultKernel.startup(DefaultKernel.java:295)
... 9 more
Caused by: 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.c
ert.CertificateException,java.io.IOException] threw exception; nested exception is java.security.KeyStoreException: DatabaseKeyStore not found).
at org.apache.avalon.phoenix.containerkit.lifecycle.LifecycleHelper.fail(LifecycleHelper.java:354)
at org.apache.avalon.phoenix.containerkit.lifecycle.LifecycleHelper.startup(LifecycleHelper.java:226)
at org.apache.avalon.phoenix.components.application.DefaultApplication.startup(DefaultApplication.java:530)
at org.apache.avalon.phoenix.components.application.DefaultApplication.doRunPhase(DefaultApplication.java:478)
at org.apache.avalon.phoenix.components.application.DefaultApplication.runPhase(DefaultApplication.java:409)
at org.apache.avalon.phoenix.components.application.DefaultApplication.start(DefaultApplication.java:180)
Can anyone tell us what causes the errors and whether it is possible to fix it?
Thanks for any suggestions or hints,
Stefan