Forum Ametys

Forum de la communauté Ametys

You are not logged in.

#1 29/03/2011 10:32:36

bqui
Guest
From: Nîmes
Registered: 17/11/2010
Posts: 132

Consultation des liens cassés

Bonjour,

Lorsque je veux vérifier les liens cassés, je rencontre l'erreur suivante :
Resource not found for URI : resource://org/data/web/3.2/cms/WEB-INF/data/consistency/default/report.xml

Ci joint la trace complète.

J'ai créé un fichier vide avec les bons droits mais ça n'a pas l'air de suffire ; y aurait il un modèle de ce fichier ?

Merci.

Offline

#2 29/03/2011 10:43:59

Laurence Aumeunier
Expert Team
Registered: 10/08/2010
Posts: 154

Re: Consultation des liens cassés

Bonjour,

Ce bug a été signalé et corrigé hier
Nous avons relevés quelques problèmes depuis la sortie de la 3.2 qui nous amènera à relivrer très prochainement une nouvelle version corrective.

Cdt.


Laurence Aumeunier
Ametys Expert

Offline

#3 30/03/2011 18:46:51

Cédric Damioli
Ametys Product Manager
From: Toulouse
Registered: 10/08/2010
Posts: 336

Re: Consultation des liens cassés

Pour info, nous avons relivré la 3.2, elle contient maintenant la correction de ce bug

Offline

#4 13/09/2011 14:17:19

bqui
Guest
From: Nîmes
Registered: 17/11/2010
Posts: 132

Re: Consultation des liens cassés

Bonjour,
Il semblerait que le bug ait fait sa réapparition dans la version 3.2.1.
Est ce bien le cas ou ai-je une erreur dans mon installation ?
Merci,
Cordialement.

Offline

#5 13/09/2011 18:28:36

Laurence Aumeunier
Expert Team
Registered: 10/08/2010
Posts: 154

Re: Consultation des liens cassés

Bonjour,
Avez-vous de nouveaux logs au sujet de cette erreur ?
Quand avez-vous cette erreur ? Lorsque vous essayez de visualiser le dernier rapport des liens cassés ?
Cdt,
Laurence.


Laurence Aumeunier
Ametys Expert

Offline

#6 15/09/2011 09:50:06

bqui
Guest
From: Nîmes
Registered: 17/11/2010
Posts: 132

Re: Consultation des liens cassés

Bonjour,
Le bug apparaît lorsque je vais la première fois sur Accueil / Liens cassés ; l'erreur est la suivante :

Resource not found for URI : resource://org/data/web/3.2.1/cms/WEB-INF/data/consistency/default/report.xml

org.apache.excalibur.source.SourceNotFoundException: Resource not found for URI : resource://org/data/web/3.2.1/cms/WEB-INF/data/consistency/default/report.xml
    at org.ametys.runtime.util.cocoon.source.ResourceSource.<init>(ResourceSource.java:67)
    at org.ametys.runtime.util.cocoon.source.ResourceSourceFactory.getSource(ResourceSourceFactory.java:31)
    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:541)
    at org.ametys.runtime.cocoon.RuntimeFileGenerator$SourceResolverWrapper.resolveURI(RuntimeFileGenerator.java:79)
    at org.apache.cocoon.generation.FileGenerator.setup(FileGenerator.java:79)
    at org.ametys.runtime.cocoon.RuntimeFileGenerator.setup(RuntimeFileGenerator.java:51)
    at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.setupPipeline(AbstractProcessingPipeline.java:385)
    at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.setupPipeline(AbstractCachingProcessingPipeline.java:718)
    at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.preparePipeline(AbstractProcessingPipeline.java:501)
    at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.prepareInternal(AbstractProcessingPipeline.java:515)
    at org.apache.cocoon.components.source.impl.SitemapSource.init(SitemapSource.java:343)
    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:291)
    at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
    at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:291)
    at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:776)
    at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:705)
    at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:898)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
    at java.lang.Thread.run(Unknown Source)

Offline

#7 16/09/2011 12:04:38

Laurence Aumeunier
Expert Team
Registered: 10/08/2010
Posts: 154

Re: Consultation des liens cassés

Bonjour,

Il semblerait que ce soit un problème d'install.

Le chemin du fichier recherché (resource://org/data/web/3.2.1/cms/WEB-INF/data/consistency/default/report.xml
) est en effet très curieux. On devrait plutôt voir un chemin absolu du type /home/user/applications/cms/WEB-INF/data/consistency/default/report.xml (/home/user/applications/cms/ étant le répertoire d'installation du CMS).

Comment avez-vous déployé votre application dans Tomcat ?

Laurence.


Laurence Aumeunier
Ametys Expert

Offline

#8 20/09/2011 13:35:50

bqui
Guest
From: Nîmes
Registered: 17/11/2010
Posts: 132

Re: Consultation des liens cassés

Bonjour,

Dans le server.xml de mon tomcat j'ai
<Context path="/cms" docBase="/data/web/3.2.1/cms" crossContext="true" reloadable="false" />

Ceci n'a pas changé et en 3.1.01 cela fonctionnait. Je suis passé en 3.2.2 et la vérification fonctionne correctement.

Cordialement.

Offline

Board footer

Powered by FluxBB