Re: Command tool with password protected database

Liz Glasser <[email protected]> Mon, 14 Jun 2010 10:24:58 -0400
Newsgroups gmane.text.xml.xindice.user
Message-ID <[email protected]>
Thank you. That was exactly what I needed.

Liz

Natalia Shilenkova wrote:
> Liz, 
>
> Username and password are retrieved as system properties. If you are using commandline tool to connect to database, you need to add -Dxindice.xmlrpc.user=<username> -Dxindice.xmlrpc.password=<password> VM parameters to the command line for executing commandline tool, which is located n either bin/xindice or bin/xindice.bat, depending on your OS.
>
> If you're using Xindice 1.2m1 or later, there was a problem with setting username and authentication was not working. It is fixed now and fix is available in latest trunk.
>
> Regards,
> Natalia
>
> On Jun 11, 2010, at 4:47 PM, Liz Glasser wrote:
>
>   
>> All,
>>
>> I have xindice deployed as a war file and need to create an index on it. I am using the commandline tool. I have my db url configured correctly. However my db is locked down to require a username and password to access it. If I use the comandline tool I get a 401 error. How can I provide a username and password to this tool?
>>
>> Thank you very much.
>>
>> Liz
>>     
>
>
>
>