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