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 Sun, 16 Dec 2007 14:04:16 GMT
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
>



-- 
Regards,
Cordialement,
Emmanuel L├ęcharny
www.iktek.com

Mime
View raw message