Fwd: Setting Solr Home via installation script

2019-01-08 Thread Stephon Harris
Seeing if anyone has any thoughts on this again. -- Forwarded message - From: Stephon Harris Date: Mon, Jan 7, 2019 at 10:05 AM Subject: Setting Solr Home via installation script To: I am trying to install solr as a service so that when a restart takes place the solr home

Setting Solr Home via installation script

2019-01-07 Thread Stephon Harris
I am trying to install solr as a service so that when a restart takes place the solr home directory is set to `example/schemaless/solr`where there are cores I have created while running solr in the schemaless example. As instructed in taking Solr to Production <https://lucene.apache.org/s

Re: Moving solr home

2017-04-18 Thread Shawn Heisey
On 4/18/2017 7:07 AM, tedsolr wrote: > Looks like the issues are self inflicted. I have custom start/stop > scripts that actually specify the solr home directory as a param to > the start command (start -c -s ...). This was overriding my include > variable. As for the magical solr.xml

Re: Moving solr home

2017-04-18 Thread tedsolr
Looks like the issues are self inflicted. I have custom start/stop scripts that actually specify the solr home directory as a param to the start command (start -c -s ...). This was overriding my include variable. As for the magical solr.xml file, that's also my doing because as part of shu

Re: Moving solr home

2017-04-17 Thread Susheel Kumar
, Apr 17, 2017 at 3:46 PM, tedsolr wrote: > I have a solr cloud cluster (v5.2.1 on redhat linux) that uses the default > location for solr home: (install dir)/server/solr. I would like to move the > index data somewhere else to make upgrades easier. When I set a SOLR_HOME > variable

Moving solr home

2017-04-17 Thread tedsolr
I have a solr cloud cluster (v5.2.1 on redhat linux) that uses the default location for solr home: (install dir)/server/solr. I would like to move the index data somewhere else to make upgrades easier. When I set a SOLR_HOME variable solr appears to be ignoring it - and even creating a solr.xml

Re: Specify relative path to current core conf folder when it's originally relative to solr home

2016-04-11 Thread Reth RM
inition is set in solr.sh. I'm not sure but worth giving a try. On Tue, Apr 12, 2016 at 9:34 AM, scott.chu wrote: > I got a custom tokenizer. When configuring it, there's an attribute > 'fileDir', whose value is a path relative to solr home. But I wish it can > be

Specify relative path to current core conf folder when it's originally relative to solr home

2016-04-11 Thread scott.chu
I got a custom tokenizer. When configuring it, there's an attribute 'fileDir', whose value is a path relative to solr home. But I wish it can be relative to current core. Is there some system variable out-of-box, say {current_core}, that I can use in the value? For examp

Re: Separating cores from Solr home

2016-03-04 Thread Jan Høydahl
#x27;m struggling to configure solr cloud to put the index files and >> core.properties in the correct places in SolrCloud 5.5. Let me explain >> what I am trying to achieve: >> >> * solr is installed in /opt/solr >> * the user who runs solr only has read only access to tha

Re: Separating cores from Solr home

2016-03-04 Thread Shawn Heisey
solr only has read only access to that tree > * the solr home files - custom libraries, log4j.properties, solr.in.sh > and solr.xml - live in /data/project/solr/releases/, which > is then the target of a symlink /data/project/solr/releases/current > * releasing a new version of the solr h

Re: Separating cores from Solr home

2016-03-03 Thread Jeff Wartes
It’s a bit backwards feeling, but I’ve had luck setting the install dir and solr home, instead of the data dir. Something like: -Dsolr.solr.home=/data/solr -Dsolr.install.dir=/opt/solr So all of the Solr files are in in /opt/solr and all of the index/core related files end up in /data/solr

Re: Separating cores from Solr home

2016-03-03 Thread Upayavira
solr_home becomes purely about data alone. Does that work? Upayavira On Thu, Mar 3, 2016, at 11:58 AM, Tom Evans wrote: > Hmm, I've worked around this by setting the directory where the > indexes should live to be the actual solr home, and symlink the files > from the current rele

Re: Separating cores from Solr home

2016-03-03 Thread Tom Evans
Hmm, I've worked around this by setting the directory where the indexes should live to be the actual solr home, and symlink the files from the current release in to that directory, but it feels icky. Any better ideas? Cheers Tom On Thu, Mar 3, 2016 at 11:12 AM, Tom Evans wrote: >

Separating cores from Solr home

