[jira] [Commented] (DIRSERVER-1606) DefaultSchemaLdifExtractor chokes when using apacheds-all Maven artifact

2016-03-30 Thread Cristian Tarsoaga (JIRA)

[ 
https://issues.apache.org/jira/browse/DIRSERVER-1606?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15217646#comment-15217646
 ] 

Cristian Tarsoaga commented on DIRSERVER-1606:
--

I hit this issue while doing some unit tests, following this wiki

https://cwiki.apache.org/confluence/display/DIRxSRVx11/4.2.+Using+ApacheDS+for+unit+tests

... where boh jars are used as dependenciea

> DefaultSchemaLdifExtractor chokes when using apacheds-all Maven artifact
> 
>
> Key: DIRSERVER-1606
> URL: https://issues.apache.org/jira/browse/DIRSERVER-1606
> Project: Directory ApacheDS
>  Issue Type: Bug
>Affects Versions: 1.5.7
>Reporter: Holger Pretzsch
> Fix For: 2.0.0-RC1
>
>
> When using the apacheds-all Maven artifact, the DefaultSchemaLdifExtractor 
> does not work. Apparently, because of the Maven dependency setup, the default 
> schema is on the classpath in two (probably identical?) versions.
> org.apache.directory.shared.ldap.schema.ldif.extractor.UniqueResourceException:
>  Problem locating LDIF file in schema repository
> Multiple copies of resource named 
> 'schema/ou=schema/cn=apachedns/ou=syntaxes.ldif' located on classpath at urls
> 
> jar:file:/C:/Users/holger/.gradle/cache/org.apache.directory.server/apacheds-all/jars/apacheds-all-1.5.7.jar!/schema/ou%3dschema/cn%3dapachedns/ou%3dsyntaxes.ldif
> 
> jar:file:/C:/Users/holger/.gradle/cache/org.apache.directory.shared/shared-ldap-schema/jars/shared-ldap-schema-0.9.19.jar!/schema/ou%3dschema/cn%3dapachedns/ou%3dsyntaxes.ldif
>   at 
> org.apache.directory.shared.ldap.schema.ldif.extractor.impl.DefaultSchemaLdifExtractor.getUniqueResource(DefaultSchemaLdifExtractor.java:371)
>   at 
> org.apache.directory.shared.ldap.schema.ldif.extractor.impl.DefaultSchemaLdifExtractor.getUniqueResourceAsStream(DefaultSchemaLdifExtractor.java:347)
>   at 
> org.apache.directory.shared.ldap.schema.ldif.extractor.impl.DefaultSchemaLdifExtractor.extractFromJar(DefaultSchemaLdifExtractor.java:386)
>   at 
> org.apache.directory.shared.ldap.schema.ldif.extractor.impl.DefaultSchemaLdifExtractor.extractOrCopy(DefaultSchemaLdifExtractor.java:151)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (DIRSERVER-1606) DefaultSchemaLdifExtractor chokes when using apacheds-all Maven artifact

2016-03-30 Thread Emmanuel Lecharny (JIRA)

[ 
https://issues.apache.org/jira/browse/DIRSERVER-1606?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15217596#comment-15217596
 ] 

Emmanuel Lecharny commented on DIRSERVER-1606:
--

{{apacheds-all}} does not include any dependency on {{server-integ}}, and 
{{server-integ}} is really meant to be used for tests only. There is some 
overlap between those two components. Whether we need to remove the overlap, or 
to create a special package for tests (that would include {{server-integ}}) is 
what need to be discussed, AFAICT.

wdyt ?

