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

Reply via email to