2016-03-03 Thread Tom Evans
Hi all I'm struggling to configure solr cloud to put the index files and core.properties in the correct places in SolrCloud 5.5. Let me explain what I am trying to achieve: * solr is installed in /opt/solr * the user who runs solr only has read only access to that tree * the solr home

[ANN]: Blog article: every Solr home and example in Solr 5.3

2015-11-02 Thread Alexandre Rafalovitch
If you've recently downloaded Solr 5.x and trying to figure out what example creates a home where and why the example creation command uses configset directory but not configset URL parameter, you may find this useful: http://blog.outerthoughts.com/2015/11/oh-solr-home-where-art-thou/ Re

Re: solr.xml coreRootDirectory relative to solr home

2014-11-07 Thread Chris Hostetter
: An oversight I think. If you create a patch, let me know and we can : get it committed. that definitely sounds bad we should certainly try to fix that before 5.0 comes out since it does have back-compat implictations... https://issues.apache.org/jira/browse/SOLR-6718 ...better to hav

Re: solr.xml coreRootDirectory relative to solr home

2014-11-06 Thread Shawn Heisey
On 11/6/2014 12:02 PM, Erick Erickson wrote: > An oversight I think. If you create a patch, let me know and we can > get it committed. > > Hmmm, not sure though, this'll change the current behavior that people might > be > counting on.... Relative to the solr home sounds

Re: solr.xml coreRootDirectory relative to solr home

2014-11-06 Thread Erick Erickson
re a different core discovery root directory in > solr.xml with the coreRootDirectory setting as described in > https://cwiki.apache.org/confluence/display/solr/Format+of+solr.xml > > I'd like to just set it to a subdirectory of solr home (a "cores" directory > to avoid confusio

solr.xml coreRootDirectory relative to solr home

2014-11-06 Thread Andreas Hubold
Hi, I'm trying to configure a different core discovery root directory in solr.xml with the coreRootDirectory setting as described in https://cwiki.apache.org/confluence/display/solr/Format+of+solr.xml I'd like to just set it to a subdirectory of solr home (a "cores"

solr home in jar?

2012-07-17 Thread Matt Mitchell
Hi, I'd like to bundle up a jar file, with a complete solr home and index. This jar file is a dependency for another application, which uses an instance of embedded solr, multi-core. Is there any way to have the application's embedded solr, read the configs/index data from jar depe

Re: solr/home property seting

2011-05-18 Thread Grijesh
Why you have putted your solr home inside the Tomcat's webapps directory. This is not the correct way.Put your Solr home somewhere other place outside the servlet container and set your solr/home path accordingly as solr/home /opt/solr/home java.lang.S

solr/home property seting

2011-05-17 Thread kun xiong
Hi all, I am wondering how could I set a path for solr/home property. Our solr home is inside the solr.war, so I don't want a absolute path(will deploy to different boxes). Currently I hard code a relative path as solr/home property in web.xml. solr/home *../webapps

Re: Setting solr home directory in websphere

2010-10-18 Thread Israel Ekpo
ed times using Tomcat (on Windows) but now need > to get it going with WebSphere (on Windows). For whatever reason this seems > to be black magic :) I've installed the war file but have no idea how to > set Solr home to let WebSphere know where the index and config files are. > Can

Setting solr home directory in websphere

2010-10-18 Thread Kevin Cunningham
I've installed Solr a hundred times using Tomcat (on Windows) but now need to get it going with WebSphere (on Windows). For whatever reason this seems to be black magic :) I've installed the war file but have no idea how to set Solr home to let WebSphere know where the index and co

Re: SEVERE: Could not start SOLR. Check solr/home property

2010-04-28 Thread Jon Drukman
On 4/27/10 12:04 PM, Chris Hostetter wrote: : SEVERE: Could not start SOLR. Check solr/home property it means something when horribly wrong when starting solr, and since this is frequently caused by either an incorrect explicit solr/home or an incorrect implicitly guessed solr home, that is

Re: SEVERE: Could not start SOLR. Check solr/home property

2010-04-27 Thread Chris Hostetter
: SEVERE: Could not start SOLR. Check solr/home property it means something when horribly wrong when starting solr, and since this is frequently caused by either an incorrect explicit solr/home or an incorrect implicitly guessed solr home, that is mentioned in the error message as something

Re: SEVERE: Could not start SOLR. Check solr/home property

2010-04-26 Thread Otis Gospodnetic
Hi Jon, Not sure who spits out that error message, but you can always use -Dsolr.solr.home=/path/to/solr/home as the JVM param (in your app server startup script, most likely). Otis Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch Lucene ecosystem search :: http://search