> DefaultSchemaLdifExtractor chokes when using apacheds-all Maven artifact
> 
>
> Key: DIRSERVER-1606
> URL: https://issues.apache.org/jira/browse/DIRSERVER-1606
> Project: Directory ApacheDS
>  Issue Type: Bug
>Affects Versions: 1.5.7
>Reporter: Holger Pretzsch
> Fix For: 2.0.0-RC1
>
>
> When using the apacheds-all Maven artifact, the DefaultSchemaLdifExtractor 
> does not work. Apparently, because of the Maven dependency setup, the default 
> schema is on the classpath in two (probably identical?) versions.
> org.apache.directory.shared.ldap.schema.ldif.extractor.UniqueResourceException:
>  Problem locating LDIF file in schema repository
> Multiple copies of resource named 
> 'schema/ou=schema/cn=apachedns/ou=syntaxes.ldif' located on classpath at urls
> 
> jar:file:/C:/Users/holger/.gradle/cache/org.apache.directory.server/apacheds-all/jars/apacheds-all-1.5.7.jar!/schema/ou%3dschema/cn%3dapachedns/ou%3dsyntaxes.ldif
> 
> jar:file:/C:/Users/holger/.gradle/cache/org.apache.directory.shared/shared-ldap-schema/jars/shared-ldap-schema-0.9.19.jar!/schema/ou%3dschema/cn%3dapachedns/ou%3dsyntaxes.ldif
>   at 
> org.apache.directory.shared.ldap.schema.ldif.extractor.impl.DefaultSchemaLdifExtractor.getUniqueResource(DefaultSchemaLdifExtractor.java:371)
>   at 
> org.apache.directory.shared.ldap.schema.ldif.extractor.impl.DefaultSchemaLdifExtractor.getUniqueResourceAsStream(DefaultSchemaLdifExtractor.java:347)
>   at 
> org.apache.directory.shared.ldap.schema.ldif.extractor.impl.DefaultSchemaLdifExtractor.extractFromJar(DefaultSchemaLdifExtractor.java:386)
>   at 
> org.apache.directory.shared.ldap.schema.ldif.extractor.impl.DefaultSchemaLdifExtractor.extractOrCopy(DefaultSchemaLdifExtractor.java:151)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (DIRSERVER-1606) DefaultSchemaLdifExtractor chokes when using apacheds-all Maven artifact

2016-03-30 Thread Cristian Tarsoaga (JIRA)

[ 
https://issues.apache.org/jira/browse/DIRSERVER-1606?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15217572#comment-15217572
 ] 

Cristian Tarsoaga commented on DIRSERVER-1606:
--

the issue is caused by having both apacheds-all and apacheds-server-integ jars 
as dependencies

having previously tested with a JNDI client, I was able to get rid of the 
problem by only using apacheds-all (and removing apacheds-server-integ)

I just tried with apache-ds client api too, and I was able to get rid of the 
issue by only using apacheds-server-integ (and removing apacheds-all)

> DefaultSchemaLdifExtractor chokes when using apacheds-all Maven artifact
> 
>
> Key: DIRSERVER-1606
> URL: https://issues.apache.org/jira/browse/DIRSERVER-1606
> Project: Directory ApacheDS
>  Issue Type: Bug
>Affects Versions: 1.5.7
>Reporter: Holger Pretzsch
> Fix For: 2.0.0-RC1
>
>
> When using the apacheds-all Maven artifact, the DefaultSchemaLdifExtractor 
> does not work. Apparently, because of the Maven dependency setup, the default 
> schema is on the classpath in two (probably identical?) versions.
> org.apache.directory.shared.ldap.schema.ldif.extractor.UniqueResourceException:
>  Problem locating LDIF file in schema repository
> Multiple copies of resource named 
> 'schema/ou=schema/cn=apachedns/ou=syntaxes.ldif' located on classpath at urls
> 
> jar:file:/C:/Users/holger/.gradle/cache/org.apache.directory.server/apacheds-all/jars/apacheds-all-1.5.7.jar!/schema/ou%3dschema/cn%3dapachedns/ou%3dsyntaxes.ldif
> 
> jar:file:/C:/Users/holger/.gradle/cache/org.apache.directory.shared/shared-ldap-schema/jars/shared-ldap-schema-0.9.19.jar!/schema/ou%3dschema/cn%3dapachedns/ou%3dsyntaxes.ldif
>   at 
> org.apache.directory.shared.ldap.schema.ldif.extractor.impl.DefaultSchemaLdifExtractor.getUniqueResource(DefaultSchemaLdifExtractor.java:371)
>   at 
> org.apache.directory.shared.ldap.schema.ldif.extractor.impl.DefaultSchemaLdifExtractor.getUniqueResourceAsStream(DefaultSchemaLdifExtractor.java:347)
>   at 
> org.apache.directory.shared.ldap.schema.ldif.extractor.impl.DefaultSchemaLdifExtractor.extractFromJar(DefaultSchemaLdifExtractor.java:386)
>   at 
> org.apache.directory.shared.ldap.schema.ldif.extractor.impl.DefaultSchemaLdifExtractor.extractOrCopy(DefaultSchemaLdifExtractor.java:151)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (DIRSERVER-1606) DefaultSchemaLdifExtractor chokes when using apacheds-all Maven artifact

