Hi,
I wonder if they are some specific recommendations, in addition to
what's described in [1] and [2] ?
My particular use-case, is to know if there is such a rule as to
create one maven module for one xwiki component, or if several
components can be grouped in the same maven module.
Detailed description: for the xwiki-contrib-mailarchive-api, I started
from a monolithic class (@Component), then I started splitting it up
in several classes. While each of these sub-groups could be considered
components (highly related to the mail archive use-case, ie not
particularly re-usable), for now their life-cycle is managed by the
main Component (ie if one of them needs a query manager, it is not
injected by xwiki framework, but provided to it by the main
Component).
Would it be recommended to move to a whole component architecture, and
make all these sub-components Components managed by xwiki framework ?
Are there any limitations (perfs...) to do it that way ?
I'm pretty sure it's obvious to xwiki devs, but I prefer to ask.
Br,
Jeremie
[1] http://platform.xwiki.org/xwiki/bin/view/DevGuide/WritingComponents
[2] http://extensions.xwiki.org/xwiki/bin/view/Extension/Component+Module
Hi everyone,
i just created my own farm and try to build a template wiki which i
can use for upcoming wikis.
now i got some problems with the configuration.
after searching for a menu bar like on xwiki.org i found the extension
which is what i was looking for.
http://extensions.xwiki.org/xwiki/bin/download/Extension/Navigation+Menu+Wi…
if i go to the main wiki i can use this menu and it works..but on my
subwiki it wont work..
hopefully someone is more experienced in running a farm and culd help me out.
i dont really know where to start now because i checked the rights and
i think its fine.
thanks so far and regards
Niko
Hi All,
Two WYSIWYG editors were included in XWiki -- tinyMCE and GWT-based.
I understand that
1. tinyMCE was used at the very beginning, and later GWT-based was
used to replace tinyMEC because tinyMCE was buggy, and its performance
was not good (at the time)
2. the version for tinyMCE included in XWiki 4.1.4 is 2.0.6.1 released
on 2006-05-04 ( I checked the code ), and the latest version is 3.5.7
release on 2012-09-20.
My questions are:
1. have any one revisit later release of tinyMCE, since lots have
changed over the 6 years?
2. for the GWT-based WYSIWYG solution, is it developed by XWiki? and
is there a way that i can get WYSIWYG related codes only, and
integrate it into one of our internal project?
Thank you very much!
Ray
Hi, Andreas,
See below,
Tue, 18 Sep 2012 15:36:15 +0200 от Thomas Mortagne <thomas.mortagne(a)xwiki.com>:
>On Tue, Sep 18, 2012 at 2:20 PM, Vincent Massol <vincent(a)massol.net> wrote:
>
> Hi Dmitry,
>
>
>
> Thanks for your inputs! See below.
>
>
>
> On Sep 18, 2012, at 2:10 PM, Dmitry Bakbardin <haru_mamburu(a)mail.ru> wrote:
>
>
>
>> Hi, Vincent,
>
>>
>
>> My 10 coins to the suggested topic :-)
>
>>
>
>> 1. New Access Rights management system. There are a lot of weak points already known. Probably, it's time to review this.
>
>
>
> Have you been able to play with it already? Would be great to provide feedback and details. I'm sure Denis would love some feedback.
>
>
Andreas too ;)
>
>
Do you actually know there is a new right management system ? It's not
>
clear in your question if you talk about introducing a new right
>
management system or using more the new one.I mean situations like
http://jira.xwiki.org/browse/XWIKI-2184 and
http://jira.xwiki.org/browse/XWIKI-6987
Probably I missed something in the roadmap and release notes, but I didn't see it fixed. And these reports were not the only "bugs" found as far as I remember mailing lists conversations. All of them required brand new system and Vincent said, that these changes are planned after comprehensive discussion and voting in futher releases. So, I mean BRAND NEW system that acts as expected, e.g. user with edit rights is in the "god mode" as to the page. I expect edit rights means edit page, but not access rights change. Access rights looks more admin function. And so on. IMHO it worth discussion.
>
>
>
>
>> 2. Second level XWiki virtualization http://jira.xwiki.org/browse/XEM-207
>
>>
>
>> 3. Add WYSIWYG's editor logic while adding the link Space -> Page -> Anchor on the page http://jira.xwiki.org/browse/XWIKI-4084
>
>>
>
>> and the same in XEM Environment: Workspace/Virtual Wiki -> Space -> Page -> Anchor
>
>> http://jira.xwiki.org/browse/XWIKI-7483
>
>>
>
>> 4. WebDAV access to deleted attachments http://jira.xwiki.org/browse/XWIKI-6989
>
>
>
> So you're using XWiki WebDAV feature ATM?
>
>
>
>> 5. Rebuild Translation System and add possibility to translate not only page content, but objects' content (and field names) also.
>
>
>
> Just on this point, we're planning to work on this in XE 4.3 in the coming month.
>
>
Except for the object content translation part which has more to do
>
with the model and is not going to change very soon. Note that fields
>
names are already translatable, for this you can use the id <class
>
full name>_<field name> like in "Blog.BlogClass_title" for the title
>
field name of a blog object.
>Looks disaster for me :-)
Let's overview simple usecase:
- I buld FAQ (or something like it) in English with Application within minutes
- I want to make it multilingual. Looks like I'm stuck by default: "not going to change very soon" :-(
- I see the only "human-friendly" option to modify default scripting, produce templates for each language, then build pages like <PageName>_<Language> and load required page depending on requested language. I didn't make it like this yet, but if it is "not going to change very soon", I'd consider this way as an option to make application running in multilanguage environment. I understand, that this is not the best solution, but as far as I understand XWiki - it should work.
>
>
>
>> 6. Evolve filestorage system from "experimental" to all-kind-production-ready and make it more or less comprehensive:
>
>> - for example, add possibility of XWiki clustering and automatic attachments synchronization while FS is on.
>
>> - to configure path to store attachments for each XWiki/virtual wiki/workspace/space separetly.
>
>> - fix current bugs (like http://jira.xwiki.org/browse/XWIKI-6917) and probably add some other fatures :-)
>
>
>
> Yeah I also think we need Caleb to work a bit on this so that we could call it production-ready ;)
>
>
>
>> 7. Smooth upgrade system (to make it look more like linux upgrades): upgrade AND KEEP all XWiki customization with minimal manual config files comparison and reediting of customized pages inside XWiki.
>
>
>
> Yep, we're working on this one (XAR upgrades). You should see some first version with XE 4.2 when it's released next week. Next step is to tackle WAR and config file upgrades indeed.
>
>
Note that for the server side (WAR and configuration) you have the
>
Debian package (see
>http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationViaAPT)
>
that can help a lot since apt/dpkg is taking care of configuration
>
file comparison/merging. But that's only for Debian based system of
>
course.
>
>
For the XAR part as Vincent said we are working on it and you get a
>
first version of an install/upgrade Wyzard for it in the coming 4.2.Thanks a lot. I was going to set up new server soon. Migration to Debian looks fine for me in this case. :-)
Looking forward to 4.2. It would be "admin-rescue" release :-))))
>
>
>
>
>> 8. Add Space -> Subspace -> Page logic to XWiki hierarchy to build "trees" instead of "horizontal" set of spaces.
>
>>
>
>> 9. Extend TOC macro to logic: ...wiki1:Space1.Page1, wiki2:Space2.Page2... to include TOCs of separate pages inside current TOC.
>
>>
>
>> 10. XWiki Native support for mobile users (Skins, ColorThemes for all kind of mobile users bundled with XE/XEM)
>
>
>
> Ludovic has a pull request for improving mobile skin support for XE 4.3 but probably not to the extent you're interesting in at the moment.
>
>
>
> Thanks, keep the ideas coming. No promise that they'll be implemented but the more people who want the same thing the more weight it has. And developers are reading this!
>
> -Vincent
>
>
>
>> Hope it helps :-)
>
>>
>
>> Kind Regards,
>
>>
>
>> Dmitry
>
>>
>
>>
>
>> Tue, 18 Sep 2012 08:58:04 +0200 от Vincent Massol <vincent(a)massol.net>:
>
>>>
>
>>>
>
>>>
>
>>
>
>>
>
>>>
>
>>
>
>>
>
>>
>
>>> Dear XWiki lovers ;),
>
>>>
>
>>>
>
>> We're getting close to the end of the 4.x cycle which is about to be finished with XWiki 4.5 around end of January and we need to start brainstorming about the 5.x cycle (1 year duration from Feb 2013 to Jan 2014).
>
>>>
>
>>>
>
>> * 3.x was about "Building Apps and Distributing them" (priority 1) and "Polishing"
>
>>>
>
>> * 4.x was about "Ease of use" (priority 1) and "Quality"
>
>>>
>
>>>
>
>> So what would you like to see in the coming year?
>
>>>
>
>>>
>
>> You can suggest both general themes and specific items.
>
>>>
>
>>>
>
>> Thanks
>
>>>
>
>> -Vincent
>
>>>
>
>>>
>
>>
>
>>
>
>>
>
>>
>
>> Kind regards,
>
>>
>
>> Dmitry
>
>> WebDAV access to deleted attachments
>
>
>
> _______________________________________________
>
> users mailing list
>
> users(a)xwiki.org
>
> http://lists.xwiki.org/mailman/listinfo/users
>
>
>
>
--
>
Thomas Mortagne
>
Thank you for good news and excellent work.
Kind regards,
Dmitry
Hi.
I'm trying to use
http://extensions.xwiki.org/xwiki/bin/view/Extension/Multipage+Export+Appli…
. It works almost fine, but I cannot find out how to create document
structure exactly as I need.
I've created three pages in Sandbox (T1, T2 and T3) with the following
content (xwiki source):
T1:
= T1-1 =
T2:
= T1-2 =
T3:
= T1-3 =
(T1 stands for "Title1" heading).
Each one of them has 'Sandbox.WebHome' as their parent.
When I create Multipage export (html or pdf), then in resulting document
heading levels are being changed. This is HTML output:
<h1 id="HT1-1"><span>T1-1</span></h1><h4 id="child_1543277317"><span>T2</span></h4><h5 id="HT1-2"><span>T1-2</span></h5><h4 id="child_1543277318"><span>T3</span></h4><h5 id="HT1-3"><span>T1-3</span></h5>
Is there any way to keep the original heading levels intact?
TIA,
R.
Hi,
I'm trying tom igrate an xwiki installation at version 2.4 to the latest
debian package (4.1.4).
This is on Tomcat 7 and Mysql 5.5 with Oracle Java 6 update 34.
I get the following error:
2012-09-17 18:03:32,895 [https://par-wiki-1.clear2pay.com/xwiki/bin/view/Main/] INFO .HibernateDataMigrationManager - Running migration [R40000XWIKI6990] with version [40000]
2012-09-17 18:03:33,014 [https://par-wiki-1.clear2pay.com/xwiki/bin/view/Main/] INFO h.R40000XWIKI6990DataMigration - [R40000XWIKI6990] - Retrieved 0 document IDs to be converted.
2012-09-17 18:03:33,144 [https://par-wiki-1.clear2pay.com/xwiki/bin/view/Main/] INFO h.R40000XWIKI6990DataMigration - [R40000XWIKI6990] - Retrieved 0 object IDs to be converted.
2012-09-17 18:03:33,260 [https://par-wiki-1.clear2pay.com/xwiki/bin/view/Main/] INFO h.R40000XWIKI6990DataMigration - [R40000XWIKI6990] - Retrieved 3 custom mapped classes to be processed.
2012-09-17 18:03:34,517 [https://par-wiki-1.clear2pay.com/xwiki/bin/view/Main/] INFO h.R40000XWIKI6990DataMigration - [R40000XWIKI6990] - Retrieved 14750 document statistics IDs to be converted.
2012-09-17 18:03:34,535 [https://par-wiki-1.clear2pay.com/xwiki/bin/view/Main/] INFO h.R40000XWIKI6990DataMigration - [R40000XWIKI6990] - Retrieved 83 referer statistics IDs to be converted.
2012-09-17 18:03:34,852 [https://par-wiki-1.clear2pay.com/xwiki/bin/view/Main/] INFO h.R40000XWIKI6990DataMigration - [R40000XWIKI6990] - Retrieved 36076 visit statistics IDs to be converted.
2012-09-17 18:03:34,897 [https://par-wiki-1.clear2pay.com/xwiki/bin/view/Main/] INFO h.R40000XWIKI6990DataMigration - [R40000XWIKI6990] - No document IDs to convert, skipping.
2012-09-17 18:03:34,897 [https://par-wiki-1.clear2pay.com/xwiki/bin/view/Main/] INFO h.R40000XWIKI6990DataMigration - [R40000XWIKI6990] - No object IDs to convert, skipping.
2012-09-17 18:03:34,898 [https://par-wiki-1.clear2pay.com/xwiki/bin/view/Main/] INFO h.R40000XWIKI6990DataMigration - [R40000XWIKI6990] - Converting 14750 document statistics IDs in 1 tables...
2012-09-17 18:03:38,742 [https://par-wiki-1.clear2pay.com/xwiki/bin/view/Main/] WARN o.h.u.JDBCExceptionReporter - SQL Error: 1062, SQLState: 23000
2012-09-17 18:03:38,742 [https://par-wiki-1.clear2pay.com/xwiki/bin/view/Main/] ERROR o.h.u.JDBCExceptionReporter - Duplicate entry '5441591690732251370' for key 'PRIMARY'
2012-09-17 18:03:38,856 [https://par-wiki-1.clear2pay.com/xwiki/bin/view/Main/] INFO .HibernateDataMigrationManager - Failed to migrate database [xwiki]...
com.xpn.xwiki.store.migration.DataMigrationException: Data migration R40000XWIKI6990 failed
at com.xpn.xwiki.store.migration.hibernate.AbstractHibernateDataMigration.migrate(AbstractHibernateDataMigration.java:111) ~[xwiki-platform-legacy-oldcore-4.1.4.jar:na]
at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.startMigrations(AbstractDataMigrationManager.java:621) [xwiki-platform-legacy-oldcore-4.1.4.jar:na]
at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.startMigrationsForDatabase(AbstractDataMigrationManager.java:546) [xwiki-platform-legacy-oldcore-4.1.4.jar:na]
at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.startMigrations(AbstractDataMigrationManager.java:493) [xwiki-platform-legacy-oldcore-4.1.4.jar:na]
at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.startMigrations(HibernateDataMigrationManager.java:296) [xwiki-platform-legacy-oldcore-4.1.4.jar:na]
at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:421) [xwiki-platform-legacy-oldcore-4.1.4.jar:na]
at com.xpn.xwiki.store.XWikiHibernateBaseStore.setDatabase(XWikiHibernateBaseStore.java:666) [xwiki-platform-legacy-oldcore-4.1.4.jar:na]
at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:813) [xwiki-platform-legacy-oldcore-4.1.4.jar:na]
at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:746) [xwiki-platform-legacy-oldcore-4.1.4.jar:na]
at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:736) [xwiki-platform-legacy-oldcore-4.1.4.jar:na]
at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:290) [xwiki-platform-legacy-oldcore-4.1.4.jar:na]
at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1438) [xwiki-platform-legacy-oldcore-4.1.4.jar:na]
at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1481) [xwiki-platform-legacy-oldcore-4.1.4.jar:na]
at com.xpn.xwiki.XWiki.getXWikiPreference(XWiki.java:2215) [xwiki-platform-legacy-oldcore-4.1.4.jar:na]
at com.xpn.xwiki.XWiki.getXWikiPreference(XWiki.java:2247) [xwiki-platform-legacy-oldcore-4.1.4.jar:na]
at com.xpn.xwiki.render.XWikiMacrosMappingRenderer.loadPreferences(XWikiMacrosMappingRenderer.java:107) [xwiki-platform-legacy-oldcore-4.1.4.jar:na]
at com.xpn.xwiki.render.XWikiMacrosMappingRenderer.<init>(XWikiMacrosMappingRenderer.java:83) [xwiki-platform-legacy-oldcore-4.1.4.jar:na]
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.<init>(DefaultXWikiRenderingEngine.java:72) [xwiki-platform-legacy-oldcore-4.1.4.jar:na]
at com.xpn.xwiki.XWiki.resetRenderingEngine(XWiki.java:1114) [xwiki-platform-legacy-oldcore-4.1.4.jar:na]
at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:790) [xwiki-platform-legacy-oldcore-4.1.4.jar:na]
at com.xpn.xwiki.XWiki.<init>(XWiki.java:738) [xwiki-platform-legacy-oldcore-4.1.4.jar:na]
at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:399) [xwiki-platform-legacy-oldcore-4.1.4.jar:na]
at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:486) [xwiki-platform-legacy-oldcore-4.1.4.jar:na]
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:136) [xwiki-platform-legacy-oldcore-4.1.4.jar:na]
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116) [xwiki-platform-legacy-oldcore-4.1.4.jar:na]
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431) [struts-1.2.9.jar:1.2.9]
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236) [struts-1.2.9.jar:1.2.9]
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) [struts-1.2.9.jar:1.2.9]
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414) [struts-1.2.9.jar:1.2.9]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:621) [tomcat-servlet-api-3.0.jar:na]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) [tomcat-servlet-api-3.0.jar:na]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) [tomcat-catalina-7.0.28.jar:7.0.28]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) [tomcat-catalina-7.0.28.jar:7.0.28]
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:120) [xwiki-platform-legacy-oldcore-4.1.4.jar:na]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) [tomcat-catalina-7.0.28.jar:7.0.28]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) [tomcat-catalina-7.0.28.jar:7.0.28]
at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144) [xwiki-platform-wysiwyg-server-4.1.4.jar:na]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) [tomcat-catalina-7.0.28.jar:7.0.28]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) [tomcat-catalina-7.0.28.jar:7.0.28]
at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66) [xwiki-platform-webdav-server-4.1.4.jar:na]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) [tomcat-catalina-7.0.28.jar:7.0.28]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) [tomcat-catalina-7.0.28.jar:7.0.28]
at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208) [xwiki-platform-container-servlet-4.1.4.jar:na]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) [tomcat-catalina-7.0.28.jar:7.0.28]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) [tomcat-catalina-7.0.28.jar:7.0.28]
at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111) [xwiki-platform-container-servlet-4.1.4.jar:na]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) [tomcat-catalina-7.0.28.jar:7.0.28]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) [tomcat-catalina-7.0.28.jar:7.0.28]
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225) [tomcat-catalina-7.0.28.jar:7.0.28]
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123) [tomcat-catalina-7.0.28.jar:7.0.28]
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) [tomcat-catalina-7.0.28.jar:7.0.28]
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168) [tomcat-catalina-7.0.28.jar:7.0.28]
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98) [tomcat-catalina-7.0.28.jar:7.0.28]
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927) [tomcat-catalina-7.0.28.jar:7.0.28]
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) [tomcat-catalina-7.0.28.jar:7.0.28]
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407) [tomcat-catalina-7.0.28.jar:7.0.28]
at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:200) [tomcat-coyote-7.0.28.jar:7.0.28]
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:579) [tomcat-coyote-7.0.28.jar:7.0.28]
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310) [tomcat-coyote-7.0.28.jar:7.0.28]
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [na:1.6.0_34]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [na:1.6.0_34]
at java.lang.Thread.run(Thread.java:662) [na:1.6.0_34]
Caused by: com.xpn.xwiki.XWikiException: Error number 3005 in 3: R40000XWIKI6990 migration failed
Wrapped Exception: Error number 0 in 3: Exception while hibernate execute
Wrapped Exception: could not execute native bulk manipulation query
at com.xpn.xwiki.store.migration.hibernate.R40000XWIKI6990DataMigration.hibernateMigrate(R40000XWIKI6990DataMigration.java:1299) ~[xwiki-platform-legacy-oldcore-4.1.4.jar:na]
at com.xpn.xwiki.store.migration.hibernate.AbstractHibernateDataMigration.migrate(AbstractHibernateDataMigration.java:109) ~[xwiki-platform-legacy-oldcore-4.1.4.jar:na]
... 61 common frames omitted
Caused by: com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute
Wrapped Exception: could not execute native bulk manipulation query
at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:1214) [xwiki-platform-legacy-oldcore-4.1.4.jar:na]
at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1322) [xwiki-platform-legacy-oldcore-4.1.4.jar:na]
at com.xpn.xwiki.store.migration.hibernate.R40000XWIKI6990DataMigration.hibernateMigrate(R40000XWIKI6990DataMigration.java:1286) ~[xwiki-platform-legacy-oldcore-4.1.4.jar:na]
... 62 common frames omitted
Caused by: org.hibernate.exception.ConstraintViolationException: could not execute native bulk manipulation query
at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:96) ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
at org.hibernate.engine.query.NativeSQLQueryPlan.performExecuteUpdate(NativeSQLQueryPlan.java:219) ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
at org.hibernate.impl.SessionImpl.executeNativeUpdate(SessionImpl.java:1310) ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
at org.hibernate.impl.SQLQueryImpl.executeUpdate(SQLQueryImpl.java:396) ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
at com.xpn.xwiki.store.migration.hibernate.R40000XWIKI6990DataMigration$AbstractBulkIdConversionHibernateCallback.executeSqlIdUpdate(R40000XWIKI6990DataMigration.java:531) ~[xwiki-platform-legacy-oldcore-4.1.4.jar:na]
at com.xpn.xwiki.store.migration.hibernate.R40000XWIKI6990DataMigration$7.doBulkIdUpdate(R40000XWIKI6990DataMigration.java:1294) ~[xwiki-platform-legacy-oldcore-4.1.4.jar:na]
at com.xpn.xwiki.store.migration.hibernate.R40000XWIKI6990DataMigration$AbstractBulkIdConversionHibernateCallback.doUpdate(R40000XWIKI6990DataMigration.java:356) ~[xwiki-platform-legacy-oldcore-4.1.4.jar:na]
at com.xpn.xwiki.store.migration.hibernate.R40000XWIKI6990DataMigration$AbstractUpdateHibernateCallback.doInHibernate(R40000XWIKI6990DataMigration.java:218) ~[xwiki-platform-legacy-oldcore-4.1.4.jar:na]
at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:1208) [xwiki-platform-legacy-oldcore-4.1.4.jar:na]
... 64 common frames omitted
Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '5441591690732251370' for key 'PRIMARY'
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[na:1.6.0_34]
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) ~[na:1.6.0_34]
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) ~[na:1.6.0_34]
at java.lang.reflect.Constructor.newInstance(Constructor.java:513) ~[na:1.6.0_34]
at com.mysql.jdbc.Util.handleNewInstance(Util.java:411) ~[mysql-connector-java-5.1.16.jar:na]
at com.mysql.jdbc.Util.getInstance(Util.java:386) ~[mysql-connector-java-5.1.16.jar:na]
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1040) ~[mysql-connector-java-5.1.16.jar:na]
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3597) ~[mysql-connector-java-5.1.16.jar:na]
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3529) ~[mysql-connector-java-5.1.16.jar:na]
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1990) ~[mysql-connector-java-5.1.16.jar:na]
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2151) ~[mysql-connector-java-5.1.16.jar:na]
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2625) ~[mysql-connector-java-5.1.16.jar:na]
at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2119) ~[mysql-connector-java-5.1.16.jar:na]
at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2415) ~[mysql-connector-java-5.1.16.jar:na]
at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2333) ~[mysql-connector-java-5.1.16.jar:na]
at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2318) ~[mysql-connector-java-5.1.16.jar:na]
at org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:105) ~[commons-dbcp-1.3.jar:1.3]
at org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:105) ~[commons-dbcp-1.3.jar:1.3]
at org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:105) ~[commons-dbcp-1.3.jar:1.3]
at org.hibernate.engine.query.NativeSQLQueryPlan.performExecuteUpdate(NativeSQLQueryPlan.java:210) ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
... 71 common frames omitted
How can I proceed with the migration ?
Should I try to migrate from 2.4 to another version first ?
Philippe
Dear XWiki lovers ;),
We're getting close to the end of the 4.x cycle which is about to be finished with XWiki 4.5 around end of January and we need to start brainstorming about the 5.x cycle (1 year duration from Feb 2013 to Jan 2014).
* 3.x was about "Building Apps and Distributing them" (priority 1) and "Polishing"
* 4.x was about "Ease of use" (priority 1) and "Quality"
So what would you like to see in the coming year?
You can suggest both general themes and specific items.
Thanks
-Vincent
Hello,
>What happens on Preview? Do you see the modified content or the
>original one? What happens on Save & Continue? You can check with
>Firebug (or any other similar tool) if the modified content is
>submitted (check the POST parameters) and if the AJAX request is send
>to the right place (check request URL).
>Note that the edit buttons should behave the same in WYSIWYG and Wiki
>edit modes. Check that the wiki edit mode works fine.
Preview and Save&Continue just redirect me to the original content (without
any change). The Edit mode had the same result, changes weren't saved (and
wasn't able to preview them).
Thanks for your response.
Sergio Carrasco
Hi!
>>>>>> I had the same problem until set "Prevent unregistered users from editing pages, regardless of the page or space rights" on.
Try this one. It helped me. :-)
Kind Regards,
Dmitry
Mon, 17 Sep 2012 02:05:16 -0400 от Ashtar Communications <ashtarcommunications(a)gmail.com>:
>
>
>
>
>I've monitored the wiki for the last 3 days, and the problem is
>
recurring about once every 24 hours. Each time I have run a cache
>
flush to no effect. The only solution I have is to re-enter the
>
missing data each time, which doesn't seem like a sustainable option.
>
>
If anyone could shed light on this or suggest a fix, I would appreciate it.
>
>
Since I can't seem to get rid of the problem, would it be better to
>
downgrade, or to backup the wiki and then try a from-scratch install
>
of 4.2m3? I'm not seeing similar behavior on my development server,
>
only the production machine...
>
>
thanks for all the help,
>
>
aaron
>
>
On Fri, Sep 14, 2012 at 12:28 PM, Ashtar Communications
>
<ashtarcommunications(a)gmail.com> wrote:
>
> I ran a flush on the cache immediately after the problem recurred, and
>
> the settings were not restored.
>
>
>
> Any other ideas?
>
>
>
> Thanks,
>
>
>
> aaron
>
>
>
> On Wed, Sep 12, 2012 at 12:46 AM, Ashtar Communications
>
> <ashtarcommunications(a)gmail.com> wrote:
>
>> Vincent,
>
>>
>
>> Thanks for the help. Answers below:
>
>>
>
>>>> Email -- Admin Email and SMTP server. The rest of the settings are maintained.
>
>>>
>
>>> What other setting remains that is not the default value?
>
>>
>
>> On the Email page, the Port, Server Username, and Server Password
>
>> always stay - only the Admin Email and SMTP server are cleared out.
>
>>
>
>>>> Page Elements - All panel settings, reverting to zero displayed
>
>>>> panels. Metadata visibility settings are maintained
>
>>>
>
>>> You modified those and they remain? If so the problem is not a cache issue that resets XWikiPreferences.
>
>>
>
>> I modified the panel settings to display two panels on the left, and
>
>> no panels on the right. When the bug occurs, The "show left/right
>
>> panel?" settings are set to "--" and the "Panels to Display" are
>
>> blank.
>
>>
>
>> The frequency of occurrence has dropped in the last day - at first it
>
>> was happening every 15-20 minutes, and today it went most of the day
>
>> with no apparent problems. The next time it occurs I will try to flush
>
>> the cache and see if that sheds any light...
>
>>
>
>> thanks,
>
>>
>
>> aaron
>
>>
>
>>
>
>>> One thing you can test to ensure this:
>
>>> When the problem happens do a flush cache in a wiki page:
>
>>>
>
>>> {{velocity}}
>
>>> $xwiki.flushCache()
>
>>> {{/velocity}}
>
>>>
>
>>> And then verify if your settings are back.
>
>>>
>
>>> Thanks
>
>>> -Vincent
>
>>>
>
>>>> Registration - Use Email Verification, Active Authentication Check,
>
>>>> Validation Email Content, Confirmation Email Content. Everything else
>
>>>> is maintained.
>
>>>> Several entire Spaces - the wiki has a large number of spaces (~150).
>
>>>> They seem to be getting deleted at random. I will leave the page for
>
>>>> an hour, come back, and the link to the space homepage will have the
>
>>>> "question mark" icon next to it. The space will no longer appear in
>
>>>> the spaces list on the Dashboard.
>
>>>>
>
>>>> Any other ideas? I'm ready to downgrade back to 3.x - this only
>
>>>> started happening with a fresh install of 4.2 and it's obviously a
>
>>>> serious problem...
>
>>>>
>
>>>> thanks,
>
>>>>
>
>>>> aaron
>
>>>>
>
>>>>
>
>>>> On Sun, Sep 9, 2012 at 3:17 AM, Vincent Massol <vincent(a)massol.net> wrote:
>
>>>>>
>
>>>>> On Sep 9, 2012, at 8:11 AM, Dmitry Bakbardin <haru_mamburu(a)mail.ru> wrote:
>
>>>>>
>
>>>>>> +1 vote
>
>>>>>> I had the same problem until set "Prevent unregistered users from editing pages, regardless of the page or space rights" on.
>
>>>>>> But I don't know still if it is a bug or a feature :-)
>
>>>>>
>
>>>>> It's a bug… Fixed in 4.2M3, see http://jira.xwiki.org/jira/browse/XWIKI-8160
>
>>>>>
>
>>>>> -Vincent
>
>>>>>
>
>>>>>> Kind regards,
>
>>>>>>
>
>>>>>> Dmitry
>
>>>>>>
>
>>>>>>
>
>>>>>> Sun, 9 Sep 2012 01:52:12 -0400 от Ashtar Communications <ashtarcommunications(a)gmail.com>:
>
>>>>>>>
>
>>>>>>>
>
>>>>>>>
>
>>>>>>
>
>>>>>>
>
>>>>>>>
>
>>>>>>
>
>>>>>>
>
>>>>>>
>
>>>>>>> Hi,
>
>>>>>>>
>
>>>>>>>
>
>>>>>> It seems that my wiki is spontaneously resetting several configuration
>
>>>>>>>
>
>>>>>> settings, most notably the registration, email, and layout settings. I
>
>>>>>>>
>
>>>>>> enter information like the email server, address, and port, which
>
>>>>>>>
>
>>>>>> panels to display in the sidebar, or whether to require email
>
>>>>>>>
>
>>>>>> verification. After a few hours, I return to the site to find that the
>
>>>>>>>
>
>>>>>> panels are turned off, email registration is turned off and the boxes
>
>>>>>>>
>
>>>>>> for formatting verification emails, etc are blank, and half of the
>
>>>>>>>
>
>>>>>> email settings are cleared. There may also be other configuration
>
>>>>>>>
>
>>>>>> options being reset that I haven't found yet.
>
>>>>>>>
>
>>>>>>>
>
>>>>>> I am the only administrative user on the wiki. It's also definitely
>
>>>>>>>
>
>>>>>> not due to vandalism - exactly the same settings disappear every time,
>
>>>>>>>
>
>>>>>> and it has now repeated itself 4 times in the last 24 hours.
>
>>>>>>>
>
>>>>>>>
>
>>>>>> I'm running XEM 4.2m2 on Tomcat with MySQL. Any help would be greatly
>
>>>>>>>
>
>>>>>> appreciated...
>
>>>>>>>
>
>>>>>>>
>
>>>>>> thanks,
>
>>>>>>>
>
>>>>>>>
>
>>>>>> Aaron
>
>>>>>>>
>
>>>>>> _______________________________________________
>
>>>>>>>
>
>>>>>> users mailing list
>
>>>>>>> users(a)xwiki.org
>
>>>>>>> http://lists.xwiki.org/mailman/listinfo/users
>
>>>>>>>
>
>>>>>>
>
>>>>>>
>
>>>>>>
>
>>>>>>
>
>>>>>>
>
>>>>>>
>
>>>>>>
>
>>>>>>
>
>>>>>> _______________________________________________
>
>>>>>> users mailing list
>
>>>>>> users(a)xwiki.org
>
>>>>>> http://lists.xwiki.org/mailman/listinfo/users
>
>>>>>
>
>>>>> _______________________________________________
>
>>>>> users mailing list
>
>>>>> users(a)xwiki.org
>
>>>>> http://lists.xwiki.org/mailman/listinfo/users
>
>>>> _______________________________________________
>
>>>> users mailing list
>
>>>> users(a)xwiki.org
>
>>>> http://lists.xwiki.org/mailman/listinfo/users
>
>>>
>
>>> _______________________________________________
>
>>> users mailing list
>
>>> users(a)xwiki.org
>
>>> http://lists.xwiki.org/mailman/listinfo/users
>
_______________________________________________
>
users mailing list
>users(a)xwiki.org
>http://lists.xwiki.org/mailman/listinfo/users
>
Kind regards,
Dmitry
Hello,
I'm using this method
https://network.xwiki.com/xwiki/bin/view/DocXE41En/CustomizeExportLookAn
dFeel#HOverridetheCSSrules to modifiy the pdf-export using the request
parameter '?pdftemplate=PDFClassTemplate' to leave the standard export
untouched.
But now the fo transformation code, which is stored in the textarea
'xhtmlxsl' is too long to be safed in the database.
Has anybody any advice what would be the quickest and easiest way to
work around?
Many thanks in advance. Regards,
Josef Haimerl
Hi,
I'm interested in building a new wiki at myxwiki.org. We'd like to use this
wiki as a way of documenting and sharing (and updating) information about
community life on and around the campus of Xing Wei College (in Shanghai,
China), a new, private liberal-arts college.
my username: smchadwell
servername: xwc
Many thanks,
Sean
+1 vote
I had the same problem until set "Prevent unregistered users from editing pages, regardless of the page or space rights" on.
But I don't know still if it is a bug or a feature :-)
Kind regards,
Dmitry
Sun, 9 Sep 2012 01:52:12 -0400 от Ashtar Communications <ashtarcommunications(a)gmail.com>:
>
>
>
>
>Hi,
>
>
It seems that my wiki is spontaneously resetting several configuration
>
settings, most notably the registration, email, and layout settings. I
>
enter information like the email server, address, and port, which
>
panels to display in the sidebar, or whether to require email
>
verification. After a few hours, I return to the site to find that the
>
panels are turned off, email registration is turned off and the boxes
>
for formatting verification emails, etc are blank, and half of the
>
email settings are cleared. There may also be other configuration
>
options being reset that I haven't found yet.
>
>
I am the only administrative user on the wiki. It's also definitely
>
not due to vandalism - exactly the same settings disappear every time,
>
and it has now repeated itself 4 times in the last 24 hours.
>
>
I'm running XEM 4.2m2 on Tomcat with MySQL. Any help would be greatly
>
appreciated...
>
>
thanks,
>
>
Aaron
>
_______________________________________________
>
users mailing list
>users(a)xwiki.org
>http://lists.xwiki.org/mailman/listinfo/users
>
Hi all,
I am trying to get a wiki page to display the tables in my DB2 database
(on an AIX system, not an OS/400). I'm confused about how to configure
Groovy to make the connection, though. I went here:
http://extensions.xwiki.org/xwiki/bin/view/Extension/Execute+SQL
So far, I have come up with this syntax:
{{groovy}}
import groovy.sql.Sql
sql = Sql.newInstance( 'jdbc:db2://AAA:BBB/CCC', 'DDD', 'EEE',
'com.ibm.db2.jcc.DB2Driver' )
sql.eachRow( 'list tables' )
{{/groovy}}
AAA = server name
BBB = port
CCC = database name
DDD = user
EEE = password
This syntax doesn't work - it results in "ClassNotFoundException" errors.
First question: do I have the syntax right?
Second question: I assume I have to provide Groovy some DB2 zip/jar file,
but where should that file be placed in my Tomcat/MySQL installation?
Third question: I know I will have to manipulate the query result so that
the output will have wiki elements (like clickable links). Does anyone
have any examples of how they displayed their results, preferably with
tables and links?
Thanks!
Hello everybody,
we have problems when our users want to save special characters like the polish "Ż" (https://secure.wikimedia.org/wikipedia/en/wiki/%C%%BB) in a xwiki page. We are currently using Xwiki .. Milestone with an mysql database. And as far as I can ascertain, all parameters are set to UTF-8. The mysql tables seem to be also UTF-8 encoded. But we are still getting this error here:
Error number 3201 in 3: Exception while saving document xwiki:EDV.Office2010
Wrapped Exception: Failed to commit or rollback transaction. Root cause []
com.xpn.xwiki.XWikiException: Error number 3201 in 3: Exception while saving document xwiki:EDV.Office2010
Wrapped Exception: Failed to commit or rollback transaction. Root cause []
at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:698)
at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:177)
at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:170)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1358)
at com.xpn.xwiki.web.SaveAction.save(SaveAction.java:163)
at com.xpn.xwiki.web.SaveAction.action(SaveAction.java:180)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:230)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
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 com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:120)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:110)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:141)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
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:127)
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:298)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Thread.java:636)
Caused by: org.hibernate.HibernateException: Failed to commit or rollback transaction. Root cause []
at com.xpn.xwiki.store.XWikiHibernateBaseStore.endTransaction(XWikiHibernateBaseStore.java:924)
at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:688)
... 56 more
Caused by: org.hibernate.exception.GenericJDBCException: Could not execute JDBC batch update
at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:140)
at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:128)
at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)
at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:275)
at org.hibernate.jdbc.AbstractBatcher.prepareStatement(AbstractBatcher.java:114)
at org.hibernate.jdbc.AbstractBatcher.prepareStatement(AbstractBatcher.java:109)
at org.hibernate.jdbc.AbstractBatcher.prepareBatchStatement(AbstractBatcher.java:244)
at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:2541)
at org.hibernate.persister.entity.AbstractEntityPersister.updateOrInsert(AbstractEntityPersister.java:2494)
at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:2821)
at org.hibernate.action.EntityUpdateAction.execute(EntityUpdateAction.java:113)
at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:273)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:265)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:185)
at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:321)
at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:51)
at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1216)
at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:383)
at org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:133)
at com.xpn.xwiki.store.XWikiHibernateBaseStore.endTransaction(XWikiHibernateBaseStore.java:917)
... 57 more
Caused by: java.sql.BatchUpdateException: Incorrect string value: '\xC5\xBB\x0A\x0AAu...' for column 'XWR_PATCH' at row 1
at com.mysql.jdbc.PreparedStatement.executeBatchSerially(PreparedStatement.java:2024)
at com.mysql.jdbc.PreparedStatement.executeBatch(PreparedStatement.java:1449)
at org.apache.commons.dbcp.DelegatingStatement.executeBatch(DelegatingStatement.java:297)
at org.apache.commons.dbcp.DelegatingStatement.executeBatch(DelegatingStatement.java:297)
at org.apache.commons.dbcp.DelegatingStatement.executeBatch(DelegatingStatement.java:297)
at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:70)
at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:268)
... 73 more
Caused by: java.sql.SQLException: Incorrect string value: '\xC5\xBB\x0A\x0AAu...' for column 'XWR_PATCH' at row 1
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1073)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3603)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3535)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1989)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2150)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2626)
at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2119)
at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2415)
at com.mysql.jdbc.PreparedStatement.executeBatchSerially(PreparedStatement.java:1976)
... 79 more
Wrapped Exception:
org.hibernate.exception.GenericJDBCException: Could not execute JDBC batch update
at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:140)
at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:128)
at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)
at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:275)
at org.hibernate.jdbc.AbstractBatcher.prepareStatement(AbstractBatcher.java:114)
at org.hibernate.jdbc.AbstractBatcher.prepareStatement(AbstractBatcher.java:109)
at org.hibernate.jdbc.AbstractBatcher.prepareBatchStatement(AbstractBatcher.java:244)
at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:2541)
at org.hibernate.persister.entity.AbstractEntityPersister.updateOrInsert(AbstractEntityPersister.java:2494)
at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:2821)
at org.hibernate.action.EntityUpdateAction.execute(EntityUpdateAction.java:113)
at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:273)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:265)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:185)
at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:321)
at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:51)
at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1216)
at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:383)
at org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:133)
at com.xpn.xwiki.store.XWikiHibernateBaseStore.endTransaction(XWikiHibernateBaseStore.java:917)
at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:688)
at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:177)
at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:170)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1358)
at com.xpn.xwiki.web.SaveAction.save(SaveAction.java:163)
at com.xpn.xwiki.web.SaveAction.action(SaveAction.java:180)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:230)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
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 com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:120)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:110)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:141)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
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:127)
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:298)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Thread.java:636)
Caused by: java.sql.BatchUpdateException: Incorrect string value: '\xC5\xBB\x0A\x0AAu...' for column 'XWR_PATCH' at row 1
at com.mysql.jdbc.PreparedStatement.executeBatchSerially(PreparedStatement.java:2024)
at com.mysql.jdbc.PreparedStatement.executeBatch(PreparedStatement.java:1449)
at org.apache.commons.dbcp.DelegatingStatement.executeBatch(DelegatingStatement.java:297)
at org.apache.commons.dbcp.DelegatingStatement.executeBatch(DelegatingStatement.java:297)
at org.apache.commons.dbcp.DelegatingStatement.executeBatch(DelegatingStatement.java:297)
at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:70)
at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:268)
... 73 more
Caused by: java.sql.SQLException: Incorrect string value: '\xC5\xBB\x0A\x0AAu...' for column 'XWR_PATCH' at row 1
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1073)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3603)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3535)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1989)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2150)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2626)
at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2119)
at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2415)
at com.mysql.jdbc.PreparedStatement.executeBatchSerially(PreparedStatement.java:1976)
... 79 more
Hi,
I had the problem than when editing a page accessing the wiki through an
authentication server, the WYSIWYG editor wouldn't appear.
I tried the solution u gave me, applying this fix:
https://github.com/xwiki/xwiki-platform/commit/5f5e49ded1bb3c61ead93a21cd62…
And with that fix, the editor appeared again, so the error was related with
that.
The new problem was, that when saving changes, any change is saved. The
page remains as if never edited (so i had to remove that fix). There are
not any logs so i can't figure out the problem.
Any other clue?
Thanks
Hi,
our Wiki is running on a WebSphere Application Server 6.0
We're using the remote observer configuration to avoid caching problems
between our server instances.
The problem is, when a server instance is restarted, if the Wiki is not
stopped at that time, sometimes gives us this problem:
[9/6/12 0:50:34:567 CEST] 0000002e ThreadMonitor W WSVR0605W: Thread
"server.startup : 1" (00000025) has been active for 662151 milliseconds and
may be hung. There is/are 1 thread(s) in total in the server that may be
hung.
at sun.misc.Unsafe.park(Native Method)
at
java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:197)
at
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2014)
at org.jgroups.util.Promise.doWait(Promise.java:117)
at org.jgroups.util.Promise._getResultWithTimeout(Promise.java:73)
at org.jgroups.util.Promise.getResultWithTimeout(Promise.java:42)
at org.jgroups.util.Promise.getResult(Promise.java:104)
at
org.jgroups.protocols.pbcast.ClientGmsImpl.joinInternal(ClientGmsImpl.java:142)
at
org.jgroups.protocols.pbcast.ClientGmsImpl.join(ClientGmsImpl.java:38)
at org.jgroups.protocols.pbcast.GMS.down(GMS.java:924)
at org.jgroups.stack.ProtocolStack.down(ProtocolStack.java:836)
at org.jgroups.JChannel.downcall(JChannel.java:1652)
at org.jgroups.JChannel.connect(JChannel.java:417)
at org.jgroups.JChannel.connect(JChannel.java:380)
at
org.xwiki.observation.remote.internal.jgroups.JGroupsNetworkAdapter.startChannel(JGroupsNetworkAdapter.java:111)
at
And the server instance cannot be started.
On controlled restarts, we can avoid this by having the wiki stopped at
the time the server instance restart. But on unexpected restarts, the wiki
blocks our server instance.
Is there any way to avoid this problem??
Thanks a lot in advance
Sergio Carrasco
The XWiki development team is proud to announce the availability of XWiki
Enterprise 4.2 Milestone 3. This is the third and final milestone of the
XWiki Enterprise 4.2 version. This release brings new and improved UIs for
file upload, logging configuration, an applications panel and the
experimental install/upgrade wizard. For developers this release introduces
many features: a new file upload widget, minor improvements of the
attachment picker and documents macros, the ability to add skin extensions
located in JAR files, a new field (mime-type) to index attachments by, an
extension of the xar format and an experimental UI extension mechanism.
You can download it here: http://www.xwiki.org/xwiki/bin/view/Main/Download
Make sure to review the release notes:
http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWikiEnterprise
42M3
Thanks
-The XWiki dev team
Also this error I came up with the track. The problem was that I was trying to import the file into a wiki running on MySql where xwiki.objects.LargeStringProperty has a length of about 65k, but the content in my textarea xhtml2xsl is over 170k. While importing the PDFTemplate I caused a lost reference in the DB, which destroyed the document's name for infinity. So I had to delete the lost reference in the db.
Have you any advice how I could configure my DB to not destroy something and get the PDFTemplate running?
> -----Ursprüngliche Nachricht-----
> Von: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] Im
> Auftrag von Haimerl, Josef
> Gesendet: Donnerstag, 13. September 2012 09:24
> An: users(a)xwiki.org
> Betreff: [xwiki-users] PDFClass - PDFTemplate
>
> For a custom PDF export I'm using a PDFTemplate based on the PDFClass as
> described here
> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configuration#HOver
> r
> idetheCSSrules
>
> I overwrote the xhtml2xsl transformation. Everything worked fine in the test
> environment, but when importing the xar with the relevant files into the
> productive system I got following exception:
>
> (I already got this exception, the problem was an invalid byte sequence
> which was easy to solve)
>
> (already tried to create the document manually -> same error)
>
>
>
> 2012-09-12 15:05:35,470 ERROR
> [http://localhost:8148/wiki/bin/import/XWiki/XWikiPreferences?section=Im
> port] c.x.x.p.p.Package [Package.java:767] Failed to save document
> Code.PDFTemplate
>
> com.xpn.xwiki.XWikiException: Error number 3201 in 3: Exception while
> saving document xwiki: Code.PDFTemplate
>
> Wrapped Exception: Failed to commit or rollback transaction. Root cause []
>
> at
> com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStor
> e
> .java:693) ~[xwiki-platform-legacy-oldcore-3.5.1.jar:na]
>
> at
> com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:1
> 7
> 4) ~[xwiki-platform-legacy-oldcore-3.5.1.jar:na]
>
> at
> com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:1
> 6
> 7) ~[xwiki-platform-legacy-oldcore-3.5.1.jar:na]
>
> at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1381)
> ~[xwiki-platform-legacy-oldcore-3.5.1.jar:na]
>
> at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1337)
> ~[xwiki-platform-legacy-oldcore-3.5.1.jar:na]
>
> at
> com.xpn.xwiki.plugin.packaging.Package.installDocument(Package.java:745)
> [xwiki-platform-legacy-oldcore-3.5.1.jar:na]
>
> at
> com.xpn.xwiki.plugin.packaging.Package.install(Package.java:603)
> [xwiki-platform-legacy-oldcore-3.5.1.jar:na]
>
> at
> com.xpn.xwiki.plugin.packaging.PackageAPI.install(PackageAPI.java:316)
> [xwiki-platform-legacy-oldcore-3.5.1.jar:na]
>
> at
> com.xpn.xwiki.web.ImportAction.render(ImportAction.java:137)
> [xwiki-platform-legacy-oldcore-3.5.1.jar:na]
>
> at
> com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:231)
> [xwiki-platform-legacy-oldcore-3.5.1.jar:na]
>
> at
> com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116)
> [xwiki-platform-legacy-oldcore-3.5.1.jar:na]
>
> at
> org.apache.struts.action.RequestProcessor.processActionPerform(RequestP
> r
> ocessor.java:431) [struts-1.2.9.jar:1.2.9]
>
> at
> org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:
> 236) [struts-1.2.9.jar:1.2.9]
>
> at
> org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
> [struts-1.2.9.jar:1.2.9]
>
> at
> org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
> [struts-1.2.9.jar:1.2.9]
>
> at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:754)
> [javax.servlet.jar:na]
>
> at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
> [javax.servlet.jar:na]
>
> at
> org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:15
> 39) [web-core.jar:3.1.1]
>
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
> tionFilterChain.java:343) [web-core.jar:3.1.1]
>
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
> erChain.java:217) [web-core.jar:3.1.1]
>
> at
> com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:128)
> [xwiki-platform-legacy-oldcore-3.5.1.jar:na]
>
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
> tionFilterChain.java:256) [web-core.jar:3.1.1]
>
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
> erChain.java:217) [web-core.jar:3.1.1]
>
> at
> org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilt
> er.java:144) [xwiki-platform-wysiwyg-server-3.5.1.jar:na]
>
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
> tionFilterChain.java:256) [web-core.jar:3.1.1]
>
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
> erChain.java:217) [web-core.jar:3.1.1]
>
> at
> com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:
> 68) [xwiki-platform-webdav-server-3.5.1.jar:na]
>
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
> tionFilterChain.java:256) [web-core.jar:3.1.1]
>
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
> erChain.java:217) [web-core.jar:3.1.1]
>
> at
> org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.
> doFilter(SavedRequestRestorerFilter.java:217)
> [xwiki-platform-container-servlet-3.5.1.jar:na]
>
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
> tionFilterChain.java:256) [web-core.jar:3.1.1]
>
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
> erChain.java:217) [web-core.jar:3.1.1]
>
> at
> org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.
> doFilter(SetCharacterEncodingFilter.java:109)
> [xwiki-platform-container-servlet-3.5.1.jar:na]
>
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
> tionFilterChain.java:256) [web-core.jar:3.1.1]
>
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
> erChain.java:217) [web-core.jar:3.1.1]
>
> at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
> alv
> e.java:279) [web-core.jar:3.1.1]
>
> at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextVal
> v
> e.java:175) [web-core.jar:3.1.1]
>
> at
> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java
> :655) [web-core.jar:3.1.1]
>
> at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
> 95) [web-core.jar:3.1.1]
>
> at
> com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:98)
> [web-glue.jar:3.1.1]
>
> at
> com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessio
> n
> LockingStandardPipeline.java:91) [web-glue.jar:3.1.1]
>
> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
> :162) [web-core.jar:3.1.1]
>
> at
> org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.jav
> a
> :330) [web-core.jar:3.1.1]
>
> at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:2
> 31) [web-core.jar:3.1.1]
>
> at
> com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMa
> p
> per.java:174) [kernel.jar:3.1.1]
>
> at
> com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:828)
> [grizzly-http.jar:1.9.36]
>
> at
> com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:725)
> [grizzly-http.jar:1.9.36]
>
> at
> com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1019)
> [grizzly-http.jar:1.9.36]
>
> at
> com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter
> .java:225) [grizzly-http.jar:1.9.36]
>
> at
> com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtoc
> olChain.java:137) [grizzly-framework.jar:1.9.36]
>
> at
> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:1
> 04) [grizzly-framework.jar:1.9.36]
>
> at
> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:9
> 0) [grizzly-framework.jar:1.9.36]
>
> at
> com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79
> ) [grizzly-http.jar:1.9.36]
>
> at
> com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask
> .java:54) [grizzly-framework.jar:1.9.36]
>
> at
> com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.jav
> a:59) [grizzly-framework.jar:1.9.36]
>
> at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
> [grizzly-framework.jar:1.9.36]
>
> at
> com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPoo
> l
> .java:532) [grizzly-utils.jar:1.9.36]
>
> at
> com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.ja
> va:513) [grizzly-utils.jar:1.9.36]
>
> at java.lang.Thread.run(Thread.java:619) [na:1.6.0_20]
>
> Caused by: org.hibernate.HibernateException: Failed to commit or rollback
> transaction. Root cause []
>
> at
> com.xpn.xwiki.store.XWikiHibernateBaseStore.endTransaction(XWikiHiberna
> t
> eBaseStore.java:876) ~[xwiki-platform-legacy-oldcore-3.5.1.jar:na]
>
> at
> com.xpn.xwiki.store.XWikiHibernateBaseStore.endTransaction(XWikiHiberna
> t
> eBaseStore.java:840) ~[xwiki-platform-legacy-oldcore-3.5.1.jar:na]
>
> at
> com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStor
> e
> .java:683) ~[xwiki-platform-legacy-oldcore-3.5.1.jar:na]
>
> ... 58 common frames omitted
>
> Caused by: org.hibernate.StaleObjectStateException: Row was updated or
> deleted by another transaction (or unsaved-value mapping was incorrect):
> [com.xpn.xwiki.objects.LargeStringProperty#<?xml version="1.0"
> encoding="UTF-8"?>
>
>
>
> <xhtmlxsl><?xml version="1.0" encoding="UTF-8"?>
>
>
>
>
>
> Many thanks in advance! Regards,
>
>
>
> Josef
>
>
>
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
Obviously even if the other files of the xar import are going through, there is something wrong with all of them.
First the code of all imported files doesn't work, but when I put an enter somewhere in and save, they do.
Other files can't even be edited, the source is greyed out in xwiki editor. I deleted the file, created it and put the source-code with copy & paste manually in and it works.
What could be the reason for this?
I already checked for invalid bytes, persistent utf8 encoding, etc.
> -----Ursprüngliche Nachricht-----
> Von: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] Im
> Auftrag von Haimerl, Josef
> Gesendet: Donnerstag, 13. September 2012 09:24
> An: users(a)xwiki.org
> Betreff: [xwiki-users] PDFClass - PDFTemplate
>
> For a custom PDF export I'm using a PDFTemplate based on the PDFClass as
> described here
> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configuration#HOver
> r
> idetheCSSrules
>
> I overwrote the xhtml2xsl transformation. Everything worked fine in the test
> environment, but when importing the xar with the relevant files into the
> productive system I got following exception:
>
> (I already got this exception, the problem was an invalid byte sequence
> which was easy to solve)
>
> (already tried to create the document manually -> same error)
>
>
>
> 2012-09-12 15:05:35,470 ERROR
> [http://localhost:8148/wiki/bin/import/XWiki/XWikiPreferences?section=Im
> port] c.x.x.p.p.Package [Package.java:767] Failed to save document
> Code.PDFTemplate
>
> com.xpn.xwiki.XWikiException: Error number 3201 in 3: Exception while
> saving document xwiki: Code.PDFTemplate
>
> Wrapped Exception: Failed to commit or rollback transaction. Root cause []
>
> at
> com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStor
> e
> .java:693) ~[xwiki-platform-legacy-oldcore-3.5.1.jar:na]
>
> at
> com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:1
> 7
> 4) ~[xwiki-platform-legacy-oldcore-3.5.1.jar:na]
>
> at
> com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:1
> 6
> 7) ~[xwiki-platform-legacy-oldcore-3.5.1.jar:na]
>
> at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1381)
> ~[xwiki-platform-legacy-oldcore-3.5.1.jar:na]
>
> at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1337)
> ~[xwiki-platform-legacy-oldcore-3.5.1.jar:na]
>
> at
> com.xpn.xwiki.plugin.packaging.Package.installDocument(Package.java:745)
> [xwiki-platform-legacy-oldcore-3.5.1.jar:na]
>
> at
> com.xpn.xwiki.plugin.packaging.Package.install(Package.java:603)
> [xwiki-platform-legacy-oldcore-3.5.1.jar:na]
>
> at
> com.xpn.xwiki.plugin.packaging.PackageAPI.install(PackageAPI.java:316)
> [xwiki-platform-legacy-oldcore-3.5.1.jar:na]
>
> at
> com.xpn.xwiki.web.ImportAction.render(ImportAction.java:137)
> [xwiki-platform-legacy-oldcore-3.5.1.jar:na]
>
> at
> com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:231)
> [xwiki-platform-legacy-oldcore-3.5.1.jar:na]
>
> at
> com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116)
> [xwiki-platform-legacy-oldcore-3.5.1.jar:na]
>
> at
> org.apache.struts.action.RequestProcessor.processActionPerform(RequestP
> r
> ocessor.java:431) [struts-1.2.9.jar:1.2.9]
>
> at
> org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:
> 236) [struts-1.2.9.jar:1.2.9]
>
> at
> org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
> [struts-1.2.9.jar:1.2.9]
>
> at
> org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
> [struts-1.2.9.jar:1.2.9]
>
> at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:754)
> [javax.servlet.jar:na]
>
> at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
> [javax.servlet.jar:na]
>
> at
> org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:15
> 39) [web-core.jar:3.1.1]
>
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
> tionFilterChain.java:343) [web-core.jar:3.1.1]
>
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
> erChain.java:217) [web-core.jar:3.1.1]
>
> at
> com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:128)
> [xwiki-platform-legacy-oldcore-3.5.1.jar:na]
>
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
> tionFilterChain.java:256) [web-core.jar:3.1.1]
>
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
> erChain.java:217) [web-core.jar:3.1.1]
>
> at
> org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilt
> er.java:144) [xwiki-platform-wysiwyg-server-3.5.1.jar:na]
>
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
> tionFilterChain.java:256) [web-core.jar:3.1.1]
>
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
> erChain.java:217) [web-core.jar:3.1.1]
>
> at
> com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:
> 68) [xwiki-platform-webdav-server-3.5.1.jar:na]
>
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
> tionFilterChain.java:256) [web-core.jar:3.1.1]
>
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
> erChain.java:217) [web-core.jar:3.1.1]
>
> at
> org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.
> doFilter(SavedRequestRestorerFilter.java:217)
> [xwiki-platform-container-servlet-3.5.1.jar:na]
>
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
> tionFilterChain.java:256) [web-core.jar:3.1.1]
>
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
> erChain.java:217) [web-core.jar:3.1.1]
>
> at
> org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.
> doFilter(SetCharacterEncodingFilter.java:109)
> [xwiki-platform-container-servlet-3.5.1.jar:na]
>
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
> tionFilterChain.java:256) [web-core.jar:3.1.1]
>
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
> erChain.java:217) [web-core.jar:3.1.1]
>
> at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
> alv
> e.java:279) [web-core.jar:3.1.1]
>
> at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextVal
> v
> e.java:175) [web-core.jar:3.1.1]
>
> at
> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java
> :655) [web-core.jar:3.1.1]
>
> at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
> 95) [web-core.jar:3.1.1]
>
> at
> com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:98)
> [web-glue.jar:3.1.1]
>
> at
> com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessio
> n
> LockingStandardPipeline.java:91) [web-glue.jar:3.1.1]
>
> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
> :162) [web-core.jar:3.1.1]
>
> at
> org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.jav
> a
> :330) [web-core.jar:3.1.1]
>
> at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:2
> 31) [web-core.jar:3.1.1]
>
> at
> com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMa
> p
> per.java:174) [kernel.jar:3.1.1]
>
> at
> com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:828)
> [grizzly-http.jar:1.9.36]
>
> at
> com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:725)
> [grizzly-http.jar:1.9.36]
>
> at
> com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1019)
> [grizzly-http.jar:1.9.36]
>
> at
> com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter
> .java:225) [grizzly-http.jar:1.9.36]
>
> at
> com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtoc
> olChain.java:137) [grizzly-framework.jar:1.9.36]
>
> at
> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:1
> 04) [grizzly-framework.jar:1.9.36]
>
> at
> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:9
> 0) [grizzly-framework.jar:1.9.36]
>
> at
> com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79
> ) [grizzly-http.jar:1.9.36]
>
> at
> com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask
> .java:54) [grizzly-framework.jar:1.9.36]
>
> at
> com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.jav
> a:59) [grizzly-framework.jar:1.9.36]
>
> at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
> [grizzly-framework.jar:1.9.36]
>
> at
> com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPoo
> l
> .java:532) [grizzly-utils.jar:1.9.36]
>
> at
> com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.ja
> va:513) [grizzly-utils.jar:1.9.36]
>
> at java.lang.Thread.run(Thread.java:619) [na:1.6.0_20]
>
> Caused by: org.hibernate.HibernateException: Failed to commit or rollback
> transaction. Root cause []
>
> at
> com.xpn.xwiki.store.XWikiHibernateBaseStore.endTransaction(XWikiHiberna
> t
> eBaseStore.java:876) ~[xwiki-platform-legacy-oldcore-3.5.1.jar:na]
>
> at
> com.xpn.xwiki.store.XWikiHibernateBaseStore.endTransaction(XWikiHiberna
> t
> eBaseStore.java:840) ~[xwiki-platform-legacy-oldcore-3.5.1.jar:na]
>
> at
> com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStor
> e
> .java:683) ~[xwiki-platform-legacy-oldcore-3.5.1.jar:na]
>
> ... 58 common frames omitted
>
> Caused by: org.hibernate.StaleObjectStateException: Row was updated or
> deleted by another transaction (or unsaved-value mapping was incorrect):
> [com.xpn.xwiki.objects.LargeStringProperty#<?xml version="1.0"
> encoding="UTF-8"?>
>
>
>
> <xhtmlxsl><?xml version="1.0" encoding="UTF-8"?>
>
>
>
>
>
> Many thanks in advance! Regards,
>
>
>
> Josef
>
>
>
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
For a custom PDF export I'm using a PDFTemplate based on the PDFClass as
described here
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configuration#HOverr
idetheCSSrules
I overwrote the xhtml2xsl transformation. Everything worked fine in the
test environment, but when importing the xar with the relevant files
into the productive system I got following exception:
(I already got this exception, the problem was an invalid byte sequence
which was easy to solve)
(already tried to create the document manually -> same error)
2012-09-12 15:05:35,470 ERROR
[http://localhost:8148/wiki/bin/import/XWiki/XWikiPreferences?section=Im
port] c.x.x.p.p.Package [Package.java:767] Failed to save document
Code.PDFTemplate
com.xpn.xwiki.XWikiException: Error number 3201 in 3: Exception while
saving document xwiki: Code.PDFTemplate
Wrapped Exception: Failed to commit or rollback transaction. Root cause
[]
at
com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore
.java:693) ~[xwiki-platform-legacy-oldcore-3.5.1.jar:na]
at
com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:17
4) ~[xwiki-platform-legacy-oldcore-3.5.1.jar:na]
at
com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:16
7) ~[xwiki-platform-legacy-oldcore-3.5.1.jar:na]
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1381)
~[xwiki-platform-legacy-oldcore-3.5.1.jar:na]
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1337)
~[xwiki-platform-legacy-oldcore-3.5.1.jar:na]
at
com.xpn.xwiki.plugin.packaging.Package.installDocument(Package.java:745)
[xwiki-platform-legacy-oldcore-3.5.1.jar:na]
at
com.xpn.xwiki.plugin.packaging.Package.install(Package.java:603)
[xwiki-platform-legacy-oldcore-3.5.1.jar:na]
at
com.xpn.xwiki.plugin.packaging.PackageAPI.install(PackageAPI.java:316)
[xwiki-platform-legacy-oldcore-3.5.1.jar:na]
at
com.xpn.xwiki.web.ImportAction.render(ImportAction.java:137)
[xwiki-platform-legacy-oldcore-3.5.1.jar:na]
at
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:231)
[xwiki-platform-legacy-oldcore-3.5.1.jar:na]
at
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116)
[xwiki-platform-legacy-oldcore-3.5.1.jar:na]
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestPr
ocessor.java:431) [struts-1.2.9.jar:1.2.9]
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:
236) [struts-1.2.9.jar:1.2.9]
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
[struts-1.2.9.jar:1.2.9]
at
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
[struts-1.2.9.jar:1.2.9]
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:754)
[javax.servlet.jar:na]
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
[javax.servlet.jar:na]
at
org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:15
39) [web-core.jar:3.1.1]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:343) [web-core.jar:3.1.1]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:217) [web-core.jar:3.1.1]
at
com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:128)
[xwiki-platform-legacy-oldcore-3.5.1.jar:na]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:256) [web-core.jar:3.1.1]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:217) [web-core.jar:3.1.1]
at
org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilt
er.java:144) [xwiki-platform-wysiwyg-server-3.5.1.jar:na]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:256) [web-core.jar:3.1.1]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:217) [web-core.jar:3.1.1]
at
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:
68) [xwiki-platform-webdav-server-3.5.1.jar:na]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:256) [web-core.jar:3.1.1]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:217) [web-core.jar:3.1.1]
at
org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.
doFilter(SavedRequestRestorerFilter.java:217)
[xwiki-platform-container-servlet-3.5.1.jar:na]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:256) [web-core.jar:3.1.1]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:217) [web-core.jar:3.1.1]
at
org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.
doFilter(SetCharacterEncodingFilter.java:109)
[xwiki-platform-container-servlet-3.5.1.jar:na]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:256) [web-core.jar:3.1.1]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:217) [web-core.jar:3.1.1]
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:279) [web-core.jar:3.1.1]
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:175) [web-core.jar:3.1.1]
at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java
:655) [web-core.jar:3.1.1]
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
95) [web-core.jar:3.1.1]
at
com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:98)
[web-glue.jar:3.1.1]
at
com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESession
LockingStandardPipeline.java:91) [web-glue.jar:3.1.1]
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:162) [web-core.jar:3.1.1]
at
org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java
:330) [web-core.jar:3.1.1]
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:2
31) [web-core.jar:3.1.1]
at
com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMap
per.java:174) [kernel.jar:3.1.1]
at
com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:828)
[grizzly-http.jar:1.9.36]
at
com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:725)
[grizzly-http.jar:1.9.36]
at
com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1019)
[grizzly-http.jar:1.9.36]
at
com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter
.java:225) [grizzly-http.jar:1.9.36]
at
com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtoc
olChain.java:137) [grizzly-framework.jar:1.9.36]
at
com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:1
04) [grizzly-framework.jar:1.9.36]
at
com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:9
0) [grizzly-framework.jar:1.9.36]
at
com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79
) [grizzly-http.jar:1.9.36]
at
com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask
.java:54) [grizzly-framework.jar:1.9.36]
at
com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.jav
a:59) [grizzly-framework.jar:1.9.36]
at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
[grizzly-framework.jar:1.9.36]
at
com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool
.java:532) [grizzly-utils.jar:1.9.36]
at
com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.ja
va:513) [grizzly-utils.jar:1.9.36]
at java.lang.Thread.run(Thread.java:619) [na:1.6.0_20]
Caused by: org.hibernate.HibernateException: Failed to commit or
rollback transaction. Root cause []
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.endTransaction(XWikiHibernat
eBaseStore.java:876) ~[xwiki-platform-legacy-oldcore-3.5.1.jar:na]
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.endTransaction(XWikiHibernat
eBaseStore.java:840) ~[xwiki-platform-legacy-oldcore-3.5.1.jar:na]
at
com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore
.java:683) ~[xwiki-platform-legacy-oldcore-3.5.1.jar:na]
... 58 common frames omitted
Caused by: org.hibernate.StaleObjectStateException: Row was updated or
deleted by another transaction (or unsaved-value mapping was incorrect):
[com.xpn.xwiki.objects.LargeStringProperty#<?xml version="1.0"
encoding="UTF-8"?>
<xhtmlxsl><?xml version="1.0" encoding="UTF-8"?>
Many thanks in advance! Regards,
Josef
Hello,
i'm using (% id="tableid" class="sortable filterable doOddEven
xwikidatatable")(% class="sortHeader" %) to create a dynamic sortable
table. Tried a lot with css modifications to set a fixed table-layout,
but i did not get that far.
In my despair also tried following code, but then the filter function
disappears.
(% id="tableid" class="sortable filterable doOddEven xwikidatatable" %)
(% class="sortHeader" style="width:100%"%)|= Column1|= Column2|=
Column3|= Column4|= Column5
{{html clean="false" wiki="true"}}<col style="width:114px"><col
style="width:114px"><col style="width:114px"><col
style="width:114px"><col style="width:114px"><col
style="width:28px">{{/html}}
Anybody any hints?
Many thanks in advance! Regards,
Josef Haimerl