Re: SEVERE: Could not start SOLR. Check solr/home property

2010-04-26 Thread Jon Drukman
On 4/26/10 1:18 PM, Siddhant Goel wrote: Did you by any chance set up multicore? Try passing in the path to the Solr home directory as -Dsolr.solr.home=/path/to/solr/home while you start Solr. Nope, no multicore. I destroyed the index and re-created it from scratch and now it works fine. No

Re: SEVERE: Could not start SOLR. Check solr/home property

2010-04-26 Thread Siddhant Goel
Did you by any chance set up multicore? Try passing in the path to the Solr home directory as -Dsolr.solr.home=/path/to/solr/home while you start Solr. On Mon, Apr 26, 2010 at 1:04 PM, Jon Drukman wrote: > What does this error mean? > > SEVERE: Could not start SOLR. Check solr/home

SEVERE: Could not start SOLR. Check solr/home property

2010-04-26 Thread Jon Drukman
What does this error mean? SEVERE: Could not start SOLR. Check solr/home property I've had this solr installation working before, but I haven't looked at it in a few months. I checked it today and the web side is returning a 500 error, the log file shows this when starting up:

Re: access denied to solr home lib dir

2009-11-24 Thread Charles Moad
Thank you all for the insight into this problem. I was 100% positive that selinux and file permissions were not the problems. Turns out that tomcat 6 on ubuntu comes with a tomcat security manager enabled by default. I had no desire to figure out how this works since this is for local testin

Re: access denied to solr home lib dir

