[opencms-dev] Historical File Not Found
Timothy Mcginnis
tmcginni at aessuccess.org
Wed Jul 14 19:16:42 CEST 2010
I am using mysql. Below is the full stack trace. I can publish without
a problem. And there are no entries in the opencms.log file. When I look
at the history of a page (right-click, History) it only shows the current
version, none of the previous versions.
I have other implementations of opencms that work fine with versioning.
org.opencms.file.CmsVfsResourceNotFoundException: Error reading resource
from path "/system/shared/showversion/sites/default/index.html".
at
org.opencms.file.CmsVfsResourceNotFoundException.createException(CmsVfsResourceNotFoundException.java:79)
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:4035)
at
org.opencms.file.CmsObject.readResource(CmsObject.java:3525)
at
org.opencms.file.CmsObject.readResource(CmsObject.java:3492)
at
org.opencms.file.CmsObject.readDefaultFile(CmsObject.java:2694)
at
org.opencms.main.OpenCmsCore.initResource(OpenCmsCore.java:1350)
at
org.opencms.main.OpenCmsCore.showResource(OpenCmsCore.java:1487)
at
org.opencms.main.OpenCmsServlet.doGet(OpenCmsServlet.java:153)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
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:128)
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:293)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
at java.lang.Thread.run(Thread.java:619)
Caused by: org.opencms.file.CmsVfsResourceNotFoundException: Unable to
read resource "/system/shared/showversion/sites/default/index.html".
at
org.opencms.db.generic.CmsVfsDriver.readResource(CmsVfsDriver.java:1951)
at
org.opencms.db.CmsDriverManager.readResource(CmsDriverManager.java:6524)
at
org.opencms.db.CmsSecurityManager.readResource(CmsSecurityManager.java:5854)
at
org.opencms.db.CmsSecurityManager.readResource(CmsSecurityManager.java:4033)
... 20 more
Tim McGinnis
717 720-1962
Web Development
AES/PHEAA
From:
Mario Jäger <m.jaeger at alkacon.com>
To:
"The OpenCms mailing list" <opencms-dev at opencms.org>
Date:
07/13/2010 03:51 AM
Subject:
Re: [opencms-dev] Historical File Not Found
Sent by:
opencms-dev-bounces at opencms.org
Hi Timothy,
What database do you use? Is this the full error stack trace you get,
which you sent in your first mail?
But the id (in your case "2e47a35c-846e-11df-94b2-0007e9e17f96") you get
in the stack trace is always another one per resource?
Can you publish resources without problems? Or are there any log entries
after publishing?
--
Kind Regards,
Mario.
-------------------
Mario Jäger
Alkacon Software GmbH - The OpenCms Experts
http://www.alkacon.com - http://www.opencms.org
Timothy Mcginnis schrieb:
>
> No, it does not work on any resource. I always get the error.
>
> Tim McGinnis
> 717 720-1962
> Web Development
> AES/PHEAA
>
>
> From: Mario Jäger <m.jaeger at alkacon.com>
> To: "The OpenCms mailing list" <opencms-dev at opencms.org>
> Date: 07/12/2010 03:22 AM
> Subject: Re: [opencms-dev] Historical File Not Found
> Sent by: opencms-dev-bounces at opencms.org
>
>
>
>
>
> Hi Tim,
>
> This exception is thrown, if for the given resource no historical
> resource entry
> with the given version number was found. You get the error when you
> select the
> context menu entry "History"? Does it work on any other resource?
>
> --
> Kind Regards,
> Mario.
>
> -------------------
> Mario Jäger
>
> Alkacon Software GmbH - The OpenCms Experts
> http://www.alkacon.com <http://www.alkacon.com/> -
> http://www.opencms.org <http://www.opencms.org/>
>
>
> Timothy Mcginnis schrieb:
> >
> > I am trying to use the versioning feature in OpenCMS but I get an
> > exception
> >
> > Caused by: org.opencms.file.CmsVfsResourceNotFoundException:
> > Historical file "2e47a35c-846e-11df-94b2-0007e9e17f96" was not found.
> >
> > Can someone give me an idea what is wrong?
> >
> > Tim McGinnis
> > 717 720-1962
> > Web Development
> > AES/PHEAA
> >
>
==============================================================================
> > This message contains privileged and confidential information
> intended for the above addressees only. If you
> > receive this message in error please delete or destroy this message
> and/or attachments.
> >
> > The sender of this message will fully cooperate in the civil and
> criminal prosecution of any individual engaging
> > in the unauthorized use of this message.
> >
>
==============================================================================
> >
> >
------------------------------------------------------------------------
> >
> >
> > _______________________________________________
> > This mail is sent to you from the opencms-dev mailing list
> > To change your list options, or to unsubscribe from the list, please
> visit
> > http://lists.opencms.org/mailman/listinfo/opencms-dev
> <http://lists.opencms.org/mailman/listinfo/opencms-dev>
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please
visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev
> <http://lists.opencms.org/mailman/listinfo/opencms-dev>
>
>
>
>
==============================================================================
> This message contains privileged and confidential information intended
for the above addressees only. If you
> receive this message in error please delete or destroy this message
and/or attachments.
>
> The sender of this message will fully cooperate in the civil and
criminal prosecution of any individual engaging
> in the unauthorized use of this message.
>
==============================================================================
>
> ------------------------------------------------------------------------
>
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please
visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev
_______________________________________________
This mail is sent to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
http://lists.opencms.org/mailman/listinfo/opencms-dev
==============================================================================
This message contains privileged and confidential information intended for the above addressees only. If you
receive this message in error please delete or destroy this message and/or attachments.
The sender of this message will fully cooperate in the civil and criminal prosecution of any individual engaging
in the unauthorized use of this message.
==============================================================================
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20100714/b624dad5/attachment.htm>
More information about the opencms-dev
mailing list