Hello List! I am not an expert at configuring Tomcat, so I must be doing something wrong, but for the life of me, I cannot find anything that would explain this:
I want to have two separate solr apps running on one tomcat. I use the exact configuration suggested here: http://wiki.apache.org/solr/SolrTomcat#head-024d7e11209030f1dbcac9974e55106abae837ac - Under multiple solr webapps. The apps seem to work fine, only for some reason, when I start tomcat it creates a solr dir in the cwd. So naturally, depending on where i do the restart, it wont work. If i cd to some dir where I have write access, the apps goes up fine, and it even says the solr/home is where it should be. (The dir i defined in the xml file, NOT cwd). But under statistics, both separate solr apps seems to use an IndexReader under CWD. Ideally I would want to be able to configure this, so I know where the reader keeps its files. And must both apps share this directory? I suspect this sharing is why I cannot reindex both apps at the same time, since it touches some .lock file during reindexing in the reader dir. I use the exact same xml files under /Catalina/localhost/solr1.xml etc as the wiki says. Same behaviour in tomcat 5.5 that ships with Ubuntu 7.10 and my own install of tomcat 6. (Although I dont understand why the example has "f:/" stuff in the directory paths, since that notation throws errors at me. Does anyone know if I am doing something wrong, and how I can have separate IndexReader folders? Albert