Hi,
I have a few questions about the xwiki's 'import' function and was wondering
if I could get answer to any if not all of the following:
1. I have done an 'export' on an xwiki server instance and I then stripped
the generated .xar to remove some unwanted spaces within it (this included
editing the archive.xml within). When I then try to import the stripped .xar
on another xwiki server instance, I get: "There was an error reading the
file abc.xar. Error number 0 in 5: Package: Error when reading XML." What
does this error mean?
2. If I am importing a .xar into a server instance via a web browser, then
is it ok to do it from a remote client or do I have to be on the same host
machine the xwiki server is on?
3. If I export spaces which contain attachments to a .xar file. Will the
attachments still be available when importing the .xar file on another xwiki
instance? If so, where are attachments stored in the .xar file?
Thanks in advance for your help.
Regards,
PM.
Hi!
I'm trying to install XWiki Enterprise 2.3.1 on Tomcat 6.0.20 with
MySQL 5.0.32 (installing as WAR).
I've deployed WAR, set up the database but when I connect to XWiki I
get the following exception trace:
(sorry if the message is big, but I'd better post the full trace)
------------------------
com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not
initialize main XWiki context
Wrapped Exception: Error number 3201 in 3: Exception while saving
document xwiki:XWiki.XWikiGroupTemplate
Wrapped Exception: Failed to commit or rollback transaction. Root cause []
at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:369)
at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:430)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:135)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
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.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
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:129)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152)
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:68)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:304)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
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:128)
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:293)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
at java.lang.Thread.run(Thread.java:619)
Wrapped Exception:
com.xpn.xwiki.XWikiException: Error number 3201 in 3: Exception while
saving document xwiki:XWiki.XWikiGroupTemplate
Wrapped Exception: Failed to commit or rollback transaction. Root cause []
at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:643)
at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:182)
at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:175)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1358)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1320)
at com.xpn.xwiki.XWiki.getGroupClass(XWiki.java:3239)
at com.xpn.xwiki.XWiki.initializeMandatoryClasses(XWiki.java:824)
at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:792)
at com.xpn.xwiki.XWiki.<init>(XWiki.java:713)
at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:350)
at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:430)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:135)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
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.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
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:129)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152)
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:68)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:304)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
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:128)
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:293)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
at java.lang.Thread.run(Thread.java:619)
Wrapped Exception:
org.hibernate.exception.GenericJDBCException: Could not execute JDBC
batch update
at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:103)
at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:91)
at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:253)
at org.hibernate.jdbc.AbstractBatcher.prepareStatement(AbstractBatcher.java:92)
at org.hibernate.jdbc.AbstractBatcher.prepareStatement(AbstractBatcher.java:87)
at org.hibernate.jdbc.AbstractBatcher.prepareBatchStatement(AbstractBatcher.java:222)
at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2229)
at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2665)
at org.hibernate.action.EntityInsertAction.execute(EntityInsertAction.java:60)
at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:279)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:263)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:167)
at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:298)
at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27)
at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1000)
at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:338)
at org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:106)
at com.xpn.xwiki.store.XWikiHibernateBaseStore.endTransaction(XWikiHibernateBaseStore.java:853)
at com.xpn.xwiki.store.XWikiHibernateBaseStore.endTransaction(XWikiHibernateBaseStore.java:824)
at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:633)
at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:182)
at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:175)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1358)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1320)
at com.xpn.xwiki.XWiki.getGroupClass(XWiki.java:3239)
at com.xpn.xwiki.XWiki.initializeMandatoryClasses(XWiki.java:824)
at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:792)
at com.xpn.xwiki.XWiki.<init>(XWiki.java:713)
at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:350)
at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:430)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:135)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
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.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
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:129)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152)
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:68)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:304)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
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:128)
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:293)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.sql.BatchUpdateException: Incorrect string value:
'\xD0\xA1\xD0\xBE\xD0\xB7...' for column 'XWR_COMMENT' at row 1
at com.mysql.jdbc.PreparedStatement.executeBatchSerially(PreparedStatement.java:2007)
at com.mysql.jdbc.PreparedStatement.executeBatch(PreparedStatement.java:1443)
at org.apache.commons.dbcp.DelegatingStatement.executeBatch(DelegatingStatement.java:294)
at org.apache.commons.dbcp.DelegatingStatement.executeBatch(DelegatingStatement.java:294)
at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:48)
at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:246)
... 62 more
---------------------
So, is there a known compatibility issue?
P.S.: I've tried MySQL connectors 3.0.17, 5.0.2, 5.1.8, 5.1.9 (the
last three I've downloaded directly from maven repository
http://repo1.maven.org/maven2/mysql/mysql-connector-java/ as it was
suggested somewhere in the MySQL troubleshooting section of
xwiki.org).
The last one does not produce an exception, but seems to "hang"
Tomcat. It consumes 100% CPU and when I stop the server I see a lot of
OutOfMemory exceptions in logs.
The XWiki development team is pleased to announce the release of XWiki
Enterprise and XWiki Enterprise Manager 2.3.2.
This is a bug fix release for the 2.3 branches.
Important Bugs fixed:
* [XWIKI-4566] - Users/groups from other wikis are not properly taken
into account when put in a local group
* [XWIKI-5228] - XWiki 2.0 renderer doesn't escape ~ in image reference
* [XWIKI-5277] - Velocity macro cache keeps growing leading to memory issues
* [XWIKI-5278] - Velocity Macros are considered global and not
isolated in XWiki Syntax 2.0
* [XWIKI-5282] - Wiki macros based on user or wiki are not unregistered
* [XWIKI-5302] - Query string is not properly escaped in tags add links
* [XWIKI-5332] - Velocity macro cache still keeps growing
* [XWIKI-5335] - Sometimes velocity macros defined in wiki pages are
not recognized
For more information see the Releases notes at:
http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise232
and http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXEM232
Thanks
-The XWiki dev team
Hi all,
First message here, so quick intro: my name is Christian, and I
started using XWiki recently, and I'm very happy with it.
Great job!
But the way, first steps come with first issues. When I click on a
tag, I expect to see a list of all the pages tagged with that tag. But
after a quick flickering, it disappears and shows the list of all
tags.
Same happens with the Web Search (not LuceneSearch). When I search a
term, a list of results appear but it flickr and disappear before
having any chance of watching the results.
Anyone has experienced the same problem, and can give me a hint of how
I could solve this problem?
I have a basic installation under JBoss 4.0.5, with Java 1.6.0_20. It
happens on Chrome 5.0.375.86 and Firefox 3.6.6
Thanks for your time!
--
Cheers,
Christian López Espínola <penyaskito AT computer DOT org>
http://twitter.com/penyaskito | http://penyaskitodice.wordpress.com
Hi,
I've installed xwiki, and found it a bit too rich in features, out of
the box, for a novice user. Maybe because I did not use it right?
I confess I am a wikidot fan. With all its limitations, it's intuitive
and mirrors the way people think. It has a very small set of features,
but that's probably its strength, as it's very easy to learn.
Unfortunately, its access control is too primitive to my (intranet)
needs; plus, as a programmer, the idea of programmable wiki surely
sounds sweet.
In a nutshell, I feel wikidot makes easy things simple. xwiki makes
complex things possible. Ideally, I'd love to find a wiki that does
both. A wiki that looks just like wikidot out of the box, then grows
on you as you learn advanced tricks. Not a system that shocks end
users with busy screens and code in the edit window. 90% of users
don't want to learn that; not until they are captivated by the
system's ease of use.
Is there such a thing?
Hi to all,
I'm using the LiveTable application on XWiki 2.2.12, using exactly the example posted on http://code.xwiki.org/xwiki/bin/view/Macros/LiveTableMacro for the user directory.
It works, but it shows the user lists only if I have administration rights on the XWiki space. If I don't have them, the list is empty.
Have XWikiUser objects special access rights?
I noticed a similar effect on the recent changes page where I can't see any modification to user pages if I'm a not administrator user.
Another question is about the translationPrefix param; where I has to put the mapping between the object field name and the column name?
Thank you in advance and congratulations for the 2.4 RC1 J
Best Regards,
Andrea