Re: solr current workding directory or reading config files

2011-02-18 Thread Chris Hostetter
: I have a class (in a jar) that reads from properties (text) files.  I have these : files in the same jar file as the class. : : However, when my class reads those properties files, those files cannot be found : since solr reads from tomcat's bin directory. Can you elaborate a bit more on w

Re: solr current workding directory or reading config files

2011-02-09 Thread Tri Nguyen
ed in web.xml.  I'll try copying my files into there, but I would have to extract every jar file and do this manually. From: "Wilkes, Chris" To: solr-user@lucene.apache.org Sent: Wed, February 9, 2011 3:44:03 PM Subject: Re: solr current w

Re: solr current workding directory or reading config files

2011-02-09 Thread Wilkes, Chris
Is your war always deployed the the same location, ie "/usr/mycomp/ myapplication/webapps/myapp.war"? If so then on startup copy the files out of your directory and put them under CATALINA_BASE/solr (usr/ mycomp/myapplication/solr) and in your war file have the META-INF/ context.xml JNDI sett

solr current workding directory or reading config files

2011-02-09 Thread Tri Nguyen
Hi, I have a class (in a jar) that reads from properties (text) files.  I have these files in the same jar file as the class. However, when my class reads those properties files, those files cannot be found since solr reads from tomcat's bin directory. I don't really want to put the config f