[xwiki-users] XWiki broken awfully
Mark Robinson
mark.robinson at hk.tntfreight.com
Wed Aug 30 17:22:52 CEST 2006
Hi.
Does anyone have a sample database dump for the current SVN version.
I have compiled the source and deployed it successfully to tomcat,
but it will not upgrade the database gracefully.
Failing with a character encoding error as per below.
javax.servlet.ServletException: Error number 3 in 0: Could not
initialize main XWiki context
Wrapped Exception: Error number 3201 in 3: Exception while saving
document XWiki.XWikiPreferences
Wrapped Exception: java.lang.String
org.apache.struts.action.RequestProcessor.processException
(RequestProcessor.java:535)
org.apache.struts.action.RequestProcessor.processActionPerform
(RequestProcessor.java:433)
org.apache.struts.action.RequestProcessor.process
(RequestProcessor.java:236)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter
(SetCharacterEncodingFilter.java:127)
Would this have changed from 9.840?
Cheers,
Mark
On 30/08/2006, at 9:44 PM, Ludovic Dubost wrote:
>
> One more precision. Given that the problem is due to the fact of
> having an '@' in the 'n' last characters of a document. 'n' being
> the number of '@' in your document.
> If you really want to create a wiki page with a lot of '@', just
> add a paragraph of text at the end of your document and you will be
> safe.
>
> Ludovic
>
> Ludovic Dubost a écrit :
>>
>> Hi,
>>
>> This is due to a bug in JRCS with too many '@' in a document.
>> Sometimes it might break the archive.
>> Either you fix the archive by adding an '@' around the end of your
>> document where there is only one '@' where they should be 2 '@@'
>> Either you don't care about your version history and you can
>> delete the XWD_ARCHIVE field in your database for the document
>> that has the problem.
>>
>> Then you need to not have too many '@' in a document until you
>> upgrade to a more recent version of XWiki which has the fixed JRCS
>> lib. You can't just upgrade the libs because the package names
>> have changed.
>> We haven't yet released an official version of XWiki which does
>> not have this problem.
>>
>> Ludovic
>>
>> David Delbecq a écrit :
>>> Hello,
>>>
>>> The xwiki here has awfully broken on a webpage. The content we get
>>> instead of the page is as shown bottom. We are using XWiki Version
>>> 0.9.840 on top of a mysql installation. We are wondering what
>>> this mean.
>>> Only suspectable problem is this part "Parse error at line 393,
>>> column
>>> 248. Encountered: oma.be", oma.be being our domain name, i guess
>>> there
>>> is a @ before that the parser don't like. But we don't have any
>>> damn idea
>>> - what parser
>>> - where this is in document (we can't edit the file)
>>> - how to fix it
>>>
>>> requesting help, no idea what is going down.
>>>
>>> Error number 3202 in 3: Exception while reading document
>>> Direction.QuifaitquoiIrm
>>> Wrapped Exception: exception setting property value with CGLIB (set
>>> hibernate.cglib.use_reflection_optimizer=false for more info)
>>> setter of
>>> com.xpn.xwiki.doc.XWikiDocument.setArchive
>>> com.xpn.xwiki.XWikiException: Error number 3202 in 3: Exception
>>> while
>>> reading document Direction.QuifaitquoiIrm
>>> Wrapped Exception: exception setting property value with CGLIB (set
>>> hibernate.cglib.use_reflection_optimizer=false for more info)
>>> setter of
>>> com.xpn.xwiki.doc.XWikiDocument.setArchive
>>> at
>>> com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc
>>> (XWikiHibernateStore.java:646)
>>> at
>>> com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc
>>> (XWikiCacheStore.java:123)
>>> at com.xpn.xwiki.XWiki.getDocument(XWiki.java:565)
>>> at com.xpn.xwiki.XWiki.getDocument(XWiki.java:599)
>>> at com.xpn.xwiki.XWiki.getDocumentFromPath(XWiki.java:637)
>>> at com.xpn.xwiki.XWiki.prepareDocuments(XWiki.java:2428)
>>> at com.xpn.xwiki.web.ViewEditAction.execute
>>> (ViewEditAction.java:133)
>>> at
>>> org.apache.struts.action.RequestProcessor.processActionPerform
>>> (RequestProcessor.java:421)
>>> at
>>> org.apache.struts.action.RequestProcessor.process
>>> (RequestProcessor.java:226)
>>> at
>>> org.apache.struts.action.ActionServlet.process(ActionServlet.java:
>>> 1164)
>>> at
>>> org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
>>> at javax.servlet.http.HttpServlet.service
>>> (HttpServlet.java:689)
>>> at javax.servlet.http.HttpServlet.service
>>> (HttpServlet.java:802)
>>> at
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
>>> (ApplicationFilterChain.java:252)
>>> at
>>> org.apache.catalina.core.ApplicationFilterChain.doFilter
>>> (ApplicationFilterChain.java:173)
>>> at
>>> com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter
>>> (SetCharacterEncodingFilter.java:127)
>>> at
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
>>> (ApplicationFilterChain.java:202)
>>> at
>>> org.apache.catalina.core.ApplicationFilterChain.doFilter
>>> (ApplicationFilterChain.java:173)
>>> at
>>> org.apache.catalina.core.StandardWrapperValve.invoke
>>> (StandardWrapperValve.java:214)
>>> at
>>> org.apache.catalina.core.StandardContextValve.invoke
>>> (StandardContextValve.java:178)
>>> at
>>> org.apache.catalina.core.StandardHostValve.invoke
>>> (StandardHostValve.java:126)
>>> at
>>> org.apache.catalina.valves.ErrorReportValve.invoke
>>> (ErrorReportValve.java:105)
>>> at
>>> org.apache.catalina.core.StandardEngineValve.invoke
>>> (StandardEngineValve.java:107)
>>> at
>>> org.apache.catalina.valves.AccessLogValve.invoke
>>> (AccessLogValve.java:526)
>>> at
>>> org.apache.catalina.valves.AccessLogValve.invoke
>>> (AccessLogValve.java:526)
>>> at
>>> org.apache.catalina.connector.CoyoteAdapter.service
>>> (CoyoteAdapter.java:148)
>>> at
>>> org.apache.coyote.http11.Http11Processor.process
>>> (Http11Processor.java:825)
>>> at
>>> org.apache.coyote.http11.Http11Protocol
>>> $Http11ConnectionHandler.processConnection(Http11Protocol.java:738)
>>> at
>>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket
>>> (PoolTcpEndpoint.java:526)
>>> at
>>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt
>>> (LeaderFollowerWorkerThread.java:80)
>>> at
>>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run
>>> (ThreadPool.java:684)
>>> at java.lang.Thread.run(Thread.java:534)
>>>
>>>
>>> Wrapped Exception:
>>>
>>> org.hibernate.PropertyAccessException: exception setting property
>>> value
>>> with CGLIB (set hibernate.cglib.use_reflection_optimizer=false
>>> for more
>>> info) setter of com.xpn.xwiki.doc.XWikiDocument.setArchive
>>> at
>>> org.hibernate.tuple.PojoTuplizer.setPropertyValuesWithOptimizer
>>> (PojoTuplizer.java:203)
>>> at
>>> org.hibernate.tuple.PojoTuplizer.setPropertyValues
>>> (PojoTuplizer.java:173)
>>> at
>>> org.hibernate.persister.entity.BasicEntityPersister.setPropertyValue
>>> s(BasicEntityPersister.java:2900)
>>> at
>>> org.hibernate.engine.TwoPhaseLoad.initializeEntity
>>> (TwoPhaseLoad.java:113)
>>> at
>>> org.hibernate.loader.Loader.initializeEntitiesAndCollections
>>> (Loader.java:510)
>>> at org.hibernate.loader.Loader.doQuery(Loader.java:419)
>>> at
>>> org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections
>>> (Loader.java:210)
>>> at org.hibernate.loader.Loader.loadEntity(Loader.java:1312)
>>> at
>>> org.hibernate.loader.entity.EntityLoader.load(EntityLoader.java:116)
>>> at
>>> org.hibernate.loader.entity.EntityLoader.load(EntityLoader.java:101)
>>> at
>>> org.hibernate.persister.entity.BasicEntityPersister.load
>>> (BasicEntityPersister.java:2461)
>>> at
>>> org.hibernate.event.def.DefaultLoadEventListener.loadFromDatasource(
>>> DefaultLoadEventListener.java:350)
>>> at
>>> org.hibernate.event.def.DefaultLoadEventListener.doLoad
>>> (DefaultLoadEventListener.java:331)
>>> at
>>> org.hibernate.event.def.DefaultLoadEventListener.load
>>> (DefaultLoadEventListener.java:113)
>>> at
>>> org.hibernate.event.def.DefaultLoadEventListener.proxyOrLoad
>>> (DefaultLoadEventListener.java:167)
>>> at
>>> org.hibernate.event.def.DefaultLoadEventListener.onLoad
>>> (DefaultLoadEventListener.java:79)
>>> at org.hibernate.impl.SessionImpl.load(SessionImpl.java:588)
>>> at
>>> com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc
>>> (XWikiHibernateStore.java:575)
>>> at
>>> com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc
>>> (XWikiCacheStore.java:123)
>>> at com.xpn.xwiki.XWiki.getDocument(XWiki.java:565)
>>> at com.xpn.xwiki.XWiki.getDocument(XWiki.java:599)
>>> at com.xpn.xwiki.XWiki.getDocumentFromPath(XWiki.java:637)
>>> at com.xpn.xwiki.XWiki.prepareDocuments(XWiki.java:2428)
>>> at com.xpn.xwiki.web.ViewEditAction.execute
>>> (ViewEditAction.java:133)
>>> at
>>> org.apache.struts.action.RequestProcessor.processActionPerform
>>> (RequestProcessor.java:421)
>>> at
>>> org.apache.struts.action.RequestProcessor.process
>>> (RequestProcessor.java:226)
>>> at
>>> org.apache.struts.action.ActionServlet.process(ActionServlet.java:
>>> 1164)
>>> at
>>> org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
>>> at javax.servlet.http.HttpServlet.service
>>> (HttpServlet.java:689)
>>> at javax.servlet.http.HttpServlet.service
>>> (HttpServlet.java:802)
>>> at
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
>>> (ApplicationFilterChain.java:252)
>>> at
>>> org.apache.catalina.core.ApplicationFilterChain.doFilter
>>> (ApplicationFilterChain.java:173)
>>> at
>>> com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter
>>> (SetCharacterEncodingFilter.java:127)
>>> at
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
>>> (ApplicationFilterChain.java:202)
>>> at
>>> org.apache.catalina.core.ApplicationFilterChain.doFilter
>>> (ApplicationFilterChain.java:173)
>>> at
>>> org.apache.catalina.core.StandardWrapperValve.invoke
>>> (StandardWrapperValve.java:214)
>>> at
>>> org.apache.catalina.core.StandardContextValve.invoke
>>> (StandardContextValve.java:178)
>>> at
>>> org.apache.catalina.core.StandardHostValve.invoke
>>> (StandardHostValve.java:126)
>>> at
>>> org.apache.catalina.valves.ErrorReportValve.invoke
>>> (ErrorReportValve.java:105)
>>> at
>>> org.apache.catalina.core.StandardEngineValve.invoke
>>> (StandardEngineValve.java:107)
>>> at
>>> org.apache.catalina.valves.AccessLogValve.invoke
>>> (AccessLogValve.java:526)
>>> at
>>> org.apache.catalina.valves.AccessLogValve.invoke
>>> (AccessLogValve.java:526)
>>> at
>>> org.apache.catalina.connector.CoyoteAdapter.service
>>> (CoyoteAdapter.java:148)
>>> at
>>> org.apache.coyote.http11.Http11Processor.process
>>> (Http11Processor.java:825)
>>> at
>>> org.apache.coyote.http11.Http11Protocol
>>> $Http11ConnectionHandler.processConnection(Http11Protocol.java:738)
>>> at
>>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket
>>> (PoolTcpEndpoint.java:526)
>>> at
>>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt
>>> (LeaderFollowerWorkerThread.java:80)
>>> at
>>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run
>>> (ThreadPool.java:684)
>>> at java.lang.Thread.run(Thread.java:534)
>>> Caused by: net.sf.cglib.beans.BulkBeanException: Error number
>>> 3003 in 3:
>>> Exception while manipulating the archive for doc
>>> Direction.QuifaitquoiIrm
>>> Wrapped Exception: Parse error at line 393, column 248.
>>> Encountered: oma.be
>>> at
>>> com.xpn.xwiki.doc.XWikiDocument$$BulkBeanByCGLIB$
>>> $9e5f0943.setPropertyValues()
>>> at
>>> org.hibernate.tuple.PojoTuplizer.setPropertyValuesWithOptimizer
>>> (PojoTuplizer.java:200)
>>> ... 48 more
>>> Caused by: com.xpn.xwiki.XWikiException: Error number 3003 in 3:
>>> Exception while manipulating the archive for doc
>>> Direction.QuifaitquoiIrm
>>> Wrapped Exception: Parse error at line 393, column 248.
>>> Encountered: oma.be
>>> at
>>> com.xpn.xwiki.doc.XWikiDocument.setArchive(XWikiDocument.java:479)
>>> ... 50 more
>>>
>>>
>>> --------------------------------------------------------------------
>>> ----
>>>
>>>
>>> --
>>> You receive this message as a subscriber of the xwiki-
>>> users at objectweb.org mailing list.
>>> To unsubscribe: mailto:xwiki-users-unsubscribe at objectweb.org
>>> For general help: mailto:sympa at objectweb.org?subject=help
>>> ObjectWeb mailing lists service home page: http://
>>> www.objectweb.org/wws
>>>
>>
>>
>> ---------------------------------------------------------------------
>> ---
>>
>>
>> --
>> You receive this message as a subscriber of the xwiki-
>> users at objectweb.org mailing list.
>> To unsubscribe: mailto:xwiki-users-unsubscribe at objectweb.org
>> For general help: mailto:sympa at objectweb.org?subject=help
>> ObjectWeb mailing lists service home page: http://
>> www.objectweb.org/wws
>>
>
>
> --
> Ludovic Dubost
> XPertNet: http://www.xpertnet.fr/
> Blog: http://www.ludovic.org/blog/
> XWiki: http://www.xwiki.com
> Skype: ldubost AIM: nvludo Yahoo: ludovic
>
>
>
> --
> You receive this message as a subscriber of the xwiki-
> users at objectweb.org mailing list.
> To unsubscribe: mailto:xwiki-users-unsubscribe at objectweb.org
> For general help: mailto:sympa at objectweb.org?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/
> wws
Mark Robinson
Regional Clarity Project Manager - Asia Pacific
TNT Freight Management Limited
Mobile +852 9033 5711
mark.robinson at hk.tntfreight.com
More information about the users
mailing list