Hi Tom,
Still Iam getting the problem when I try to start the Xindice server, :( ,
saying
Exception in thread "main" javax.xml.parsers.FactoryConfigurationError:
java.lang.ClassNotFoundException:
org/apache/xindice/xml/jaxp/DocumentBuilderFactoryImpl
at
javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderF
actory.java:149)
at org.apache.xindice.server.Kernel.<init>(Kernel.java:127)
at org.apache.xindice.server.Kernel.<init>(Kernel.java:117)
at org.apache.xindice.server.Xindice.main(Xindice.java:96)
But, the class is in the classpath!
-Sankaran.
-----Original Message-----
From: sankara [mailto:[EMAIL PROTECTED]
Sent: Sunday, May 18, 2003 10:51 AM
To: Tom Sugden
Subject: RE: Problem with XUpdateQueryService API
Hi Tom,
Thanks for your kind help.
I have downloaded the "lib.zip" file. So, you
can delete it now.
Have you done any changes to those files in the lib,
internally? Because as I have seen the names in mine
and whatever you had send sounds similar.
Ok. I will replace my lib with yours and I will check
my XUpdate query and I will reply you with the
results.
Does Xindice has anything with the JDK version?
Iam using JDK version 1.4.1_02.
Thank you, once again.
Regards,
Sankaran.
-----Original Message-----
From: Tom Sugden [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 01, 2003 7:33 PM
To: 'sankara'
Subject: RE: Problem with XUpdateQueryService API
Hi again,
I put the ZIP file on my webspace at:
http://www.weeblackskelf.co.uk/lib.zip
So you can download it from there instead. Please let me know when you've
downloaded it, so that I can delete it.
Tom
-----Original Message-----
From: sankara [mailto:[EMAIL PROTECTED]
Sent: Saturday, May 17, 2003 2:50 PM
To: Tom Sugden
Subject: RE: Problem with XUpdateQueryService API
Thanks Tom.
I'm looking for an account or a web briefcase with
a free space of 6.0 MB(I think the size is OK). Once I got, I will get in
touch with u.
Sankaran
-----Original Message-----
From: Tom Sugden [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 01, 2003 5:07 PM
To: 'sankara'
Subject: RE: Problem with XUpdateQueryService API
Hi Sankara,
I suspect you'll have to try playing around with the JARs and endorsements
some more. I think this is what's causing the problem, but it was a while
ago that I fixed it for my installation and I can't remember exactly what I
did. I tried to send you a copy of my entire java/lib directory but
unfortunately the size of the email exceeded your maximum allowance. Let me
know if you have another email address where I can send a larger email and
I'll try again.
Tom
-----Original Message-----
From: sankara [mailto:[EMAIL PROTECTED]
Sent: Saturday, May 17, 2003 12:05 PM
To: xindice
Cc: Tom Sugden
Subject: RE: Problem with XUpdateQueryService API
Tom,
I have made all the changes you have specified.
But, when I start the Xindice, using the startup.bat
the following exception is thrown:
Exception in thread "main" javax.xml.parsers.FactoryConfigurationError:
java.lan
g.ClassNotFoundException:
org/apache/xindice/xml/jaxp/DocumentBuilderFactoryImpl
at
javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderF
actory.java:149)
at org.apache.xindice.server.Kernel.<init>(Kernel.java:127)
at org.apache.xindice.server.Kernel.<init>(Kernel.java:117)
at org.apache.xindice.server.Xindice.main(Xindice.java:96)
But the class(in xindice.jar) is available in the classpath(And is located
by
javap).
If I do not specify the
property -Djavax.xml.parsers.DocumentBuilderFactory=org.apache.xindice.xml.j
axp.Docum
entBuilderFactoryImpl, the server is started. But, again, Iam getting the
same previous old problem:
org.apache.xindice.client.corba.db.APIException:
IDL:org/apache/xindice/client/corba/db/APIException:1.0
at......
Why is it so?
Sankaran.
>Tom Sugden wrote:
>Hi Sankara,
>Where <XINDICE_HOME> is the path to your Xindice installation, follow these
>instructions:
>
>1. Create <XINDICE_HOME>\java\lib\endorsed directory.
>2. Copy the attached versions of "xerces.jar" and "xindice.jar" into the
>endorsed directory.
>3. Modify the startup script ("startup.bat for win, something else for
unix)
>to include the following flags on the Java command line:
>
>-Djava.endorsed.dirs=<XINDICE_HOME>\java\lib\endorsed
>-Djavax.xml.parsers.DocumentBuilderFactory=org.apache.xindice.xml.jaxp.Docu
m
>entBuilderFactoryImpl
>-Djavax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserFactor
y
>Impl
>4. Start the server using the modified startup script.
>If you're running Xindice on a remote server and a client locally, I think
>you may need to have "openorb.jar" on your client classpath.
>Hope this helps,
>Tom