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
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
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
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
, 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
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
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
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
#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
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
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
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
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:
>
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
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
: 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
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 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
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"
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
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
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
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
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
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
: 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
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
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
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
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:
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
: 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
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?
>
>
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
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
> 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
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
: 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
: 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
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
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
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
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
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,
>>>
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 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 നോ
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 ?
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
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" /
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
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.
.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
: 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
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
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
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
>
;
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
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
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
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
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
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
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
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
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
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
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
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
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.
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
:
: 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
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,
--
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
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
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'
> 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
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
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.
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?
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
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
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
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
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
: 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
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
: 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
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
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
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
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/
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
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 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
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
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
. 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
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
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
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 - 100 of 112 matches
Mail list logo