Uploaded image for project: 'Datasources Explorer'
  1. Datasources Explorer
  2. DATAEXPLO-10

Impossible to explore the AD Directory

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: Major Major
    • 1.5.0
    • 1.4.0
    • None

      when I try to explore the directory I have the error:

      Caused by: org.apache.excalibur.source.SourceException: Cannot get input stream for cocoon://_plugins/datasources-explorer/datasources.json?node=LDAP-jfawi4wn&
      	at org.apache.cocoon.components.source.impl.SitemapSource.getInputStream(SitemapSource.java:253)
      	at org.ametys.core.ui.dispatcher.DispatchGenerator._dispatching(DispatchGenerator.java:152)
      	... 59 more
      Caused by: org.xml.sax.SAXException: Could not get sitemap source cocoon://_plugins/datasources-explorer/datasources.json?node=LDAP-jfawi4wn&
      org.apache.cocoon.ProcessingException: [LDAP: error code 10 - 0000202B: RefErr: DSID-031007EF, data 0, 1 access points
      	ref 1: 'local'
      ]
      	at <map:mount> - resource://org/ametys/runtime/kernel/sitemap.xmap:151:82
      	at org.apache.cocoon.components.source.impl.SitemapSource.init(SitemapSource.java:380)
      	at org.apache.cocoon.components.source.impl.SitemapSource.<init>(SitemapSource.java:215)
      	at org.apache.cocoon.components.source.impl.SitemapSourceFactory.getSource(SitemapSourceFactory.java:68)
      	at org.apache.excalibur.source.impl.SourceResolverImpl.resolveURI(SourceResolverImpl.java:208)
      	at org.apache.cocoon.components.CocoonComponentManager.resolveURI(CocoonComponentManager.java:558)
      	at org.apache.cocoon.components.CocoonComponentManager.resolveURI(CocoonComponentManager.java:558)
      	at org.apache.cocoon.components.CocoonComponentManager.resolveURI(CocoonComponentManager.java:558)
      	at org.ametys.core.ui.dispatcher.DispatchGenerator._dispatching(DispatchGenerator.java:148)
      	... 59 more
      Caused by: org.apache.cocoon.ProcessingException: [LDAP: error code 10 - 0000202B: RefErr: DSID-031007EF, data 0, 1 access points
      	ref 1: 'local'
      ]
      	at <map:mount> - resource://org/ametys/runtime/kernel/sitemap.xmap:151:82
      	at org.ametys.plugins.datasourcesexplorer.LDAPConnector.getChildren(LDAPConnector.java:218)
      	at org.ametys.plugins.datasourcesexplorer.GetDatasources._ldapDatasource2JSON(GetDatasources.java:192)
      	at org.ametys.plugins.datasourcesexplorer.GetDatasources.act(GetDatasources.java:90)
      	at org.apache.cocoon.components.treeprocessor.sitemap.ActTypeNode.invoke(ActTypeNode.java:125)
      	at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:47)
      	at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:108)
      	at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
      	at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:143)
      	at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
      	at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:93)
      	at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:236)
      	at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.buildPipeline(ConcreteTreeProcessor.java:194)
      	at org.apache.cocoon.components.treeprocessor.TreeProcessor.buildPipeline(TreeProcessor.java:267)
      	at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:111)
      	at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:47)
      	at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:108)
      	at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
      	at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:143)
      	at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
      	at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:93)
      	at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:236)
      	at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.buildPipeline(ConcreteTreeProcessor.java:194)
      	at org.apache.cocoon.components.treeprocessor.TreeProcessor.buildPipeline(TreeProcessor.java:267)
      	at org.apache.cocoon.components.source.impl.SitemapSource.init(SitemapSource.java:333)
      	... 66 more
      Caused by: javax.naming.PartialResultException: [LDAP: error code 10 - 0000202B: RefErr: DSID-031007EF, data 0, 1 access points
      	ref 1: 'local'
      ]; remaining name ''
      	at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2974)
      	at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2891)
      	at com.sun.jndi.ldap.LdapCtx.c_list(LdapCtx.java:1121)
      	at com.sun.jndi.toolkit.ctx.ComponentContext.p_list(ComponentContext.java:571)
      	at com.sun.jndi.toolkit.ctx.PartialCompositeContext.list(PartialCompositeContext.java:301)
      	at com.sun.jndi.toolkit.ctx.PartialCompositeContext.list(PartialCompositeContext.java:288)
      	at javax.naming.InitialContext.list(InitialContext.java:461)
      	at org.ametys.plugins.datasourcesexplorer.LDAPConnector._count(LDAPConnector.java:259)
      	at org.ametys.plugins.datasourcesexplorer.LDAPConnector.getChildren(LDAPConnector.java:145)
      	... 89 more
      

      If I check "Follow references" in my configuration, the access to LDAP no longer works I have the error: UnknowHostException

            Unassigned Unassigned
            lperier Laurence Perier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: