I have successfully deployed Xindice in a webapp NOT named Xindice (nor xindice, nor xindice-1.1b). It was a fairly simple process actually. I just ripped some of the code off XindiceServlet and neglected to start the XML-RPC server. I then place this new servlet in my web.xml file, but did not give it a mapping since I would use my own code to access it with the embedded protocol. From there you can pretty much include anything else in the webapp (servlets, JSPs, etc). If you need more details, just let me know. I don't know how much this helps, but there are a couple of things that I didn't get from your email, like are you still wanting to provide a XindiceServlet accessible to users (I wouldn't think so), and where is the code that is trying to access the collection? It pretty much needs to be in the same webapp (or on the same machine).
HTH /S [EMAIL PROTECTED] wrote: >Guys - Please help, its urgent! > >1. We are trying to use the Embedded > verion of Xindice 1.1b. with Tomcat > 4.1.12, Windows NT 4.0 > >2. Our servlet only application makes use > of MySQL as well as Xindice. Our usage > of Xindice is from about 15% of our code. > >3. We wish to use a SINGLE Tomcat context for > th entire application, i.e., this single > context should contain ALL the code (appliction > code, Xindice files after un-WAR-ing, etc. etc.) > required for our application. This requirement is > currently a non-negotiable constraint. > >3a. ALSO we DO NOT wish to create a separate context > named "Xindice" in server.xml; we wish to use a > single context named whatever... > >4. We DO NOT want to map * to the Xindice servlet > under the servlet mapping section. This is because > when we do it even simple HTML page accesses are failing. > >5. When we remove the servlet mapping then evrything else > works, even the Xindice initiation message "succesfully > started Xindice..." is displayed in the Tomcat console. > HOWEVER, the call "DatabaseManager.getCollection(..).." > fails with the message "..attribute HR not found ..." > and we are unable to Create or Delete collections in > Xindice. > >Please suggest a solution. > > __________________________________________________________________ Try AOL and get 1045 hours FREE for 45 days! http://free.aol.com/tryaolfree/index.adp?375380 Get AOL Instant Messenger 5.1 free of charge. Download Now! http://aim.aol.com/aimnew/Aim/register.adp?promo=380455
