directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny (JIRA)" <j...@apache.org>
Subject [jira] [Created] (DIRSERVER-1758) Error when setting the bad alis deref mode in replication
Date Fri, 09 Nov 2012 16:00:11 GMT
Emmanuel Lecharny created DIRSERVER-1758:
--------------------------------------------

             Summary: Error when setting the bad alis deref mode in replication
                 Key: DIRSERVER-1758
                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1758
             Project: Directory ApacheDS
          Issue Type: Bug
    Affects Versions: 2.0.0-M9
            Reporter: Emmanuel Lecharny
             Fix For: 2.0.0-M9


If we set the value of the ads-replAliasDerefMode parameter to "always", we get this exception
:

[16:53:30] WARN [org.apache.directory.server.core.DefaultDirectoryService] - You didn't change
the admin password of directory service instance 'default'.  Please update the admin password
as soon as possible to prevent a possible security breach.
org.apache.directory.server.config.ConfigurationException: cannot configure the replication
consumer with FQCN null
	at org.apache.directory.server.config.builder.ServiceBuilder.createReplConsumers(ServiceBuilder.java:1072)
	at org.apache.directory.server.config.builder.ServiceBuilder.createLdapServer(ServiceBuilder.java:992)
	at org.apache.directory.server.ApacheDsService.startLdap(ApacheDsService.java:372)
	at org.apache.directory.server.ApacheDsService.start(ApacheDsService.java:183)
	at org.apache.directory.server.UberjarMain.main(UberjarMain.java:58)
Caused by: java.lang.IllegalArgumentException: alias deref mode should only be set to either
'NEVER_DEREF_ALIASES' or 'DEREF_FINDING_BASE_OBJ'
	at org.apache.directory.server.ldap.replication.SyncreplConfiguration.setAliasDerefMode(SyncreplConfiguration.java:429)
	at org.apache.directory.server.config.builder.ServiceBuilder.createReplConsumers(ServiceBuilder.java:1042)
	... 4 more
[16:53:30] ERROR [org.apache.directory.server.UberjarMain] - Failed to start the service.
org.apache.directory.server.config.ConfigurationException: cannot configure the replication
consumer with FQCN null
	at org.apache.directory.server.config.builder.ServiceBuilder.createReplConsumers(ServiceBuilder.java:1072)
	at org.apache.directory.server.config.builder.ServiceBuilder.createLdapServer(ServiceBuilder.java:992)
	at org.apache.directory.server.ApacheDsService.startLdap(ApacheDsService.java:372)
	at org.apache.directory.server.ApacheDsService.start(ApacheDsService.java:183)
	at org.apache.directory.server.UberjarMain.main(UberjarMain.java:58)
Caused by: java.lang.IllegalArgumentException: alias deref mode should only be set to either
'NEVER_DEREF_ALIASES' or 'DEREF_FINDING_BASE_OBJ'
	at org.apache.directory.server.ldap.replication.SyncreplConfiguration.setAliasDerefMode(SyncreplConfiguration.java:429)
	at org.apache.directory.server.config.builder.ServiceBuilder.createReplConsumers(ServiceBuilder.java:1042)
	... 4 more


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message