[opencms-dev] CmsVfsResourceNotFoundException on Direct Edit

Territorio Jordan-V. jordan.territorio at gmail.com
Tue May 13 10:06:49 CEST 2008


Hi all,

I'm using OpenCMS 7.0.4 on a Tomcat 5.5 under Windows 2000. I currently have
problem using Direct Edit. Here is the logs I get when I click on a direct
edit button :

13 mai 2008 10:00:05,460 ERROR [ace.editors.CmsPreEditorAction: 169] Error
reading resource from path "/infos/propane.html".
org.opencms.file.CmsVfsResourceNotFoundException: Error reading resource
from path "/infos/propane.html".
    at
org.opencms.file.CmsVfsResourceNotFoundException.createException(CmsVfsResourceNotFoundException.java:78)
    at org.opencms.db.CmsDbContext.throwException(CmsDbContext.java:238)
    at org.opencms.db.CmsDbContext.report(CmsDbContext.java:212)
    at
org.opencms.db.CmsSecurityManager.readResource(CmsSecurityManager.java:3989)
    at org.opencms.file.CmsObject.readResource(CmsObject.java:3470)
    at
org.opencms.workplace.editors.CmsPreEditorAction.doPreAction(CmsPreEditorAction.java:159)
    at
org.apache.jsp.WEB_002dINF.jsp.offline.system.workplace.editors.editor_jsp._jspService(editor_jsp.java:46)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:331)
    at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
    at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
    at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:679)
    at
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:584)
    at
org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:497)
    at
org.opencms.flex.CmsFlexRequestDispatcher.includeExternal(CmsFlexRequestDispatcher.java:194)
    at
org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:169)
    at org.opencms.loader.CmsJspLoader.service(CmsJspLoader.java:1172)
    at
org.opencms.flex.CmsFlexRequestDispatcher.includeInternalWithCache(CmsFlexRequestDispatcher.java:423)
    at
org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:173)
    at org.opencms.loader.CmsJspLoader.dispatchJsp(CmsJspLoader.java:1206)
    at org.opencms.loader.CmsJspLoader.load(CmsJspLoader.java:1150)
    at
org.opencms.loader.CmsResourceManager.loadResource(CmsResourceManager.java:964)
    at org.opencms.main.OpenCmsCore.showResource(OpenCmsCore.java:1494)
    at org.opencms.main.OpenCmsServlet.doGet(OpenCmsServlet.java:152)
    at org.opencms.main.OpenCmsServlet.doPost(OpenCmsServlet.java:164)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
    at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
    at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
    at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
    at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
    at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
    at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
    at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
    at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)
    at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
    at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
    at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
    at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
    at java.lang.Thread.run(Unknown Source)
Caused by: org.opencms.file.CmsVfsResourceNotFoundException: Unable to read
resource "/infos/propane.html".
    at
org.opencms.db.generic.CmsVfsDriver.readResource(CmsVfsDriver.java:1917)
    at
org.opencms.db.CmsDriverManager.readResource(CmsDriverManager.java:6387)
    at
org.opencms.db.CmsSecurityManager.readResource(CmsSecurityManager.java:5798)
    at
org.opencms.db.CmsSecurityManager.readResource(CmsSecurityManager.java:3987)
    ... 41 more


I found some notes about modifying the opencms-workplace.xml they have not
solved the problem... For the moment my opencms-workplace.xml looks like
that :
...
<editorhandler class="org.opencms.workplace.editors.CmsEditorHandler"/>
    <editoraction
class="org.opencms.workplace.editors.CmsEditorActionDefault"/>
    <editorcsshandlers>
        <editorcsshandler
class="org.opencms.workplace.editors.CmsEditorCssHandlerDefault"/>
    </editorcsshandlers>
    <editorpreconditions>
        <editorprecondition name="xmlcontent"
class="org.opencms.workplace.editors.CmsPreEditorActionDefinitionXmlContent"
/>
    </editorpreconditions>
<!--<directeditprovider
class="org.opencms.workplace.editors.directedit.CmsDirectEditJQueryProvider"
/> what i have by default, the same exception occurs-->
<!--<directeditprovider class="org.opencms.workplace.editors.directedit
.CmsDirectEditJspIncludeProvider" /> tryied but the page is no more viewable
before editing-->
<directeditprovider
class="org.opencms.workplace.editors.directedit.CmsDirectEditDefaultProvider"
/>
...

Someone has an idea about what to do to resolve this problem?


-- 
TERRITORIO Jordan-Victor
Ingénieur d'Intégration Java
TEAMLOG – Ingenieurs 2000

+33 6 30 66 54 69
jot at teamlog.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20080513/2ff97430/attachment.htm>


More information about the opencms-dev mailing list