2016-03-29 Thread Emmanuel Lecharny (JIRA)

[ 
https://issues.apache.org/jira/browse/DIRSERVER-1606?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15217038#comment-15217038
 ] 

Emmanuel Lecharny commented on DIRSERVER-1606:
--

Maybe, but using JNDI would defeat the whole purpose we are trying to reach : 
get rid of JNDI.

There is definitively something wrong with the fact that we have 2 places where 
the schema files are located, and that is what need to be fixed.

> DefaultSchemaLdifExtractor chokes when using apacheds-all Maven artifact
> 
>
> Key: DIRSERVER-1606
> URL: https://issues.apache.org/jira/browse/DIRSERVER-1606
> Project: Directory ApacheDS
>  Issue Type: Bug
>Affects Versions: 1.5.7
>Reporter: Holger Pretzsch
> Fix For: 2.0.0-RC1
>
>
> When using the apacheds-all Maven artifact, the DefaultSchemaLdifExtractor 
> does not work. Apparently, because of the Maven dependency setup, the default 
> schema is on the classpath in two (probably identical?) versions.
> org.apache.directory.shared.ldap.schema.ldif.extractor.UniqueResourceException:
>  Problem locating LDIF file in schema repository
> Multiple copies of resource named 
> 'schema/ou=schema/cn=apachedns/ou=syntaxes.ldif' located on classpath at urls
> 
> jar:file:/C:/Users/holger/.gradle/cache/org.apache.directory.server/apacheds-all/jars/apacheds-all-1.5.7.jar!/schema/ou%3dschema/cn%3dapachedns/ou%3dsyntaxes.ldif
> 
> jar:file:/C:/Users/holger/.gradle/cache/org.apache.directory.shared/shared-ldap-schema/jars/shared-ldap-schema-0.9.19.jar!/schema/ou%3dschema/cn%3dapachedns/ou%3dsyntaxes.ldif
>   at 
> org.apache.directory.shared.ldap.schema.ldif.extractor.impl.DefaultSchemaLdifExtractor.getUniqueResource(DefaultSchemaLdifExtractor.java:371)
>   at 
> org.apache.directory.shared.ldap.schema.ldif.extractor.impl.DefaultSchemaLdifExtractor.getUniqueResourceAsStream(DefaultSchemaLdifExtractor.java:347)
>   at 
> org.apache.directory.shared.ldap.schema.ldif.extractor.impl.DefaultSchemaLdifExtractor.extractFromJar(DefaultSchemaLdifExtractor.java:386)
>   at 
> org.apache.directory.shared.ldap.schema.ldif.extractor.impl.DefaultSchemaLdifExtractor.extractOrCopy(DefaultSchemaLdifExtractor.java:151)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (DIRSERVER-1606) DefaultSchemaLdifExtractor chokes when using apacheds-all Maven artifact

2016-03-29 Thread Cristian Tarsoaga (JIRA)

[ 
https://issues.apache.org/jira/browse/DIRSERVER-1606?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15216778#comment-15216778
 ] 

Cristian Tarsoaga commented on DIRSERVER-1606:
--

issue seems to be avoided by simply keeping apacheds-all dependency only in the 
test scope

There is no need for apacheds-server-integ, nor apacheds-core-integ, which were 
suggested by the old documentation: 
https://cwiki.apache.org/confluence/display/DIRxSRVx11/4.2.+Using+ApacheDS+for+unit+tests

tested with apacheds 2.0.0-M22

