You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Damien Tougas (JIRA)" <ji...@apache.org> on 2007/04/23 15:22:15 UTC

[jira] Created: (DIRSERVER-911) Syntax length definitions in schemas exported from LDAP Studio throws exception on Apache DS start-up.

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

                 Key: DIRSERVER-911
                 URL: https://issues.apache.org/jira/browse/DIRSERVER-911
             Project: Directory ApacheDS
          Issue Type: Bug
          Components: schema
    Affects Versions: 1.5.0
         Environment: Mac OS X 10.4.9
            Reporter: Damien Tougas


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)

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


[jira] Resolved: (DIRSTUDIO-172) Syntax length definitions in schemas exported from LDAP Studio throws exception on Apache DS start-up.

Posted by "Pierre-Arnaud Marcelot (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRSTUDIO-172?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pierre-Arnaud Marcelot resolved DIRSTUDIO-172.
----------------------------------------------

    Resolution: Fixed

Fixed with DIRSTUDIO-177.

> Syntax length definitions in schemas exported from LDAP Studio throws exception on Apache DS start-up.
> ------------------------------------------------------------------------------------------------------
>
>                 Key: DIRSTUDIO-172
>                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-172
>             Project: Directory Studio
>          Issue Type: Bug
>          Components: studio-schemas
>    Affects Versions: 0.8.2
>         Environment: Mac OS X 10.4.9
>            Reporter: Damien Tougas
>            Assignee: Emmanuel Lecharny
>             Fix For: 1.0.0
>
>
> 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)

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


[jira] Updated: (DIRSERVER-911) Syntax length definitions in schemas exported from LDAP Studio throws exception on Apache DS start-up.

Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRSERVER-911?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Lecharny updated DIRSERVER-911:
----------------------------------------

    Fix Version/s: 1.5.1

Can someone confirm this is still an issue?

If so it has to be fixed in 1.5.1

> Syntax length definitions in schemas exported from LDAP Studio throws exception on Apache DS start-up.
> ------------------------------------------------------------------------------------------------------
>
>                 Key: DIRSERVER-911
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-911
>             Project: Directory ApacheDS
>          Issue Type: Bug
>          Components: schema
>    Affects Versions: 1.5.0
>         Environment: Mac OS X 10.4.9
>            Reporter: Damien Tougas
>             Fix For: 1.5.1
>
>
> 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)

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


[jira] Commented: (DIRSERVER-911) Syntax length definitions in schemas exported from LDAP Studio throws exception on Apache DS start-up.

Posted by "Alex Karasulu (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DIRSERVER-911?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12520758 ] 

Alex Karasulu commented on DIRSERVER-911:
-----------------------------------------

Can someone confirm this is still an issue?

If so it has to be fixed in 1.5.2 

:)

> Syntax length definitions in schemas exported from LDAP Studio throws exception on Apache DS start-up.
> ------------------------------------------------------------------------------------------------------
>
>                 Key: DIRSERVER-911
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-911
>             Project: Directory ApacheDS
>          Issue Type: Bug
>          Components: schema
>    Affects Versions: 1.5.0
>         Environment: Mac OS X 10.4.9
>            Reporter: Damien Tougas
>            Assignee: Emmanuel Lecharny
>             Fix For: 1.5.1
>
>
> 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)

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


[jira] Assigned: (DIRSERVER-911) Syntax length definitions in schemas exported from LDAP Studio throws exception on Apache DS start-up.

Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRSERVER-911?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Lecharny reassigned DIRSERVER-911:
-------------------------------------------

    Assignee: Emmanuel Lecharny

> Syntax length definitions in schemas exported from LDAP Studio throws exception on Apache DS start-up.
> ------------------------------------------------------------------------------------------------------
>
>                 Key: DIRSERVER-911
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-911
>             Project: Directory ApacheDS
>          Issue Type: Bug
>          Components: schema
>    Affects Versions: 1.5.0
>         Environment: Mac OS X 10.4.9
>            Reporter: Damien Tougas
>            Assignee: Emmanuel Lecharny
>             Fix For: 1.5.1
>
>
> 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)

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


[jira] Commented: (DIRSERVER-911) Syntax length definitions in schemas exported from LDAP Studio throws exception on Apache DS start-up.

Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DIRSERVER-911?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12522820 ] 

