From users-return-4136-apmail-directory-users-archive=directory.apache.org@directory.apache.org Mon Oct 10 23:05:14 2011 Return-Path: X-Original-To: apmail-directory-users-archive@www.apache.org Delivered-To: apmail-directory-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A95BB705C for ; Mon, 10 Oct 2011 23:05:14 +0000 (UTC) Received: (qmail 78837 invoked by uid 500); 10 Oct 2011 23:05:14 -0000 Delivered-To: apmail-directory-users-archive@directory.apache.org Received: (qmail 78812 invoked by uid 500); 10 Oct 2011 23:05:14 -0000 Mailing-List: contact users-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@directory.apache.org Delivered-To: mailing list users@directory.apache.org Delivered-To: moderator for users@directory.apache.org Received: (qmail 65568 invoked by uid 99); 10 Oct 2011 21:43:47 -0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) X-Yahoo-Newman-Property: ymail-5 X-Yahoo-Newman-Id: 622483.93011.bm@omp1045.mail.sp2.yahoo.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1318282997; bh=gfKiA9gH1F1ibWtGACwCAMTN9RJbYB96dywTocf2vWU=; h=X-YMail-OSG:Received:X-Mailer:Message-ID:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=SaSpxFnIxOU3FWHL0dijIz367+StafN8ZS42ZoFbEqvwWn1RXU+8ov2S6XopDLGrnJ+UtnyjLKfTCgZZk7qa5Vv+B6U8IeqyIiWbSisvaYL0FY7CqAoLJbemSe7Cc5bBamY4hVeiFALaq5AXQsCZZVBX/j8aTRM0qDdv3ITxcmQ= DomainKey-Signature:a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Message-ID:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=fsDwO2ZJ/w1JEoCsNHcxTaAre/sIhpbGmSSknoiDt6XX8Q0XLDEGN5l1jXzRlOuQ9Rek6/Zz+TlGJfN/WEfXAkA3sFsrkqYtRgsIisP3jflH207j4uePmxbGkDI1TS9SO+ihL23iXoqhGinDr2n+SQbg2/KeuhcBV9G3xhTOv1s=; X-YMail-OSG: 7Lew0KcVM1mv_UEZlSpO5Vigyyx2DOjMB98kCmQ_dV0_vok n9vOoeD.Y.VaDFcySkyW50l7NfTy018ZqFNq9KINKffCarsAhBCBnFXBVRbn mQ3Ef0JdbJWroxya9mcQnMgIEcUnlAM08RBXDv4avdubh1o9H3qzBmQCjWFq bmMuNYcG.kwpt7EG.Qdfr7BcmzsnxmW63TEENkyapoirz_UwiGAxODEBeeVD cWheVg0KBvgNmt4Ww80obCgUzCpUM0jtkiv3hGAZABrJY7pTHg4U5vYdQHHH tnwZXX1_GRsvODi762a3BS7sIOPP6sdsNx6Oo3phLG32QBijfdnz7v1qVy4r Sa1WFi4CSyDqiuHaCOtysTxVbdFa9bIg_j2OHHwsMcBhYFx93zQPRE.EmWKb UF4sQzp5faBh0iCjsPQgV4IsWQG09St8waRxuRmyYSMXLg0cmInSx1JSrWQ0 bJw-- X-Mailer: YahooMailWebService/0.8.114.317681 Message-ID: <1318282997.55202.YahooMailNeo@web113513.mail.gq1.yahoo.com> Date: Mon, 10 Oct 2011 14:43:17 -0700 (PDT) From: Steve Hayden Reply-To: Steve Hayden Subject: Question regarding migration from ApachDS 1.5.5 to 2.0 To: "users@directory.apache.org" MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="-2143737731-698585661-1318282997=:55202" ---2143737731-698585661-1318282997=:55202 Content-Type: text/plain; charset=us-ascii Greetings, We are in the process of migrating from ApacheDS 1.5.5 to ApacheDS 2.0, and are seeing a lot of exceptions with regard to the following imports/etc (the following is actually a subset of the errors we are seeing, which are mostly "cannot be resolved"): import org.apache.directory.server.core.entry.ServerEntry; import org.apache.directory.shared.ldap.exception.LdapNameAlreadyBoundException; import org.apache.directory.shared.ldap.filter.ExprNode; import org.apache.directory.shared.ldap.filter.FilterParser; import org.apache.directory.shared.ldap.filter.SearchScope; import org.apache.directory.shared.ldap.message.AliasDerefMode; import org.apache.directory.server.core.filtering.EntryFilteringCursor; import org.apache.directory.shared.ldap.entry.Entry; import org.apache.directory.shared.ldap.entry.EntryAttribute; import org.apache.directory.shared.ldap.entry.Modification; import org.apache.directory.shared.ldap.entry.ModificationOperation; import org.apache.directory.shared.ldap.entry.Value; import org.apache.directory.shared.ldap.entry.client.ClientModification; import org.apache.directory.shared.ldap.entry.client.DefaultClientAttribute; import org.apache.directory.shared.ldap.exception.LdapAttributeInUseException; import org.apache.directory.shared.ldap.exception.LdapNameNotFoundException; import org.apache.directory.shared.ldap.name.LdapDN; import org.apache.directory.shared.ldap.exception.LdapContextNotEmptyException; import org.apache.directory.shared.ldap.schema.AttributeType; import org.apache.directory.shared.ldap.constants.SchemaConstants; I can find most of these classes/etc. in the JAR "apacheds-service-2.0.0-M3.jar", but they seem to be in different folder/directory structure (e.g. the old "org.apache.directory.shared.ldap.filter.FilterParser" is now in "/apache/directory/shared/ldap/model/filter/FilterParser"), however, other classes (seem) to have been totally rewritten (e.g. "org.apache.directory.server.core.entry.ServerEntry" now (seems) to be " ./apache/directory/server/core/entry/ServerEntryFactory" with other associated class files (./apache/directory/server/core/entry/ServerEntryFactory.class ./apache/directory/server/core/entry/ServerEntryUtils$1.class ./apache/directory/server/core/entry/ServerEntryUtils$2.class ./apache/directory/server/core/entry/ServerEntryUtils.class (we created some of our code based on examples found on the web for Apache 1.5.5). My questions are: 1) Is there a "migration path" from earlier to current versions? 2) What classes have simply been "relocated" within the path hierarchy, and what have been radically re-written (see next question)? 3) Given we have written code using as examples what we found on the web, is it a radical re-write to migrate From ApacheDS 1.5.x to ApacheDS 2.0? Thanks in advance for any insight/advice. Kindest regards, Steve Hayden ---2143737731-698585661-1318282997=:55202--