Uploaded image for project: 'Offre de formation'
  1. Offre de formation
  2. ODF-310

Problème d'authentification lors de la synchronisation globale CDM-FR

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • 2.0.0
    • 2.0.0
    • Synchro
    • None

      Lors de la synchronisation globale de CDM-FR, on fait appel à une pipeline via le SourceResolver (resolveURI) mais l'authentification en cours n'est pas transmise.

      Ce qui donne...

      • ERROR : org.apache.excalibur.source.SourceException: Cannot get input stream for cocoon://_plugins/odf-sync/cdmfr/sync/file
        at org.apache.cocoon.components.source.impl.SitemapSource.getInputStream(SitemapSource.java:253)
        at org.ametys.odfsync.cdmfr.CDMFROrgUnitsSyncManager._synchronizeOrgUnit(CDMFROrgUnitsSyncManager.java:256)
        at org.ametys.odfsync.cdmfr.CDMFROrgUnitsSyncManager._synchronizeOrgUnits(CDMFROrgUnitsSyncManager.java:219)
        at org.ametys.odfsync.cdmfr.CDMFROrgUnitsSyncManager.synchronizeOrgUnits(CDMFROrgUnitsSyncManager.java:127)
        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:597)
        at org.ametys.runtime.plugin.component.PluginsComponentManager$ComponentInvocationHandler.invoke(PluginsComponentManager.java:159)
        at $Proxy18.synchronizeOrgUnits(Unknown Source)
        at org.ametys.odfsync.cdmfr.CDMFRGlobalSyncManager.synchronize(CDMFRGlobalSyncManager.java:76)
        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:597)
        at org.ametys.runtime.plugin.component.PluginsComponentManager$ComponentInvocationHandler.invoke(PluginsComponentManager.java:159)
        at $Proxy39.synchronize(Unknown Source)
        at org.ametys.odfsync.sync.GlobalSynchronizationEngine._synchronize(GlobalSynchronizationEngine.java:126)
        at org.ametys.odfsync.sync.GlobalSynchronizationEngine.run(GlobalSynchronizationEngine.java:110)
        at java.lang.Thread.run(Thread.java:662)
        Caused by: org.apache.cocoon.ProcessingException: Sitemap: error when calling sub-sitemap
        at <map:mount> - resource://org/ametys/runtime/kernel/sitemap.xmap:143: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:65)
        at org.apache.excalibur.source.impl.SourceResolverImpl.resolveURI(SourceResolverImpl.java:208)
        at org.ametys.odfsync.cdmfr.CDMFROrgUnitsSyncManager._synchronizeOrgUnit(CDMFROrgUnitsSyncManager.java:255)
        ... 18 more
        Caused by: org.apache.cocoon.ProcessingException: Sitemap: error when calling sub-sitemap
        at <map:mount> - resource://org/ametys/runtime/kernel/sitemap.xmap:143:82
        at org.apache.cocoon.ProcessingException.throwLocated(ProcessingException.java:113)
        at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:122)
        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)

            cedric Cédric Damioli
            bmaurel Bérénice Maurel
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: