Re: Command tool with password protected database
Natalia Shilenkova <[email protected]> Fri, 11 Jun 2010 19:34:54 -0400
| Newsgroups | gmane.text.xml.xindice.user |
|---|---|
| Message-ID | <[email protected]> |
Liz,=20 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=3D<username> -Dxindice.xmlrpc.password=3D<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, >=20 > 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? >=20 > Thank you very much. >=20 > Liz