Thanks to Akihiro's advice I've manager to get the XUpdateQueryService working under Xindice 1.0, JDK1.4, W2K.

These are the steps that I took:

1. Created $XINDICE_HOME\java\lib\endorsed directory.
2. Copied xerces.jar (version 1.4.4) and xalan.jar (the same one that is contained in $XINDICE_HOME\java\lib) into the endorsed directory.
3. Made a copy of the "startup.bat" file called "startup2.bat".
4. Hard coded the -D flags into line 50 of "startup2.bat" as shown below:


%JAVACMD% -Xms16m -Xmx128m -Dxindice.home=%XINDICE_HOME% -Djava.endorsed.dirs=c:\Xindice\java\lib\endorsed -Djavax.xml.parsers.DocumentBuilderFactory=org.apache.xindice.xml.jaxp.DocumentBuilderFactoryImpl -Djavax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserFactoryImpl -classpath "%LOCALCLASSPATH%" -noverify org.apache.xindice.server.Xindice %XINDICE_HOME%\config\system.xml

5. Restarted the server with the new "startup2.bat" file.

Hopefully this procedure will work for Julien and Alex too.

Cheers,
Tom

At 07:34 PM 12/12/2002 +0900, you wrote:


Hello Julien.

The article I pointed said (in Japanese) that you have to modify "startup.bat" file to do so.

I don't have Win sandbox, and actually I'm not familiar with windows.
So I'm sorry that I can't make sure that it works for myself, but I hope this might be your help.


thanks.
Akihiro



At 10:44 AM +0100 02.12.12, Julien Le Dem wrote:
>Hi, I use Xindice (1.0) under W2K and have the same problem as above about
>the exception when executing XUpdate requests.
>I looked in start (for linux) and startup.bat (for win) and noticed that
>start does refers to vm.cfg but startup.bat doesn't ! So i guess that this
>means the solution given by Akihiro won't work for me (and actually it
>doesn't ;-) So what do I do ? Should I modify startup.bat and make a script
>of my own ? (I'm allready tired just thinking about it) Can anyone help or
>is there only linux-eleets here :-D
>Does modifying the %JAVACMD% to add the -D directives is enough ?
>ciao, Julien
>----- Original Message -----
>From: "SATO Akihiro" <[EMAIL PROTECTED]>
>To: <[email protected]>
>Sent: Thursday, December 12, 2002 3:54 AM
>Subject: Re: Using XUpdate
>
>
>>
>> Hello.
>>
>> Add
>>
>> -Djava.endorsed.dirs=/usr/local/xindice/java/lib/endorsed
>>
>> to the first line (before other -D options).
>> Create $XINDICE_HOME/java/lib/endosed/ directory,
>> copy xerces.jar,xalan.jar into it, and restart xindice server.
>>
>> Since SDK has Xalan in itself, you must avoid using it
>> with java.endorsed.dirs option.
>>
>> (Sorry, This does not appears in the howto. I found it in Japanese
>website)
>> http://www.atmarkit.co.jp/fxml/tanpatsu/18xindice/xindice09.html
>>



Reply via email to