2009-11-23 Thread Chris Hostetter
: Check. I even verified that the tomcat user could create the : directory (i.e. "sudo -u tomcat6 mkdir /opt/solr/steve/lib"). Still : solr complains. Note that you have an AccessControlException, not a simple FileNotFoundException ... the error here is coming from File.canRead (when Solr is

Re: access denied to solr home lib dir

2009-11-23 Thread Charles Moad
Check. I even verified that the tomcat user could create the directory (i.e. "sudo -u tomcat6 mkdir /opt/solr/steve/lib"). Still solr complains. On Sun, Nov 22, 2009 at 10:03 PM, Yonik Seeley wrote: > Maybe ensuring that the full parent path (all parent directories) have > "rx" permissions? > >

Re: access denied to solr home lib dir

2009-11-22 Thread Yonik Seeley
Maybe ensuring that the full parent path (all parent directories) have "rx" permissions? -Yonik http://www.lucidimagination.com On Sun, Nov 22, 2009 at 2:59 PM, Charles Moad wrote: >    I have been trying to get a new solr install setup on Ubuntu 9.10 > using tomcat6.  I have tried the solr 1.4

access denied to solr home lib dir

2009-11-22 Thread Charles Moad
I have been trying to get a new solr install setup on Ubuntu 9.10 using tomcat6. I have tried the solr 1.4 release and the latest svn for good measure. No matter what, I am running into the following permission error. I removed all the lib includes from solrconfig.xml. I have created the "/o

Re: Problem getting Solr home from JNDI in Tomcat

2009-10-01 Thread Andrew Clegg
> http://wiki.apache.org/solr/SolrTomcat >> >> > > Great, I'll try it this way and see if it clears up. Is it okay to keep > the war file *inside* the Solr home directory (/opt/solr in my case) so > it's all self-contained? > For the benefit of future searchers -- I

Re: Problem getting Solr home from JNDI in Tomcat

2009-09-30 Thread Andrew Clegg
hen I'm back in the office tomorrow I'll upgrade them both to a fresh nightly. hossman wrote: > > > : Tomcat is installed in /opt/apache-tomcat , solr is in > : /opt/apache-tomcat/webapps/solr , and my Solr home directory is > /opt/solr . > > if "solr

Re: Problem getting Solr home from JNDI in Tomcat

2009-09-29 Thread Chris Hostetter
: Now I've got a completely different error: : "org.apache.lucene.index.CorruptIndexException: Unknown format version: -9". : I think it might be time for a fresh install... I've added a FAQ for this... http://wiki.apache.org/solr/FAQ#What_does_.22CorruptIndexException:_Unknown_format_version.22

Re: Problem getting Solr home from JNDI in Tomcat

2009-09-29 Thread Chris Hostetter
: Hi all, I'm having problems getting Solr to start on Tomcat 6. which version of Solr? : Tomcat is installed in /opt/apache-tomcat , solr is in : /opt/apache-tomcat/webapps/solr , and my Solr home directory is /opt/solr . if "solr is in /opt/apache-tomcat/webapps/solr" means t

Re: Problem getting Solr home from JNDI in Tomcat

2009-09-29 Thread Andrew Clegg
Constantijn Visinescu wrote: > > This might be a bit of a hack but i got this in the web.xml of my > applicatin > and it works great. > > > >solr/home >/Solr/WebRoot/WEB-INF/solr >java.lang.String > > > That worke

Re: Problem getting Solr home from JNDI in Tomcat

2009-09-29 Thread Constantijn Visinescu
This might be a bit of a hack but i got this in the web.xml of my applicatin and it works great. solr/home /Solr/WebRoot/WEB-INF/solr java.lang.String On Tue, Sep 29, 2009 at 2:32 PM, Andrew Clegg wrote: > > Hi all, I'm having problems getting So

Problem getting Solr home from JNDI in Tomcat

2009-09-29 Thread Andrew Clegg
Hi all, I'm having problems getting Solr to start on Tomcat 6. Tomcat is installed in /opt/apache-tomcat , solr is in /opt/apache-tomcat/webapps/solr , and my Solr home directory is /opt/solr . My config file is in /opt/solr/conf/solrconfig.xml . I have a Solr-specific context file in

solr home

2009-09-25 Thread Park, Michael
I already have a handful of solr instances running . However, I'm trying to install solr (1.4) on a new linux server with tomcat using a context file (same way I usually do): However it throws an exception due to the following: SEVERE: Could not start SOLR. Check solr

Re: Solr, JNDI config, dataDir, and solr home problem

2009-09-05 Thread Noble Paul നോബിള്‍ नोब्ळ्
s it by ${solr.home}, but is there a way to access >>> it? >>> After all, it's a variable defined in JNDI, shouldn't there be a way to >>> refer to it? >>> >>> Also, what about the INFO message that says it can't find /solr/home, >>>

Re: Solr, JNDI config, dataDir, and solr home problem

2009-09-05 Thread Archon810
e core? > > On Fri, Sep 4, 2009 at 9:16 PM, Archon810 wrote: >> >> OK, so I can't access it by ${solr.home}, but is there a way to access >> it? >> After all, it's a variable defined in JNDI, shouldn't there be a way to >> refer to it? >>

Re: Solr, JNDI config, dataDir, and solr home problem

2009-09-05 Thread Noble Paul നോബിള്‍ नोब्ळ्
re a way to access it? > After all, it's a variable defined in JNDI, shouldn't there be a way to > refer to it? > > Also, what about the INFO message that says it can't find /solr/home, while > the instructions refer to solr/home ? > > > > Noble Paul നോ

Re: Solr, JNDI config, dataDir, and solr home problem

2009-09-04 Thread Archon810
OK, so I can't access it by ${solr.home}, but is there a way to access it? After all, it's a variable defined in JNDI, shouldn't there be a way to refer to it? Also, what about the INFO message that says it can't find /solr/home, while the instructions refer to solr/home ?

Re: Solr, JNDI config, dataDir, and solr home problem

2009-09-04 Thread Noble Paul നോബിള്‍ नोब्ळ्
questHandler using... > > It was only natural to assume it would work for something as trivial as > dataDir. > > So, there's no way to refer to the solr/home value defined in JNDI? > > > Noble Paul നോബിള്‍  नोब्ळ्-2 wrote: >> >> it is nowhere mentione

Re: Solr, JNDI config, dataDir, and solr home problem

2009-09-04 Thread Archon810
ant code: >> <Context docBase="/some/path/solr.war" debug="0" crossContext="true" >> > >>   <Environment name="solr/home" type="java.lang.String" >> value="/some/path/solr1home" override="true" /

Re: Solr, JNDI config, dataDir, and solr home problem

2009-09-04 Thread Noble Paul നോബിള്‍ नोब्ळ्
low a multi Solr setup, straight from the Solr wiki - > http://wiki.apache.org/solr/SolrTomcat#head-024d7e11209030f1dbcac9974e55106abae837ac. > > Here's the relevant code: > <Context docBase="/some/path/solr.war" debug="0" crossContext="true" > &g

Solr, JNDI config, dataDir, and solr home problem

2009-09-03 Thread Archon810
sContext="true" > <Environment name="solr/home" type="java.lang.String" value="/some/path/solr1home" override="true" /> </Context> Now I want to set the Solr <dataDir> in solrconfig.xml, relative to the solr home property.

Cannot get solr to pickup solr/home property

2009-08-16 Thread Aaron Aberg
.home: /usr/share/tomcat5/solr Aug 15, 2009 10:49:43 PM org.apache.solr.core.CoreContainer$Initializer initialize INFO: looking for solr.xml: /usr/share/tomcat5/solr/solr.xml Aug 15, 2009 10:49:43 PM org.apache.solr.core.SolrResourceLoader INFO: Solr home set to '/usr/share/tomc

Re: solr/home in web.xml relative to web server home

2009-08-07 Thread Chris Hostetter
: the environment variable (env-entry) in web.xml to configure the solr/home is : relative to the web server's working directory. I find this unusual as all the : servlet paths are relative to the web applications directory (webapp context, : that is). So, I specified solr/home relative t

Re: How to set solr/home in linux OS?

2009-08-06 Thread Amit Nithian
Have you tried setting solr home via the JNDI? I think you can set it via solr/home but that would require adding this to your servlet context configuration. Another option is to trace the startup scripts for Glassfish and see what environment variables are passed in. JAVA_OPTS would make sense

Re: How to set solr/home in linux OS?

2009-08-06 Thread Otis Gospodnetic
ematext is hiring -- http://sematext.com/about/jobs.html?mls Lucene, Solr, Nutch, Katta, Hadoop, HBase, UIMA, NLP, NER, IR - Original Message > From: huenzhao > To: solr-user@lucene.apache.org > Sent: Thursday, August 6, 2009 9:53:26 PM > Subject: Re: How to set solr/home in li

Re: How to set solr/home in linux OS?

2009-08-06 Thread huenzhao
e=$SOLR_HOME" > > > > Cheers, > Chantal > > huenzhao schrieb: >> Hi all, >> >> I know how to configure solr.home by using tomcat6, but I don't know how >> to >> set solr.home by using Glassfish(V2.1). I have tried to set the solr.home >

Re: How to set solr/home in linux OS?

2009-08-06 Thread Chantal Ackermann
; Cheers, Chantal huenzhao schrieb: Hi all, I know how to configure solr.home by using tomcat6, but I don't know how to set solr.home by using Glassfish(V2.1). I have tried to set the solr.home in .profile as fellows: export solr.home=/home/huenzhao/search/solr export solr/home=/home/hu

How to set solr/home in linux OS?

2009-08-06 Thread huenzhao
Hi all, I know how to configure solr.home by using tomcat6, but I don't know how to set solr.home by using Glassfish(V2.1). I have tried to set the solr.home in .profile as fellows: export solr.home=/home/huenzhao/search/solr export solr/home=/home/huenzhao/search/solr export solr.solr

Re: solr/home in web.xml relative to web server home

2009-07-29 Thread Shalin Shekhar Mangar
On Wed, Jul 29, 2009 at 2:42 PM, Chantal Ackermann < chantal.ackerm...@btelligent.de> wrote: > Hi all, > > the environment variable (env-entry) in web.xml to configure the solr/home > is relative to the web server's working directory. I find this unusual as > all the ser

solr/home in web.xml relative to web server home

2009-07-29 Thread Chantal Ackermann
Hi all, the environment variable (env-entry) in web.xml to configure the solr/home is relative to the web server's working directory. I find this unusual as all the servlet paths are relative to the web applications directory (webapp context, that is). So, I specified solr/home relativ

Re: Solr Home on Linux JBoss ignored

2009-06-05 Thread Matt Weber
And I have no idea why! Dean. -Original Message- From: Dean Pullen [mailto:dean.pul...@msp-uk.com] Sent: 05 June 2009 09:47 To: solr-user@lucene.apache.org Subject: Solr Home on Linux JBoss ignored Hi all, Have an odd problem on JBoss 4.2.3 running on Redhat. It's odd, b

RE: Solr Home on Linux JBoss ignored

2009-06-05 Thread Dean Pullen
bject: Solr Home on Linux JBoss ignored Hi all, Have an odd problem on JBoss 4.2.3 running on Redhat. It's odd, because the configuration works fine on Windows. Our Solr home is defined in the Solr.war web.xml as: [Linux] solr/home java.lang.String /home/jboss/solr

Solr Home on Linux JBoss ignored

2009-06-05 Thread Dean Pullen
Hi all, Have an odd problem on JBoss 4.2.3 running on Redhat. It's odd, because the configuration works fine on Windows. Our Solr home is defined in the Solr.war web.xml as: [Linux] solr/home java.lang.String /home/jboss/solr [Windows] solr

Re: getting solr home path dynamically

2009-04-01 Thread Erik Hatcher
can hit the /admin/system request handler to get the Solr home directory. In a URL it'd be http://localhost:8983/solr/admin/system . You get this sort of thing in the response: 0 80 example 10.0.1.193 2009-04-01T15:24:32.428Z 2009-04-01T15:21:20.765Z /Users/erikhatcher/dev

RE: getting solr home path dynamically

2009-04-01 Thread Radha C.
Hi, No luck, I tried as follows, my solr home is there out of of my solrj client. I think it is looking for the config at CWD, config = new SolrConfig(); String dir= config.getResourceLoader().getDataDir(); ( I used getInstanceDir() also ) //File f = new File( home

Re: Check solr/home property

2008-10-03 Thread sunnyfr
ab > a final release to see the specifics. > > Erik > > > On Oct 3, 2008, at 4:32 AM, Shalin Shekhar Mangar wrote: > >> If you are using multicore.xml then the solr/home property in your >> tomcat >> should be /data/solr >> >> O

Re: Check solr/home property

2008-10-03 Thread Erik Hatcher
solr/home property in your tomcat should be /data/solr On Fri, Oct 3, 2008 at 12:25 PM, sunnyfr <[EMAIL PROTECTED]> wrote: Thanks Hoss, I thought it might come from tomcat if it doesn't find it : [EMAIL PROTECTED]:/etc/tomcat5.5/Catalina/localhost# ls solr.xml [EMAIL PROTECTE

Re: Check solr/home property

2008-10-03 Thread Shalin Shekhar Mangar
If you are using multicore.xml then the solr/home property in your tomcat should be /data/solr On Fri, Oct 3, 2008 at 12:25 PM, sunnyfr <[EMAIL PROTECTED]> wrote: > > Thanks Hoss, > > I thought it might come from tomcat if it doesn't find it : > [EMAIL PROTECTE

Re: Check solr/home property

2008-10-03 Thread sunnyfr
a.startup.HostConfig.lifecycleEvent(HostConfig.java:311) ^Iat org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.j -- View this message in context: http://www.nabble.com/Check-solr-home-property-tp19757163p19793908.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Check solr/home property

2008-10-02 Thread sunnyfr
53:43 solr-test jsvc.exec[24013]: Oct 3, 2008 8:53:43 AM org.apache.solr.core.SolrResourceLoader INFO: Solr home set to '/data/solr/' Oct 3 08:53:43 solr-test jsvc.exec[24013]: Oct 3, 2008 8:53:43 AM org.apache.solr.core.SolrResourceLoader createClassLoader INFO: Reusing parent cl

Re: Check solr/home property

2008-10-02 Thread Chris Hostetter
: : I don't know why in my logs I've this error: : : Could not start SOLR. Check solr/home property java.lang.RuntimeException: : Can't find resource 'solrconfig.xml' in classpath or 'solr/conf/', what get's logged before and that? what is the full er

Check solr/home property

2008-10-01 Thread sunnyfr
Hi everybody, I don't know why in my logs I've this error: Could not start SOLR. Check solr/home property java.lang.RuntimeException: Can't find resource 'solrconfig.xml' in classpath or 'solr/conf/', Help would be more than welcome. Cheers, --

Re: Solr 1.3 does not recognize Solr home...

2008-09-22 Thread Ryan McKinley
I have temporarily solved the problem by hardcoding the folders in the element like so: C:\tomcatweb\merchant\data (in the solrconfig.xml) Any ideas of what I am doing wrong? Is it solr home or or the data directory that is getting set wrong? I *think* the difference is that with 1.2

Solr 1.3 does not recognize Solr home...

2008-09-22 Thread William Pierce
Folks: I have an odd situation that I am hoping someone can shed light on. I have a solr apps running under tomcat 6.0.14 (on a windows xp sp3 machine). The app is declared in the tomcat config file as follows: In file "merchant.xml" for the "merchant" app: I have of course created the

Re: What is the variable in sfconfig.xml for solr home

2008-08-08 Thread Jacob Singh
Hi SHalin, I'm using JNDI and to set the solr home via an override like so: solr/home path/to/solr/home java.lang.String This works like a charm, and I have 20 instances which all link to the same conf/ folder which has the solrconfig.xml It's just that I don'

Re: What is the variable in sfconfig.xml for solr home

2008-08-08 Thread Shalin Shekhar Mangar
> Thanks for your reply. > > I tried the following: > > /opt/solr/bin/snapshooter > /opt/solr/bin > true > -d ${solr.solr.home:.}/data > MYVAR=val1 > > in my solrconfig.xml > > but I always get the default (.). I am using overrides

Re: What is the variable in sfconfig.xml for solr home

2008-08-08 Thread Jacob Singh
Hi Shanlin, Thanks for your reply. I tried the following: /opt/solr/bin/snapshooter /opt/solr/bin true -d ${solr.solr.home:.}/data MYVAR=val1 in my solrconfig.xml but I always get the default (.). I am using overrides through JNDI to set solr/home and this

Re: What is the variable in sfconfig.xml for solr home

2008-08-07 Thread Shalin Shekhar Mangar
You can set solr home by passing -Dsolr.solr.home=/path/to/solr/home when running your container (the double solr is *not* a typo) You can also use JNDI to configure it. Look under the "Installation and Configuration" section in the wiki for container-specific instructions: http://wiki.

What is the variable in sfconfig.xml for solr home

2008-08-07 Thread Jacob Singh
text. Here's an example of allowing the runtime to dictate the data directory: ${solr.data.dir:./solr/data} So what is the property for solr home? I've tried solr.home, solr.solr/home (from JNDI), solr.solrhome... Thanks, Jacob P.S. is there a list of properties available somewhere?

Re: Problems finding solr/home using JNDI on tomcat

2008-06-13 Thread Kjeld Froberg
solr-user@lucene.apache.org Betreff: Re: Problems finding solr/home using JNDI on tomcat Hi, Same problem. Contextfile: Output. 13-06-2008 11:36:20 org.apache.solr.servlet.SolrDispatchFilter init INFO: SolrDispatchFilter.init() 13-06-2008 11:36:20 org.apache.solr.core.Config getInstanceDir

Re: Problems finding solr/home using JNDI on tomcat

2008-06-13 Thread Stefan Oestreicher
e.org Betreff: Re: Problems finding solr/home using JNDI on tomcat Hi, Same problem. Contextfile: Output. 13-06-2008 11:36:20 org.apache.solr.servlet.SolrDispatchFilter init INFO: SolrDispatchFilter.init() 13-06-2008 11:36:20 org.apache.solr.core.Config getInstanceDir INFO: JNDI not confi

Re: Problems finding solr/home using JNDI on tomcat

2008-06-13 Thread Kjeld Froberg
Freitag, 13. Juni 2008 11:22 An: solr-user@lucene.apache.org Betreff: Problems finding solr/home using JNDI on tomcat Hi I'm using solr 1.2.0 on a Tomcat 5.5 engine And have copied a solr.xml in catalina_home/conf/hostname And Tomcat certainly reads the solr.xml file, because

Re: Problems finding solr/home using JNDI on tomcat

2008-06-13 Thread Stefan Oestreicher
75 55 Alser Str. 4 1090 Wien Altes AKH Hof 1 1.6.6 -Ursprüngliche Nachricht- Von: Kjeld Froberg [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 13. Juni 2008 11:22 An: solr-user@lucene.apache.org Betreff: Problems finding solr/home using JNDI on tomcat Hi I'm using solr 1.2.0 on a

Problems finding solr/home using JNDI on tomcat

2008-06-13 Thread Kjeld Froberg
Hi I'm using solr 1.2.0 on a Tomcat 5.5 engine And have copied a solr.xml in catalina_home/conf/hostname value="/solr/example/solr"/> And Tomcat certainly reads the solr.xml file, because solr is deployed fine. However it cannot find the environment property, because there is a javax.nami

Re: Tomcat 6.0 solr home not set (solved)

2008-03-22 Thread Chris Hostetter
: Well, just to add to this, the fact is that Tomcat (or any other container) : will probably never have info about SOLR so while I sympathize with the : "cleanness" aspect of not providing this info, it sucks when one is trying to : figure it out. right ... but generic things about tomcat (like

Re: Tomcat 6.0 solr home not set (solved)

2008-03-22 Thread David Arpad Geller
Well, just to add to this, the fact is that Tomcat (or any other container) will probably never have info about SOLR so while I sympathize with the "cleanness" aspect of not providing this info, it sucks when one is trying to figure it out. I subscribed to the wiki but I'm a little wary. Shou

Re: Tomcat 6.0 solr home not set (solved)

2008-03-21 Thread Chris Hostetter
: b) the need for a solr home directory and what that is for / what that means There is some info aboutthis on the general SolrInstall page... http://wiki.apache.org/solr/SolrInstall which referes to example/solr (where a README.txtfile goes into more details) If you (coming from the

Re: Tomcat 6.0 solr home not set (solved)

2008-03-19 Thread Matthew Runo
alina/localhost/.xml (and how it relates to solr) b) the need for a solr home directory and what that is for / what that means c) a general desire not to run a nightly build version Hopefully this thread will serve others but perhaps the wiki could be updated? I'd be happy to provide chan

Re: Tomcat 6.0 solr home not set (solved)

2008-03-19 Thread David Arpad Geller
Hallelujah! So, it's clear to me that neither the Tomcat docs or the Solr/Tomcat wiki page is completely clear on this topic. Specifically, the parts about: a) the way to specify webapps using Catalina/localhost/.xml (and how it relates to solr) b) the need for a solr home directory and

Re: Tomcat 6.0 solr home not set

2008-03-19 Thread Jayson Minard
verything else. Did you modify the solrconfig.xml file, possibly change any class names in there that are referenced? Or in your schema point to a class that does not exist? Something there might cause a failure during that part of the loading. Or you are not pointing to the right solr home. I

Re: Tomcat 6.0 solr home not set

2008-03-19 Thread David Arpad Geller
tanceDir INFO: Using JNDI solr.home: /usr/local/apache-solr-1.2.0 Mar 19, 2008 2:07:27 PM org.apache.solr.core.Config setInstanceDir INFO: Solr home set to '/usr/local/apache-solr-1.2.0/' Mar 19, 2008 2:07:27 PM org.apache.solr.core.Config getClassLoader INFO: Adding 'file:/usr/local/

Re: Tomcat 6.0 solr home not set

2008-03-19 Thread Jayson Minard
for Catalina). Therefore you end up with tomcat/conf/Catalina/localhost/ as a directory to place your context files such as solr.xml which would be something like: Be sure that solr/home points to the directory that contains the conf and index dirs and is NOT one of those dirs. >> 2. T

Re: Tomcat 6.0 solr home not set

2008-03-19 Thread Jayson Minard
INFO: SolrDispatchFilter.init() > Mar 19, 2008 12:57:26 AM org.apache.solr.core.Config getInstanceDir > INFO: No /solr/home in JNDI > Mar 19, 2008 12:57:26 AM org.apache.solr.core.Config getInstanceDir > INFO: Solr home defaulted to 'null' (could not find system property o

Re: Tomcat 6.0 solr home not set

2008-03-18 Thread Chris Hostetter
;re seeing differnet docs talking about solr.solr.home system properties, and JNDI, and context files. Solr is very flexible in how you cna tell it where to find it's configuration files -- called the "Solr Home" -- just pick the one that meets your needs... http://wiki.apache

Tomcat 6.0 solr home not set

2008-03-18 Thread David Arpad Geller
FO: HTMLManager: start: Starting web application at '/solr' Mar 19, 2008 12:57:26 AM org.apache.solr.servlet.SolrDispatchFilter init INFO: SolrDispatchFilter.init() Mar 19, 2008 12:57:26 AM org.apache.solr.core.Config getInstanceDir INFO: No /solr/home in JNDI Mar 19, 2008 12:57:26 AM or

Re: solr/home

2007-10-01 Thread yo_keller
this was another necessary step , changing the default ${solr.data.dir:./solr/data} to point to your actual solr-home e.g.: ${solr.data.dir:/usr/local/projects/my_app/current/solr-home/data} To clarify my configuration: I work with Tomcat 5.5.20 under Windows-XP. My current dataDir is act

Re: context-relative solr/home

2007-09-17 Thread Chris Hostetter
. Unfortunately, as far as I know, a variable like this does not why would you want to package a context.xml (or the solr home directory forthat matter)inside the war itself? you should be able to reuse the same war many many times without any modifications by having seperate context.xml files

context-relative solr/home

2007-09-12 Thread Arnone, Anthony
example: ant -Ddeploy-path=/solr-01 deploy ant -Ddeploy-path=/solr-02 deploy Both deploy commands use the same .war. However, I’m trying to do something that I’ve been unable to find a proper method for. solr/home points to a directory that is packed inside the .war. So, I would like to

Re: solr/home

2007-09-06 Thread Erik Hatcher
Matt - hey! In your Solr console, which of these three messages do you see? * log.info("JNDI not configured for Solr (NoInitialContextEx)"); * log.info("No /solr/home in JNDI"); * log.warning("Odd RuntimeExcepti

Re: solr/home

2007-09-06 Thread Matt Mitchell
you post your fragment file? Tom On 9/6/07, Matt Mitchell <[EMAIL PROTECTED]> wrote: Hi, I recently upgraded to Solr 1.2. I've set it up through Tomcat using context fragment files. I deploy using the tomcat web manager. In the context fragment I set the environment variable solr/home.

  1   2   >