Kim Daugaard wrote:
Hi Vadim,
I tried suggestion a) by copying the endorsed folder from
C:\Xindice\xindice-1.1b3\build\endorsed to
C:\j2sdk1.4.1\jre\lib
This did not solve the problem.
Well, it should not: endorsed lib is not there. It's in C:\j2sdk1.4.1\jre\lib\ext
Concerning suggestion b), could you be a little more specific? Tomcat 5 has 11 .bat files in /bin
folder. Which one and where should I put the statement -Djava.endorsed.dirs=c:\Xindice\xindice-1.1
b3\build\endorsed?
Well, I can answer this, but it seems to me you don't need this: your problem is with XMLTools not with Tomcat (see stacktrace). So you need to edit bat|sh you use to start XMLTools, not Tomcat.
With Tomcat, btw, endorsed lib is located in TOMCAT_HOME/common/endorsed
Vadim
Kim Daugaard
Vadim Gritsenko <[EMAIL PROTECTED] To: [email protected] es.com> cc: Subject: Re: Xindice 1.1b3 install/configuration frustrations on Windows XP 01/29/2004 11:20 PM Please respond to xindice-users
Kim Daugaard wrote:
...Hi,
I was a little to fast stating, that the cmd line tool was working OK.
I can add, list and delete collections, but I cannot add documents to the database:
Exception in thread "main" java.lang.NoSuchMethodErrororg.apache.xindice.tools.command.StringSerializer.startElement(StringSerializer.java:244)
at
at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
"Endorsed Libs Problem"
It can be fixed by either: (a) Altering JDK to use latest xerces/xalan/xml-api (shipped with xindice) (b) Specifing -Djava.endorsed.dirs=<directory with xerces/xalan/xml-api> parameter when launching java (c) Updating to 1.1b4-dev (this change is already done there)
Vadim
