XUpdate. ArrayOutOfBoundsException

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

XUpdate. ArrayOutOfBoundsException

Amagoia Madina

Hello,



I have a problem with XUpdate. In fact, I use the ops-3.5.M1 version of Orbeon, which contains exist-20060316.jar. On this version of eXist there is a bug with XUpdate, which was solved on the April 2 2006 version of eXist.



It is really important for our application to solve this problem. That's why I would like to know if there are dependences between the version exist-20060316.jar of eXist and Orbeon. On the eXist mailing list they have proposed me to change the version of eXist that Orbeon uses. Is it feasible?


Thank you!


Amagoia.






> How could I fix it? As the database is embedded, I can't change the version
> of eXist.

Why not? I don't think Orbeon forms has direct dependencies on that
particular eXist version. Create a backup of your existing data,
replace exist*.jar, exist-optional*.jar, xmldb-exist*.jar, xmlrpc*.jar
with newer versions (and maybe some other jars now needed by eXist,
check lib/core), restart and restore your data.

It will probably be some trial and error, but I guess it should be possible.

Wolfgang

 

 

 

 

 

> I use the ops-3.5.M1 version of Orbeon. The eXist database that I use is the one that is embedded on this version of Orbeon.

Ok, this version of Orbeon contains exist-20060316.jar. The bug fix
for the error you reported was committed on April 2 2006, so it is
probably not in your build yet.

>            org.exist.storage.io.VariableByteArrayInput           copyRaw           VariableByteArrayInput.java           156
>            org.exist.storage.NativeTextEngine$InvertedIndex           remove           NativeTextEngine.java           922

Looks exactly like the bug I fixed, so it is at least very likely that
the issue is solved now.

Wolfgang




LLama Gratis a cualquier PC del Mundo.
Llamadas a fijos y móviles desde 1 céntimo por minuto.
http://es.voice.yahoo.com


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: XUpdate. ArrayOutOfBoundsException

Alessandro Vernet
Administrator
Amagoia,

Yes, you can upgrade the version eXist that comes with Orbeon Forms.
See this message posted recently here by Erik for the jar files you
need to update:

http://www.nabble.com/eXist-upgrade-redux%3A-antlr-upgrade--tf3126320.html#a8666094

Another option is to deploy eXist as a separate WAR file.

Alex

On 2/2/07, Amagoia Madina <[hidden email]> wrote:

>
>
>
> Hello,
>
>
>
>
>
> I have a problem with XUpdate. In fact, I use the ops-3.5.M1 version of
> Orbeon, which contains exist-20060316.jar. On this version of eXist there is
> a bug with XUpdate, which was solved on the April 2 2006 version of eXist.
>
>
>
>
>
> It is really important for our application to solve this problem. That's why
> I would like to know if there are dependences between the version
> exist-20060316.jar of eXist and Orbeon. On the eXist mailing list they have
> proposed me to change the version of eXist that Orbeon uses. Is it feasible?
>
>
>
>
> Thank you!
>
>
>
>
> Amagoia.
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> > How could I fix it? As the database is embedded, I can't change the
> version
>  > of eXist.
>
>  Why not? I don't think Orbeon forms has direct dependencies on that
>  particular eXist version. Create a backup of your existing data,
>  replace exist*.jar, exist-optional*.jar, xmldb-exist*.jar, xmlrpc*.jar
>  with newer versions (and maybe some other jars now needed by eXist,
>  check lib/core), restart and restore your data.
>
>  It will probably be some trial and error, but I guess it should be
> possible.
>
>  Wolfgang
>
>
>
>
>
>
>
>
>
>
>
> > I use the ops-3.5.M1 version of Orbeon. The eXist database that I use is
> the one that is embedded on this version of Orbeon.
>
>  Ok, this version of Orbeon contains exist-20060316.jar. The bug fix
>  for the error you reported was committed on April 2 2006, so it is
>  probably not in your build yet.
>
>  >            org.exist.storage.io.VariableByteArrayInput
>         copyRaw           VariableByteArrayInput.java           156
>  >
> org.exist.storage.NativeTextEngine$InvertedIndex
> remove           NativeTextEngine.java           922
>
>  Looks exactly like the bug I fixed, so it is at least very likely that
>  the issue is solved now.
>
>  Wolfgang
>  ________________________________
>
> LLama Gratis a cualquier PC del Mundo.
> Llamadas a fijos y móviles desde 1 céntimo por minuto.
> http://es.voice.yahoo.com
>
> --
> You receive this message as a subscriber of the [hidden email]
> mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>
>

--
Orbeon Forms - Web Forms for the Enterprise, Done the Right Way
http://www.orbeon.com/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws