Foros de discusión

RE: How to upgrade Jackrabbit version in Liferay?

Vinod V Pisces, modificado hace 13 años.

How to upgrade Jackrabbit version in Liferay?

Junior Member Mensajes: 31 Fecha de incorporación: 29/09/09 Mensajes recientes
I want to upgrade the Jackrabbit version used in my Liferay (5.2.3) installation. How can I do it?
thumbnail
James Falkner, modificado hace 13 años.

RE: How to upgrade Jackrabbit version in Liferay? (Respuesta)

Liferay Legend Mensajes: 1399 Fecha de incorporación: 17/09/10 Mensajes recientes
Vinod V Pisces:
I want to upgrade the Jackrabbit version used in my Liferay (5.2.3) installation. How can I do it?


You can update the libraries in WEB-INF/lib (jackrabbit-*.jar . However, there may be binary incompatibilities depending on the version you upgrade to.
Vinod V Pisces, modificado hace 13 años.

RE: How to upgrade Jackrabbit version in Liferay?

Junior Member Mensajes: 31 Fecha de incorporación: 29/09/09 Mensajes recientes
Thank you James!

I had tried the same and it was throwing up some errors which had to be resolved by upgrading some other dependent jars like the commons-io.jar..

So I was skeptical whether it would break anything and hence reverted it back
thumbnail
James Falkner, modificado hace 13 años.

RE: How to upgrade Jackrabbit version in Liferay?

Liferay Legend Mensajes: 1399 Fecha de incorporación: 17/09/10 Mensajes recientes
Vinod V Pisces:
Thank you James!

I had tried the same and it was throwing up some errors which had to be resolved by upgrading some other dependent jars like the commons-io.jar..

So I was skeptical whether it would break anything and hence reverted it back


What version did you upgrade to? If you resolved all the dependencies and did some basic sanity testing, that would be useful information for upgrading JackRabbit in the core product. Can you list all the JARs you had to update to resolve all the dependencies?

We could take that list and run it through our exhaustive QA and upgrade JackRabbit in the next version of Liferay if it is compatible and doesn't break the things we use it for.
Vinod V Pisces, modificado hace 13 años.

RE: How to upgrade Jackrabbit version in Liferay?

Junior Member Mensajes: 31 Fecha de incorporación: 29/09/09 Mensajes recientes
I upgraded to jackrabbit 2.2.4 version which is the latest stable version.

These are the files I added initially:
[indent]1. All jackrabbit-*.jars
(* for api, core, commons, rmi, server,servlet, spi, spi-commons, webdav)
Some of them are new additions wrt Liferay 5.2.3, the remaining were updated
2. poi jars (3.7 version)
(poi, poi-ooxml, poi-scratchpad)
3. tika jars (0.8 version)
(tika-core, tika-parsers)[/indent]

I also added

[indent]4.Xbeans.jar (ver 2) as I have read that it may needed for advanced text extraction (with poi-ooxml)
[/indent]
After this I had faced issues while using the Document library (Saving, deleting etc throws up errors). I could resolve these by updating the following jars:
[indent]
5. jcr.jar (upgraded from 1.0 to 2.0)
6. commons-io.jar (upgraded to 1.4)
[/indent]

Items 1, 2, 3 and 6 were available in the jackrabbit 2.2.4 war.

I think this is all I have done. I will cross-check once more and post updates if any