Natalia - thanks for enlightening me :-).

How about logging - how can I configure xindice/tomcat6 for finer logging to
a separate (xindice) log file?

        - Andy

On Mon, 8 Dec 2008 09:43:15 -0500  "Natalia Shilenkova" wrote:
 > Hi Andy,
 > 
 > It looks like the addressbook app complains because it cannot find the
 > collection "addressbook" that is used by it to store contacts. To
 > create the collection, please try the following command:
 > 
 > bin/xindice ac -c xmldb:xindice://localhost:8888/db -n addressbook
 > 
 > You need to restart the addressbook application after the collection
 > has been created.
 > 
 > As for "no filer" message - this is legitimate. Only collections with
 > filers can have indexers (li command stands for "list indexers"). /db
 > is the top level collection, also known as database, has no filer and
 > can only store other collections, but not documents. However, it is
 > possible to list collection in /db:
 > 
 > bin/xindice lc -c xmldb:xindice://localhost:8888/db
 > 
 > or list indexers in the collection addressbook if it is created already:
 > 
 > bin/xindice li -c xmldb:xindice://localhost:8888/db/addressbook
 > 
 > Natalia
 > 
 > On Sun, Dec 7, 2008 at 10:05 PM, Andy Putnins <[EMAIL PROTECTED]> wrote:
 > > I've installed xindice-1.1 on an Ubuntu 8.10 (Intrepid) system running 
 > > it's stock
 > > tomcat6 by putting the war file, named xinice.war, into tomcat's webapps 
 > > directory.
 > > I also installed the addressbook application, with the mods described in 
 > > this forum'
     s
 > > thread "re: install xindice into tomcat6.0" by Natalia Shilenkova.
 > >
 > > When I browse to http://andy:8888/db, I get the "ugly debug tool" and can
 > > navigate to db/system/SysConfig, etc. without error.
 > >
 > > However, I get the following error whenever I try to use the command line 
 > > tool:
 > > /usr/local/java/xml-xindice-1.1/bin$ ./xindice li -c 
 > > xmldb:xindice://andy:8888/db
 > > trying to register database
 > > XMLDB Exception 1: org.apache.xmlrpc.XmlRpcException: Collection 'db' 
 > > cannot store r
     esources (no filer)
 > >
 > > I can browse to http://andy:8888/addressbook, and I see the application, 
 > > but when I
 > > try the "List Contacts" link, I get "An ERROR has occured!!!" with no 
 > > additional
 > > information. Likewise when I try to add a contact.
 > >
 > > The tomcat logs have no xindice-related information, other than frequent 
 > > entries
 > > like the following in the catalina log:
 > > Dec 7, 2008 8:36:06 PM 
 > > org.apache.xindice.core.DatabaseChangeObserver$FlushTask run
 > > INFO: Successfully flushed 0 collections out of 0
 > >
 > > The first step here is to get some useful loggin going here, but I can't 
 > > figure out
 > > how to configure it.
 > >
 > > Any advice on how to proceed would be greatly appreciated!
 > >
 > >        - Andy
 > >
 > >
 > 

        - Andy
________________________________________________________________
Andris Putnins, Principal
Lett Engineering                phone:  (847) 997-0002
300 Bramble Lane                fax:    (847) 550-0633
Deer Park, IL 60011             email:  [EMAIL PROTECTED]

Reply via email to