> DefaultSchemaLdifExtractor chokes when using apacheds-all Maven artifact
> 
>
> Key: DIRSERVER-1606
> URL: https://issues.apache.org/jira/browse/DIRSERVER-1606
> Project: Directory ApacheDS
>  Issue Type: Bug
>Affects Versions: 1.5.7
>Reporter: Holger Pretzsch
> Fix For: 2.0.0-RC1
>
>
> When using the apacheds-all Maven artifact, the DefaultSchemaLdifExtractor 
> does not work. Apparently, because of the Maven dependency setup, the default 
> schema is on the classpath in two (probably identical?) versions.
> org.apache.directory.shared.ldap.schema.ldif.extractor.UniqueResourceException:
>  Problem locating LDIF file in schema repository
> Multiple copies of resource named 
> 'schema/ou=schema/cn=apachedns/ou=syntaxes.ldif' located on classpath at urls
> 
> jar:file:/C:/Users/holger/.gradle/cache/org.apache.directory.server/apacheds-all/jars/apacheds-all-1.5.7.jar!/schema/ou%3dschema/cn%3dapachedns/ou%3dsyntaxes.ldif
> 
> jar:file:/C:/Users/holger/.gradle/cache/org.apache.directory.shared/shared-ldap-schema/jars/shared-ldap-schema-0.9.19.jar!/schema/ou%3dschema/cn%3dapachedns/ou%3dsyntaxes.ldif
>   at 
> org.apache.directory.shared.ldap.schema.ldif.extractor.impl.DefaultSchemaLdifExtractor.getUniqueResource(DefaultSchemaLdifExtractor.java:371)
>   at 
> org.apache.directory.shared.ldap.schema.ldif.extractor.impl.DefaultSchemaLdifExtractor.getUniqueResourceAsStream(DefaultSchemaLdifExtractor.java:347)
>   at 
> org.apache.directory.shared.ldap.schema.ldif.extractor.impl.DefaultSchemaLdifExtractor.extractFromJar(DefaultSchemaLdifExtractor.java:386)
>   at 
> org.apache.directory.shared.ldap.schema.ldif.extractor.impl.DefaultSchemaLdifExtractor.extractOrCopy(DefaultSchemaLdifExtractor.java:151)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (DIRSERVER-1606) DefaultSchemaLdifExtractor chokes when using apacheds-all Maven artifact

2013-07-19 Thread lucas theisen (JIRA)

[ 
https://issues.apache.org/jira/browse/DIRSERVER-1606?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13714071#comment-13714071
 ] 

lucas theisen commented on DIRSERVER-1606:
--

Updated aspect for 2.0.0-M14

package org.mitre.apacheds;


import java.io.IOException;
import java.net.URL;
import java.util.Enumeration;


import org.apache.directory.shared.ldap.schemaextractor.UniqueResourceException;
import 
org.apache.directory.shared.ldap.schemaextractor.impl.DefaultSchemaLdifExtractor;
import org.aspectj.lang.annotation.Around;
import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Pointcut;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;


/**
 * An aspect workaround for https://issues.apache.org/jira/browse/DIRSERVER-1606";
 * >DIRSERVER-1606
 * 
 * @author LTHEISEN
 */
@Aspect
public class GetUniqueResourceReplacer {
private static final Logger log = LoggerFactory.getLogger( 
GetUniqueResourceReplacer.class );

@Pointcut( "execution(* 
org.apache.directory.api.ldap.schemaextractor.impl.DefaultSchemaLdifExtractor.getUniqueResource(String,String))
 &&" +
"args(resourceName,resourceDescription)" )
private void getUniqueResourceReplacer( String resourceName, String 
resourceDescription ) {}

@Around( 
"org.mitre.apacheds.GetUniqueResourceReplacer.getUniqueResourceReplacer(resourceName,resourceDescription)"
 )
public URL getFirstMatchingResource( String resourceName, String 
resourceDescription ) throws IOException {
Enumeration resources = 
DefaultSchemaLdifExtractor.class.getClassLoader().getResources( resourceName );
if ( !resources.hasMoreElements() ) {
throw new UniqueResourceException( resourceName, 
resourceDescription );
}
URL result = resources.nextElement();
if ( resources.hasMoreElements() ) {
log.debug( "found more than one copy of " + resourceName + " using 
first one" );
}
return result;
}
}


