The only Tomcat configuration I know about is in Catalina/localhost.
This is documented in the Solr wiki.

On Wed, Jan 5, 2011 at 10:40 PM, Darniz <rnizamud...@edmunds.com> wrote:
>
> Hi Guys,
> I am using third party hosting i uploaded the solr war file. Stopped my
> tomcat, changed the web.xml and set the solr home manually there to
> /usr/myaccountname/solr-home
>
> As said in doc, i copied the entire contents under solr_dist/example/solr
> under my solr-home folder. i bounced the server and when i try to access
> solr, i get the following error, does this has something to do with my
> hosting account permission or i have set some environment variable using
> export command. Any help will be appreciated.
>
> HTTP Status 500 - Severe errors in solr configuration. Check your log files
> for more detailed information on what may be wrong. If you want solr to
> continue after configuration errors, change:
> <abortOnConfigurationError>false</abortOnConfigurationError> in null
> -------------------------------------------------------------
> java.lang.RuntimeException: Cannot create directory:
> /usr/local/tomcat/apache-tomcat-6.0.26/bin/./solr/data/index at
> org.apache.lucene.store.NativeFSLockFactory.acquireTestLock(NativeFSLockFactory.java:74)
> at
> org.apache.lucene.store.NativeFSLockFactory.makeLock(NativeFSLockFactory.java:137)
> at org.apache.lucene.store.Directory.makeLock(Directory.java:131) at
> org.apache.lucene.index.IndexWriter.init(IndexWriter.java:1563) at
> org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:1421) at
> org.apache.solr.update.SolrIndexWriter.<init>(SolrIndexWriter.java:191) at
> org.apache.solr.core.SolrCore.initIndex(SolrCore.java:392) at
> org.apache.solr.core.SolrCore.<init>(SolrCore.java:545) at
> org.apache.solr.core.CoreContainer$Initializer.initialize(CoreContainer.java:137)
> at
> org.apache.solr.servlet.SolrDispatchFilter.init(SolrDispatchFilter.java:83)
> at
> org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:295)
> at
> --
> View this message in context: 
> http://lucene.472066.n3.nabble.com/solr-on-third-party-hosting-account-throws-java-lang-RuntimeException-Cannot-create-directory-usr-loa-tp2204009p2204009.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>



-- 
Lance Norskog
goks...@gmail.com

Reply via email to