[ 
https://issues.apache.org/jira/browse/DIRSERVER-1408?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12750960#action_12750960
 ] 

yakup korkmaz commented on DIRSERVER-1408:
------------------------------------------

i checked the log directory and there is only one log file, 
apacheds-rolling.log, full error and exception messages in the log file are as 
seen below;


[11:37:31] WARN 
[org.apache.directory.server.schema.registries.DefaultOidRegistry] - OID for 
name 'ditContentRules' was not found within the OID registry
[11:37:31] WARN 
[org.apache.directory.server.schema.registries.DefaultOidRegistry] - OID for 
name 'ditContentRules' was not found within the OID registry
[11:37:31] ERROR [org.apache.directory.daemon.Bootstrapper] - Failed on 
null.init(InstallationLayout, String[])
org.springframework.beans.factory.BeanCreationException: Error creating bean 
with name 'directoryService' defined in URL 
[file:/C:/Program%20Files/Apache%20Directory%20Server/instances/default/conf/server.xml]:
 Instantiation of bean failed; nested exception is 
org.springframework.beans.BeanInstantiationException: Could not instantiate 
bean class [org.apache.directory.server.core.DefaultDirectoryService]: 
Constructor threw exception; nested exception is 
java.lang.IllegalStateException: Something has got to be severely wrong with 
the core packaging
or the build to have resulted in this exception.
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:883)
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:839)
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
        at java.security.AccessController.doPrivileged(Native Method)
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
        at 
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
        at 
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
        at 
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
        at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
        at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
        at 
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429)
        at 
org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)
        at 
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380)
        at 
org.apache.xbean.spring.context.FileSystemXmlApplicationContext.<init>(FileSystemXmlApplicationContext.java:149)
        at 
org.apache.xbean.spring.context.FileSystemXmlApplicationContext.<init>(FileSystemXmlApplicationContext.java:48)
        at org.apache.directory.server.Service.initLdap(Service.java:113)
        at org.apache.directory.server.Service.init(Service.java:78)
        at 
org.apache.directory.daemon.Bootstrapper.callInit(Bootstrapper.java:154)
        at 
org.apache.directory.daemon.TanukiBootstrapper.start(TanukiBootstrapper.java:54)
        at 
org.tanukisoftware.wrapper.WrapperManager$12.run(WrapperManager.java:2788)
Caused by: org.springframework.beans.BeanInstantiationException: Could not 
instantiate bean class 
[org.apache.directory.server.core.DefaultDirectoryService]: Constructor threw 
exception; nested exception is java.lang.IllegalStateException: Something has 
got to be severely wrong with the core packaging
or the build to have resulted in this exception.
        at 
org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:115)
        at 
org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:61)
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:877)
        ... 20 more
Caused by: java.lang.IllegalStateException: Something has got to be severely 
wrong with the core packaging
or the build to have resulted in this exception.
        at 
org.apache.directory.server.core.DefaultDirectoryService.<init>(DefaultDirectoryService.java:357)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown 
Source)
        at java.lang.reflect.Constructor.newInstance(Unknown Source)
        at 
org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:100)
        ... 22 more
Caused by: javax.naming.NamingException [Root exception is 
javax.naming.directory.NoSuchAttributeException: OID for name 'ditContentRules' 
was not found within the OID registry]
        at 
org.apache.directory.server.core.DefaultDirectoryService.<init>(DefaultDirectoryService.java:355)
        ... 27 more
Caused by: javax.naming.directory.NoSuchAttributeException: OID for name 
'ditContentRules' was not found within the OID registry
        at 
org.apache.directory.server.schema.registries.DefaultOidRegistry.getOid(DefaultOidRegistry.java:146)
        at 
org.apache.directory.server.schema.registries.DefaultAttributeTypeRegistry.lookup(DefaultAttributeTypeRegistry.java:186)
        at 
org.apache.directory.server.schema.bootstrap.AbstractBootstrapProducer$BootstrapObjectClass.getMayList(AbstractBootstrapProducer.java:583)
        at 
org.apache.directory.server.schema.registries.DefaultRegistries.resolve(DefaultRegistries.java:447)
        at 
org.apache.directory.server.schema.registries.DefaultRegistries.resolve(DefaultRegistries.java:440)
        at 
org.apache.directory.server.schema.registries.DefaultRegistries.checkRefInteg(DefaultRegistries.java:191)
        at 
org.apache.directory.server.core.DefaultDirectoryService.<init>(DefaultDirectoryService.java:351)
        ... 27 more


> can not start Apache Directory Server as service
> ------------------------------------------------
>
>                 Key: DIRSERVER-1408
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1408
>             Project: Directory ApacheDS
>          Issue Type: Bug
>    Affects Versions: 1.5.5
>         Environment: Microsoft XP and also Vista Home Premium
>            Reporter: yakup korkmaz
>            Priority: Critical
>
> Hi community,
> I installed the Apache Directory Server 1.5.5, but after the installation i 
> can not start the ApacheDS as a service in Windows. Below you can find the 
> error message from the wrapper.log;
> ERROR [org.apache.directory.daemon.Bootstrapper] - Failed on 
> null.init(InstallationLayout, String[])
> INFO   | jvm 1    | 2009/09/03 09:43:43 | 
> org.springframework.beans.factory.BeanCreationException: Error creating bean 
> with name 'directoryService' defined in URL 
> [file:/C:/Program%20Files/Apache%20Directory%20Server/instances/default/conf/server.xml]:
>  Instantiation of bean failed; nested exception is 
> org.springframework.beans.BeanInstantiationException: Could not instantiate 
> bean class [org.apache.directory.server.core.DefaultDirectoryService]: 
> Constructor threw exception; nested exception is 
> java.lang.IllegalStateException: Something has got to be severely wrong with 
> the core packaging
> INFO   | jvm 1    |
>  2009/09/03 09:43:43 | or the build to have resulted in this exception.
> i have no idea what causes this exception but i tried to install it to 
> another computer and got the same error message. My OS is Xp and other 
> computer's is Vista, but i couldnot start it in both computers. But 
> interesting thing is, i didn't see anything about it in forums, am i the 
> first one having this problem or do i miss something?
> thanks,
> Yakup

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to