Directory Studio
  1. Directory Studio
  2. DIRSTUDIO-172

Syntax length definitions in schemas exported from LDAP Studio throws exception on Apache DS start-up.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.8.2
    • Fix Version/s: 1.0.0
    • Component/s: studio-schemaeditor
    • Labels:
      None
    • Environment:
      Mac OS X 10.4.9

      Description

      I opened the following schema into LDAP Studio:

      http://wiki.mozilla.org/MailNews:Mozilla_LDAP_Address_Book_Schema

      I then exported the schema into LDIF format so that I could import it into Apache DS.

      The import into Apache DS runs without errors. When I restart the directory server, it fails to start and the following exception is found in the log file:

      [10:50:47] ERROR [org.apache.directory.daemon.Bootstrapper] - Failed on org.apache.directory.server.Service.init(InstallationLayout, String[])
      javax.naming.NamingException: Unknown syntax OID 1.3.6.1.4.1.1466.115.121.1.26

      {256}

      at org.apache.directory.server.schema.registries.DefaultSyntaxRegistry.lookup(DefaultSyntaxRegistry.java:84)
      at org.apache.directory.server.core.schema.AttributeTypeImpl.getSyntax(AttributeTypeImpl.java:197)
      at org.apache.directory.server.core.DefaultDirectoryService.initialize(DefaultDirectoryService.java:965)
      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(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)

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Emmanuel Lecharny
            Reporter:
            Damien Tougas
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development