[opencms-dev] Problems with History- OpenCms 7.03
Gaith Bader
gaithb at cse.unsw.edu.au
Tue Jan 8 00:30:49 CET 2008
Hi,
Answering myself on this one, I noticed that if you edit a file and
publish it
the offline history for the file pop up from nowhere, which is great
news, but is
a bit of a weird behaviour.
as a side note, is there a place that you can actually read a list of
known bugs in Cms?
Regards,
Gaith Bader
On 08/01/2008, at 10:16 AM, Gaith Bader wrote:
> Hi Amit,
>
> you are a life saver.
>
> I have to say though, that even though the error was eliminated after
> I switched from unlimited none of the
> previous versions exist, only the online version was on the list.
> Any idea if there is a way to actually get the previous versions of
> history? are they even still somewhere in the db?
>
> Thanks,
>
> Gaith Bader
>
>
> On 08/01/2008, at 5:33 AM, Chauhan, Amit wrote:
>
>> This is a known bug in CMS. It's fixed in the CVS, and will be
>> available in the next release.
>> You will get this error when you set the history setting to
>> unlimited. To get rid of the error till new version is released,
>> don't use the unlimited setting. You can set it to any number other
>> than unlimited, and it will work.
>>
>> Thanks
>> Amit Chauhan
>> -----Original Message-----
>> From: opencms-dev-bounces at opencms.org [mailto:opencms-dev-
>> bounces at opencms.org] On Behalf Of Olivier Camus
>> Sent: Monday, January 07, 2008 12:23 AM
>> To: The OpenCms mailing list
>> Subject: Re: [opencms-dev] Problems with History- OpenCms 7.03
>>
>> Hi !
>>
>> I have the same problem.
>> I think that you have disabled and clean the "History".
>> To fix it, using workplace, enable "History" and keep one version for
>> each file.
>>
>>
>>
>>
>> ---- Messages d´origine ----
>> De: Gaith Bader <gaithb at cse.unsw.edu.au>
>> Date: lundi, janvier 7, 2008 5:24 am
>> Objet: [opencms-dev] Problems with History- OpenCms 7.03
>>
>>> Hi,
>>>
>>> I have just encountered a new error message I never got before when
>>> I
>>> try to view the history of a web-page in
>>> the offline section of the VFS, instead of giving me the usual list
>>>
>>> of history I instead receive the following error:
>>>
>>> Error
>>> Error while filling the list "History".
>>> Reason: Error reading all available historical versions of resource
>>> "/
>>> search.html".
>>> Reason: fromIndex(0) > toIndex(-1)
>>>
>>> I have no idea why this happens all of a sudden. I had an issue
>>> with
>>> history before that forced me to
>>> reinstall OpenCms 7.03 from scratch instead as an upgrade from
>>> 6.2.3
>>> which fixed the problem.
>>> However, now and all of a sudden a new problem with History has
>>> occurred that I do not know how
>>> to fix or the cause of it.
>>>
>>> I would really appreciate any feedback or help with this issue.
>>>
>>> our setup is:
>>>
>>> - OpenCms v 7.0.3 from scratch
>>> - OCEE v2.0.2
>>> - mySQL v 5.0. 30x
>>> - Apache Tomcat v 5.5.25x
>>> - Java JDK 1.5.0x
>>> - Debian as the underline OS
>>>
>>> Below you will find the more detailed error message from the
>>> opencms.log file:
>>>
>>> Thank you for your help,
>>>
>>> Gaith Bader
>>> ---------------------------------------------------
>>>
>>> ERROR [ina.core.ApplicationDispatcher: 723] Servlet.service() for
>>> servlet jsp threw exception
>>> java.lang.IllegalArgumentException: fromIndex(0) > toIndex(-1)
>>> at java.util.SubList.<init>(AbstractList.java:707)
>>> at
>>> java.util.RandomAccessSubList.<init>(AbstractList.java:861)
>>> at java.util.AbstractList.subList(AbstractList.java:570)
>>> at
>>> org.opencms.db.CmsDriverManager.readAllAvailableVersions
>>> (CmsDriverManager.java:5245)
>>> at
>>> org.opencms.db.CmsSecurityManager.readAllAvailableVersions
>>> (CmsSecurityManager.java:3075)
>>> at org.opencms.file.CmsObject.readAllAvailableVersions
>>> (CmsObject.java:2476)
>>> at
>>> org.opencms.workplace.commons.CmsHistoryList.getListItems
>>> (CmsHistoryList.java:432)
>>> at org.opencms.workplace.list.A_CmsListDialog.fillList
>>> (A_CmsListDialog.java:883)
>>> at org.opencms.workplace.list.A_CmsListDialog.refreshList
>>> (A_CmsListDialog.java:628)
>>> at org.opencms.workplace.list.A_CmsListDialog.actionDialog
>>> (A_CmsListDialog.java:364)
>>> at
>>> org.opencms.workplace.list.A_CmsListDialog.displayDialog
>>> (A_CmsListDialog.java:411)
>>> at
>>> org.apache.jsp.WEB_002dINF.jsp.offline.system.workplace.explorer.his
>>> t
>>> ory
>>> .index_jsp._jspService(index_jsp.java:57)
>>> at org.apache.jasper.runtime.HttpJspBase.service
>>> (HttpJspBase.java:98)
>>> at
>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>>> 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:802)
>>> 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:691)
>>> at
>>> org.apache.catalina.core.ApplicationDispatcher.processRequest
>>> (ApplicationDispatcher.java:469)
>>> at
>>> org.apache.catalina.core.ApplicationDispatcher.doForward
>>> (ApplicationDispatcher.java:403)
>>> at org.apache.catalina.core.ApplicationDispatcher.forward
>>> (ApplicationDispatcher.java:301)
>>> at org.opencms.flex.CmsFlexRequestDispatcher.forward
>>> (CmsFlexRequestDispatcher.java:117)
>>> at
>>> org.opencms.loader.CmsJspLoader.load(CmsJspLoader.java:572)
>>> at org.opencms.loader.CmsResourceManager.loadResource
>>> (CmsResourceManager.java:948)
>>> at org.opencms.main.OpenCmsCore.showResource
>>> (OpenCmsCore.java:1492)
>>> at
>>> org.opencms.main.OpenCmsServlet.doGet(OpenCmsServlet.java:
>>> 171)
>>> at org.opencms.main.OpenCmsServlet.doPost
>>> (OpenCmsServlet.java:183)
>>> at
>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>>> 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:691)
>>> at
>>> org.apache.catalina.core.ApplicationDispatcher.processRequest
>>> (ApplicationDispatcher.java:469)
>>> at
>>> org.apache.catalina.core.ApplicationDispatcher.doForward
>>> (ApplicationDispatcher.java:403)
>>> at org.apache.catalina.core.ApplicationDispatcher.forward
>>> (ApplicationDispatcher.java:301)
>>> at org.opencms.flex.CmsFlexRequestDispatcher.forward
>>> (CmsFlexRequestDispatcher.java:117)
>>> at org.opencms.util.CmsRequestUtil.forwardRequest
>>> (CmsRequestUtil.java:458)
>>> at
>>> org.opencms.workplace.tools.CmsToolManager.jspForwardPage
>>> (CmsToolManager.java:482)
>>> at
>>> org.opencms.workplace.administration.CmsAdminDialog.displayDialog
>>> (CmsAdminDialog.java:100)
>>> at
>>> org.apache.jsp.WEB_002dINF.jsp.offline.system.workplace.views.admin.
>>> a
>>> dmi
>>> n_002dmain_jsp._jspService(admin_002dmain_jsp.java:46)
>>> at org.apache.jasper.runtime.HttpJspBase.service
>>> (HttpJspBase.java:98)
>>> at
>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>>> 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:802)
>>> 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:691)
>>> at
>>> org.apache.catalina.core.ApplicationDispatcher.processRequest
>>> (ApplicationDispatcher.java:469)
>>> at
>>> org.apache.catalina.core.ApplicationDispatcher.doForward
>>> (ApplicationDispatcher.java:403)
>>> at org.apache.catalina.core.ApplicationDispatcher.forward
>>> (ApplicationDispatcher.java:301)
>>> at
>>> org.opencms.loader.CmsJspLoader.load(CmsJspLoader.java:572)
>>> at org.opencms.loader.CmsResourceManager.loadResource
>>> (CmsResourceManager.java:948)
>>> at org.opencms.main.OpenCmsCore.showResource
>>> (OpenCmsCore.java:1492)
>>> at
>>> org.opencms.main.OpenCmsServlet.doGet(OpenCmsServlet.java:
>>> 171)
>>> at org.opencms.main.OpenCmsServlet.doPost
>>> (OpenCmsServlet.java:183)
>>> at
>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>>> 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:151)
>>> 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(Thread.java:595)
>>>
>>>
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> 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 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
More information about the opencms-dev
mailing list