jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hatherly, Adam (GE Money)" <Adam.Hathe...@ge.com>
Subject RE: Problems with importing binary repository contents on a Solaris box
Date Thu, 28 Jun 2007 15:25:30 GMT
That did the trick - thank you very much for the prompt response!


-----Original Message-----
From: bdelacretaz@gmail.com [mailto:bdelacretaz@gmail.com]On Behalf Of
Bertrand Delacretaz
Sent: 28 June 2007 13:53
To: users@jackrabbit.apache.org
Subject: Re: Problems with importing binary repository contents on a
Solaris box

On 6/28/07, Hatherly, Adam (GE Money) <Adam.Hatherly@ge.com> wrote:

> ...when I try to import a file exported from one of these environments into my other
> target environment (Sun App Server 7 on Solaris 9), I get the below error:...

> ...Caused by: java.lang.ArrayIndexOutOfBoundsException
>         at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1111)
>         at javax.xml.parsers.SAXParser.parse(SAXParser.java:345)...

This might indicate that a broken XML parser is present in your Java

I'd try putting a known good version of xerces in Java's lib/endorsed
directory before starting the app, to see if it makes a difference.

Jackrabbit currently uses the default XML parser provided by the
SAXParserFactory, so broken parsers found "early" in the classloading
chain can cause trouble.

FWIW, http://wiki.apache.org/cocoon/EndorsedLibsProblem describes a
similar problem that we had with Cocoon.

View raw message