Emmanuel Lecharny commented on DIRSERVER-911:
---------------------------------------------

How damn wrong I was !!!

this has nothing to do with SyntaxChecker.

We just need to add a m-length: 128 and to remove the {128} ate the end of m-syntax.

This is a pb in the converter.

> Syntax length definitions in schemas exported from LDAP Studio throws exception on Apache DS start-up.
> ------------------------------------------------------------------------------------------------------
>
>                 Key: DIRSERVER-911
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-911
>             Project: Directory ApacheDS
>          Issue Type: Bug
>          Components: schema
>    Affects Versions: 1.5.0
>         Environment: Mac OS X 10.4.9
>            Reporter: Damien Tougas
>            Assignee: Emmanuel Lecharny
>             Fix For: 1.5.1
>
>
> 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)

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


[jira] Commented: (DIRSERVER-911) Syntax length definitions in schemas exported from LDAP Studio throws exception on Apache DS start-up.

Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DIRSERVER-911?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12522808 ] 

Emmanuel Lecharny commented on DIRSERVER-911:
---------------------------------------------

I confirm this is an issue.

When trying to import the ldif file with Studio, I get this error :

Error while importing LDIF
  [LDAP: error code 21 - failed to add entry m-oid=1.3.6.1.4.1.13769.3.2,ou=attributeTypes,cn=mozilla,ou=schema: Attribute value '1.3.6.1.4.1.1466.115.121.1.15{128}' for attribute 'm-syntax' is syntactically incorrect]

There is a bug in meta-schema : the 1.3.6.1.4.1.18060.0.4.0.0.2 SYNTAX point to numericOidSyntax), when we would expect m-syntax is using 1.3.6.1.4.1.18060.0.4.0.0.5 SYNTAX (oidLenSyntax)

This should be easy to fix.


> Syntax length definitions in schemas exported from LDAP Studio throws exception on Apache DS start-up.
> ------------------------------------------------------------------------------------------------------
>
>                 Key: DIRSERVER-911
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-911
>             Project: Directory ApacheDS
>          Issue Type: Bug
>          Components: schema
>    Affects Versions: 1.5.0
>         Environment: Mac OS X 10.4.9
>            Reporter: Damien Tougas
>            Assignee: Emmanuel Lecharny
>             Fix For: 1.5.1
>
>
> 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)

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


[jira] Commented: (DIRSTUDIO-172) Syntax length definitions in schemas exported from LDAP Studio throws exception on Apache DS start-up.

Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DIRSTUDIO-172?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12522822 ] 

Emmanuel Lecharny commented on DIRSTUDIO-172:
---------------------------------------------

I have moved this issue to STUDIO as it seems that the pb comes from a old version of shared-converter which has been used to generate the LDIF file.

I confirm that the current trunk is still generating a bad LDIF file (if SYNTAX contains a {len} element, then a m-length: len should be generated.)

> Syntax length definitions in schemas exported from LDAP Studio throws exception on Apache DS start-up.
> ------------------------------------------------------------------------------------------------------
>
>                 Key: DIRSTUDIO-172
>                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-172
>             Project: Directory Studio
>          Issue Type: Bug
>          Components: studio-schemas
>    Affects Versions: 0.8.2
>         Environment: Mac OS X 10.4.9
>            Reporter: Damien Tougas
>            Assignee: Emmanuel Lecharny
>             Fix For: 1.0.0
>
>
> 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)

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


[jira] Closed: (DIRSTUDIO-172) Syntax length definitions in schemas exported from LDAP Studio throws exception on Apache DS start-up.

Posted by "Pierre-Arnaud Marcelot (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRSTUDIO-172?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pierre-Arnaud Marcelot closed DIRSTUDIO-172.
--------------------------------------------


> Syntax length definitions in schemas exported from LDAP Studio throws exception on Apache DS start-up.
> ------------------------------------------------------------------------------------------------------
>
>                 Key: DIRSTUDIO-172
>                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-172
>             Project: Directory Studio
>          Issue Type: Bug
>          Components: studio-schemaeditor
>    Affects Versions: 0.8.2
>         Environment: Mac OS X 10.4.9
>            Reporter: Damien Tougas
>            Assignee: Emmanuel Lecharny
>             Fix For: 1.0.0
>
>
> 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)

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