You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Emmanuel Lecharny (JIRA)" <ji...@apache.org> on 2010/05/26 12:44:51 UTC
[jira] Closed: (DIRSERVER-1353) Server does nore recognize
attributes keystoreFile and certificatePassword in ldapService in
server.xml
[ https://issues.apache.org/jira/browse/DIRSERVER-1353?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Emmanuel Lecharny closed DIRSERVER-1353.
----------------------------------------
> Server does nore recognize attributes keystoreFile and certificatePassword in ldapService in server.xml
> -------------------------------------------------------------------------------------------------------
>
> Key: DIRSERVER-1353
> URL: https://issues.apache.org/jira/browse/DIRSERVER-1353
> Project: Directory ApacheDS
> Issue Type: Bug
> Affects Versions: 1.5.4
> Environment: Configuration
> Reporter: Alfonsas Stonis
> Assignee: Stefan Zoerner
> Priority: Critical
>
> Configuration of keystore does not work.
> I have the following part in server.xml
> <ldapService id="ldapsService"
> enabled="true"
> ipPort="7636"
> enableLdaps="true"
> keystoreFile="/var/lib/apacheds-1.5.4/conf/keystore.ks"
> certificatePassword="welcome">
> <directoryService>#directoryService</directoryService>
> <socketAcceptor>#socketAcceptor</socketAcceptor>
> </ldapService>
> This is as suggested by documentation. However, this causes exception (and failure to start):
> jvm 1 | org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ldapsService' defined in URL [file:/var/lib/apacheds-1.5.4/default/conf/server.xml]: Initialization of bean failed; nested exception is org.springframework.beans.InvalidPropertyException: Invalid property 'certificatePassword' of bean class [org.apache.directory.server.ldap.LdapService]: No property 'certificatePassword' found
> jvm 1 | Caused by:
> jvm 1 | org.springframework.beans.InvalidPropertyException: Invalid property 'certificatePassword' of bean class [org.apache.directory.server.ldap.LdapService]: No property 'certificatePassword' found
> jvm 1 | at org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrapperImpl.java:376)
> jvm 1 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1105)
> jvm 1 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:861)
> jvm 1 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:421)
> jvm 1 | at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:251)
> jvm 1 | at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:156)
> jvm 1 | at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:248)
> jvm 1 | at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
> jvm 1 | at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:287)
> jvm 1 | at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352)
> jvm 1 | at org.apache.xbean.spring.context.FileSystemXmlApplicationContext.<init>(FileSystemXmlApplicationContext.java:149)
> jvm 1 | at org.apache.xbean.spring.context.FileSystemXmlApplicationContext.<init>(FileSystemXmlApplicationContext.java:48)
> jvm 1 | at org.apache.directory.server.Service.init(Service.java:60)
> jvm 1 | at org.apache.directory.daemon.Bootstrapper.callInit(Bootstrapper.java:151)
> jvm 1 | at org.apache.directory.daemon.TanukiBootstrapper.start(TanukiBootstrapper.java:51)
> jvm 1 | at org.tanukisoftware.wrapper.WrapperManager$12.run(WrapperManager.java:2788)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.