Return-Path: Delivered-To: apmail-directory-users-archive@www.apache.org Received: (qmail 67878 invoked from network); 17 Mar 2010 14:51:56 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 17 Mar 2010 14:51:56 -0000 Received: (qmail 70723 invoked by uid 500); 17 Mar 2010 14:51:56 -0000 Delivered-To: apmail-directory-users-archive@directory.apache.org Received: (qmail 70697 invoked by uid 500); 17 Mar 2010 14:51:56 -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 Received: (qmail 70689 invoked by uid 99); 17 Mar 2010 14:51:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Mar 2010 14:51:56 +0000 X-ASF-Spam-Status: No, hits=0.8 required=10.0 tests=AWL,HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [74.125.149.71] (HELO na3sys009aog103.obsmtp.com) (74.125.149.71) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Mar 2010 14:51:50 +0000 Received: from source ([209.85.222.174]) by na3sys009aob103.postini.com ([74.125.148.12]) with SMTP ID DSNKS6DscXzPgO18++1EnpOVAWb+coLTj8ad@postini.com; Wed, 17 Mar 2010 07:51:30 PDT Received: by mail-pz0-f174.google.com with SMTP id 4so566443pzk.9 for ; Wed, 17 Mar 2010 07:51:29 -0700 (PDT) MIME-Version: 1.0 Received: by 10.140.248.13 with SMTP id v13mr868715rvh.267.1268837489356; Wed, 17 Mar 2010 07:51:29 -0700 (PDT) In-Reply-To: <1D11D1C0-A17D-44BE-9894-4FC64C9EA0FA@marcelot.net> References: <4BA08545.5070407@labeo.de> <1D11D1C0-A17D-44BE-9894-4FC64C9EA0FA@marcelot.net> From: Dan McLaughlin Date: Wed, 17 Mar 2010 09:51:09 -0500 Message-ID: Subject: Re: Tomcat, ApacheDS & Spring To: users@directory.apache.org Content-Type: multipart/alternative; boundary=000e0cd0ea86d4b00a0482003f53 --000e0cd0ea86d4b00a0482003f53 Content-Type: text/plain; charset=ISO-8859-1 I'll try that. Thanks! This would be helpfull information to add to the documentation on how to create an ApacheDS war, since the current example isn't very useful without a partition to get you started. -- Thanks, Dan McLaughlin NOTICE: This e-mail message and all attachments transmitted with it are for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is strictly prohibited. The contents of this e-mail are confidential and may be subject to work product privileges. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. Need to schedule a meeting??? http://www.tungle.me/DanMcLaughlin On Wed, Mar 17, 2010 at 9:46 AM, Pierre-Arnaud Marcelot wrote: > Hi Dan, > > On 17 mars 2010, at 15:24, Dan McLaughlin wrote: > > > I can see ou=test, but it's read only. Looking at the code in the > > documentation it's obvious why. > > Instead of writing your own custom partition, I think you probably just > need to instantiate a JDBM partition. > > Partition myTestPartition = new JdbmPartition(); > myTestPartition.setId( "test" ); > myTestPartition.setSuffix( "dc=test,dc=com" ); > service.addPartition( myTestPartition ); > > Hope this helps, > Pierre-Arnaud --000e0cd0ea86d4b00a0482003f53--