directory-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Lecharny <elecha...@gmail.com>
Subject Re: Howto augment PROGRAMMATICALLY default Schema in APacheDS 1.5.0 ?
Date Mon, 17 Dec 2007 16:09:20 GMT
Hi,

I have tested the code against the trunk (which will become 1.5.2) and 
it works well. Have you tried the samples against the 1.5.1 version, 
which fixed a hell lot of problems ?

Sylvain RICHET wrote:
> Emmanuel Lecharny a écrit :
>> Hi Sylvain,
>>
>> sorry for the delay. We will check the site to see if there is any
>> kind of problem in the documentation, and will keep you informed asap.
>>
>> Thanks for using ADS !
>>
>>
>>
>> On Dec 13, 2007 3:06 PM, Sylvain RICHET <srichet@bee-ware.net> wrote:
>>  
>>> Hi,
>>>
>>> I want to augment the default schema of ApacheDS 1.5.0. in a unit test
>>> (extending org.apache.directory.server.unit.AbstractServerTest)
>>>
>>> This should be easy... but it's not
>>>
>>> The tip given here fails :
>>> http://directory.apache.org/apacheds/1.5/add-your-first-elements-to-the-schema.html#Addyourfirstelementstotheschema-UsingJNDItoaddtheschemaelementsprogrammatically

>>>
>>>
>>> The thrown error is :
>>> java.lang.UnsupportedOperationException
>>>     at
>>> org.apache.directory.server.core.jndi.ServerDirContext.getSchema(ServerDirContext.java:432)

>>>
>>>     ...
>>>
>>>
>>> Here, someone noticed the... bug (?) :
>>> http://www.nabble.com/-ldapserver--schema--How-to-programmatically-extract-schema-information-from-a-server-context-to13524142.html

>>>
>>>
>>>
>>> I didn't find any workaround yet...
>>>
>>>
>>> Thanks in advance
>>>
>>>     
>>
>>
>>
>>   
>
> Ok, Emmanuel
>
> Thanks for your response.
>
> I wait for new Apache DS updated docs for Christmas !
> ;-)
>
>


-- 
--
cordialement, regards,
Emmanuel Lécharny
www.iktek.com
directory.apache.org



Mime
View raw message