You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@directory.apache.org by erdem ustun <er...@yahoo.com> on 2007/07/12 20:54:39 UTC

apache ds 1.5 install problem

hi I downloaded apache directory server apacheds 1.5
,installed win2003 enterprise server.while installing
no errors.
and then I want to start apacheds at services but
could not.
 I saw logs fie are below .I searched but no more
information what could I do.

I have tried to solve problem since 2 weeks ,colud not
please give me suggestion.
best regards..
************
18:24:56] ERROR
[org.apache.directory.daemon.Bootstrapper] - Failed on
org.apache.directory.server.Service.init(InstallationLayout,
String[])
javax.naming.NamingException [Root exception is
javax.naming.NamingException: OID for name
'ditContentRules' was not found within the OID
registry]
at
org.apache.directory.server.core.DefaultDirectoryService.initialize(DefaultDirectoryService.java:801)
at
org.apache.directory.server.core.DefaultDirectoryService.startup(DefaultDirectoryService.java:254)
at
org.apache.directory.server.core.jndi.AbstractContextFactory.getInitialContext(AbstractContextFactory.java:118)
at
javax.naming.spi.NamingManager.getInitialContext(Unknown
Source)
at
javax.naming.InitialContext.getDefaultInitCtx(Unknown
Source)
at javax.naming.InitialContext.init(Unknown Source)
at javax.naming.InitialContext.(Unknown Source)
at javax.naming.directory.InitialDirContext.(Unknown
Source)
at
org.apache.directory.server.Service.init(Service.java:96)
at
org.apache.directory.daemon.Bootstrapper.callInit(Bootstrapper.java:151)
at
org.apache.directory.daemon.ProcrunBootstrapper.prunsrvStart(ProcrunBootstrapper.java:65)
Caused by: javax.naming.NamingException: OID for name
'ditContentRules' was not found within the OID
registry
at
org.apache.directory.server.schema.registries.DefaultOidRegistry.getOid(DefaultOidRegistry.java:104)
at
org.apache.directory.server.schema.registries.DefaultAttributeTypeRegistry.lookup(DefaultAttributeTypeRegistry.java:152)
at
org.apache.directory.server.schema.bootstrap.AbstractBootstrapProducer$BootstrapObjectClass.getMayList(AbstractBootstrapProducer.java:521)
at
org.apache.directory.server.schema.registries.DefaultRegistries.resolve(DefaultRegistries.java:448)
at
org.apache.directory.server.schema.registries.DefaultRegistries.checkRefInteg(DefaultRegistries.java:187)
at
org.apache.directory.server.core.DefaultDirectoryService.initialize(DefaultDirectoryService.java:798)
... 10 more 
*********


      
___________________________________________________________________
Yahoo! kullaniyor musunuz?  http://tr.mail.yahoo.com
Istenmeyen postadan biktiniz mi? Istenmeyen postadan en iyi korunma 
Yahoo! Posta'da

Re: [Apache DS] What was the outcome of how to embed ?

Posted by Emmanuel Lecharny <el...@gmail.com>.
Hi Jo,

not sure I know which message you have lost, but feel free to tell me,
or to post again your question, I have quite a lot of history (thanks
to gmail !)

Regarding using ADS for unit tests, the best place for getting
directions would be :
http://directory.apache.org/apacheds/1.5/using-apacheds-for-unit-tests.html

Hope it helps !

On 7/13/07, Jo Jeeka <jo...@yahoo.com> wrote:
> Emmanuel,
>
> I may have missed the answer but a while back I was
> having trouble getting Apache DS embedded in our app
> (actually just the load of our custom schema) and you
> were going to look something up to see how I could get
> it to work.
>
> My free time project of embedding DS in order to do
> unit testing has become more important lately so I am
> back on it.
>
> TIA
>
>
>
>
> ____________________________________________________________________________________
> Expecting? Get great news right away with email Auto-Check.
> Try the Yahoo! Mail Beta.
> http://advision.webevents.yahoo.com/mailbeta/newmail_tools.html
>


-- 
Regards,
Cordialement,
Emmanuel Lécharny
www.iktek.com