> DefaultSchemaLdifExtractor chokes when using apacheds-all Maven artifact
> 
>
> Key: DIRSERVER-1606
> URL: https://issues.apache.org/jira/browse/DIRSERVER-1606
> Project: Directory ApacheDS
>  Issue Type: Bug
>Affects Versions: 1.5.7
>Reporter: Holger Pretzsch
> Fix For: 2.0.0-RC1
>
>
> When using the apacheds-all Maven artifact, the DefaultSchemaLdifExtractor 
> does not work. Apparently, because of the Maven dependency setup, the default 
> schema is on the classpath in two (probably identical?) versions.
> org.apache.directory.shared.ldap.schema.ldif.extractor.UniqueResourceException:
>  Problem locating LDIF file in schema repository
> Multiple copies of resource named 
> 'schema/ou=schema/cn=apachedns/ou=syntaxes.ldif' located on classpath at urls
> 
> jar:file:/C:/Users/holger/.gradle/cache/org.apache.directory.server/apacheds-all/jars/apacheds-all-1.5.7.jar!/schema/ou%3dschema/cn%3dapachedns/ou%3dsyntaxes.ldif
> 
> jar:file:/C:/Users/holger/.gradle/cache/org.apache.directory.shared/shared-ldap-schema/jars/shared-ldap-schema-0.9.19.jar!/schema/ou%3dschema/cn%3dapachedns/ou%3dsyntaxes.ldif
>   at 
> org.apache.directory.shared.ldap.schema.ldif.extractor.impl.DefaultSchemaLdifExtractor.getUniqueResource(DefaultSchemaLdifExtractor.java:371)
>   at 
> org.apache.directory.shared.ldap.schema.ldif.extractor.impl.DefaultSchemaLdifExtractor.getUniqueResourceAsStream(DefaultSchemaLdifExtractor.java:347)
>   at 
> org.apache.directory.shared.ldap.schema.ldif.extractor.impl.DefaultSchemaLdifExtractor.extractFromJar(DefaultSchemaLdifExtractor.java:386)
>   at 
> org.apache.directory.shared.ldap.schema.ldif.extractor.impl.DefaultSchemaLdifExtractor.extractOrCopy(DefaultSchemaLdifExtractor.java:151)

--
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


[jira] [Commented] (DIRSERVER-1606) DefaultSchemaLdifExtractor chokes when using apacheds-all Maven artifact

2012-04-20 Thread lucas theisen (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/DIRSERVER-1606?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13258505#comment-13258505
 ] 

lucas theisen commented on DIRSERVER-1606:
--

I was able to work around this by adding an aspect:

{code:java}
@Aspect
public class GetUniqueResourceReplacer {
private static final Logger log = LoggerFactory.getLogger( 
GetUniqueResourceReplacer.class );

@SuppressWarnings( "unused" )
@Pointcut( "execution(* 
org.apache.directory.shared.ldap.schema.ldif.extractor.impl.DefaultSchemaLdifExtractor.getUniqueResource(String,String))
 &&" +
"args(resourceName,resourceDescription)" )
private void getUniqueResourceReplacer( String resourceName, String 
resourceDescription ) {
log.warn( "wait, what the heck...  this is a pointcut, not a method!" );
}

@Around( 
"org.mitre.asias.ldap.test.GetUniqueResourceReplacer.getUniqueResourceReplacer(resourceName,resourceDescription)"
 )
public URL getFirstMatchingResource( String resourceName, String 
resourceDescription ) throws IOException {
log.warn( "Hey, you got here... AWESOME!" );
Enumeration resources = 
DefaultSchemaLdifExtractor.class.getClassLoader().getResources( resourceName );
if ( !resources.hasMoreElements() ) {
throw new UniqueResourceException( resourceName, 
resourceDescription );
}
URL result = resources.nextElement();
if ( resources.hasMoreElements() ) {
log.info( "found more than one copy of " + resourceName + " using 
first one" );
}
return result;
}
}
{code}

