Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 97126 invoked from network); 8 Apr 2008 22:58:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Apr 2008 22:58:58 -0000 Received: (qmail 32024 invoked by uid 500); 8 Apr 2008 22:58:59 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 31817 invoked by uid 500); 8 Apr 2008 22:58:58 -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 31803 invoked by uid 99); 8 Apr 2008 22:58:58 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Apr 2008 15:58:58 -0700 X-ASF-Spam-Status: No, hits=3.2 required=10.0 tests=HTML_MESSAGE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: 198.76.24.140 is neither permitted nor denied by domain of steve.hammond@polycom.com) Received: from [198.76.24.140] (HELO WSTEXCH00.westminster.polycom.com) (198.76.24.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Apr 2008 22:58:07 +0000 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C899CC.41185DC9" Subject: RE: [ApacheDS] 1.5.2 importing LDIFS Date: Tue, 8 Apr 2008 16:59:52 -0600 Message-ID: In-Reply-To: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [ApacheDS] 1.5.2 importing LDIFS Thread-Index: AciZyzkOROT2YF2ERSaz5ZuDIz4F7gAAONTg From: "Hammond, Steve" To: "Apache Directory Developers List" X-Virus-Checked: Checked by ClamAV on apache.org This is a multi-part message in MIME format. ------_=_NextPart_001_01C899CC.41185DC9 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable I found that function, but after searching for a couple for hours, I could not find a way to get access to ApacheDS class thru LdapServer or DefaultDirectoryServer classes that I have, unless ApacheDS is a Singleton? =20 ________________________________ From: akarasulu@gmail.com [mailto:akarasulu@gmail.com] On Behalf Of Alex Karasulu Sent: Tuesday, April 08, 2008 4:50 PM To: Apache Directory Developers List Subject: Re: [ApacheDS] 1.5.2 importing LDIFS =20 Hi Steve, There should be an setLdifDirectory(File dir) method you can use on the ApacheDS instance to give it the path to the LDIF file. You can set this and the server should load the LDIF for you. You can either select an individual LDIF file itself and provide that as the argument or you can provide the file of the directory which contains a set of LDIFs that need to be loaded. HTH, Alex On Tue, Apr 8, 2008 at 4:02 PM, Hammond, Steve wrote: I have apacheDS 1.5.2 running under jboss with the attached MBean implementations. I am trying to use H.350 extensions and I had it working with 1.5.1 (other DSService.java) but the vast changes between 1.5.1 and 1.5.2 have left me stuck. I did not see any unit tests that test loading of extended schema's from ldif files which is how I got my partition working again. If anyone can point me in the right direction, I would appreciate it. =20 Thanx. =20 ------_=_NextPart_001_01C899CC.41185DC9 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

I found that function, but after = searching for a couple for hours, I could not find a way to get access to ApacheDS = class thru LdapServer or DefaultDirectoryServer classes that I have, unless = ApacheDS is a Singleton?

 


From: = akarasulu@gmail.com [mailto:akarasulu@gmail.com] On = Behalf Of Alex Karasulu
Sent: Tuesday, April 08, = 2008 4:50 PM
To: Apache Directory Developers List
Subject: Re: [ApacheDS] = 1.5.2 importing LDIFS

 

Hi Steve,

There should be an setLdifDirectory(File dir) method you can use on the ApacheDS instance to give it the path to the LDIF file.  You can = set this and the server should load the LDIF for you.  You can either select = an individual LDIF file itself and provide that as the argument or you can = provide the file of the directory which contains a set of LDIFs that need to be = loaded.

HTH,
Alex

On Tue, Apr 8, 2008 at 4:02 PM, Hammond, Steve <steve.hammond@polycom.com&g= t; wrote:

I have apacheDS 1.5.2 running under jboss with the attached MBean implementations.

I am trying to use H.350 extensions and I had it working with 1.5.1 (other DSService.java) but the vast changes between 1.5.1 and 1.5.2 have left = me stuck.  I did not see any unit tests that test loading of extended schema's from = ldif files which is how I got my partition working again.  If anyone can = point me in the right direction, I would appreciate = it.

 

Thanx.

 

------_=_NextPart_001_01C899CC.41185DC9--