|
[
Permlink
| « Hide
]
marek knaze added a comment - 15/Jan/08 13:15
complete log file
Hi Marek,
1) Please don't put assignee to issues... Could you please verify that the documents that generate this error are correctly imported (by navigating to the pages). Thanks Why are you changing the component I set?
I apologise for that.
I thought, the componet was set by me during issue cratetion. I really sorry. Vincent, you wrote in your comments in the issue http://jira.xwiki.org/jira/browse/XWIKI-1993
This error occurs after the first request into the clean wiki so there are no imported documents in this time. I am correct? thank you for help Issue
Now yes you're right this doesn't seem to be the same as Could you please answer the question I asked above which I'm repeating here: "Could you please verify that the documents that generate this error are correctly imported (by navigating to the pages)." Thanks Vincent, I do not know, which documents(pages) do you mean.
This error occurs in the clean wiki without any imports. I just created new db schema (xwiki) and then I deployed xwiki into tomcat container. that all, what I did. After this, I clicked on http://localhost:8080/xwiki Is this comment useful for you? thanks Marek,
I need to know if the errors you got are important or not. If all is working then they are not important. You mentioned several errors when importing some documents. You even listed them. Could you please navigate to those documents and see if they have been imported even though errors were reported? Thanks OK Vincent, here is me report:
As you can see these documents were not imported and I think, these errors are important. Are there any other task which I should to do to help you with this bug? marek Ok I was able to get Oracle to run on my Mac.
Indeed even with an empty database, there are errors. Here's what I did:
Thus one pb is in the update schema script. There might also be a similar pb in the import. 15:26:47.385 INFO [main] org.mortbay.util.Container.start(Container.java:74) >09> Started org.mortbay.jetty.Server@2c4768
15:27:00,399 [http://localhost:8080/xwiki/bin/view/Main/] [P1-19] ERROR store.XWikiHibernateBaseStore - Failed updating schema while executing query "create sequence xwiki.hibernate_sequence"
java.sql.SQLException: ORA-00955: name is already used by an existing object
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:331)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:288)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:745)
at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:207)
at oracle.jdbc.driver.T4CStatement.executeForRows(T4CStatement.java:957)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1170)
at oracle.jdbc.driver.OracleStatement.executeUpdateInternal(OracleStatement.java:1623)
at oracle.jdbc.driver.OracleStatement.executeUpdate(OracleStatement.java:1588)
at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:225)
at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:225)
at com.xpn.xwiki.store.XWikiHibernateBaseStore.updateSchema(XWikiHibernateBaseStore.java:410)
at com.xpn.xwiki.store.XWikiHibernateBaseStore.updateSchema(XWikiHibernateBaseStore.java:271)
at com.xpn.xwiki.store.XWikiHibernateBaseStore.updateSchema(XWikiHibernateBaseStore.java:225)
at com.xpn.xwiki.store.XWikiHibernateBaseStore.checkHibernate(XWikiHibernateBaseStore.java:470)
at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:914)
at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeRead(XWikiHibernateBaseStore.java:947)
at com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager.getDBVersion(XWikiHibernateMigrationManager.java:60)
at com.xpn.xwiki.store.migration.AbstractXWikiMigrationManager.startMigrationsForDatabase(AbstractXWikiMigrationManager.java:140)
at com.xpn.xwiki.store.migration.AbstractXWikiMigrationManager.startMigrations(AbstractXWikiMigrationManager.java:102)
at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:721)
at com.xpn.xwiki.XWiki.<init>(XWiki.java:672)
at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:241)
at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:439)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:94)
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:596)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:830)
at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:117)
at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:471)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1565)
at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1517)
at org.mortbay.http.HttpServer.service(HttpServer.java:954)
at org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:983)
at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)
at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
15:27:00,589 [http://localhost:8080/xwiki/bin/view/Main/] [P1-19] INFO .AbstractXWikiMigrationManager - No storage migration required since current version is [6431]
15:27:05,669 [http://localhost:8080/xwiki/bin/view/Main/] [P1-19] ERROR store.XWikiHibernateBaseStore - Failed updating schema while executing query "create sequence xwiki.hibernate_sequence"
java.sql.SQLException: ORA-00955: name is already used by an existing object
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:331)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:288)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:745)
at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:207)
at oracle.jdbc.driver.T4CStatement.executeForRows(T4CStatement.java:957)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1170)
at oracle.jdbc.driver.OracleStatement.executeUpdateInternal(OracleStatement.java:1623)
at oracle.jdbc.driver.OracleStatement.executeUpdate(OracleStatement.java:1588)
at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:225)
at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:225)
at com.xpn.xwiki.store.XWikiHibernateBaseStore.updateSchema(XWikiHibernateBaseStore.java:410)
at com.xpn.xwiki.store.XWikiHibernateBaseStore.updateSchema(XWikiHibernateBaseStore.java:271)
at com.xpn.xwiki.store.XWikiHibernateBaseStore.updateSchema(XWikiHibernateBaseStore.java:225)
at com.xpn.xwiki.store.XWikiHibernateBaseStore.checkHibernate(XWikiHibernateBaseStore.java:470)
at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:914)
at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeRead(XWikiHibernateBaseStore.java:947)
at com.xpn.xwiki.store.XWikiHibernateVersioningStore.loadAllRCSNodeInfo(XWikiHibernateVersioningStore.java:208)
at com.xpn.xwiki.store.XWikiHibernateVersioningStore.loadXWikiDocArchive(XWikiHibernateVersioningStore.java:125)
at com.xpn.xwiki.store.XWikiHibernateVersioningStore.getXWikiDocumentArchive(XWikiHibernateVersioningStore.java:110)
at com.xpn.xwiki.store.XWikiHibernateVersioningStore.updateXWikiDocArchive(XWikiHibernateVersioningStore.java:197)
at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:254)
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:1018)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:991)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:985)
at com.xpn.xwiki.plugin.scheduler.SchedulerPlugin.prepareJobStubContext(SchedulerPlugin.java:156)
at com.xpn.xwiki.plugin.scheduler.SchedulerPlugin.scheduleJob(SchedulerPlugin.java:280)
at com.xpn.xwiki.plugin.scheduler.SchedulerPlugin.restoreExistingJobs(SchedulerPlugin.java:229)
at com.xpn.xwiki.plugin.scheduler.SchedulerPlugin.init(SchedulerPlugin.java:94)
at com.xpn.xwiki.plugin.scheduler.SchedulerPlugin.<init>(SchedulerPlugin.java:78)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at com.xpn.xwiki.plugin.XWikiPluginManager.addPlugin(XWikiPluginManager.java:65)
at com.xpn.xwiki.plugin.XWikiPluginManager.addPlugins(XWikiPluginManager.java:95)
at com.xpn.xwiki.XWiki.preparePlugins(XWiki.java:799)
at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:732)
at com.xpn.xwiki.XWiki.<init>(XWiki.java:672)
at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:241)
at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:439)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:94)
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:596)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:830)
at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:117)
at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:471)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1565)
at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1517)
at org.mortbay.http.HttpServer.service(HttpServer.java:954)
at org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:983)
at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)
at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
15:27:23,820 [http://localhost:8080/xwiki/bin/view/Main/] [P1-19] ERROR store.XWikiHibernateBaseStore - Failed updating schema while executing query "create sequence xwiki.hibernate_sequence"
java.sql.SQLException: ORA-00955: name is already used by an existing object
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:331)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:288)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:745)
at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:207)
at oracle.jdbc.driver.T4CStatement.executeForRows(T4CStatement.java:957)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1170)
at oracle.jdbc.driver.OracleStatement.executeUpdateInternal(OracleStatement.java:1623)
at oracle.jdbc.driver.OracleStatement.executeUpdate(OracleStatement.java:1588)
at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:225)
at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:225)
at com.xpn.xwiki.store.XWikiHibernateBaseStore.updateSchema(XWikiHibernateBaseStore.java:410)
at com.xpn.xwiki.store.XWikiHibernateBaseStore.updateSchema(XWikiHibernateBaseStore.java:271)
at com.xpn.xwiki.store.XWikiHibernateBaseStore.updateSchema(XWikiHibernateBaseStore.java:225)
at com.xpn.xwiki.store.XWikiHibernateBaseStore.checkHibernate(XWikiHibernateBaseStore.java:470)
at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:914)
at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeRead(XWikiHibernateBaseStore.java:947)
at com.xpn.xwiki.store.XWikiHibernateRecycleBinStore.getAllDeletedDocuments(XWikiHibernateRecycleBinStore.java:99)
at com.xpn.xwiki.XWiki.getDeletedDocuments(XWiki.java:1139)
at com.xpn.xwiki.api.XWiki.getDeletedDocuments(XWiki.java:131)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:295)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:245)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:203)
at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:419)
at org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:73)
at org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:125)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:238)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:152)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1366)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1327)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:607)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:295)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:245)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:203)
at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:294)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:194)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:170)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:107)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:238)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:152)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1366)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1327)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:105)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:48)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:155)
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:596)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:830)
at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:117)
at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:471)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1565)
at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1517)
at org.mortbay.http.HttpServer.service(HttpServer.java:954)
at org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:983)
at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)
at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
forgot to mention that I did this on the 1.2 branch
Seems like this is related to http://opensource.atlassian.com/projects/hibernate/browse/HHH-1651
Replacing WEB-INF/lib/hibernate-3.1.3jar by http://repo1.maven.org/maven2/org/hibernate/hibernate/3.2.5.ga/hibernate-3.2.5.ga.jar
I'll now try importing the XAR. Vincent, thanks for help. I tried xwiki with the last hibernate release 3.2.5.GA ant the error you mentioned above (ERROR store.XWikiHibernateBaseStore - Failed updating schema while executing query "create sequence xwiki.hibernate_sequence"
java.sql.SQLException: ORA-00955: name is already used by an existing object ) did not occur. But import failed again Caused by: java.sql.SQLException: ORA-01400: cannot insert NULL into ("XWIKI"."XWIKILARGESTRINGS"."XWL_ID") at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112) 15:41:54,772 http://localhost:8080/xwiki/bin/import/XWiki/Import?editor=import&space=XWiki at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112) 15:41:54,834 http://localhost:8080/xwiki/bin/import/XWiki/Import?editor=import&space=XWiki at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112) Indeed, importing works perfectly well so at least we have a workaround for Oracle.
Now we need to be sure that all the other DBs work fine with Hibernate 3.2.5ga... We need to decide whether to upgrade to it now or postpone that to 1.3 and instead document the Oracle workaround for 1.2 in the release notes... Vincent, I think you are not right. As you can see in my last comment, imports failed again. Does your imports finished successfully?
As I said above, yes it worked without any error at all.
I even tried reimporting twice and all was fine. The second import does indeed show the problem reported in XWIKIK-1937. In your case you seem to have a different config somehow. Could you try with this WAR instead: I've used version 10.2.0.3 of the oracle client driver and my oracle DB is Oracle Database 10g Express Edition Release 10.2.0.1.0 one question: What XAR are you importing?
I am importing xwiki-enterprise-wiki-1.2-rc-3.xar file, downloaded from the wiki download page and I am using xwiki-enterprise-web-1.2-rc-3.war also downloaded form the wiki download page.
Now I will try the build you mentioned in your last comment. Vincent, I tried the WAR you provided on location http://maven.xwiki.org/snapshots/com/xpn/xwiki/products/xwiki-enterprise-web/1.2-SNAPSHOT/xwiki-enterprise-web-1.2-20080115.125833-28.war
This is really strange since we are doing exactly the same thing.
Only difference is with the version of the jdbc driver and mayb with the Oracle version. Are you removing everything from your DB before trying? Make sure you start with a clean DB just in case this has some impact. I am sure, my DB is clean.
Before every deploy I run this DB script: drop user xwiki cascade; just one note: I am using jdk1.6.0_03, do you think this is the issue? hmmm the error doesn't look related to the JDK but yes I would try with JDK 1.5
BTW I even thought XWiki was not working with 1.6... Just found this: http://jira.xwiki.org/jira/browse/XWIKI-798
so apparently xwiki runs on 1.6. If you can test easily it might good to try using 1.5 though. This is what I'm running. Vincent, I tried XWiki with jdk150_04 and import fails again, but only for 2 documents
what do you think about it? do you have any ideas? thank for help What are the errors this time?
The same as the last time:
I am using hibernate 3.2.5ga ORA-01400: cannot insert NULL into ("XWIKI"."XWIKILARGESTRINGS"."XWL_ID") 16:45:36,588 http://localhost:8080/xwiki/bin/import/XWiki/Import?editor=import&space=XWiki 16:45:36,588 http://localhost:8080/xwiki/bin/import/XWiki/Import?editor=import&space=XWiki at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112) 16:45:37,338 http://localhost:8080/xwiki/bin/import/XWiki/Import?editor=import&space=XWiki at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112) Have the 2 documents you mention been created?
Can you navigate to them? Vincent,
I tried to import these 2 documents again and I import Stats.Skin document successfully, but XWiki.SchedulerJobTemplate failed again. So I tried to import just this one (XWiki.SchedulerJobTemplate) document again and (I do not know why) import finished successfully. So, in this time, all documents from xwiki-enterprise-wiki-1.2-rc-3.xar file were imported. I can navigate to the both Stats.Skin and XWiki.SchedulerJobTemplate documents. I think it is pretty strange, but it works Fixed by upgrading to Hibernate 3.2.5ga.
Since this is a potentially breaking change it's has been committed for Core 1.3 only and not in the 1.2 branch. Thus 1.2 users should manually remove the current hibernate-3.1.3.jar file and replace it with this one: http://repo1.maven.org/maven2/org/hibernate/hibernate/3.2.5.ga/hibernate-3.2.5.ga.jar Re the other issue Marek had regarding the insert NULL, I don't know what the problem is and I cannot reproduce it. I suggest to open a new issue if it happens again. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||