<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.3314" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=224090714-13052008><FONT face=Arial
color=#0000ff size=2>Hmm...</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=224090714-13052008><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=224090714-13052008><FONT face=Arial
color=#0000ff size=2>Where are your subfile ( the xml file, what is contains the
datas ) ?</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=224090714-13052008><FONT face=Arial
color=#0000ff size=2>If you clicking to your index file in opencms, is it
generated correctly and you can edit the subfiles ( with the direct
edit button ) ?</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=224090714-13052008><FONT face=Arial
color=#0000ff size=2>If this part is ok, the failure will be in your site - you
cant defined something correctly on it ( ? ).</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=224090714-13052008><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=224090714-13052008><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=224090714-13052008><FONT face=Arial
color=#0000ff size=2>Tib</FONT></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> opencms-dev-bounces@opencms.org
[mailto:opencms-dev-bounces@opencms.org] <B>On Behalf Of </B>Territorio
Jordan-V.<BR><B>Sent:</B> 2008. május 13. 15:43<BR><B>To:</B> The OpenCms
mailing list<BR><B>Subject:</B> Re: [opencms-dev]
CmsVfsResourceNotFoundException on Direct Editing<BR></FONT><BR></DIV>
<DIV></DIV>Yes, when i use the OpenCms interface, I can edit the page through my
templates and so publish the modified page on my site. But when i'm logged in my
site, logged as administrator, the direct edit button appears but an exception
is throwed...<BR><BR>I suppose this is the correct directory.<BR>the code of my
display template (system/modules/com.mymodule/templates) :<BR><BR><%@ page
session="false"%><BR><%@ taglib prefix="cms" uri="<A
href="http://www.opencms.org/taglib/cms">http://www.opencms.org/taglib/cms</A>"%><BR><%@
taglib prefix="c" uri="<A
href="http://java.sun.com/jsp/jstl/core">http://java.sun.com/jsp/jstl/core</A>"%><BR><%@
taglib uri="<A
href="http://java.sun.com/jsp/jstl/functions">http://java.sun.com/jsp/jstl/functions</A>"
prefix="fn"%><BR><cms:include property="template" element="head"
/><BR><cms:editable /><BR><div
class="main"><BR><cms:contentload
collector="singleFile"<BR> param="%(opencms.uri)"
editable="true"><BR><BR> <h2><cms:contentshow
element="Title" /></h2><BR> <h3>Monsieur
<cms:user property="name" /></h3><BR>
<p><cms:contentshow element="Text"
/></p><BR> <p class="sign"><cms:contentshow
element="Signature"
/></p><BR></cms:contentload><BR></div><BR><cms:include
property="template" element="foot" /><BR><BR>Elements "head" and "foot" are
defined in /system/modules/com.mymodule/templates/user.jsp<BR><BR>I need to edit
html files in "client" and "infos" subdirectories :<BR>/site/default/<BR> +
client/accueil.html<BR> + infos/*.html<BR><BR>:S<BR><BR><BR><BR><BR><BR>
<DIV class=gmail_quote>2008/5/13 Nagy, Tibor KPI (GE Indust, ConsInd,
consultant) <<A
href="mailto:Tibor.Nagy2@ge.com">Tibor.Nagy2@ge.com</A>>:<BR>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<DIV>
<DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff
size=2>Hi!</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff size=2>You cannot
got the OpenCms subfile, what you want to edit ( Virtual File System Resource
Not Found ).</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff size=2>You
editing the correct file ( with the correct extension defined in the template
) in the "console" ? It is in the correct directory ?</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff
size=2>Tib</FONT></SPAN></DIV><BR>
<DIV lang=en-us dir=ltr align=left>
<HR>
<FONT face=Tahoma size=2><B>From:</B> <A
href="mailto:opencms-dev-bounces@opencms.org"
target=_blank>opencms-dev-bounces@opencms.org</A> [mailto:<A
href="mailto:opencms-dev-bounces@opencms.org"
target=_blank>opencms-dev-bounces@opencms.org</A>] <B>On Behalf Of
</B>Territorio Jordan-V.<BR><B>Sent:</B> 2008. május 13. 15:01<BR><B>To:</B>
The OpenCms mailing list<BR><B>Subject:</B> [opencms-dev]
CmsVfsResourceNotFoundException on Direct Editing<BR></FONT><BR></DIV>
<DIV>
<DIV></DIV>
<DIV class=Wj3C7c>
<DIV></DIV>Hi all,<BR><BR>I'ge got a problelm with direct editing
button.<BR>I've made a schema which is correctly displayed with a template
jsp. When I acces to the html file which use the schema by the OpenCms
administration "console" everything works fine : i can edit the page, modify
the properties, etc...<BR>So i''ve decided to add a direct edit button. The
button has been added.<BR><BR>But when I click on it, it appears a
CmsVfsResourceNotFoundException on the html page...<BR><BR>Here is the
opencms.log file :<BR><BR>3 mai 2008 15:02:36,616 ERROR
[ace.editors.CmsPreEditorAction: 169] Error reading resource from path
"/client/accueil.html".<BR>org.opencms.file.CmsVfsResourceNotFoundException:
Error reading resource from path "/client/accueil.html".<BR>
at
org.opencms.file.CmsVfsResourceNotFoundException.createException(CmsVfsResourceNotFoundException.java:78)<BR>
at
org.opencms.db.CmsDbContext.throwException(CmsDbContext.java:238)<BR>
at
org.opencms.db.CmsDbContext.report(CmsDbContext.java:212)<BR>
at
org.opencms.db.CmsSecurityManager.readResource(CmsSecurityManager.java:3989)<BR>
at
org.opencms.file.CmsObject.readResource(CmsObject.java:3470)<BR>
at
org.opencms.workplace.editors.CmsPreEditorAction.doPreAction(CmsPreEditorAction.java:159)<BR>
at
org.apache.jsp.WEB_002dINF.jsp.offline.system.workplace.editors.editor_jsp._jspService(editor_jsp.java:46)<BR>
at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)<BR>
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)<BR>
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:331)<BR>
at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)<BR>
at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)<BR>
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)<BR>
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)<BR>
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)<BR>
at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:679)<BR>
at
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:584)<BR>
at
org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:497)<BR>
at
org.opencms.flex.CmsFlexRequestDispatcher.includeExternal(CmsFlexRequestDispatcher.java:194)<BR>
at
org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:169)<BR>
at
org.opencms.loader.CmsJspLoader.service(CmsJspLoader.java:1172)<BR>
at
org.opencms.flex.CmsFlexRequestDispatcher.includeInternalWithCache(CmsFlexRequestDispatcher.java:423)<BR>
at
org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:173)<BR>
at
org.opencms.loader.CmsJspLoader.dispatchJsp(CmsJspLoader.java:1206)<BR>
at
org.opencms.loader.CmsJspLoader.load(CmsJspLoader.java:1150)<BR>
at
org.opencms.loader.CmsResourceManager.loadResource(CmsResourceManager.java:964)<BR>
at
org.opencms.main.OpenCmsCore.showResource(OpenCmsCore.java:1494)<BR>
at
org.opencms.main.OpenCmsServlet.doGet(OpenCmsServlet.java:152)<BR>
at
org.opencms.main.OpenCmsServlet.doPost(OpenCmsServlet.java:164)<BR>
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:710)<BR>
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)<BR>
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)<BR>
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)<BR>
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)<BR>
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)<BR>
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)<BR>
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)<BR>
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)<BR>
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)<BR>
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)<BR>
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)<BR>
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)<BR>
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)<BR>
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)<BR>
at java.lang.Thread.run(Unknown Source)<BR>Caused by:
org.opencms.file.CmsVfsResourceNotFoundException: Unable to read resource
"/client/accueil.html".<BR> at
org.opencms.db.generic.CmsVfsDriver.readResource(CmsVfsDriver.java:1917)<BR>
at
org.opencms.db.CmsDriverManager.readResource(CmsDriverManager.java:6387)<BR>
at
org.opencms.db.CmsSecurityManager.readResource(CmsSecurityManager.java:5798)<BR>
at
org.opencms.db.CmsSecurityManager.readResource(CmsSecurityManager.java:3987)<BR
clear=all><BR><BR>Has anyone already have the same problem or a solution ?
:-)<BR><BR>-- <BR>TERRITORIO Jordan-Victor<BR>Ingénieur d'Intégration
Java<BR>TEAMLOG – Ingenieurs 2000<BR><BR>+33 6 30 66 54 69<BR><A
href="mailto:jot@teamlog.com" target=_blank>jot@teamlog.com</A>
</DIV></DIV></DIV><BR><BR>_______________________________________________<BR>This
mail is sent to you from the opencms-dev mailing list<BR>To change your list
options, or to unsubscribe from the list, please visit<BR><A
href="http://lists.opencms.org/mailman/listinfo/opencms-dev"
target=_blank>http://lists.opencms.org/mailman/listinfo/opencms-dev</A><BR></BLOCKQUOTE></DIV><BR><BR
clear=all><BR>-- <BR>TERRITORIO Jordan-Victor<BR>Ingénieur d'Intégration
Java<BR>TEAMLOG – Ingenieurs 2000<BR><BR>+33 6 30 66 54 69<BR><A
href="mailto:jot@teamlog.com">jot@teamlog.com</A> </BODY></HTML>