You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Pierre-Arnaud Marcelot (JIRA)" <ji...@apache.org> on 2006/12/13 12:03:21 UTC

[jira] Created: (DIRSERVER-797) Server can't start due to NamingException

Server can't start due to NamingException
-----------------------------------------

                 Key: DIRSERVER-797
                 URL: http://issues.apache.org/jira/browse/DIRSERVER-797
             Project: Directory ApacheDS
          Issue Type: Bug
          Components: installer-plugin
    Affects Versions: 1.5.0
            Reporter: Pierre-Arnaud Marcelot


The server can't be lauched with the current trunk version.

A NamingException is thrown during the launch.

Here's the log.

javax.naming.NamingException: attributeType w/ OID 1.2.6.1.4.1.18060.1.1.1.3.4 not registered!
	at org.apache.directory.server.core.schema.global.GlobalAttributeTypeRegistry.lookup(GlobalAttributeTypeRegistry.java:139)
	at org.apache.directory.server.core.partition.impl.btree.BTreePartition.init(BTreePartition.java:194)
	at org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmPartition.init(JdbmPartition.java:190)
	at org.apache.directory.server.core.partition.DefaultPartitionNexus.initializeSystemPartition(DefaultPartitionNexus.java:363)
	at org.apache.directory.server.core.partition.DefaultPartitionNexus.init(DefaultPartitionNexus.java:200)
	at org.apache.directory.server.core.DefaultDirectoryService.initialize(DefaultDirectoryService.java:821)
	at org.apache.directory.server.core.DefaultDirectoryService.startup(DefaultDirectoryService.java:230)
	at org.apache.directory.server.core.jndi.AbstractContextFactory.getInitialContext(AbstractContextFactory.java:118)
	at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
	at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)
	at javax.naming.InitialContext.init(InitialContext.java:223)
	at javax.naming.InitialContext.<init>(InitialContext.java:197)
	at javax.naming.directory.InitialDirContext.<init>(InitialDirContext.java:82)
	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.JsvcBootstrapper.init(JsvcBootstrapper.java:56)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at org.apache.commons.daemon.support.DaemonLoader.load(DaemonLoader.java:160)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Closed: (DIRSERVER-797) Server can't start due to NamingException

Posted by "Pierre-Arnaud Marcelot (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/DIRSERVER-797?page=all ]

Pierre-Arnaud Marcelot closed DIRSERVER-797.
--------------------------------------------


It is...

Thanks Emmanuel for this quick fix.

> Server can't start due to NamingException
> -----------------------------------------
>
>                 Key: DIRSERVER-797
>                 URL: http://issues.apache.org/jira/browse/DIRSERVER-797
>             Project: Directory ApacheDS
>          Issue Type: Bug
>          Components: installer-plugin
>    Affects Versions: 1.5.0
>            Reporter: Pierre-Arnaud Marcelot
>
> The server can't be lauched with the current trunk version.
> A NamingException is thrown during the launch.
> Here's the log.
> javax.naming.NamingException: attributeType w/ OID 1.2.6.1.4.1.18060.1.1.1.3.4 not registered!
> 	at org.apache.directory.server.core.schema.global.GlobalAttributeTypeRegistry.lookup(GlobalAttributeTypeRegistry.java:139)
> 	at org.apache.directory.server.core.partition.impl.btree.BTreePartition.init(BTreePartition.java:194)
> 	at org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmPartition.init(JdbmPartition.java:190)
> 	at org.apache.directory.server.core.partition.DefaultPartitionNexus.initializeSystemPartition(DefaultPartitionNexus.java:363)
> 	at org.apache.directory.server.core.partition.DefaultPartitionNexus.init(DefaultPartitionNexus.java:200)
> 	at org.apache.directory.server.core.DefaultDirectoryService.initialize(DefaultDirectoryService.java:821)
> 	at org.apache.directory.server.core.DefaultDirectoryService.startup(DefaultDirectoryService.java:230)
> 	at org.apache.directory.server.core.jndi.AbstractContextFactory.getInitialContext(AbstractContextFactory.java:118)
> 	at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
> 	at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)
> 	at javax.naming.InitialContext.init(InitialContext.java:223)
> 	at javax.naming.InitialContext.<init>(InitialContext.java:197)
> 	at javax.naming.directory.InitialDirContext.<init>(InitialDirContext.java:82)
> 	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.JsvcBootstrapper.init(JsvcBootstrapper.java:56)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:585)
> 	at org.apache.commons.daemon.support.DaemonLoader.load(DaemonLoader.java:160)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Resolved: (DIRSERVER-797) Server can't start due to NamingException

Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/DIRSERVER-797?page=all ]

Emmanuel Lecharny resolved DIRSERVER-797.
-----------------------------------------

    Resolution: Fixed

Ok, fixed the server.xml file in server-installer

It should be OK now.

> Server can't start due to NamingException
> -----------------------------------------
>
>                 Key: DIRSERVER-797
>                 URL: http://issues.apache.org/jira/browse/DIRSERVER-797
>             Project: Directory ApacheDS
>          Issue Type: Bug
>          Components: installer-plugin
>    Affects Versions: 1.5.0
>            Reporter: Pierre-Arnaud Marcelot
>
> The server can't be lauched with the current trunk version.
> A NamingException is thrown during the launch.
> Here's the log.
> javax.naming.NamingException: attributeType w/ OID 1.2.6.1.4.1.18060.1.1.1.3.4 not registered!
> 	at org.apache.directory.server.core.schema.global.GlobalAttributeTypeRegistry.lookup(GlobalAttributeTypeRegistry.java:139)
> 	at org.apache.directory.server.core.partition.impl.btree.BTreePartition.init(BTreePartition.java:194)
> 	at org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmPartition.init(JdbmPartition.java:190)
> 	at org.apache.directory.server.core.partition.DefaultPartitionNexus.initializeSystemPartition(DefaultPartitionNexus.java:363)
> 	at org.apache.directory.server.core.partition.DefaultPartitionNexus.init(DefaultPartitionNexus.java:200)
> 	at org.apache.directory.server.core.DefaultDirectoryService.initialize(DefaultDirectoryService.java:821)
> 	at org.apache.directory.server.core.DefaultDirectoryService.startup(DefaultDirectoryService.java:230)
> 	at org.apache.directory.server.core.jndi.AbstractContextFactory.getInitialContext(AbstractContextFactory.java:118)
> 	at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
> 	at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)
> 	at javax.naming.InitialContext.init(InitialContext.java:223)
> 	at javax.naming.InitialContext.<init>(InitialContext.java:197)
> 	at javax.naming.directory.InitialDirContext.<init>(InitialDirContext.java:82)
> 	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.JsvcBootstrapper.init(JsvcBootstrapper.java:56)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:585)
> 	at org.apache.commons.daemon.support.DaemonLoader.load(DaemonLoader.java:160)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira