RE: solr doesn't find exe in postCommit event

2007-08-15 Thread Wu, Daniel
-34.0.2.Elsmp, my login shell is bash 3.00.15(1). The solr version I am using is apache-solr-1.2.0. Daniel -Original Message- From: Chris Hostetter [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 14, 2007 7:19 PM To: solr-user@lucene.apache.org Subject: Re: solr doesn't find exe in postCommit

Re: solr doesn't find exe in postCommit event

2007-08-14 Thread Bill Au
The element str name=dir specifies the working directory for the call to Runtime.exec(). You still need to set up your PATH if you don't use an absolute path for the exe element. As Chris has pointed out, the best thing to do is to use an absolute path. Bill On 8/14/07, Chris Hostetter [EMAIL

RE: solr doesn't find exe in postCommit event

2007-08-14 Thread Wu, Daniel
@lucene.apache.org Subject: Re: solr doesn't find exe in postCommit event The element str name=dir specifies the working directory for the call to Runtime.exec(). You still need to set up your PATH if you don't use an absolute path for the exe element. As Chris has pointed out, the best thing to do

Re: solr doesn't find exe in postCommit event

2007-08-14 Thread Yonik Seeley
On 8/14/07, Wu, Daniel [EMAIL PROTECTED] wrote: Thanks for the explaination. I finally get the event listener working. To close the record, I listed the working configuration below. It is sometime useful to use relative path in the case of setting multiple solr instances on the same server

Re: solr doesn't find exe in postCommit event

2007-08-14 Thread Chris Hostetter
: Is it possible to update the example config file enclosed in the : distribution as it is not working. : : done. just to be clear, the old example did in fact work *if* you had . in your PATH ... (a bad assumption true, but i just want to make sure people understand why it worked for some

solr doesn't find exe in postCommit event

2007-08-13 Thread Wu, Daniel
I am trying out the event listener by uncommenting the listener for event postCommit unmodified. Solr detected the script during start up (otherwise it would throw some exception). However, when i sent the commit commend, it thrown IOException: snapshooter not found (see snippet below). It

Re: solr doesn't find exe in postCommit event

2007-08-13 Thread Chris Hostetter
: I am trying out the event listener by uncommenting the listener for : event postCommit unmodified. Solr detected the script during start up : (otherwise it would throw some exception). However, when i sent the no, actually the RunExecutableListener doesn't check for the scripts when it's