Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 339643
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T10:32:31+00:00 2026-05-12T10:32:31+00:00

I have installed a servlet (solr) that requires that I set the variable solr.solr.home

  • 0

I have installed a servlet (solr) that requires that I set the variable solr.solr.home equal to solr home. Something like:

JAVA_OPTS=-D=solr.solr.home='/usr/share/tomcat/solr'

The version of tomcat I am using is running as a service setup through plesk control panel. After googling this I found a page that said I should edit the web.xml file in the war file and then re-jar it. I uncommented a section in the web.xml and filled in the necessary fields:

<env-entry>
  <env-entry-name>solr/home</env-entry-name>
  <env-entry-value>/usr/share/tomcat5/solr</env-entry-value>
  <env-entry-type>java.lang.String</env-entry-type>
</env-entry>

I repackaged the war file and reinstalled through the control panel but the logs are still complaining that solr/home needs to be set.

Anyone got any ideas?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T10:32:32+00:00Added an answer on May 12, 2026 at 10:32 am

    The answer to this can be found at this question:
    Why can't solr 1.3.0 install using CentOS, plesk 9.2.1 and tomcat 5.5?

    Also, what I was doing in the web.xml file WAS correct. The tomcat logs were complaining aobut solr/home NOT being set but that wasn’t the actual problem. Tomcat was missing a reference to the xalan library, and I explain in the link above how I went about fixing it.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have installed Tomcat 5.5 in windows vista home basic. I have set classpath
I have installed my windows application that uses TeeChart ActiveX (a COM Component for
I have developed a java servlet that monitors a folder on a network drive
I have a folder with Tomcat7 installed on my disk that I use to
I have jdk1.6.0_13 installed, but when I try to find a javax.servlet package, or
I have installed and configured tomcat+solr on my personal linux machine and windows as
I have got my android app that uses HttpClient to reach my servlet deployed
I have written a JAVA servlet that implements the Facebook Connect feature. I have
I have installed the Adobe Flash Player 10 debugger for Firefox 3 and I
I have installed on my computer C++Test only with UnitTest license (only Unit Test

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.