directory-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Zoerner <>
Subject Re: Problem adding new object class
Date Sun, 15 Apr 2007 18:40:32 GMT
Shing Hing Man wrote:
> I am trying to add a new object class in Java using
> the 
> sample code at 
> (or see the listing  below).
> But I get the following exception.
 > ...

Which version of ApacheDS do you use? 1.0.x does not support dynamic 
changes of the schema like described in the Tutorial. You need the 
upcoming 1.5 to do something like that.

I have tested the code of the JNDI tutorial against this version and it 
works just fine.

The most strange in your stacktrace is the line
Attempt to lookup
non-existant entry:,

The schema in the 1.5 is located in its own partition ou=schema, and not 
below ou=system.

Greetings from Hamburg,

View raw message