directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Seelmann (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (DIRSERVER-2066) ApacheDS installers/tgz fails to start
Date Mon, 25 May 2015 10:09:17 GMT

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

Stefan Seelmann edited comment on DIRSERVER-2066 at 5/25/15 10:09 AM:
----------------------------------------------------------------------

Something is strange: When I run {{mvn clean install \-DskipTests \-Pinstallers \-Pdocker}}
from apacheds project the generated installers contain the apacheds-service-*.jar but also
all other dependent jars, this explains the above error. However when I run the command from
apahceds/installers only the apacheds-service-*jar in included and everything works fine.



was (Author: seelmann):
Something is strange: When I run {{monospaced}}mvn clean install \-DskipTests \-Pinstallers
\-Pdocker{{monospaced}} from apacheds project the generated installers contain the apacheds-service-*.jar
but also all other dependent jars, this explains the above error. However when I run the command
from apahceds/installers only the apacheds-service-*jar in included and everything works fine.


> ApacheDS installers/tgz fails to start
> --------------------------------------
>
>                 Key: DIRSERVER-2066
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-2066
>             Project: Directory ApacheDS
>          Issue Type: Bug
>            Reporter: Stefan Seelmann
>
> Installer tests fail with following error:
> {code}
> org.apache.directory.api.ldap.schema.extractor.UniqueResourceException: Problem locating
LDIF file in schema repository
> Multiple copies of resource named 'schema/ou=schema/cn=apachedns/ou=objectclasses/m-oid=1.3.6.1.4.1.18060.0.4.2.3.9.ldif'
located on classpath at urls
>     jar:file:/xxx/installers/target/installers/apacheds-archive-tar.gz/apacheds-2.0.0-M21-SNAPSHOT/lib/apacheds-service-2.0.0-M21-SNAPSHOT.jar!/schema/ou%3dschema/cn%3dapachedns/ou%3dobjectclasses/m-oid%3d1.3.6.1.4.1.18060.0.4.2.3.9.ldif
>     jar:file:/xxx/installers/apacheds-archive-tar.gz/apacheds-2.0.0-M21-SNAPSHOT/lib/api-ldap-schema-data-1.0.0-M31-SNAPSHOT.jar!/schema/ou%3dschema/cn%3dapachedns/ou%3dobjectclasses/m-oid%3d1.3.6.1.4.1.18060.0.4.2.3.9.ldif
>         at org.apache.directory.api.ldap.schema.extractor.impl.DefaultSchemaLdifExtractor.getUniqueResource(DefaultSchemaLdifExtractor.java:372)
>         at org.apache.directory.api.ldap.schema.extractor.impl.DefaultSchemaLdifExtractor.getUniqueResourceAsStream(DefaultSchemaLdifExtractor.java:349)
>         at org.apache.directory.api.ldap.schema.extractor.impl.DefaultSchemaLdifExtractor.extractFromClassLoader(DefaultSchemaLdifExtractor.java:387)
>         at org.apache.directory.api.ldap.schema.extractor.impl.DefaultSchemaLdifExtractor.extractOrCopy(DefaultSchemaLdifExtractor.java:163)
>         at org.apache.directory.api.ldap.schema.extractor.impl.DefaultSchemaLdifExtractor.extractOrCopy(DefaultSchemaLdifExtractor.java:183)
>         at org.apache.directory.server.ApacheDsService.initSchemaManager(ApacheDsService.java:239)
>         at org.apache.directory.server.ApacheDsService.start(ApacheDsService.java:169)
>         at org.apache.directory.server.UberjarMain.start(UberjarMain.java:76)
>         at org.apache.directory.server.UberjarMain.main(UberjarMain.java:54)
> {code}



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

Mime
View raw message