[Apache DS] What was the outcome of how to embed ?

Posted by Jo Jeeka <jo...@yahoo.com>.
Emmanuel,

I may have missed the answer but a while back I was
having trouble getting Apache DS embedded in our app
(actually just the load of our custom schema) and you
were going to look something up to see how I could get
it to work. 

My free time project of embedding DS in order to do
unit testing has become more important lately so I am
back on it.  

TIA



 
____________________________________________________________________________________
Expecting? Get great news right away with email Auto-Check. 
Try the Yahoo! Mail Beta.
http://advision.webevents.yahoo.com/mailbeta/newmail_tools.html 

Re: apache ds 1.5 install problem

Posted by Markus Pohle <ap...@webunity.de>.
Hi Erdem,

first of all some questions:

- did you use the apacheds-1.5.0 download version to install or did you 
build from trunks yourself?
- did you modify the server.xml? if yes, send it to me, and i will check
- did you try to create your own partition? custom schema?

the error message below says that ditContentRules is not a known object 
class within apacheds. so you tried to create an object of that class? 
by import? using a ldif file exported from another ldap server?

greets
Markus

erdem ustun schrieb:
> hi I downloaded apache directory server apacheds 1.5
> ,installed win2003 enterprise server.while installing
> no errors.
> and then I want to start apacheds at services but
> could not.
>  I saw logs fie are below .I searched but no more
> information what could I do.
> 
> I have tried to solve problem since 2 weeks ,colud not
> please give me suggestion.
> best regards..
> ************
> 18:24:56] ERROR
> [org.apache.directory.daemon.Bootstrapper] - Failed on
> org.apache.directory.server.Service.init(InstallationLayout,
> String[])
> javax.naming.NamingException [Root exception is
> javax.naming.NamingException: OID for name
> 'ditContentRules' was not found within the OID
> registry]
> at
> org.apache.directory.server.core.DefaultDirectoryService.initialize(DefaultDirectoryService.java:801)
> at
> org.apache.directory.server.core.DefaultDirectoryService.startup(DefaultDirectoryService.java:254)
> at
> org.apache.directory.server.core.jndi.AbstractContextFactory.getInitialContext(AbstractContextFactory.java:118)
> at
> javax.naming.spi.NamingManager.getInitialContext(Unknown
> Source)
> at
> javax.naming.InitialContext.getDefaultInitCtx(Unknown
> Source)
> at javax.naming.InitialContext.init(Unknown Source)
> at javax.naming.InitialContext.(Unknown Source)
> at javax.naming.directory.InitialDirContext.(Unknown
> Source)
> at
> org.apache.directory.server.Service.init(Service.java:96)
> at
> org.apache.directory.daemon.Bootstrapper.callInit(Bootstrapper.java:151)
> at
> org.apache.directory.daemon.ProcrunBootstrapper.prunsrvStart(ProcrunBootstrapper.java:65)
> Caused by: javax.naming.NamingException: OID for name
> 'ditContentRules' was not found within the OID
> registry
> at
> org.apache.directory.server.schema.registries.DefaultOidRegistry.getOid(DefaultOidRegistry.java:104)
> at
> org.apache.directory.server.schema.registries.DefaultAttributeTypeRegistry.lookup(DefaultAttributeTypeRegistry.java:152)
> at
> org.apache.directory.server.schema.bootstrap.AbstractBootstrapProducer$BootstrapObjectClass.getMayList(AbstractBootstrapProducer.java:521)
> at
> org.apache.directory.server.schema.registries.DefaultRegistries.resolve(DefaultRegistries.java:448)
> at
> org.apache.directory.server.schema.registries.DefaultRegistries.checkRefInteg(DefaultRegistries.java:187)
> at
> org.apache.directory.server.core.DefaultDirectoryService.initialize(DefaultDirectoryService.java:798)
> ... 10 more 
> *********
> 
> 
>       
> ___________________________________________________________________
> Yahoo! kullaniyor musunuz?  http://tr.mail.yahoo.com
> Istenmeyen postadan biktiniz mi? Istenmeyen postadan en iyi korunma 
> Yahoo! Posta'da