Hi,
I'm using ApacheDS 2.0.0-M20 and Apache Directory Studio 2.0.0.v20151221-M10.
When I try to save my server configuration with a keystore file, I get this
error message:
Unable to save configuration.
- ERR_04447_CANNOT_NORMALIZE_VALUE Cannot normalize the wrapped value
ERR_04473_NOT_VALID_VALUE Not a valid value
'C:\bit9prog\dev\ApacheDS\instances\default\conf\F1710-7M6GY52-L.jks' for the
AttributeType 'attributetype ( 1.3.6.1.4.1.18060.0.4.1.2.308 NAME
'ads-keystoreFile
org.apache.directory.api.ldap.model.exception.LdapInvalidAttributeValueException:
ERR_04447_CANNOT_NORMALIZE_VALUE Cannot normalize the wrapped value
ERR_04473_NOT_VALID_VALUE Not a valid value
'C:\bit9prog\dev\ApacheDS\instances\default\conf\F1710-7M6GY52-L.jks' for the
AttributeType 'attributetype ( 1.3.6.1.4.1.18060.0.4.1.2.308 NAME
'ads-keystoreFile'
DESC 'The keystore file to use to store certificates'
EQUALITY caseExactMatch
ORDERING caseExactOrderingMatch
SUBSTR caseExactSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
SINGLE-VALUE
USAGE userApplications )'
at
org.apache.directory.api.ldap.model.entry.AbstractValue.apply(AbstractValue.java:226)
at
org.apache.directory.api.ldap.model.entry.StringValue.<init>(StringValue.java:122)
at
org.apache.directory.api.ldap.model.entry.DefaultAttribute.<init>(DefaultAttribute.java:478)
at
org.apache.directory.api.ldap.model.entry.DefaultEntry.<init>(DefaultEntry.java:315)
at
org.apache.directory.studio.apacheds.configuration.editor.ServerConfigurationEditorUtils.saveConfiguration(ServerConfigurationEditorUtils.java:332)
at
org.apache.directory.studio.apacheds.configuration.jobs.SaveConfigurationRunnable.run(SaveConfigurationRunnable.java:109)
at
org.apache.directory.studio.common.core.jobs.StudioJob.run(StudioJob.java:85)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by:
org.apache.directory.api.ldap.model.exception.LdapInvalidAttributeValueException:
ERR_04473_NOT_VALID_VALUE Not a valid value
'C:\bit9prog\dev\ApacheDS\instances\default\conf\F1710-7M6GY52-L.jks' for the
AttributeType 'attributetype ( 1.3.6.1.4.1.18060.0.4.1.2.308 NAME
'ads-keystoreFile'
DESC 'The keystore file to use to store certificates'
EQUALITY caseExactMatch
ORDERING caseExactOrderingMatch
SUBSTR caseExactSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
SINGLE-VALUE
USAGE userApplications )'
at
org.apache.directory.api.ldap.model.entry.AbstractValue.apply(AbstractValue.java:219)
... 7 more
ERR_04447_CANNOT_NORMALIZE_VALUE Cannot normalize the wrapped value
ERR_04473_NOT_VALID_VALUE Not a valid value
'C:\bit9prog\dev\ApacheDS\instances\default\conf\F1710-7M6GY52-L.jks' for the
AttributeType 'attributetype ( 1.3.6.1.4.1.18060.0.4.1.2.308 NAME
'ads-keystoreFile'
DESC 'The keystore file to use to store certificates'
EQUALITY caseExactMatch
ORDERING caseExactOrderingMatch
SUBSTR caseExactSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
SINGLE-VALUE
USAGE userApplications )'
I've seen this issue in the dev mailing list but the work-around, changing "\"
to "/" in the path, throws this exception:
Unable to save configuration.
- Changes could not be saved to the connection.
java.lang.Exception: Changes could not be saved to the connection.
at
org.apache.directory.studio.apacheds.configuration.editor.ServerConfigurationEditorUtils.saveConfiguration(ServerConfigurationEditorUtils.java:370)
at
org.apache.directory.studio.apacheds.configuration.jobs.SaveConfigurationRunnable.run(SaveConfigurationRunnable.java:109)
at
org.apache.directory.studio.common.core.jobs.StudioJob.run(StudioJob.java:85)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
I tried building Studio from trunk, but got an exception during the maven build.
Is there a fix for this problem or an earlier or later version of Studio that
doesn't have it?
Thanks.