[opencms-dev] history related problem "Error while filling the list "History" OpenCms 7.03

Michael Moossen m.moossen at alkacon.com
Fri Dec 7 10:54:04 CET 2007


Hi Gaith!

 > Error while filling the list "History".
 > Reason: Invalid principal name "3d0ea66a-f3b2-11db-bb8f-00142218eb7c"
 > used.
this is indeed a bug (in an update scenario) and will be fixed in the 
next release.

 > .... In fact it does say version 12 for example, indicating there were
 > older versions but they are no where to be found.
this is the expected behavior after updating, since the historical data 
is lost, but the version numbers are kept.

Kind regards,
Michael

-------------------

Alkacon Software GmbH - The OpenCms Experts
Michael Moossen

http://www.alkacon.com
http://www.opencms.org



Gaith Bader wrote:
> Hi,
> 
> I was wondering if anybody has experienced the following error  
> behaviour when trying to access the history of a file in VFS
> 
> For me if I right click a web page and go to History the following  
> error comes up:
> ---------------------------------
> Error while filling the list "History".
> Reason: Invalid principal name "3d0ea66a-f3b2-11db-bb8f-00142218eb7c"  
> used.
> ---------------------------------
> 
> The Principal name above seems to be the same whatever file I choose.
> 
> If I try a normal xmlpage type sometimes the error comes and other  
> times it does not. However, if it does come and I touch the file and  
> republish it the history page shows up albeit the only copy of the  
> file that I just published is the only thing available in history. If  
> I do update the file again and publish it the older version now  
> registers in history. In fact it does say version 12 for example,  
> indicating there were older versions but they are no where to be found.
> 
> For JSP files the error shows up on all of the ones I tested and if I  
> edit and publish that does not solve the problem.
> 
> I have upgraded from 6.23 to 7.03 around a few weeks ago. and I only  
> noticed this problem today. Do not know if it existed from the day of  
> the update since I only tried history on jsp files today. I did look  
> at a normal xmlpage type page when I upgraded and it did work but  
> there was no history in it as the upgrade documentation indicated  
> this would be the case I did not think much of it at the time.
> 
> I would totally appreciate if someone knows anything about this and  
> can help me with it.
> 
> I am using the following setup:
> 
> -       OpenCms v 7.0.3 (upgrade path from 6.23)
> -       mySQL v 5.0. 30x
> -       Apache Tomcat v 5.5.25x
> -       Java JDK 1.5.0x
> -       Debian as the OS
> 
> 
> Thank you for your help,
> 
> Gaith Bader
> Senior Information Officer
> School of Computer Science and Engineering
> The University of New South Wales
> 
> PS:
> 
> Here is the output error registered by the opencms log file.  
> hopefully that might help too
> ---------------------------------
> 
> ERROR [ina.core.ApplicationDispatcher: 723] Servlet.service() for  
> servlet jsp threw exception
> org.opencms.db.CmsDbEntryNotFoundException: Invalid principal name  
> "3d0ea66a-f3b2-11db-bb8f-00142218eb7c" used.
>          at  
> org.opencms.security.CmsPrincipal.readPrincipalIncludingHistory 
> (CmsPrincipal.java:302)
>          at org.opencms.workplace.commons.CmsHistoryList.getListItems 
> (CmsHistoryList.java:462)
>          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.history 
> .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.admi 
> 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



More information about the opencms-dev mailing list