Re: [xwiki-users] PDF Page Export with children does not contain images
Hi, > On 09 May 2016, at 20:30, lanouetteawrote: > > Let's say I have a page hirearchy like this: > - A > - - B > - - C > > and page B contains an image. When I export page A with children, the page B > in the resulting PDF does not contain the image. > > The url parameters used to perform the export are > ?format=pdf=1=1=0=6 > > The image is specified as an attachment of page B, and added into the page > using [[image:activation.png]]. > > From the tomcat log, I see that the image URL cannot be found. > https://BASE_URL/bin/download/SPACENAME/WebHome/activation.png, > > where BASE_URL is my site domain and SPACE_NAME is the name of the space. > > Is this a known issue? WHat do you suggest I do to get the image exported in > the PDF as well? First, you should know that the “includechilds” parameter for the PDF export is the old notion of parent/child relationship which has been deprecated in favor of Nested Pages starting with XWiki 7.4+. So for this parameter to have any action you need B to have A as parent in the sense of the parent/child relationship. Is that the case? In short, we need to modify the PDF export to support exporting Nested Pages children. I’ve just created http://jira.xwiki.org/browse/XWIKI-13404 for you, which you may watch to receive notifications on progress (ofc if you can, you could also contribute some patches to fix that more quickly :)). Thanks -Vincent > Thank you, > > > > > -- > View this message in context: > http://xwiki.475771.n2.nabble.com/PDF-Page-Export-with-children-does-not-contain-images-tp7599385.html > Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] PDF Page Export with children does not contain images
Let's say I have a page hirearchy like this: - A - - B - - C and page B contains an image. When I export page A with children, the page B in the resulting PDF does not contain the image. The url parameters used to perform the export are ?format=pdf=1=1=0=6 The image is specified as an attachment of page B, and added into the page using [[image:activation.png]]. >From the tomcat log, I see that the image URL cannot be found. https://BASE_URL/bin/download/SPACENAME/WebHome/activation.png, where BASE_URL is my site domain and SPACE_NAME is the name of the space. Is this a known issue? WHat do you suggest I do to get the image exported in the PDF as well? Thank you, -- View this message in context: http://xwiki.475771.n2.nabble.com/PDF-Page-Export-with-children-does-not-contain-images-tp7599385.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] [ANN] XWiki 8.1 Release Candidate 1 released released
The XWiki development team is proud to announce the availability of XWiki 8.1 Release Candidate 1. This release candidate brings a couple of improvements and bugfixes to Extension Manager and other bundled components. 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/ReleaseNotesXWiki81RC1 The following people have contributed code to this release (sorted alphabetically): Alexandru Cotiuga Clemens Robbenhaar Denis Gervalle Ecaterina Moraru (Valica) Guillaume Delhumeau Thomas Mortagne Thanks for your support -The XWiki dev team ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Missing border and background color of "code" macro in exported pdf
About the missing border: I forgot that there is this bug: http://jira.xwiki.org/browse/XWIKI-13163 "Border style is not displayed, when we specify it on the pdf.css" the workaround described in the issue works well, even though it is quite a a bit of copy & paste; the result looks like: .box { background-color: #CCC; border-top-style:solid; border-bottom-style:solid; border-left-style:solid; border-right-style:solid; border-top-color:#444; border-bottom-color:#444; border-left-color:#444; border-right-color:#444; } p { text-indent:0; } > > Details about changing the rendering of the PDF are documented here: > > > http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configuration#HCustomizingthePDFexportLook26Feel > > In your case to change the background color the easiest solution is probably > to attach a file named "pdf.css" to the page XWiki.DefaultSkin > with the contents: > > .box { > background-color: #CC; > } > > or whatever color you would like to have in print. > > I have to admit that I could not get a border around the box with a similar > CSS declaration; > also I could not fix the indentation of the text around the block; actually > it should not be indented ... > > Adding a separate > > p { > text-indent:0; > } > > to the pdf.css fixes that, but I am not sure if this does not has other side > effects > > hope it helps anyway > Clemens > >> Hi, >> >> i use the macro "code" to highlight code blocks in the text. On export (e.g. >> as pdf) only the text is colored and has another font, but there is no >> border or background color, like in the web view. The text before and after >> the code block is also not quite nice styled. It is indented wich is not >> good for reading. >> >> How can i change the style of the code blok and surrounding text in the >> exported document? >> >> With best regards >> Alina >> > ___ > users mailing list > users@xwiki.org > http://lists.xwiki.org/mailman/listinfo/users > ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Problem with SQL Server Database
Hi, thanks fort he hint, this is what was missing! I choose the buildin HSQL support first, and then switching to MSSQL. I forgot to change the xwiki.hbm.xml to xwiki.mssql.hbm.xml Many thanks, Sebastian. -Ursprüngliche Nachricht- Von: users [mailto:users-boun...@xwiki.org] Im Auftrag von Clemens Klein-Robbenhaar Gesendet: Montag, 9. Mai 2016 10:28 An: users@xwiki.org Betreff: Re: [xwiki-users] Problem with SQL Server Database You can find that hbm file packed into a jar file in the WEB-INF/lib directory; the jar file should have the pattern xwiki-platform-legacy-oldcore-x.y.jar The file you are looking for is the xwiki.mssql.hbm.xml There you can shorten the size to 8000. I think you can edit that file and place the edited copy in the WEB-INF/classes directory to get picked up. If that does not help, you need to repack it into the jar where you extracted it. It is strange that the error pops up only now, as this setting has not been touched for quite some time ... Maybe you have the wrong dialect in the part of your hibernate.cfg.xml ? (I thought org.hibernate.dialect.SQLServerDialect would be ok, and maps "text" to varchar(max) but I have to admit I have not tried) > I don't know anything about SQL Server but the error seems to suggest > that the field XWR_REFERER defined in the hbm file is too big. > > On Mon, May 9, 2016 at 9:41 AM, Sebastian Schabbach >wrote: >> Thank you! >> >> Something was wrong with the user permissions. I get another problem when I >> correct the user permissions for the database user. >> >> I got the error >> >> com.microsoft.sqlserver.jdbc.SQLServerException: The size (8192) given to >> the column 'XWR_REFERER' exceeds the maximum allowed for any data type >> (8000). >> >> When creating the database. Is this a well known issue and if what I do to >> resolve that problem? >> >> Regards, >> Sebastian. >> >> -Ursprüngliche Nachricht- >> Von: users [mailto:users-boun...@xwiki.org] Im Auftrag von Clemens >> Klein-Robbenhaar >> Gesendet: Mittwoch, 4. Mai 2016 16:50 >> An: users@xwiki.org >> Betreff: Re: [xwiki-users] Problem with SQL Server Database >> >> Any chance both XWiki instances are writing to the same database? >> >> If you want the second XWiki instance writes to another database, you >> must not only update the value in the hibernate.hbm,xml but also the >> property "xwiki.db" (and probably xwiki.db.prefix) in >> WEB-INF/xwiki.cfg too >> >> >> Aside of that you can add a line like >> >>> level="debug"/> >> >> to the WEB-INF/classes/logback.xml >> and see if more information shows up in the log file. >> >>> Hi all, >>> >>> my next request is regarding to let xwiki initialize a new, empty SQL >>> Server database to use the xwiki with this empty database. The problem is >>> that the table activitystream_events seems to be created twice: >>> >>> com.microsoft.sqlserver.jdbc.SQLServerException: There is already an object >>> named 'activitystream_events' in the database. >>> >>> Has somebody an idea of how I can solve that issue? There are some >>> interesting logs that looks like access problems with the database, but if >>> there are problems accessing the database it might not be possible to >>> create any table, isn't it? >>> >>> So here is the tomcat log, maybe it is helpful to solve the issue. >>> >>> Kind regards, >>> Sebastian. >>> >>> >>> >>> Hibernate: select this_.XWV_VERSION as XWV1_26_0_ from >>> xwikidbversion this_ >>> Hibernate: select count(*) as y0_ from xwikidoc this_ >>> 2016-05-04 15:19:37,334 [http://pippin:8080/xwiki2/bin/view/Main/] >>> INFO .HibernateDataMigrationManager - Checking Hibernate mapping >>> and updating schema if needed for wiki [xwiki] >>> 2016-05-04 15:19:37,570 [http://pippin:8080/xwiki2/bin/view/Main/] ERROR >>> .HibernateDataMigrationManager - The empty database xwiki seems to be not >>> writable, please check your configuration! >>> >>> com.xpn.xwiki.store.migration.DataMigrationException: Unable to update >>> schema of wiki [xwiki] >>> at >>> com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.updateSchema(HibernateDataMigrationManager.java:182) >>> ~[xwiki-platform-legacy-oldcore-7.4.2.jar:na] >>> at >>> com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.initializeEmptyDB(HibernateDataMigrationManager.java:142) >>> ~[xwiki-platform-legacy-oldcore-7.4.2.jar:na] >>> at >>> com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initNewDB(AbstractDataMigrationManager.java:445) >>> [xwiki-platform-legacy-oldcore-7.4.2.jar:na] >>> at >>> com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:550) >>> [xwiki-platform-legacy-oldcore-7.4.2.jar:na] >>> at >>> com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:533) >>>
Re: [xwiki-users] Problem with SQL Server Database
You can find that hbm file packed into a jar file in the WEB-INF/lib directory; the jar file should have the pattern xwiki-platform-legacy-oldcore-x.y.jar The file you are looking for is the xwiki.mssql.hbm.xml There you can shorten the size to 8000. I think you can edit that file and place the edited copy in the WEB-INF/classes directory to get picked up. If that does not help, you need to repack it into the jar where you extracted it. It is strange that the error pops up only now, as this setting has not been touched for quite some time ... Maybe you have the wrong dialect in the part of your hibernate.cfg.xml ? (I thought org.hibernate.dialect.SQLServerDialect would be ok, and maps "text" to varchar(max) but I have to admit I have not tried) > I don't know anything about SQL Server but the error seems to suggest > that the field XWR_REFERER defined in the hbm file is too big. > > On Mon, May 9, 2016 at 9:41 AM, Sebastian Schabbach >wrote: >> Thank you! >> >> Something was wrong with the user permissions. I get another problem when I >> correct the user permissions for the database user. >> >> I got the error >> >> com.microsoft.sqlserver.jdbc.SQLServerException: The size (8192) given to >> the column 'XWR_REFERER' exceeds the maximum allowed for any data type >> (8000). >> >> When creating the database. Is this a well known issue and if what I do to >> resolve that problem? >> >> Regards, >> Sebastian. >> >> -Ursprüngliche Nachricht- >> Von: users [mailto:users-boun...@xwiki.org] Im Auftrag von Clemens >> Klein-Robbenhaar >> Gesendet: Mittwoch, 4. Mai 2016 16:50 >> An: users@xwiki.org >> Betreff: Re: [xwiki-users] Problem with SQL Server Database >> >> Any chance both XWiki instances are writing to the same database? >> >> If you want the second XWiki instance writes to another database, you must >> not only update the value in the hibernate.hbm,xml but also the property >> "xwiki.db" (and probably xwiki.db.prefix) in WEB-INF/xwiki.cfg too >> >> >> Aside of that you can add a line like >> >> >> >> to the WEB-INF/classes/logback.xml >> and see if more information shows up in the log file. >> >>> Hi all, >>> >>> my next request is regarding to let xwiki initialize a new, empty SQL >>> Server database to use the xwiki with this empty database. The problem is >>> that the table activitystream_events seems to be created twice: >>> >>> com.microsoft.sqlserver.jdbc.SQLServerException: There is already an object >>> named 'activitystream_events' in the database. >>> >>> Has somebody an idea of how I can solve that issue? There are some >>> interesting logs that looks like access problems with the database, but if >>> there are problems accessing the database it might not be possible to >>> create any table, isn't it? >>> >>> So here is the tomcat log, maybe it is helpful to solve the issue. >>> >>> Kind regards, >>> Sebastian. >>> >>> >>> >>> Hibernate: select this_.XWV_VERSION as XWV1_26_0_ from xwikidbversion >>> this_ >>> Hibernate: select count(*) as y0_ from xwikidoc this_ >>> 2016-05-04 15:19:37,334 [http://pippin:8080/xwiki2/bin/view/Main/] >>> INFO .HibernateDataMigrationManager - Checking Hibernate mapping and >>> updating schema if needed for wiki [xwiki] >>> 2016-05-04 15:19:37,570 [http://pippin:8080/xwiki2/bin/view/Main/] ERROR >>> .HibernateDataMigrationManager - The empty database xwiki seems to be not >>> writable, please check your configuration! >>> >>> com.xpn.xwiki.store.migration.DataMigrationException: Unable to update >>> schema of wiki [xwiki] >>> at >>> com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.updateSchema(HibernateDataMigrationManager.java:182) >>> ~[xwiki-platform-legacy-oldcore-7.4.2.jar:na] >>> at >>> com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.initializeEmptyDB(HibernateDataMigrationManager.java:142) >>> ~[xwiki-platform-legacy-oldcore-7.4.2.jar:na] >>> at >>> com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initNewDB(AbstractDataMigrationManager.java:445) >>> [xwiki-platform-legacy-oldcore-7.4.2.jar:na] >>> at >>> com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:550) >>> [xwiki-platform-legacy-oldcore-7.4.2.jar:na] >>> at >>> com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:533) >>> [xwiki-platform-legacy-oldcore-7.4.2.jar:na] >>> at >>> com.xpn.xwiki.store.XWikiHibernateBaseStore.setDatabase(XWikiHibernateBaseStore.java:734) >>> [xwiki-platform-legacy-oldcore-7.4.2.jar:na] >>> at >>> com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:911) >>> [xwiki-platform-legacy-oldcore-7.4.2.jar:na] >>> at >>> com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:843) >>>
Re: [xwiki-users] Problem with SQL Server Database
I don't know anything about SQL Server but the error seems to suggest that the field XWR_REFERER defined in the hbm file is too big. On Mon, May 9, 2016 at 9:41 AM, Sebastian Schabbachwrote: > Thank you! > > Something was wrong with the user permissions. I get another problem when I > correct the user permissions for the database user. > > I got the error > > com.microsoft.sqlserver.jdbc.SQLServerException: The size (8192) given to the > column 'XWR_REFERER' exceeds the maximum allowed for any data type (8000). > > When creating the database. Is this a well known issue and if what I do to > resolve that problem? > > Regards, > Sebastian. > > -Ursprüngliche Nachricht- > Von: users [mailto:users-boun...@xwiki.org] Im Auftrag von Clemens > Klein-Robbenhaar > Gesendet: Mittwoch, 4. Mai 2016 16:50 > An: users@xwiki.org > Betreff: Re: [xwiki-users] Problem with SQL Server Database > > Any chance both XWiki instances are writing to the same database? > > If you want the second XWiki instance writes to another database, you must > not only update the value in the hibernate.hbm,xml but also the property > "xwiki.db" (and probably xwiki.db.prefix) in WEB-INF/xwiki.cfg too > > > Aside of that you can add a line like > > > > to the WEB-INF/classes/logback.xml > and see if more information shows up in the log file. > >> Hi all, >> >> my next request is regarding to let xwiki initialize a new, empty SQL Server >> database to use the xwiki with this empty database. The problem is that the >> table activitystream_events seems to be created twice: >> >> com.microsoft.sqlserver.jdbc.SQLServerException: There is already an object >> named 'activitystream_events' in the database. >> >> Has somebody an idea of how I can solve that issue? There are some >> interesting logs that looks like access problems with the database, but if >> there are problems accessing the database it might not be possible to create >> any table, isn't it? >> >> So here is the tomcat log, maybe it is helpful to solve the issue. >> >> Kind regards, >> Sebastian. >> >> >> >> Hibernate: select this_.XWV_VERSION as XWV1_26_0_ from xwikidbversion >> this_ >> Hibernate: select count(*) as y0_ from xwikidoc this_ >> 2016-05-04 15:19:37,334 [http://pippin:8080/xwiki2/bin/view/Main/] >> INFO .HibernateDataMigrationManager - Checking Hibernate mapping and >> updating schema if needed for wiki [xwiki] >> 2016-05-04 15:19:37,570 [http://pippin:8080/xwiki2/bin/view/Main/] ERROR >> .HibernateDataMigrationManager - The empty database xwiki seems to be not >> writable, please check your configuration! >> >> com.xpn.xwiki.store.migration.DataMigrationException: Unable to update >> schema of wiki [xwiki] >> at >> com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.updateSchema(HibernateDataMigrationManager.java:182) >> ~[xwiki-platform-legacy-oldcore-7.4.2.jar:na] >> at >> com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.initializeEmptyDB(HibernateDataMigrationManager.java:142) >> ~[xwiki-platform-legacy-oldcore-7.4.2.jar:na] >> at >> com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initNewDB(AbstractDataMigrationManager.java:445) >> [xwiki-platform-legacy-oldcore-7.4.2.jar:na] >> at >> com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:550) >> [xwiki-platform-legacy-oldcore-7.4.2.jar:na] >> at >> com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:533) >> [xwiki-platform-legacy-oldcore-7.4.2.jar:na] >> at >> com.xpn.xwiki.store.XWikiHibernateBaseStore.setDatabase(XWikiHibernateBaseStore.java:734) >> [xwiki-platform-legacy-oldcore-7.4.2.jar:na] >> at >> com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:911) >> [xwiki-platform-legacy-oldcore-7.4.2.jar:na] >> at >> com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:843) >> [xwiki-platform-legacy-oldcore-7.4.2.jar:na] >> at >> com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:856) >> [xwiki-platform-legacy-oldcore-7.4.2.jar:na] >> at >> com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:299) >> [xwiki-platform-legacy-oldcore-7.4.2.jar:na] >> at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1634) >> [xwiki-platform-legacy-oldcore-7.4.2.jar:na] >> at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1680) >> [xwiki-platform-legacy-oldcore-7.4.2.jar:na] >> >> >> >> Caused by: org.hibernate.HibernateException: Failed updating schema while >> executing query [create table activitystream_events (ase_eventid varchar(48) >> not null, ase_requestid varchar(48) null, ase_stream varchar(255) null, >> ase_date datetime null, ase_priority int null, ase_type varchar(255) null, >> ase_application
Re: [xwiki-users] Problem with SQL Server Database
Thank you! Something was wrong with the user permissions. I get another problem when I correct the user permissions for the database user. I got the error com.microsoft.sqlserver.jdbc.SQLServerException: The size (8192) given to the column 'XWR_REFERER' exceeds the maximum allowed for any data type (8000). When creating the database. Is this a well known issue and if what I do to resolve that problem? Regards, Sebastian. -Ursprüngliche Nachricht- Von: users [mailto:users-boun...@xwiki.org] Im Auftrag von Clemens Klein-Robbenhaar Gesendet: Mittwoch, 4. Mai 2016 16:50 An: users@xwiki.org Betreff: Re: [xwiki-users] Problem with SQL Server Database Any chance both XWiki instances are writing to the same database? If you want the second XWiki instance writes to another database, you must not only update the value in the hibernate.hbm,xml but also the property "xwiki.db" (and probably xwiki.db.prefix) in WEB-INF/xwiki.cfg too Aside of that you can add a line like to the WEB-INF/classes/logback.xml and see if more information shows up in the log file. > Hi all, > > my next request is regarding to let xwiki initialize a new, empty SQL Server > database to use the xwiki with this empty database. The problem is that the > table activitystream_events seems to be created twice: > > com.microsoft.sqlserver.jdbc.SQLServerException: There is already an object > named 'activitystream_events' in the database. > > Has somebody an idea of how I can solve that issue? There are some > interesting logs that looks like access problems with the database, but if > there are problems accessing the database it might not be possible to create > any table, isn't it? > > So here is the tomcat log, maybe it is helpful to solve the issue. > > Kind regards, > Sebastian. > > > > Hibernate: select this_.XWV_VERSION as XWV1_26_0_ from xwikidbversion > this_ > Hibernate: select count(*) as y0_ from xwikidoc this_ > 2016-05-04 15:19:37,334 [http://pippin:8080/xwiki2/bin/view/Main/] > INFO .HibernateDataMigrationManager - Checking Hibernate mapping and > updating schema if needed for wiki [xwiki] > 2016-05-04 15:19:37,570 [http://pippin:8080/xwiki2/bin/view/Main/] ERROR > .HibernateDataMigrationManager - The empty database xwiki seems to be not > writable, please check your configuration! > > com.xpn.xwiki.store.migration.DataMigrationException: Unable to update schema > of wiki [xwiki] > at > com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.updateSchema(HibernateDataMigrationManager.java:182) > ~[xwiki-platform-legacy-oldcore-7.4.2.jar:na] > at > com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.initializeEmptyDB(HibernateDataMigrationManager.java:142) > ~[xwiki-platform-legacy-oldcore-7.4.2.jar:na] > at > com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initNewDB(AbstractDataMigrationManager.java:445) > [xwiki-platform-legacy-oldcore-7.4.2.jar:na] > at > com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:550) > [xwiki-platform-legacy-oldcore-7.4.2.jar:na] > at > com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:533) > [xwiki-platform-legacy-oldcore-7.4.2.jar:na] > at > com.xpn.xwiki.store.XWikiHibernateBaseStore.setDatabase(XWikiHibernateBaseStore.java:734) > [xwiki-platform-legacy-oldcore-7.4.2.jar:na] > at > com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:911) > [xwiki-platform-legacy-oldcore-7.4.2.jar:na] > at > com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:843) > [xwiki-platform-legacy-oldcore-7.4.2.jar:na] > at > com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:856) > [xwiki-platform-legacy-oldcore-7.4.2.jar:na] > at > com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:299) > [xwiki-platform-legacy-oldcore-7.4.2.jar:na] > at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1634) > [xwiki-platform-legacy-oldcore-7.4.2.jar:na] > at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1680) > [xwiki-platform-legacy-oldcore-7.4.2.jar:na] > > > > Caused by: org.hibernate.HibernateException: Failed updating schema while > executing query [create table activitystream_events (ase_eventid varchar(48) > not null, ase_requestid varchar(48) null, ase_stream varchar(255) null, > ase_date datetime null, ase_priority int null, ase_type varchar(255) null, > ase_application varchar(255) null, ase_user varchar(255) null, ase_wiki > varchar(255) null, ase_space varchar(255) null, ase_page varchar(255) null, > ase_hidden tinyint null, ase_url varchar(2000) null, ase_title varchar(2000) > null, ase_body varchar(2000) null, ase_version varchar(30) null, ase_param1 > varchar(2000) null, ase_param2