Re: [xwiki-users] Convert XE to XEM
Hi, intresting side-effect. Got still a corrupted man wiki descriptor and somehow creating links in XWiki Syntax 2 doesnt work anymore (in all wikis). Can't select wiki space or page http://n2.nabble.com/file/n2200013/link.png Helmut hel-o wrote: OK, got it working (somehow) i could recreate the wiki descriptors for the virtual wikis but i cannot recreate the descriptor for the main wiki (Error i posted before). I'll add a warning in the documentation that you should not convert a manually created XE with virtual wikis to XEM. Thanks Helmut hel-o wrote: Hi, i turned off the virtual mode so i can access the main wiki again. created the pages for the virtual wikis but when i try to creat the page for the main wiki i get the following error Detailed information: Error number 3201 in 3: Exception while saving document XWiki.XWikiServerXwiki Wrapped Exception: Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect): [com.xpn.xwiki.objects.LargeStringProperty# ] com.xpn.xwiki.XWikiException: Error number 3201 in 3: Exception while saving document XWiki.XWikiServerXwiki Wrapped Exception: Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect): [com.xpn.xwiki.objects.LargeStringProperty# ] at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:590) at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:135) at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:128) at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1282) -- View this message in context: http://n2.nabble.com/Convert-XE-to-XEM-tp2169510p2200013.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
Re: [xwiki-users] Convert XE to XEM
OK, got it working (somehow) i could recreate the wiki descriptors for the virtual wikis but i cannot recreate the descriptor for the main wiki (Error i posted before). I'll add a warning in the documentation that you should not convert a manually created XE with virtual wikis to XEM. Thanks Helmut hel-o wrote: Hi, i turned off the virtual mode so i can access the main wiki again. created the pages for the virtual wikis but when i try to creat the page for the main wiki i get the following error Detailed information: Error number 3201 in 3: Exception while saving document XWiki.XWikiServerXwiki Wrapped Exception: Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect): [com.xpn.xwiki.objects.LargeStringProperty# ] com.xpn.xwiki.XWikiException: Error number 3201 in 3: Exception while saving document XWiki.XWikiServerXwiki Wrapped Exception: Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect): [com.xpn.xwiki.objects.LargeStringProperty# ] at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:590) at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:135) at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:128) at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1282) -- View this message in context: http://n2.nabble.com/Convert-XE-to-XEM-tp2169510p2191711.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
Re: [xwiki-users] Convert XE to XEM
On Mon, Jan 19, 2009 at 7:55 PM, hel-o h...@hel.at wrote: Ok, works fine for all virtual Wikis. But when i delete the descriptor for the Main-Wiki, the Wikis gone with the wind ... Not so good. You can always access main wiki with IP or if your domain is starting with www (like www.xwiki.org) unless www is assigned to another wiki. Helmut tmortagne wrote: On Mon, Jan 19, 2009 at 6:43 PM, Thomas Mortagne thomas.morta...@xwiki.com wrote: On Mon, Jan 19, 2009 at 6:14 PM, hel-o h...@hel.at wrote: Can i savely remove and recreate them without getting troubles with the running wikis especially the main wiki? When i recreate them XEM tries to create a database how does that effect existing databases. Don't recreate them using XEM api, create them by hand, add the object of the right class in it, fill it with informations and add #includeForm(XWiki.XWikiServerClassSheet) as content. This is exactly what XEM api is doing (plus operations on the new database). LG Helmut tmortagne wrote: On Sat, Jan 17, 2009 at 8:05 PM, hel-o h...@hel.at wrote: Did you tried to remove all the wiki descriptors and recreate them based on the XWiki.XWikiServer class from the WikiManager/XEM ? -- Thomas Mortagne ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- View this message in context: http://n2.nabble.com/Convert-XE-to-XEM-tp2169510p2182196.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 -- Thomas Mortagne -- Thomas Mortagne ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- View this message in context: http://n2.nabble.com/Convert-XE-to-XEM-tp2169510p2182832.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 -- Thomas Mortagne ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Convert XE to XEM
Hi, i turned off the virtual mode so i can access the main wiki again. created the pages for the virtual wikis but when i try to creat the page for the main wiki i get the following error Detailed information: Error number 3201 in 3: Exception while saving document XWiki.XWikiServerXwiki Wrapped Exception: Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect): [com.xpn.xwiki.objects.LargeStringProperty# ] com.xpn.xwiki.XWikiException: Error number 3201 in 3: Exception while saving document XWiki.XWikiServerXwiki Wrapped Exception: Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect): [com.xpn.xwiki.objects.LargeStringProperty# ] at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:590) at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:135) at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:128) at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1282) at com.xpn.xwiki.web.SaveAction.save(SaveAction.java:176) at com.xpn.xwiki.web.SaveAndContinueAction.action(SaveAndContinueAction.java:64) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:215) 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.doPost(ActionServlet.java:432) at javax.servlet.http.HttpServlet.service(HttpServlet.java:709) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:135) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:287) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Thread.java:595) Wrapped Exception: org.hibernate.StaleObjectStateException: Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect): [com.xpn.xwiki.objects.LargeStringProperty# ] at org.hibernate.persister.entity.AbstractEntityPersister.check(AbstractEntityPersister.java:1769) at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:2412) at org.hibernate.persister.entity.AbstractEntityPersister.updateOrInsert(AbstractEntityPersister.java:2312) at
Re: [xwiki-users] Convert XE to XEM
On Sat, Jan 17, 2009 at 8:05 PM, hel-o h...@hel.at wrote: Ok, In the Admin-Doku http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Virtualization if you follow the instructions to create Virtual Wikis by hand. The owner will become a string property. When you upgrade a XE with Virtual Wikis installed by hand to XEM and import the XWM.xar, the property owner will become a user list and you get the error i had. I renamed the owner property to ownernew and created a string property owner. I could change the properties of two of the existing wikis one still doesnt work. Is there anything i can do? Did you tried to remove all the wiki descriptors and recreate them based on the XWiki.XWikiServer class from the WikiManager/XEM ? hel. hel-o wrote: Hi, yes i think the property type has been a string now it is a list of users. tried to change multiselect, but doesn't help so what can i do. Also tried to rename a wikidokument and create a new one but it didnt work. Sergiu Dumitriu-2 wrote: The problem is that the type of a property (the owner?) was changed. From the exception, I think that before it had multiselect = true, and the imported class has multiselect = false. Try to change it back to multiselect. Theoretically, we have an automatic conversion that takes care of this problem, so maybe it isn't used during imports. -- Sergiu Dumitriu http://purl.org/net/sergiu/ ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- View this message in context: http://n2.nabble.com/Convert-XE-to-XEM-tp2169510p2174149.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 -- Thomas Mortagne ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Convert XE to XEM
Can i savely remove and recreate them without getting troubles with the running wikis especially the main wiki? When i recreate them XEM tries to create a database how does that effect existing databases. LG Helmut tmortagne wrote: On Sat, Jan 17, 2009 at 8:05 PM, hel-o h...@hel.at wrote: Did you tried to remove all the wiki descriptors and recreate them based on the XWiki.XWikiServer class from the WikiManager/XEM ? -- Thomas Mortagne ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- View this message in context: http://n2.nabble.com/Convert-XE-to-XEM-tp2169510p2182196.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
Re: [xwiki-users] Convert XE to XEM
Ok, In the Admin-Doku http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Virtualization if you follow the instructions to create Virtual Wikis by hand. The owner will become a string property. When you upgrade a XE with Virtual Wikis installed by hand to XEM and import the XWM.xar, the property owner will become a user list and you get the error i had. I renamed the owner property to ownernew and created a string property owner. I could change the properties of two of the existing wikis one still doesnt work. Is there anything i can do? hel. hel-o wrote: Hi, yes i think the property type has been a string now it is a list of users. tried to change multiselect, but doesn't help so what can i do. Also tried to rename a wikidokument and create a new one but it didnt work. Sergiu Dumitriu-2 wrote: The problem is that the type of a property (the owner?) was changed. From the exception, I think that before it had multiselect = true, and the imported class has multiselect = false. Try to change it back to multiselect. Theoretically, we have an automatic conversion that takes care of this problem, so maybe it isn't used during imports. -- Sergiu Dumitriu http://purl.org/net/sergiu/ ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- View this message in context: http://n2.nabble.com/Convert-XE-to-XEM-tp2169510p2174149.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
Re: [xwiki-users] Convert XE to XEM
On Fri, Jan 16, 2009 at 6:26 PM, hel-o h...@hel.at wrote: Hi, Just tried to convert my existing XE instance to XEM (application manager 1.5, wiki manager 1.6). The existing wikis are displayed in the WikiManager.WebHome page. But when i try to edit an existing wiki i get the following error: What do you mean by edit a wiki ? Edit wiki descriptor (XWiki.XWikiServerWikiname) or edit a page in a sub wiki ? A problem occured while trying to service your request. Please contact the support if this happens again. Detailed information: Error number 3201 in 3: Exception while saving document XWiki.XWikiServerHel Wrapped Exception: Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect): [com.xpn.xwiki.objects.LargeStringProperty# XWiki.HelmutLehner ] com.xpn.xwiki.XWikiException: Error number 3201 in 3: Exception while saving document XWiki.XWikiServerHel Wrapped Exception: Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect): [com.xpn.xwiki.objects.LargeStringProperty# XWiki.HelmutLehner ] at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:590) at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:135) at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:128) at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1282) at com.xpn.xwiki.web.SaveAction.save(SaveAction.java:176) at com.xpn.xwiki.web.SaveAndContinueAction.action(SaveAndContinueAction.java:64) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:215) 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.doPost(ActionServlet.java:432) at javax.servlet.http.HttpServlet.service(HttpServlet.java:709) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:135) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:287) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Thread.java:595) Wrapped Exception: org.hibernate.StaleObjectStateException: Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect):
Re: [xwiki-users] Convert XE to XEM
On Fri, Jan 16, 2009 at 6:41 PM, Thomas Mortagne thomas.morta...@xwiki.com wrote: On Fri, Jan 16, 2009 at 6:26 PM, hel-o h...@hel.at wrote: Hi, Just tried to convert my existing XE instance to XEM (application manager 1.5, wiki manager 1.6). The existing wikis are displayed in the WikiManager.WebHome page. But when i try to edit an existing wiki i get the following error: What do you mean by edit a wiki ? Edit wiki descriptor (XWiki.XWikiServerWikiname) or edit a page in a sub wiki ? Also what database engine are you using ? A problem occured while trying to service your request. Please contact the support if this happens again. Detailed information: Error number 3201 in 3: Exception while saving document XWiki.XWikiServerHel Wrapped Exception: Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect): [com.xpn.xwiki.objects.LargeStringProperty# XWiki.HelmutLehner ] com.xpn.xwiki.XWikiException: Error number 3201 in 3: Exception while saving document XWiki.XWikiServerHel Wrapped Exception: Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect): [com.xpn.xwiki.objects.LargeStringProperty# XWiki.HelmutLehner ] at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:590) at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:135) at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:128) at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1282) at com.xpn.xwiki.web.SaveAction.save(SaveAction.java:176) at com.xpn.xwiki.web.SaveAndContinueAction.action(SaveAndContinueAction.java:64) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:215) 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.doPost(ActionServlet.java:432) at javax.servlet.http.HttpServlet.service(HttpServlet.java:709) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:135) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:287) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Thread.java:595) Wrapped Exception:
Re: [xwiki-users] Convert XE to XEM
This happens when i edit the wiki descriptor (XWiki.XWikiServerWikiname) The database engine is Mysql. It worked before. Allready had the XWiki.ServerClass and imported the Wiki Manager xar. - also imported XWiki.ServerClass, XWiki.ServerClassTemplate and XWiki.ServerClassStylesheet overwriting the existing Pages. (and i'm afraid that was not a good idea) hel. tmortagne wrote: On Fri, Jan 16, 2009 at 6:41 PM, Thomas Mortagne thomas.morta...@xwiki.com wrote: On Fri, Jan 16, 2009 at 6:26 PM, hel-o h...@hel.at wrote: Hi, Just tried to convert my existing XE instance to XEM (application manager 1.5, wiki manager 1.6). The existing wikis are displayed in the WikiManager.WebHome page. But when i try to edit an existing wiki i get the following error: What do you mean by edit a wiki ? Edit wiki descriptor (XWiki.XWikiServerWikiname) or edit a page in a sub wiki ? Also what database engine are you using ? A problem occured while trying to service your request. Please contact the support if this happens again. Detailed information: Error number 3201 in 3: Exception while saving document XWiki.XWikiServerHel Wrapped Exception: Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect): [com.xpn.xwiki.objects.LargeStringProperty# XWiki.HelmutLehner ] com.xpn.xwiki.XWikiException: Error number 3201 in 3: Exception while saving document XWiki.XWikiServerHel Wrapped Exception: Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect): [com.xpn.xwiki.objects.LargeStringProperty# XWiki.HelmutLehner ] at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:590) at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:135) at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:128) at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1282) at com.xpn.xwiki.web.SaveAction.save(SaveAction.java:176) at com.xpn.xwiki.web.SaveAndContinueAction.action(SaveAndContinueAction.java:64) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:215) 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.doPost(ActionServlet.java:432) at javax.servlet.http.HttpServlet.service(HttpServlet.java:709) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:135) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:287) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
Re: [xwiki-users] Convert XE to XEM
hel-o wrote: This happens when i edit the wiki descriptor (XWiki.XWikiServerWikiname) The database engine is Mysql. It worked before. Allready had the XWiki.ServerClass and imported the Wiki Manager xar. - also imported XWiki.ServerClass, XWiki.ServerClassTemplate and XWiki.ServerClassStylesheet overwriting the existing Pages. (and i'm afraid that was not a good idea) The problem is that the type of a property (the owner?) was changed. From the exception, I think that before it had multiselect = true, and the imported class has multiselect = false. Try to change it back to multiselect. Theoretically, we have an automatic conversion that takes care of this problem, so maybe it isn't used during imports. tmortagne wrote: On Fri, Jan 16, 2009 at 6:41 PM, Thomas Mortagne thomas.morta...@xwiki.com wrote: On Fri, Jan 16, 2009 at 6:26 PM, hel-o h...@hel.at wrote: Hi, Just tried to convert my existing XE instance to XEM (application manager 1.5, wiki manager 1.6). The existing wikis are displayed in the WikiManager.WebHome page. But when i try to edit an existing wiki i get the following error: org.hibernate.StaleObjectStateException: Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect): [com.xpn.xwiki.objects.LargeStringProperty# XWiki.HelmutLehner ] -- Sergiu Dumitriu http://purl.org/net/sergiu/ ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Convert XE to XEM
Hi, yes i think the property type has been a string now it is a list of users. tried to change multiselect, but doesn't help so what can i do. Also tried to rename a wikidokument and create a new one but it didnt work. Sergiu Dumitriu-2 wrote: The problem is that the type of a property (the owner?) was changed. From the exception, I think that before it had multiselect = true, and the imported class has multiselect = false. Try to change it back to multiselect. Theoretically, we have an automatic conversion that takes care of this problem, so maybe it isn't used during imports. -- Sergiu Dumitriu http://purl.org/net/sergiu/ ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- View this message in context: http://n2.nabble.com/Convert-XE-to-XEM-tp2169510p2170919.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