> DefaultSchemaLdifExtractor chokes when using apacheds-all Maven artifact
> 
>
> Key: DIRSERVER-1606
> URL: https://issues.apache.org/jira/browse/DIRSERVER-1606
> Project: Directory ApacheDS
>  Issue Type: Bug
>Affects Versions: 1.5.7
>Reporter: Holger Pretzsch
> Fix For: 2.0.0-RC1
>
>
> When using the apacheds-all Maven artifact, the DefaultSchemaLdifExtractor 
> does not work. Apparently, because of the Maven dependency setup, the default 
> schema is on the classpath in two (probably identical?) versions.
> org.apache.directory.shared.ldap.schema.ldif.extractor.UniqueResourceException:
>  Problem locating LDIF file in schema repository
> Multiple copies of resource named 
> 'schema/ou=schema/cn=apachedns/ou=syntaxes.ldif' located on classpath at urls
> 
> jar:file:/C:/Users/holger/.gradle/cache/org.apache.directory.server/apacheds-all/jars/apacheds-all-1.5.7.jar!/schema/ou%3dschema/cn%3dapachedns/ou%3dsyntaxes.ldif
> 
> jar:file:/C:/Users/holger/.gradle/cache/org.apache.directory.shared/shared-ldap-schema/jars/shared-ldap-schema-0.9.19.jar!/schema/ou%3dschema/cn%3dapachedns/ou%3dsyntaxes.ldif
>   at 
> org.apache.directory.shared.ldap.schema.ldif.extractor.impl.DefaultSchemaLdifExtractor.getUniqueResource(DefaultSchemaLdifExtractor.java:371)
>   at 
> org.apache.directory.shared.ldap.schema.ldif.extractor.impl.DefaultSchemaLdifExtractor.getUniqueResourceAsStream(DefaultSchemaLdifExtractor.java:347)
>   at 
> org.apache.directory.shared.ldap.schema.ldif.extractor.impl.DefaultSchemaLdifExtractor.extractFromJar(DefaultSchemaLdifExtractor.java:386)
>   at 
> org.apache.directory.shared.ldap.schema.ldif.extractor.impl.DefaultSchemaLdifExtractor.extractOrCopy(DefaultSchemaLdifExtractor.java:151)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (DIRSERVER-1606) DefaultSchemaLdifExtractor chokes when using apacheds-all Maven artifact

2011-11-08 Thread Vipul Delwadia (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/DIRSERVER-1606?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13146515#comment-13146515
 ] 

Vipul Delwadia commented on DIRSERVER-1606:
---

Is there a workaround for this issue?

> DefaultSchemaLdifExtractor chokes when using apacheds-all Maven artifact
> 
>
> Key: DIRSERVER-1606
> URL: https://issues.apache.org/jira/browse/DIRSERVER-1606
> Project: Directory ApacheDS
>  Issue Type: Bug
>Affects Versions: 1.5.7
>Reporter: Holger Pretzsch
> Fix For: 2.0.0-RC1
>
>
> When using the apacheds-all Maven artifact, the DefaultSchemaLdifExtractor 
> does not work. Apparently, because of the Maven dependency setup, the default 
> schema is on the classpath in two (probably identical?) versions.
> org.apache.directory.shared.ldap.schema.ldif.extractor.UniqueResourceException:
>  Problem locating LDIF file in schema repository
> Multiple copies of resource named 
> 'schema/ou=schema/cn=apachedns/ou=syntaxes.ldif' located on classpath at urls
> 
> jar:file:/C:/Users/holger/.gradle/cache/org.apache.directory.server/apacheds-all/jars/apacheds-all-1.5.7.jar!/schema/ou%3dschema/cn%3dapachedns/ou%3dsyntaxes.ldif
> 
> jar:file:/C:/Users/holger/.gradle/cache/org.apache.directory.shared/shared-ldap-schema/jars/shared-ldap-schema-0.9.19.jar!/schema/ou%3dschema/cn%3dapachedns/ou%3dsyntaxes.ldif
>   at 
> org.apache.directory.shared.ldap.schema.ldif.extractor.impl.DefaultSchemaLdifExtractor.getUniqueResource(DefaultSchemaLdifExtractor.java:371)
>   at 
> org.apache.directory.shared.ldap.schema.ldif.extractor.impl.DefaultSchemaLdifExtractor.getUniqueResourceAsStream(DefaultSchemaLdifExtractor.java:347)
>   at 
> org.apache.directory.shared.ldap.schema.ldif.extractor.impl.DefaultSchemaLdifExtractor.extractFromJar(DefaultSchemaLdifExtractor.java:386)
>   at 
> org.apache.directory.shared.ldap.schema.ldif.extractor.impl.DefaultSchemaLdifExtractor.extractOrCopy(DefaultSchemaLdifExtractor.java:151)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira