Return-Path: X-Original-To: apmail-directory-dev-archive@www.apache.org Delivered-To: apmail-directory-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B19C57AA2 for ; Tue, 9 Aug 2011 08:59:20 +0000 (UTC) Received: (qmail 55505 invoked by uid 500); 9 Aug 2011 08:59:20 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 55195 invoked by uid 500); 9 Aug 2011 08:59:16 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Received: (qmail 54855 invoked by uid 99); 9 Aug 2011 08:58:52 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Aug 2011 08:58:52 +0000 X-ASF-Spam-Status: No, hits=-2000.8 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Aug 2011 08:58:48 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 4439BB3BA0 for ; Tue, 9 Aug 2011 08:58:27 +0000 (UTC) Date: Tue, 9 Aug 2011 08:58:27 +0000 (UTC) From: "Emmanuel Lecharny (JIRA)" To: dev@directory.apache.org Message-ID: <1214311533.19488.1312880307276.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1303242269.11170.1310131816566.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Closed] (DIRSERVER-1633) Startup failure after first startup MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DIRSERVER-1633?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Emmanuel Lecharny closed DIRSERVER-1633. ---------------------------------------- > Startup failure after first startup > ----------------------------------- > > Key: DIRSERVER-1633 > URL: https://issues.apache.org/jira/browse/DIRSERVER-1633 > Project: Directory ApacheDS > Issue Type: Bug > Components: core > Reporter: Alex Karasulu > Assignee: Alex Karasulu > Priority: Blocker > Fix For: 2.0.0-M2 > > Original Estimate: 2h > Remaining Estimate: 2h > > The http-integration module allows wars to be put into the /var/lib/apacheds-${version}/webapps folder to be deployed into the integrated Jetty server which provides access directly to the DirectoryService without apps having to go through the network. > Adding a war to this causes the following stack trace which prevents the server from starting up. Seems to be a bug recently introduced. > [16:24:07] ERROR [org.apache.directory.server.core.schema.SchemaPartition] - ERR_90 Failed to initialize wrapped partition. > org.apache.directory.shared.ldap.model.exception.LdapOtherException: ERR_250_ENTRY_ALREADY_EXISTS cn=schemaModifications,ou=schema already exists! > at org.apache.directory.server.core.partition.AbstractPartition.initialize(AbstractPartition.java:77) > at org.apache.directory.server.core.schema.SchemaPartition.doInit(SchemaPartition.java:221) > at org.apache.directory.server.core.partition.AbstractPartition.initialize(AbstractPartition.java:72) > at org.apache.directory.server.core.DefaultDirectoryService.initialize(DefaultDirectoryService.java:1502) > at org.apache.directory.server.core.DefaultDirectoryService.startup(DefaultDirectoryService.java:979) > at org.apache.directory.server.ApacheDsService.initDirectoryService(ApacheDsService.java:279) > at org.apache.directory.server.ApacheDsService.start(ApacheDsService.java:163) > at org.apache.directory.server.ApacheDsTanukiWrapper.start(ApacheDsTanukiWrapper.java:71) > at org.tanukisoftware.wrapper.WrapperManager$12.run(WrapperManager.java:2788) > Caused by: org.apache.directory.shared.ldap.model.exception.LdapEntryAlreadyExistsException: ERR_250_ENTRY_ALREADY_EXISTS cn=schemaModifications,ou=schema already exists! > at org.apache.directory.server.xdbm.AbstractStore.add(AbstractStore.java:800) > at org.apache.directory.server.core.partition.ldif.LdifPartition.loadEntries(LdifPartition.java:475) > at org.apache.directory.server.core.partition.ldif.LdifPartition.loadEntries(LdifPartition.java:493) > at org.apache.directory.server.core.partition.ldif.LdifPartition.doInit(LdifPartition.java:168) > at org.apache.directory.server.core.partition.AbstractPartition.initialize(AbstractPartition.java:72) > ... 8 more > [16:24:07] ERROR [org.apache.directory.server.ApacheDsTanukiWrapper] - Failed to start the service. > org.apache.directory.shared.ldap.model.exception.LdapOtherException: org.apache.directory.shared.ldap.model.exception.LdapOtherException: ERR_250_ENTRY_ALREADY_EXISTS cn=schemaModifications,ou=schema already exists! > at org.apache.directory.server.core.partition.AbstractPartition.initialize(AbstractPartition.java:77) > at org.apache.directory.server.core.DefaultDirectoryService.initialize(DefaultDirectoryService.java:1502) > at org.apache.directory.server.core.DefaultDirectoryService.startup(DefaultDirectoryService.java:979) > at org.apache.directory.server.ApacheDsService.initDirectoryService(ApacheDsService.java:279) > at org.apache.directory.server.ApacheDsService.start(ApacheDsService.java:163) > at org.apache.directory.server.ApacheDsTanukiWrapper.start(ApacheDsTanukiWrapper.java:71) > at org.tanukisoftware.wrapper.WrapperManager$12.run(WrapperManager.java:2788) > Caused by: java.lang.RuntimeException: org.apache.directory.shared.ldap.model.exception.LdapOtherException: ERR_250_ENTRY_ALREADY_EXISTS cn=schemaModifications,ou=schema already exists! > at org.apache.directory.server.core.schema.SchemaPartition.doInit(SchemaPartition.java:235) > at org.apache.directory.server.core.partition.AbstractPartition.initialize(AbstractPartition.java:72) > ... 6 more > Caused by: org.apache.directory.shared.ldap.model.exception.LdapOtherException: ERR_250_ENTRY_ALREADY_EXISTS cn=schemaModifications,ou=schema already exists! > at org.apache.directory.server.core.partition.AbstractPartition.initialize(AbstractPartition.java:77) > at org.apache.directory.server.core.schema.SchemaPartition.doInit(SchemaPartition.java:221) > ... 7 more > Caused by: org.apache.directory.shared.ldap.model.exception.LdapEntryAlreadyExistsException: ERR_250_ENTRY_ALREADY_EXISTS cn=schemaModifications,ou=schema already exists! > at org.apache.directory.server.xdbm.AbstractStore.add(AbstractStore.java:800) > at org.apache.directory.server.core.partition.ldif.LdifPartition.loadEntries(LdifPartition.java:475) > at org.apache.directory.server.core.partition.ldif.LdifPartition.loadEntries(LdifPartition.java:493) > at org.apache.directory.server.core.partition.ldif.LdifPartition.doInit(LdifPartition.java:168) > at org.apache.directory.server.core.partition.AbstractPartition.initialize(AbstractPartition.java:72) > ... 8 more -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira