Hi there,
having upgraded from orbeon 3.7.0beta1 to 4.3 (a long hop I know), when starting up I get the below exception in the tomcat logs. I found this old thread talking about it but the only solution offered was to delete the data: http://mail-archive.ow2.org/ops-users/2012-05/msg00145.html Does anyone know how to cause the upgrade to occur safely? cheers, Lachlan org.exist.storage.btree.DBException: Database file dom.dbx has a storage format incompatible with this version of eXist. Please do a backup/restore of your data first. Software version is: 8; db version is 7 at org.exist.storage.btree.Paged.open(Paged.java:344) at org.exist.storage.btree.BTree.open(BTree.java:204) at org.exist.storage.dom.DOMFile.open(DOMFile.java:1625) at org.exist.storage.dom.DOMFile.<init>(DOMFile.java:202) at org.exist.storage.NativeBroker.<init>(NativeBroker.java:253) at org.exist.storage.BrokerFactory.getInstance(BrokerFactory.java:36) at org.exist.storage.BrokerPool.createBroker(BrokerPool.java:1202) at org.exist.storage.BrokerPool.initialize(BrokerPool.java:776) at org.exist.storage.BrokerPool.<init>(BrokerPool.java:654) at org.exist.storage.BrokerPool.configure(BrokerPool.java:216) at org.exist.storage.BrokerPool.configure(BrokerPool.java:188) at org.exist.http.servlets.EXistServlet.startup(EXistServlet.java:672) at org.exist.http.servlets.EXistServlet.init(EXistServlet.java:113) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1173) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:993) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4350) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4659) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:546) at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:637) at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:563) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:498) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053) at org.apache.catalina.core.StandardHost.start(StandardHost.java:785) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:445) at org.apache.catalina.core.StandardService.start(StandardService.java:519) at org.apache.catalina.core.StandardServer.start(StandardServer.java:710) at org.apache.catalina.startup.Catalina.start(Catalina.java:581) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414) -- You received this message because you are subscribed to the Google Groups "Orbeon Forms" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. |
Administrator
|
Lachlan,
This means your eXist database formats are incompatible. If you want to keep the data you want to: - backup your Orbeon Forms 3.7.1 db - restore it into an Orbeon Forms 4.3 db http://exist-db.org/exist/apps/doc/backup.xml In the meanwhile, make sure you have a copy your old exist-data directory, then erase it, and Orbeon Forms will create an empty database there. BTW If you are actually storing data into eXist which you care about, we recommend an external database, not the one embedded with Orbeon Forms. -Erik On Mon, Sep 9, 2013 at 7:31 PM, Lachlan Deck <[hidden email]> wrote: > Hi there, > > having upgraded from orbeon 3.7.0beta1 to 4.3 (a long hop I know), when starting up I get the below exception in the tomcat logs. > > I found this old thread talking about it but the only solution offered was to delete the data: > http://mail-archive.ow2.org/ops-users/2012-05/msg00145.html > > Does anyone know how to cause the upgrade to occur safely? > > cheers, > Lachlan > > > org.exist.storage.btree.DBException: Database file dom.dbx has a storage format incompatible with this version of eXist. Please do a backup/restore of your data first. Software version is: 8; db version is 7 > at org.exist.storage.btree.Paged.open(Paged.java:344) > at org.exist.storage.btree.BTree.open(BTree.java:204) > at org.exist.storage.dom.DOMFile.open(DOMFile.java:1625) > at org.exist.storage.dom.DOMFile.<init>(DOMFile.java:202) > at org.exist.storage.NativeBroker.<init>(NativeBroker.java:253) > at org.exist.storage.BrokerFactory.getInstance(BrokerFactory.java:36) > at org.exist.storage.BrokerPool.createBroker(BrokerPool.java:1202) > at org.exist.storage.BrokerPool.initialize(BrokerPool.java:776) > at org.exist.storage.BrokerPool.<init>(BrokerPool.java:654) > at org.exist.storage.BrokerPool.configure(BrokerPool.java:216) > at org.exist.storage.BrokerPool.configure(BrokerPool.java:188) > at org.exist.http.servlets.EXistServlet.startup(EXistServlet.java:672) > at org.exist.http.servlets.EXistServlet.init(EXistServlet.java:113) > at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1173) > at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:993) > at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4350) > at org.apache.catalina.core.StandardContext.start(StandardContext.java:4659) > at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791) > at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771) > at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:546) > at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:637) > at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:563) > at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:498) > at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277) > at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321) > at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) > at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053) > at org.apache.catalina.core.StandardHost.start(StandardHost.java:785) > at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) > at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:445) > at org.apache.catalina.core.StandardService.start(StandardService.java:519) > at org.apache.catalina.core.StandardServer.start(StandardServer.java:710) > at org.apache.catalina.startup.Catalina.start(Catalina.java:581) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) > at java.lang.reflect.Method.invoke(Unknown Source) > at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289) > at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414) > > -- > You received this message because you are subscribed to the Google Groups "Orbeon Forms" group. > To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. > To post to this group, send email to [hidden email]. -- You received this message because you are subscribed to the Google Groups "Orbeon Forms" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. |
Hi Erik,
I've no problem producing a backup from the old version. What I can't seem to get working is restoring it into the new one. All the docs and tools linked to from that url you mentioned (which I'd been reading previously anyway) assumes a standalone instance of exist-db. Running the backrest tool gives me an exception: org.xmldb.api.base.XMLDBException: No such handler: Default.existsAndCanOpenCollection at org.exist.xmldb.RemoteCollection.instance(RemoteCollection.java:98) … Running the eXist-db.app and opening the Java Admin Client and pointing to the following and clicking connect does nothing. xmldb:exist://localhost:8080/orbeon/exist/xmlrpc How do you restore to an embedded orbeon exist db? If you've got a link to tools that work that'd be great. cheers On 11/09/2013, at 4:35 AM, Erik Bruchez <[hidden email]> wrote: > Lachlan, > > This means your eXist database formats are incompatible. If you want > to keep the data you want to: > > - backup your Orbeon Forms 3.7.1 db > - restore it into an Orbeon Forms 4.3 db > > http://exist-db.org/exist/apps/doc/backup.xml > > In the meanwhile, make sure you have a copy your old exist-data > directory, then erase it, and Orbeon Forms will create an empty > database there. > > BTW If you are actually storing data into eXist which you care about, > we recommend an external database, not the one embedded with Orbeon > Forms. > > -Erik > > On Mon, Sep 9, 2013 at 7:31 PM, Lachlan Deck <[hidden email]> wrote: >> Hi there, >> >> having upgraded from orbeon 3.7.0beta1 to 4.3 (a long hop I know), when starting up I get the below exception in the tomcat logs. >> >> I found this old thread talking about it but the only solution offered was to delete the data: >> http://mail-archive.ow2.org/ops-users/2012-05/msg00145.html >> >> Does anyone know how to cause the upgrade to occur safely? >> >> cheers, >> Lachlan >> >> >> org.exist.storage.btree.DBException: Database file dom.dbx has a storage format incompatible with this version of eXist. Please do a backup/restore of your data first. Software version is: 8; db version is 7 >> at org.exist.storage.btree.Paged.open(Paged.java:344) >> at org.exist.storage.btree.BTree.open(BTree.java:204) >> at org.exist.storage.dom.DOMFile.open(DOMFile.java:1625) >> at org.exist.storage.dom.DOMFile.<init>(DOMFile.java:202) >> at org.exist.storage.NativeBroker.<init>(NativeBroker.java:253) >> at org.exist.storage.BrokerFactory.getInstance(BrokerFactory.java:36) >> at org.exist.storage.BrokerPool.createBroker(BrokerPool.java:1202) >> at org.exist.storage.BrokerPool.initialize(BrokerPool.java:776) >> at org.exist.storage.BrokerPool.<init>(BrokerPool.java:654) >> at org.exist.storage.BrokerPool.configure(BrokerPool.java:216) >> at org.exist.storage.BrokerPool.configure(BrokerPool.java:188) >> at org.exist.http.servlets.EXistServlet.startup(EXistServlet.java:672) >> at org.exist.http.servlets.EXistServlet.init(EXistServlet.java:113) >> at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1173) >> at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:993) >> at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4350) >> at org.apache.catalina.core.StandardContext.start(StandardContext.java:4659) >> at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791) >> at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771) >> at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:546) >> at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:637) >> at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:563) >> at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:498) >> at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277) >> at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321) >> at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) >> at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053) >> at org.apache.catalina.core.StandardHost.start(StandardHost.java:785) >> at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) >> at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:445) >> at org.apache.catalina.core.StandardService.start(StandardService.java:519) >> at org.apache.catalina.core.StandardServer.start(StandardServer.java:710) >> at org.apache.catalina.startup.Catalina.start(Catalina.java:581) >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) >> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) >> at java.lang.reflect.Method.invoke(Unknown Source) >> at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289) >> at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414) >> >> -- >> You received this message because you are subscribed to the Google Groups "Orbeon Forms" group. >> To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. >> To post to this group, send email to [hidden email]. > > -- > You received this message because you are subscribed to the Google Groups "Orbeon Forms" group. > To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. > To post to this group, send email to [hidden email]. -- You received this message because you are subscribed to the Google Groups "Orbeon Forms" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. |
My mistake, obviously needed the older exist tools for 1.4.1 rather than 2.x.
On 11/09/2013, at 3:52 PM, Lachlan Deck <[hidden email]> wrote: > Hi Erik, > > I've no problem producing a backup from the old version. What I can't seem to get working is restoring it into the new one. > > All the docs and tools linked to from that url you mentioned (which I'd been reading previously anyway) assumes a standalone instance of exist-db. > > Running the backrest tool gives me an exception: > org.xmldb.api.base.XMLDBException: No such handler: Default.existsAndCanOpenCollection > at org.exist.xmldb.RemoteCollection.instance(RemoteCollection.java:98) > … > > Running the eXist-db.app and opening the Java Admin Client and pointing to the following and clicking connect does nothing. > xmldb:exist://localhost:8080/orbeon/exist/xmlrpc > > How do you restore to an embedded orbeon exist db? > > If you've got a link to tools that work that'd be great. > cheers > > On 11/09/2013, at 4:35 AM, Erik Bruchez <[hidden email]> wrote: > >> Lachlan, >> >> This means your eXist database formats are incompatible. If you want >> to keep the data you want to: >> >> - backup your Orbeon Forms 3.7.1 db >> - restore it into an Orbeon Forms 4.3 db >> >> http://exist-db.org/exist/apps/doc/backup.xml >> >> In the meanwhile, make sure you have a copy your old exist-data >> directory, then erase it, and Orbeon Forms will create an empty >> database there. >> >> BTW If you are actually storing data into eXist which you care about, >> we recommend an external database, not the one embedded with Orbeon >> Forms. >> >> -Erik >> >> On Mon, Sep 9, 2013 at 7:31 PM, Lachlan Deck <[hidden email]> wrote: >>> Hi there, >>> >>> having upgraded from orbeon 3.7.0beta1 to 4.3 (a long hop I know), when starting up I get the below exception in the tomcat logs. >>> >>> I found this old thread talking about it but the only solution offered was to delete the data: >>> http://mail-archive.ow2.org/ops-users/2012-05/msg00145.html >>> >>> Does anyone know how to cause the upgrade to occur safely? >>> >>> cheers, >>> Lachlan >>> >>> >>> org.exist.storage.btree.DBException: Database file dom.dbx has a storage format incompatible with this version of eXist. Please do a backup/restore of your data first. Software version is: 8; db version is 7 >>> at org.exist.storage.btree.Paged.open(Paged.java:344) >>> at org.exist.storage.btree.BTree.open(BTree.java:204) >>> at org.exist.storage.dom.DOMFile.open(DOMFile.java:1625) >>> at org.exist.storage.dom.DOMFile.<init>(DOMFile.java:202) >>> at org.exist.storage.NativeBroker.<init>(NativeBroker.java:253) >>> at org.exist.storage.BrokerFactory.getInstance(BrokerFactory.java:36) >>> at org.exist.storage.BrokerPool.createBroker(BrokerPool.java:1202) >>> at org.exist.storage.BrokerPool.initialize(BrokerPool.java:776) >>> at org.exist.storage.BrokerPool.<init>(BrokerPool.java:654) >>> at org.exist.storage.BrokerPool.configure(BrokerPool.java:216) >>> at org.exist.storage.BrokerPool.configure(BrokerPool.java:188) >>> at org.exist.http.servlets.EXistServlet.startup(EXistServlet.java:672) >>> at org.exist.http.servlets.EXistServlet.init(EXistServlet.java:113) >>> at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1173) >>> at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:993) >>> at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4350) >>> at org.apache.catalina.core.StandardContext.start(StandardContext.java:4659) >>> at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791) >>> at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771) >>> at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:546) >>> at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:637) >>> at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:563) >>> at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:498) >>> at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277) >>> at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321) >>> at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) >>> at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053) >>> at org.apache.catalina.core.StandardHost.start(StandardHost.java:785) >>> at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) >>> at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:445) >>> at org.apache.catalina.core.StandardService.start(StandardService.java:519) >>> at org.apache.catalina.core.StandardServer.start(StandardServer.java:710) >>> at org.apache.catalina.startup.Catalina.start(Catalina.java:581) >>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >>> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) >>> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) >>> at java.lang.reflect.Method.invoke(Unknown Source) >>> at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289) >>> at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414) >>> >>> -- >>> You received this message because you are subscribed to the Google Groups "Orbeon Forms" group. >>> To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. >>> To post to this group, send email to [hidden email]. >> >> -- >> You received this message because you are subscribed to the Google Groups "Orbeon Forms" group. >> To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. >> To post to this group, send email to [hidden email]. > -- You received this message because you are subscribed to the Google Groups "Orbeon Forms" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. |
Free forum by Nabble | Edit this page |