You are not logged in.
Merci Cédric, j'ai testé en pre-prod et les deux solutions fonctionnent !
J'ai opté pour la seconde solution et J'ai recompilé ma classe avec la méthode manquante.
Bonjour,
J'utilise un RequestParametersInputData qui permet de dynamiser le contenu d'une page en fonction de paramètres HTTP.
Cet inputData est déclaré dans un fichier inputdata.xml :
<input-data-collection>
<input-data>org.ametys.web.inputdata.SitemapInputData</input-data>
<input-data>org.ametys.web.tags.inputdata.FilteredContentsInputData</input-data>
<input-data>org.ametys.web.tags.inputdata.FilteredPagesInputData</input-data>
<input-data>[b]com.anwrt.inpt.siteweb.inpt.RequestParametersInputData[/b]</input-data>
</input-data-collection>
Cela fonctionnait à l'époque mais ne fonctionne plus dans les dernières versions d'Ametys :
Les paramètres sont biens pris en comptes et présents dans l'inputData à la première génération (premier accès à la page), mais ensuite l'inputData ne bouge plus, même si les paramètres ne sont plus envoyées, ils demeurent dans l'inputData, et donc adieu le côté dynamique.
Il semble que l'inputData soit mis en cache, et j'ai vu cette feature dans le jar ametys-web-3.4.1.jar :
<feature name="inputdata.cache">
<config>
<param-ref id="page.element.cache.disabled"/>
</config>
<components>
<component class="org.ametys.web.cache.pageelement.PageElementCache"
role="org.ametys.web.cache.pageelement.PageElementCache/inputData"
logger="org.ametys.web.cache.pageelement.PageElementCache.inputData"/>
</components>
<extensions>
<extension point="org.ametys.cms.observation.ObserverExtensionPoint"
id="org.ametys.web.cache.pageelement.InvalidatePageElementCacheObserver"
class="org.ametys.web.cache.pageelement.InvalidatePageElementCacheObserver">
<cache>org.ametys.web.cache.pageelement.PageElementCache/inputData</cache>
<policies>org.ametys.web.cache.pageelement.PageElementCachePolicyExtensionPoint/inputData</policies>
</extension>
</extensions>
</feature>
Peux-t-on désactiver le cache InputData en commentant ou en modifiant le paramétrage de cette extension ?
Merci pour toute piste ou avis.
Merci , nous allons modifier css et xsl selon vos indications.
Le ticket JIRA a été déposé (en english, même si j'en ai vu beaucoup d'autre en français )
Bonjour,
Nous avons des problèmes remontés par des utilisateurs dans le CMS depuis la migration en 3.4.0 :
1)
l'habillage des images n'est plus pris en compte (habillage à droite / à gauche / ou aucun habillage).
Toutes les images présentes dans le site avant migration s'affichent comme si aucun habillage ne leur avait été attribué, alors que la plupart avaient été définies avec un habillage à droite.
Si j'ajoute une nouvelle image et que je lui attribue un habillage gauche ou droite, il n'est pas pris en compte non plus
2)
j'ai testé le pdf interactif dans une page "bac à sable" du site : cela fonctionne plutôt bien, à part que les couleurs ne sont pas reprises à l'identique. Du coup, cela gêne la lecture du document .
3)
Le service "afficher un contenu" ne fonctionne pas correctement lorsque je partage un contenu hébergé par un autre site. Exemple : une actualité du site B que j'ai voulu afficher sous forme de lien dans le site A. Le lien renvoie vers une page d'erreur.
A quoi peuvent être dus ces problèmes ? Quelqu'un les a-t-il déjà rencontrés ?
Bonjour,
Il s'agit d'un problème déja signalé dans un autre topic :
Il nous arrive à nouveau la même chose.
- Il n'y a pas de lenteur dans les sites
- voici un top sur le serveur
top - 13:09:10 up 18:31, 3 users, load average: 1.02, 1.01, 1.00
Tasks: 29 total, 1 running, 28 sleeping, 0 stopped, 0 zombie
Cpu(s): 99.7%us, 0.3%sy, 0.0%ni, 0.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 5242880k total, 3553324k used, 1689556k free, 0k buffers
Swap: 0k total, 0k used, 0k free, 234900k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
8853 cms 20 0 2473m 664m 7736 S 99.9 13.0 990:33.65 java
Parallèlement, nous avons eu des soucis lors de la régénération du cache, je ne sais pas si c'est lié, mais le couple frontal/back-office est très instable depuis un arrêt brutal de la machine hôte sur laquelle tourne le serveur virtuel.
Il n'y a rien de spécial dans les logs à part des habituels "Resource not found for URL..." sur des fichier js du plugin multimedia
D'où peut venir ce 100% cpu ?
Se peut-il qu'il y ait un lien avec la génération/ mise à jour du cache ?
Merci
Merci, cela explique en effet le problème, la plupart des navigateurs mis à jours tombent dans la catégorie "non supporté".
Bonjour,
Aléatoirement, au gré des redémarrages de l'application CMS (back-office), l'accès à la page d'administration du CMS : .../_admin/index.html, renvoie sur une page bleue marine sans aucune action possible, ce qui est très génant.
Alors que le logs sont plutôt verbeux quand une image ou une icône n'est pas accessible, ils sont absolument muets sur ce problème crucial.
Merci pour toute piste.
J'ai uploadé une image (pas_de_barre_outils.png) mais impossible de la faire afficher dans le post.
J'ai affiné la description textuelle du problème.
J'ajouté que ce problème n'apparait qu'aléatoirement, au gré des redémarrages du cms.
J'ai ajouté l'image.
Auriez-vous une piste ?
Merci
Bonjour,
Sur certains sites du CMS, les outils dans la barre d'outil supérieure n'apparaissent que partiellement, ils sont cachés sous la zone centrale et on ne peut pas cliquer dessus : seuls liens cassés et quatre iconé apparaissent dans la barre, et toute la partie "outils" (onglet contenu) est décalée vers le bas, on ne devine que le haut du mot "outils"
Version utilisée : 3.2.2
Nous sommes en cours de migration vers une version plus récente mais qui ne sera pas immédiate, donc à part upgrade, y-a-t-il un moyen de diagnostiquer voire corriger ce problème qui rend inutilisable l'interface ?
Bonjour,
Nous observons sur notre serveur frontal (version 3.2.1) une utilisation oscillant entre 100% et 105% en permanence pour le process tomcat où tourne l'application "site". Dans les logs, rien qui ne reflète une activité exacerbée, juste quelques classiques "ressource not found"...
Comment savoir précisemment si cette consommation cpu est normale ? Ce qui est étrange, c'est la régularité , il ne s'agit pas de période de pics mais d'une utilisation constante, de jour comme de nuit.
Si quelqu'un a une piste, nous somme preneur. Merci.
Après modification d'un contenu riche dont certaines parties sont en html expert, l'erreur suivante apparait au moment de la sauvegarde :
Action 2 is invalid
com.opensymphony.workflow.InvalidActionException: Action 2 is invalid
at com.opensymphony.workflow.AbstractWorkflow.doAction(AbstractWorkflow.java:562)
at org.ametys.plugins.workflow.Workflow.doAction(Workflow.java:242)
at org.ametys.plugins.workflow.cocoon.WorkflowAction._act(WorkflowAction.java:45)
at org.ametys.cms.workflow.ContentWorkflowAction._act(ContentWorkflowAction.java:73)
at org.ametys.plugins.workflow.cocoon.AbstractWorkflowAction.act(AbstractWorkflowAction.java:58)
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.ActTypeNode.invoke(ActTypeNode.java:139)
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:235)
at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.buildPipeline(ConcreteTreeProcessor.java:193)
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:235)
at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.buildPipeline(ConcreteTreeProcessor.java:193)
at org.apache.cocoon.components.treeprocessor.TreeProcessor.buildPipeline(TreeProcessor.java:267)
at org.apache.cocoon.components.source.impl.SitemapSource.init(SitemapSource.java:333)
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.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.apache.cocoon.components.CocoonComponentManager.resolveURI(CocoonComponentManager.java:558)
at org.ametys.runtime.plugins.core.dispatcher.DispatchGenerator._dispatching(DispatchGenerator.java:126)
at org.ametys.runtime.plugins.core.dispatcher.DispatchGenerator.generate(DispatchGenerator.java:81)
at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:579)
at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:280)
at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:481)
at org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke(SerializeNode.java:144)
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:235)
at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:177)
at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:254)
at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:118)
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:235)
at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:177)
at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:254)
at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:118)
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:235)
at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:177)
at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:254)
at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:118)
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:235)
at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:177)
at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:254)
at org.apache.cocoon.Cocoon.process(Cocoon.java:699)
at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1154)
at org.ametys.runtime.servlet.RuntimeServlet._doService(RuntimeServlet.java:132)
at org.ametys.runtime.servlet.RuntimeServlet.service(RuntimeServlet.java:89)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:852)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Thread.java:619)u
Quelqu'un aurait-il une idée de l'origine du problème ?
Merci
Suite à un problème de redémarrage du serveur, une exception readonly apparait dans les logs, empechant le CMS de se lancer :
...
...
Caused by: javax.jcr.RepositoryException: Cannot instantiate persistence manager org.apache.jackrabbit.core.persistence.bundle.DerbyPersistenceManager: An SQL data change is not permitted for a read-only connection, user or database.: An SQL data change is not permitted for a read-only connection, user or database.
...
...
Ceci semble arriver lorsque l'on démarre le tomcat en tant que root.
Pour remédier au problème :
Faites un ll dans /home/cms/Ametys_CMS/data/repository/workspaces/default/db
Vous verrez qu'il y a des fichiers root:root
Faites un backup de data
Puis
cd /home/cms/Ametys_CMS/
chown -R cms:cms data
Bonjour,
De temps à autre, le cms redémarre tout seul (message de serveur indisponible dans le navigateur), et on ne sait pas pourquoi.
Y-a-t-il certaines modifications de fichiers de skin qui implique un redémarrage automatique :
-quand on modifie nos fichiers de skins directement sur le serveur ?
-quand on utilise l'editeur de skin ?
Peut on jouer sur le paramètre reloadable du context tomcat pour parer à ces redémarrages involontaires ?
Merci.
Bonjour,
Avec un peu de retard, merci pour la piste du contenu corrompu, c'était bien cela.
Bonjour,
Merci pour ces précisions et cette analyse. Nous allons essayer d'identifier le contenu corrompu.
Je viens d'éditer les posts pour compléter les logs.
Merci
Re-bonjour,
Dans les logs nous avons également une erreur relative au workflow semble-t-il (produit lors de l'accès au cms / tableau de bord ) :
2011-09-12 15:06:47,038 ERROR [sitemap.handled-errors] (http-8080-5;/plugins/web/contents/todo-list.xml) Failed to process pipeline
at <map:serialize type="xml"> - resource://org/ametys/web/sitemap.xmap:1463:44
at <map:transform type="i18n"> - resource://org/ametys/web/sitemap.xmap:1459:56
at <map:generate type="workflow-tasks"> - resource://org/ametys/web/sitemap.xmap:1454:53
at <map:mount> - resource://org/ametys/cms/workspace/sitemap.xmap:170:81
org.apache.cocoon.ProcessingException: Failed to process pipeline
at <map:serialize type="xml"> - resource://org/ametys/web/sitemap.xmap:1463:44
at <map:transform type="i18n"> - resource://org/ametys/web/sitemap.xmap:1459:56
at <map:generate type="workflow-tasks"> - resource://org/ametys/web/sitemap.xmap:1454:53
at <map:mount> - resource://org/ametys/cms/workspace/sitemap.xmap:170:81
at org.apache.cocoon.ProcessingException.throwLocated(ProcessingException.java:145)
at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.handleException(AbstractProcessingPipeline.java:953)
at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:583)
at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:280)
at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:481)
at org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke(SerializeNode.java:144)
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:235)
at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:177)
at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:254)
at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:118)
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:235)
at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:177)
at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:254)
at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:118)
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:235)
at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:177)
at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:254)
at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:118)
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:235)
at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:177)
at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:254)
at org.apache.cocoon.Cocoon.process(Cocoon.java:699)
at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1154)
at org.ametys.runtime.servlet.RuntimeServlet._doService(RuntimeServlet.java:132)
at org.ametys.runtime.servlet.RuntimeServlet.service(RuntimeServlet.java:89)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:852)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.NullPointerException
at org.ametys.cms.workflow.WorkflowTasksComponent._saxContentCurrentState(WorkflowTasksComponent.java:589)
at org.ametys.cms.workflow.WorkflowTasksComponent._saxContent(WorkflowTasksComponent.java:321)
at org.ametys.cms.workflow.WorkflowTasksComponent._saxTask(WorkflowTasksComponent.java:265)
at org.ametys.web.workflow.WorkflowTasksComponent.toSAX(WorkflowTasksComponent.java:241)
at org.ametys.web.workflow.WorkflowTasksGenerator.saxTasks(WorkflowTasksGenerator.java:50)
at org.ametys.cms.workflow.WorkflowTasksGenerator.generate(WorkflowTasksGenerator.java:75)
at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:579)
... 59 more
Merci
Bonjour,
Le script est passé avec une exception sur un noeud, mais a traiter un autre noeud. Merci
Suite à la migration en 3.2.1, nous rencontrons un problème sur le service "remontée de contenu" avec type "actualités" et vue "résumé".
voilà les détails de l'erreur complète dans les logs :
2011-09-12 14:50:46,125 ERROR [sitemap] (http-8080-5;/inpt/fr/actualites.html) Unable to display zone item
org.apache.cocoon.ProcessingException: Failed to process pipeline
at <map:serialize type="xml"> - resource://org/ametys/web/sitemap.xmap:896:33
at <map:transform type="i18n"> - resource://org/ametys/web/sitemap.xmap:892:33
at <map:transform type="xslt"> - resource://org/ametys/web/sitemap.xmap:880:55
at <map:generate type="filtered-contents"> - resource://org/ametys/web/sitemap.xmap:879:46
at org.apache.cocoon.ProcessingException.throwLocated(ProcessingException.java:145)
at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.handleException(AbstractProcessingPipeline.java:953)
at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:583)
at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:280)
at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:780)
at org.apache.cocoon.components.source.impl.SitemapSource.toSAX(SitemapSource.java:414)
at org.apache.cocoon.components.source.SourceUtil.toSAX(SourceUtil.java:101)
at org.apache.cocoon.components.source.SourceUtil.toSAX(SourceUtil.java:181)
at org.apache.cocoon.components.source.SourceUtil.toSAX(SourceUtil.java:140)
at org.ametys.web.repository.PageGenerator._saxZoneItems(PageGenerator.java:323)
at org.ametys.web.repository.PageGenerator._saxZone(PageGenerator.java:216)
at org.ametys.web.repository.PageGenerator.generate(PageGenerator.java:159)
at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:579)
at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:280)
at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:780)
at org.apache.cocoon.components.source.impl.SitemapSource.toSAX(SitemapSource.java:414)
at org.apache.cocoon.components.source.SourceUtil.toSAX(SourceUtil.java:101)
at org.apache.cocoon.components.source.SourceUtil.parse(SourceUtil.java:321)
at org.apache.cocoon.sitemap.ContentAggregator.generate(ContentAggregator.java:125)
at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:579)
at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:280)
at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:481)
at org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke(SerializeNode.java:144)
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:235)
at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:177)
at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:254)
at org.apache.cocoon.Cocoon.process(Cocoon.java:699)
at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1154)
at org.ametys.runtime.servlet.RuntimeServlet._doService(RuntimeServlet.java:132)
at org.ametys.runtime.servlet.RuntimeServlet.service(RuntimeServlet.java:89)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:852)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Thread.java:662)
Caused by: org.apache.cocoon.ProcessingException: Failed to process pipeline
at <map:serialize type="xml"> - resource://org/ametys/web/sitemap.xmap:193:32
at <map:generate type="content"> - resource://org/ametys/web/sitemap.xmap:188:50
at <map:serialize type="xhtml"> - resource://org/ametys/web/sitemap.xmap:1252:50
at <map:transform type="i18n"> - resource://org/ametys/web/sitemap.xmap:1248:48
at <map:transform type="docbook-enhancement"> - resource://org/ametys/web/sitemap.xmap:1247:64
at <map:transform> - resource://org/ametys/web/sitemap.xmap:1237:110
at <map:transform type="i18n"> - resource://org/ametys/web/sitemap.xmap:1233:48
at org.apache.cocoon.components.source.impl.SitemapSource.toSAX(SitemapSource.java:424)
at org.ametys.web.filter.ContentFilterHelper.saxContent(ContentFilterHelper.java:141)
at org.ametys.web.filter.ContentFilterHelper.saxMatchingContents(ContentFilterHelper.java:97)
at org.ametys.web.filter.FilteredContentsGenerator.generate(FilteredContentsGenerator.java:68)
at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:579)
... 56 more
Caused by: org.apache.cocoon.ProcessingException: Failed to process pipeline
at <map:serialize type="xml"> - resource://org/ametys/web/sitemap.xmap:193:32
at <map:generate type="content"> - resource://org/ametys/web/sitemap.xmap:188:50
at <map:serialize type="xhtml"> - resource://org/ametys/web/sitemap.xmap:1252:50
at <map:transform type="i18n"> - resource://org/ametys/web/sitemap.xmap:1248:48
at <map:transform type="docbook-enhancement"> - resource://org/ametys/web/sitemap.xmap:1247:64
at <map:transform> - resource://org/ametys/web/sitemap.xmap:1237:110
at <map:transform type="i18n"> - resource://org/ametys/web/sitemap.xmap:1233:48
at org.apache.cocoon.ProcessingException.throwLocated(ProcessingException.java:145)
at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.handleException(AbstractProcessingPipeline.java:953)
at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:583)
at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:280)
at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:780)
at org.apache.cocoon.components.source.impl.SitemapSource.toSAX(SitemapSource.java:414)
at org.apache.cocoon.components.source.SourceUtil.toSAX(SourceUtil.java:101)
at org.apache.cocoon.components.source.SourceUtil.parse(SourceUtil.java:321)
at org.apache.cocoon.sitemap.ContentAggregator.generate(ContentAggregator.java:125)
at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:579)
at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:280)
at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:780)
at org.apache.cocoon.components.source.impl.SitemapSource.toSAX(SitemapSource.java:414)
... 60 more
Caused by: java.util.NoSuchElementException
at java.util.AbstractList$Itr.next(AbstractList.java:350)
at org.ametys.cms.content.ContentGenerator._saxWorkflowStep(ContentGenerator.java:214)
at org.ametys.cms.content.ContentGenerator._saxContent(ContentGenerator.java:133)
at org.ametys.cms.content.ContentGenerator._generateContent(ContentGenerator.java:97)
at org.ametys.cms.content.ContentGenerator.generate(ContentGenerator.java:81)
at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:579)
... 70 more
Nous pensions que c'était peut-être dû à une surcharge faite dans un skin des vues du plugin news (avec news-abstract.xsl et news-link.xsl), mais l'erreur persiste même si l'on enlève cette surcharge.
Bonjour,
Après quelques déboires avec le plugin news lors d'une migration en 3.1.2, nous tentons à present de migrer vers la 3.2.1.
Nous suivons la doc de migration du wiki :
Lors du lancement du script dans la console repository, nous obtenons l'erreur suivante à l'excution :
sun.org.mozilla.javascript.internal.WrappedException: Wrapped javax.jcr.ItemNotFoundException: failed to build path of 08aefec8-0ae4-4948-b0ce-a52e42382734: c5306769-7282-4849-b1d8-14c151171f60: c5306769-7282-4849-b1d8-14c151171f60 (<Unknown source>#11) in <Unknown source> at line number 11
javax.script.ScriptException: sun.org.mozilla.javascript.internal.WrappedException: Wrapped javax.jcr.ItemNotFoundException: failed to build path of 08aefec8-0ae4-4948-b0ce-a52e42382734: c5306769-7282-4849-b1d8-14c151171f60: c5306769-7282-4849-b1d8-14c151171f60 (<Unknown source>#11) in <Unknown source> at line number 11
at com.sun.script.javascript.RhinoScriptEngine.eval(RhinoScriptEngine.java:110)
at com.sun.script.javascript.RhinoScriptEngine.eval(RhinoScriptEngine.java:124)
at javax.script.AbstractScriptEngine.eval(AbstractScriptEngine.java:216)
at org.ametys.workspaces.repository.ExecuteScriptGenerator.generate(ExecuteScriptGenerator.java:112)
at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:579)
at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:280)
at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:481)
at org.apache.cocoon.components.source.impl.SitemapSource.getInputStream(SitemapSource.java:267)
at org.ametys.runtime.plugins.core.dispatcher.DispatchGenerator._dispatching(DispatchGenerator.java:129)
at org.ametys.runtime.plugins.core.dispatcher.DispatchGenerator.generate(DispatchGenerator.java:81)
at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:579)
at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:280)
at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:481)
at org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke(SerializeNode.java:144)
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:235)
at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:177)
at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:254)
at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:118)
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:235)
at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:177)
at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:254)
at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:118)
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:235)
at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:177)
at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:254)
at org.apache.cocoon.Cocoon.process(Cocoon.java:699)
at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1154)
at org.ametys.runtime.servlet.RuntimeServlet._doService(RuntimeServlet.java:132)
at org.ametys.runtime.servlet.RuntimeServlet.service(RuntimeServlet.java:89)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:852)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Thread.java:662)
Si vous aviez une piste sur ce problème, nous sommes preneurs.
Merci
Bonjour,
Merci pour cette information.
Vous dites qu'il faut utiliser la version 1.0.x avec la 3.1.2
Or dans le zip 3.1.2, que vous proposez en téléchargement, il y a bien les jars ametys-plugin-news-resources-1.1.0.jar et ametys-plugin-news-resources-1.1.0.jar. Une erreur de packaging ?
De plus, dans le wiki sur le plugin news que vous m'indiquez, le tableau de compatibilité indique que les plugins 1.1.x sont compatibles avec les versions 3.1.x.
Je vais tenter ma chance avec la version 1.0.0 du plugin news
Bonjour,
Après la mise à jour , j'ai une erreur sur certaines pages concernant le plugin news et le type de vue "link" : avec la 3.1.1 cette vue ne posait pas de problème.
<map:serialize type="xml">Unknown metadata set 'link' of type 'view' for content type 'org.ametys.plugins.news.Content.news'Failed to process pipeline<map:serialize type="xml"><map:generate type="inputdata"><map:serialize type="xhtml"><map:transform type="i18n"><map:transform>Unknown metadata set 'link' of type 'view' for content type 'org.ametys.plugins.news.Content.news'<map:serialize type="xml"><map:generate type="content"><map:serialize type="xhtml"><map:transform type="i18n"><map:transform type="docbook-enhancement"><map:transform><map:transform type="i18n">org.apache.cocoon.ProcessingException: Unknown metadata set 'link' of type 'view' for content type 'org.ametys.plugins.news.Content.news' at <map:serialize type="xml"> - resource://org/ametys/web/sitemap.xmap:171:32 at <map:generate type="content"> - resource://org/ametys/web/sitemap.xmap:166:50 at <map:serialize type="xhtml"> - resource://org/ametys/web/sitemap.xmap:1031:50 at <map:transform type="i18n"> - resource://org/ametys/web/sitemap.xmap:1027:48 at <map:transform type="docbook-enhancement"> - resource://org/ametys/web/sitemap.xmap:1026:64 at <map:transform> - resource://org/ametys/web/sitemap.xmap:1016:110 at <map:transform type="i18n"> - resource://org/ametys/web/sitemap.xmap:1012:48 at org.ametys.cms.content.ContentGenerator._saxMetadata(ContentGenerator.java:275) at org.ametys.cms.content.ContentGenerator._saxContent(ContentGenerator.java:127) at org.ametys.cms.content.ContentGenerator._generateContent(ContentGenerator.java:97) at org.ametys.cms.content.ContentGenerator.generate(ContentGenerator.java:81) at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:579) at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:280) at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:780) at org.apache.cocoon.components.source.impl.SitemapSource.toSAX(SitemapSource.java:414) at org.apache.cocoon.components.source.SourceUtil.toSAX(SourceUtil.java:101) at org.apache.cocoon.components.source.SourceUtil.parse(SourceUtil.java:321) at org.apache.cocoon.sitemap.ContentAggregator.generate(ContentAggregator.java:125) at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:579) at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:280) at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:780) at org.apache.cocoon.components.source.impl.SitemapSource.toSAX(SitemapSource.java:414) at org.ametys.web.filter.ContentFilterHelper.saxContent(ContentFilterHelper.java:141) at org.ametys.web.filter.ContentFilterHelper.saxMatchingContents(ContentFilterHelper.java:97) at org.ametys.web.tags.inputdata.FilteredContentsInputData.saxFilter(FilteredContentsInputData.java:168) at org.ametys.web.tags.inputdata.FilteredContentsInputData.toSAX(FilteredContentsInputData.java:87) at org.ametys.web.inputdata.InputDataExtensionPoint.toSAX(InputDataExtensionPoint.java:80) at org.ametys.web.inputdata.InputDataGenerator.generate(InputDataGenerator.java:44) at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:579) at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:280) at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:780) at org.apache.cocoon.components.source.impl.SitemapSource.toSAX(SitemapSource.java:414) at org.apache.cocoon.components.source.SourceUtil.toSAX(SourceUtil.java:101) at org.apache.cocoon.components.source.SourceUtil.parse(SourceUtil.java:321) at org.apache.cocoon.sitemap.ContentAggregator.generate(ContentAggregator.java:125) at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:579) at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:280) at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:481) at org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke(SerializeNode.java:144) 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:235) at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:177) at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:254) at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:118) 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:235) at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:177) at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:254) at org.apache.cocoon.Cocoon.process(Cocoon.java:699) at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1154) at org.ametys.runtime.servlet.RuntimeServlet._doService(RuntimeServlet.java:132) at org.ametys.runtime.servlet.RuntimeServlet.service(RuntimeServlet.java:89) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:852) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) at java.lang.Thread.run(Thread.java:662) org.apache.cocoon.ProcessingException: Failed to process pipeline at <map:serialize type="xml"> - resource://org/ametys/web/workspace/sitemap.xmap:94:32 at <map:generate type="inputdata"> - resource://org/ametys/web/workspace/sitemap.xmap:93:37 at <map:serialize type="xhtml"> - resource://org/ametys/web/workspace/sitemap.xmap:797:34 at <map:transform type="i18n"> - resource://org/ametys/web/workspace/sitemap.xmap:794:32 at <map:transform> - resource://org/ametys/web/workspace/sitemap.xmap:776:47 at org.apache.cocoon.ProcessingException.throwLocated(ProcessingException.java:145) at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.handleException(AbstractProcessingPipeline.java:953) at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:583) at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:280) at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:780) at org.apache.cocoon.components.source.impl.SitemapSource.toSAX(SitemapSource.java:414) at org.apache.cocoon.components.source.SourceUtil.toSAX(SourceUtil.java:101) at org.apache.cocoon.components.source.SourceUtil.parse(SourceUtil.java:321) at org.apache.cocoon.sitemap.ContentAggregator.generate(ContentAggregator.java:125) at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:579) at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:280) at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:481) at org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke(SerializeNode.java:144) 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:235) at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:177) at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:254) at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:118) 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:235) at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:177) at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:254) at org.apache.cocoon.Cocoon.process(Cocoon.java:699) at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1154) at org.ametys.runtime.servlet.RuntimeServlet._doService(RuntimeServlet.java:132) at org.ametys.runtime.servlet.RuntimeServlet.service(RuntimeServlet.java:89) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:852) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) at java.lang.Thread.run(Thread.java:662) Caused by: org.apache.cocoon.ProcessingException: Unknown metadata set 'link' of type 'view' for content type 'org.ametys.plugins.news.Content.news' at <map:serialize type="xml"> - resource://org/ametys/web/sitemap.xmap:171:32 at <map:generate type="content"> - resource://org/ametys/web/sitemap.xmap:166:50 at <map:serialize type="xhtml"> - resource://org/ametys/web/sitemap.xmap:1031:50 at <map:transform type="i18n"> - resource://org/ametys/web/sitemap.xmap:1027:48 at <map:transform type="docbook-enhancement"> - resource://org/ametys/web/sitemap.xmap:1026:64 at <map:transform> - resource://org/ametys/web/sitemap.xmap:1016:110 at <map:transform type="i18n"> - resource://org/ametys/web/sitemap.xmap:1012:48 at org.apache.cocoon.components.source.impl.SitemapSource.toSAX(SitemapSource.java:424) at org.ametys.web.filter.ContentFilterHelper.saxContent(ContentFilterHelper.java:141) at org.ametys.web.filter.ContentFilterHelper.saxMatchingContents(ContentFilterHelper.java:97) at org.ametys.web.tags.inputdata.FilteredContentsInputData.saxFilter(FilteredContentsInputData.java:168) at org.ametys.web.tags.inputdata.FilteredContentsInputData.toSAX(FilteredContentsInputData.java:87) at org.ametys.web.inputdata.InputDataExtensionPoint.toSAX(InputDataExtensionPoint.java:80) at org.ametys.web.inputdata.InputDataGenerator.generate(InputDataGenerator.java:44) at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:579) ... 46 more Caused by: org.apache.cocoon.ProcessingException: Unknown metadata set 'link' of type 'view' for content type 'org.ametys.plugins.news.Content.news' at <map:serialize type="xml"> - resource://org/ametys/web/sitemap.xmap:171:32 at <map:generate type="content"> - resource://org/ametys/web/sitemap.xmap:166:50 at <map:serialize type="xhtml"> - resource://org/ametys/web/sitemap.xmap:1031:50 at <map:transform type="i18n"> - resource://org/ametys/web/sitemap.xmap:1027:48 at <map:transform type="docbook-enhancement"> - resource://org/ametys/web/sitemap.xmap:1026:64 at <map:transform> - resource://org/ametys/web/sitemap.xmap:1016:110 at <map:transform type="i18n"> - resource://org/ametys/web/sitemap.xmap:1012:48 at org.ametys.cms.content.ContentGenerator._saxMetadata(ContentGenerator.java:275) at org.ametys.cms.content.ContentGenerator._saxContent(ContentGenerator.java:127) at org.ametys.cms.content.ContentGenerator._generateContent(ContentGenerator.java:97) at org.ametys.cms.content.ContentGenerator.generate(ContentGenerator.java:81) at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:579) at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:280) at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:780) at org.apache.cocoon.components.source.impl.SitemapSource.toSAX(SitemapSource.java:414) at org.apache.cocoon.components.source.SourceUtil.toSAX(SourceUtil.java:101) at org.apache.cocoon.components.source.SourceUtil.parse(SourceUtil.java:321) at org.apache.cocoon.sitemap.ContentAggregator.generate(ContentAggregator.java:125) at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:579) at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:280) at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:780) at org.apache.cocoon.components.source.impl.SitemapSource.toSAX(SitemapSource.java:414) ... 53 more
Bonjour,
J'ai une autre question : si le même popup permet d'authentifier depuis la base de données et le ldap du CAS, le problème du cryptage des login/mot de passe devient trés sensible.
J'ai défini un virtualhost Apache sur le port 443 qui utilise SSL pour obliger l'accès au cms en HTTPS.
Est-ce suffisant pour s'assurer du cryptage des login mot de passe depuis le popup basic authentication?
Merci
Merci pour les scripts SQL : la création d'utilisateurs fonctionne correctement.
J'ai maintenant un autre soucis : comment crééer une page d'authentification où l'on propose CAS ou basique ?
Car le comportement par défaut est que si on a une session CAS en cours au moment où l'on accède au CMS, on récupère bien la session CAS, mais si celle-ci n'est pas préalablement ouverte par une autre application, on tombe sur l'authentification basique, sans possibilité de se loguer par CAS... Comme la plupart de nos utilisateurs sont CAS, c'est un peu gênant de ne pas pouvoir leur proposer de s'authentifier directement par le SSO.
Y'a-t-il un plugin ou un paramétrage pour faire cela ?
Merci encore
Bonjour,
J'ai bien configuré selon vos instrusctions, mais j'ai un problème de table inexistante, losque je tente de crééer un utilisateur via l'ihm admin :
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'Ametys_CMS_USERS.Users' doesn't exist
J'ai essayé en créant une nouvelle base, Ametys créé bien les tables à nouveau, mais pas la table Users.
Comment crééer cette table ? (sachant qu'il faudrait que je la créé dans une base déjà existante)
Merci
François