Where do I locate Java Servlet container

I have installed JRE and now I'm trying to install Solr by following the Solr Reference Guide.

The guide dictates:

  1. Stop your Java servlet container.
  2. Copy the solr.war file from the Solr distribution to the webapps directory of your servlet container...

  3. Start your servlet container, passing to it the location of your Solr Home in one of these ways:

  • Set the Java system property solr.solr.home to your Solr Home. (for example, using the example jetty setup: java -Dsolr.solr.home=/some/dir -jar start.jar).
  • Configure the servlet container so that a JNDI lookup of java:comp/env/solr/home by the Solr webapp will point to your Solr Home.
  • Start the servlet container in the directory containing ./solr: the default Solr Home is solr under the JVM's current working directory ($CWD/solr).

Questions:

  1. Where do I find this Java Servlet container?
  2. Where/how do I execute those commands to start/stop/configure the Java Servlet container?
  3. How do I set Java system properties?

Answers


Mine was quite straight forward. After downloading the file, I extracted it to a folder on my Server. I used the Command Line to complete the installation. With the Command line, navigate to the example folder inside the solr-X.XX.X folder you extracted the file to, once there run the java command:

cd C:/<folder>/app/solr-X.XX.X/example
    java -jar start.jar

It would perform the installation for you, like magic. You can access SOLR by visiting localhost:8983/solr

I'm using a Windows Server though, it may be different on yours, but I guess the logic is the same.


You should to install Apache Tomcat. All information about these servers you can find here. You also could to install Jetty, JBoss, vSphere, tc vFabric Server ... but I think that you'll setup tomcat and solr easier (it is mine personal opinion, if you are familiar with any one, use them of course).

Tomcat setup is described here.


Need Your Help

Error 101 (net::ERR_CONNECTION_RESET): The connection was reset

c# asp.net-mvc-3

I have develop a small asp.net MVC3 application in that i have upload a video files into Application server path.When i upload 2MB video file it is uploded .But when itry to upload 50mb file it is

Xcode - How to change an image in UIImage View with only in one UIImageView and only one button

objective-c xcode4 uiimageview uibutton xcode4.2

My code change the pic in two UIImageView with one button but I want only one UIImageView and only one button, how could I make it? Please help me. Thanks from now.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.