Actually, there is a conflict between the jars that come with 1.4 and
the ones that Xindice uses.
One option:
{
I believe that v1.4 includes the "crimson" parser. you can specify the
location of *.jar to use before the system libs with:
-Djava.endorsed.dirs="%JAVA_ENDORSED_DIRS%"
where JAVA_ENDORSED_DIRS is the location of Xerces, Xalan, etc.
}
Also...
{
Hi Kimbro,
OK, I worked out that you are talking about the 'Endorsed Standards Override
Mechanism', so I put the xalan and xerces jars
from the Xindice distribution into lib/endorsed of the JRE, and everything
seems to
work fine. It looks like you were right.
}
HTH,
Mark
[EMAIL PROTECTED] wrote:
> Verson 1.0 'Birthday' (downloaded from the homepage)
> Windows XP Pro (client and server)
> JDK 1.4
>
> This is a fresh instance so no data was imported. I believe the old
> version is long gone. Are you thinking it's a class mismatch?
>
> Kevin Ross
> www.bredex.com
>
>
> "Mark J. Stang"
> <[EMAIL PROTECTED] To: [EMAIL PROTECTED]
> hlink.net> cc:
> Subject: Re: XUpdate Example:
> org.apache.xindice.client.corba.db.APIException
> 06/04/2002
> 11:52 PM
> Please respond
> to xindice-dev
>
>
>
> Which version of java are you running? Do you have any jars
> left over from previous installs?
>
> Mark
>
> Kevin Ross wrote:
> Hello all,
>
> I wrote a few components about 4 months back that worked fine.I had to
> leave off that project, but I'm glad to say that I'm back to working
> with Xindice.
>
> After several hours of reacclimating myself and encountering problems
> with XUpdate, I decided to scrap getting my code to work, in favor of
> the examples.Specifically, org.apache.xindice.examples.XUpdate (after
> adding at least one document).The example yields the same exact error
> that I received while trying my existing code.Can anyone shed some
> light on this?
>
> org.apache.xindice.client.corba.db.APIException:
> IDL:org/apache/xindice/client/corba/db/APIException:1.0
>
>
> atorg.apache.xindice.client.corba.db.APIExceptionHelper.read(APIExceptionHelper.java:112)
>
> at org.apache.xindice.client.corba.db._CollectionStub.queryCollection
> (_CollectionStub.java:669)
>
> at
>
> org.apache.xindice.client.xmldb.services.XUpdateQueryServiceImpl.updateResult(XUpdateQueryServiceImpl.java:171)
>
> at
>
> org.apache.xindice.client.xmldb.services.XUpdateQueryServiceImpl.update(XUpdateQueryServiceImpl.java:192)
>
> atorg.apache.xindice.examples.XUpdate.main(XUpdate.java:88)
>
> XML:DB Exception occured 1 Query Processing Error
>
> Also, am I missing something, or is there just no logging in the
> client or server sides?I've got no problem discovering these issues
> for myself, but the lack of logging is quite discouraging for someone
> new to the codebase?
>
> Thanks in advance,
>
> Kevin Ross
>
> --
> Mark J Stang
> Architect
> Cybershop Systems
> (See attached file: markstang.vcf)
--
Mark J Stang
Architect
Cybershop Systems
begin:vcard
n:Stang;Mark
x-mozilla-html:TRUE
adr:;;;;;;
version:2.1
email;internet:[EMAIL PROTECTED]
fn:Mark Stang
end:vcard