Re: [xwiki-users] Re : Re: Add Manager application to XE 1.4.1
On Wed, Jun 11, 2008 at 7:42 PM, guyodo gaetan [EMAIL PROTECTED] wrote: I tried to re-import XemManager.Install and that failed again. But I don't understand how the page can contain a 500 kB attachment nor the xwiki-enterprise-manager-application-xem-1.2.xar file is only 366 kB ? XAR files are ZIP archives. Open it and directly look at /XemManager/Install size. - Message d'origine - De: Thomas Mortagne [EMAIL PROTECTED] Date: Mercredi, Juin 11, 2008 5:15 pm Objet: Re: [xwiki-users] Add Manager application to XE 1.4.1 À: XWiki Users users@xwiki.org The only specificity of the page is that it contains a big attachment (around 500 kB). impossible d'insérer NULL dans (XWIKI.XWIKIOBJECTS.XWO_CLASSNAME) This remind me an Oracle mapping problem we had in older version that should have been fixed If you try to re-import just XemManager.Install, does it fail again ? If so, it would be great that you create an issue on http://jira.xwiki.org/jira/browse/XWIKI about this importing bug on Oracle. Anyway this page is not strongly needed (just contains a script to create a default wiki template based on standard XE xar). On Wed, Jun 11, 2008 at 4:22 PM, Gaëtan GUYODO [EMAIL PROTECTED] wrote: Sorry, I made a mistake, I didn't imported the XEM application xar... Now, I imported it, and I get an error on XemManager.Install : 2008-06-11 16:30:10,125 [https://164.2.245.3/xwiki/bin/import/XWiki/Import?editor=importspace=XWiki] [TP-Processor8] WARN util.JDBCExceptionReporter - SQL Error: 1400, SQLState: 23000 2008-06-11 16:30:10,125 [https://164.2.245.3/xwiki/bin/import/XWiki/Import?editor=importspace=XWiki] [TP-Processor8] ERROR util.JDBCExceptionReporter - ORA-01400: impossible d'insérer NULL dans (XWIKI.XWIKIOBJECTS.XWO_CLASSNAME) 2008-06-11 16:30:10,125 [https://164.2.245.3/xwiki/bin/import/XWiki/Import?editor=importspace=XWiki] [TP-Processor8] ERROR .AbstractFlushingEventListener - Could not synchronize database state with session org.hibernate.exception.ConstraintViolationException: could not insert: [com.xpn.xwiki.objects.BaseObject] at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:71) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43) at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2267) at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2660) at org.hibernate.action.EntityInsertAction.execute(EntityInsertAction.java:56) at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:250) at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:234) at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:141) 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:816) at com.xpn.xwiki.store.XWikiHibernateBaseStore.endTransaction(XWikiHibernateBaseStore.java:787) at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:563) at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:97) at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:91) at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1131) at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1099) at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1093) at com.xpn.xwiki.plugin.packaging.Package.installDocument(Package.java:612) at com.xpn.xwiki.plugin.packaging.Package.install(Package.java:545) at com.xpn.xwiki.plugin.packaging.PackageAPI.install(PackageAPI.java:228) at com.xpn.xwiki.web.ImportAction.render(ImportAction.java:89) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:215)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:710) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803
Re: [xwiki-users] Re : Re: Add Manager application to XE 1.4.1
OK, XemManager.Install is 479 ko, seems to be OK with your explanation. Anyway, I've just created a JIRA issue (XEM-114). Tell me if you need more information. Gaëtan Thomas Mortagne a écrit : On Wed, Jun 11, 2008 at 7:42 PM, guyodo gaetan [EMAIL PROTECTED] wrote: I tried to re-import XemManager.Install and that failed again. But I don't understand how the page can contain a 500 kB attachment nor the xwiki-enterprise-manager-application-xem-1.2.xar file is only 366 kB ? XAR files are ZIP archives. Open it and directly look at /XemManager/Install size. - Message d'origine - De: Thomas Mortagne [EMAIL PROTECTED] Date: Mercredi, Juin 11, 2008 5:15 pm Objet: Re: [xwiki-users] Add Manager application to XE 1.4.1 À: XWiki Users users@xwiki.org The only specificity of the page is that it contains a big attachment (around 500 kB). impossible d'insérer NULL dans (XWIKI.XWIKIOBJECTS.XWO_CLASSNAME) This remind me an Oracle mapping problem we had in older version that should have been fixed If you try to re-import just XemManager.Install, does it fail again ? If so, it would be great that you create an issue on http://jira.xwiki.org/jira/browse/XWIKI about this importing bug on Oracle. Anyway this page is not strongly needed (just contains a script to create a default wiki template based on standard XE xar). On Wed, Jun 11, 2008 at 4:22 PM, Gaëtan GUYODO [EMAIL PROTECTED] wrote: Sorry, I made a mistake, I didn't imported the XEM application xar... Now, I imported it, and I get an error on XemManager.Install : 2008-06-11 16:30:10,125 [https://164.2.245.3/xwiki/bin/import/XWiki/Import?editor=importspace=XWiki] [TP-Processor8] WARN util.JDBCExceptionReporter - SQL Error: 1400, SQLState: 23000 2008-06-11 16:30:10,125 [https://164.2.245.3/xwiki/bin/import/XWiki/Import?editor=importspace=XWiki] [TP-Processor8] ERROR util.JDBCExceptionReporter - ORA-01400: impossible d'insérer NULL dans (XWIKI.XWIKIOBJECTS.XWO_CLASSNAME) 2008-06-11 16:30:10,125 [https://164.2.245.3/xwiki/bin/import/XWiki/Import?editor=importspace=XWiki] [TP-Processor8] ERROR .AbstractFlushingEventListener - Could not synchronize database state with session org.hibernate.exception.ConstraintViolationException: could not insert: [com.xpn.xwiki.objects.BaseObject] at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:71) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43) at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2267) at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2660) at org.hibernate.action.EntityInsertAction.execute(EntityInsertAction.java:56) at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:250) at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:234) at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:141) 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:816) at com.xpn.xwiki.store.XWikiHibernateBaseStore.endTransaction(XWikiHibernateBaseStore.java:787) at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:563) at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:97) at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:91) at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1131) at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1099) at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1093) at com.xpn.xwiki.plugin.packaging.Package.installDocument(Package.java:612) at com.xpn.xwiki.plugin.packaging.Package.install(Package.java:545) at com.xpn.xwiki.plugin.packaging.PackageAPI.install(PackageAPI.java:228) at com.xpn.xwiki.web.ImportAction.render(ImportAction.java:89) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:215)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
Re: [xwiki-users] Re : Re: Add Manager application to XE 1.4.1
On Thu, Jun 12, 2008 at 11:23 AM, Gaëtan GUYODO [EMAIL PROTECTED] wrote: OK, XemManager.Install is 479 ko, seems to be OK with your explanation. Anyway, I've just created a JIRA issue (XEM-114). Tell me if you need more information. Thanks it's perfect, I just moved it in http://jira.xwiki.org/jira/browse/XWIKI-2459 as it's a XWiki platform bug around Oracle I think. Gaëtan Thomas Mortagne a écrit : On Wed, Jun 11, 2008 at 7:42 PM, guyodo gaetan [EMAIL PROTECTED] wrote: I tried to re-import XemManager.Install and that failed again. But I don't understand how the page can contain a 500 kB attachment nor the xwiki-enterprise-manager-application-xem-1.2.xar file is only 366 kB ? XAR files are ZIP archives. Open it and directly look at /XemManager/Install size. - Message d'origine - De: Thomas Mortagne [EMAIL PROTECTED] Date: Mercredi, Juin 11, 2008 5:15 pm Objet: Re: [xwiki-users] Add Manager application to XE 1.4.1 À: XWiki Users users@xwiki.org The only specificity of the page is that it contains a big attachment (around 500 kB). impossible d'insérer NULL dans (XWIKI.XWIKIOBJECTS.XWO_CLASSNAME) This remind me an Oracle mapping problem we had in older version that should have been fixed If you try to re-import just XemManager.Install, does it fail again ? If so, it would be great that you create an issue on http://jira.xwiki.org/jira/browse/XWIKI about this importing bug on Oracle. Anyway this page is not strongly needed (just contains a script to create a default wiki template based on standard XE xar). On Wed, Jun 11, 2008 at 4:22 PM, Gaëtan GUYODO [EMAIL PROTECTED] wrote: Sorry, I made a mistake, I didn't imported the XEM application xar... Now, I imported it, and I get an error on XemManager.Install : 2008-06-11 16:30:10,125 [https://164.2.245.3/xwiki/bin/import/XWiki/Import?editor=importspace=XWiki] [TP-Processor8] WARN util.JDBCExceptionReporter - SQL Error: 1400, SQLState: 23000 2008-06-11 16:30:10,125 [https://164.2.245.3/xwiki/bin/import/XWiki/Import?editor=importspace=XWiki] [TP-Processor8] ERROR util.JDBCExceptionReporter - ORA-01400: impossible d'insérer NULL dans (XWIKI.XWIKIOBJECTS.XWO_CLASSNAME) 2008-06-11 16:30:10,125 [https://164.2.245.3/xwiki/bin/import/XWiki/Import?editor=importspace=XWiki] [TP-Processor8] ERROR .AbstractFlushingEventListener - Could not synchronize database state with session org.hibernate.exception.ConstraintViolationException: could not insert: [com.xpn.xwiki.objects.BaseObject] at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:71) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43) at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2267) at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2660) at org.hibernate.action.EntityInsertAction.execute(EntityInsertAction.java:56) at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:250) at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:234) at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:141) 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:816) at com.xpn.xwiki.store.XWikiHibernateBaseStore.endTransaction(XWikiHibernateBaseStore.java:787) at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:563) at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:97) at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:91) at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1131) at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1099) at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1093) at com.xpn.xwiki.plugin.packaging.Package.installDocument(Package.java:612) at com.xpn.xwiki.plugin.packaging.Package.install(Package.java:545) at com.xpn.xwiki.plugin.packaging.PackageAPI.install(PackageAPI.java:228) at com.xpn.xwiki.web.ImportAction.render(ImportAction.java:89) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:215)at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236