directory-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shing Hing Man <mat...@yahoo.com>
Subject Re: Problem adding new object class
Date Sun, 15 Apr 2007 20:09:22 GMT
I was using version 1.0.0.
I have just tested adding new object class 
in version 1.5.0 and it works.

Thanks!
Shing

--- Stefan Zoerner <stefan@labeo.de> wrote:

> Shing Hing Man wrote:
> > I am trying to add a new object class in Java
> using
> > the 
> > sample code at 
> >
>
http://java.sun.com/products/jndi/tutorial/ldap/schema/object.html#ADD
> > (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.
> 
>
http://www.apache.org/dyn/closer.cgi/directory/apacheds/unstable/1.5/1.5.0
> 
> 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: 2.5.4.3=schema,2.5.4.11=system
> 
> The schema in the 1.5 is located in its own
> partition ou=schema, and not 
> below ou=system.
> 
> Greetings from Hamburg,
>      Stefan
> 
> 
> 
> 
> 
> 


Home page :
  http://uk.geocities.com/matmsh/index.html


      ___________________________________________________________ 
Yahoo! Mail is the world's favourite email. Don't settle for less, sign up for
your free account today http://uk.rd.yahoo.com/evt=44106/*http://uk.docs.yahoo.com/mail/winter07.html


Mime
View raw message