You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Yashesh Bhatia <ya...@venuslabs.co.in> on 2009/11/17 15:19:39 UTC

Apache Tomcat 5.5.27 on a load balanced environment

Hello Group:

   I was trying to configure Apache Solr using the Tomcat Servlet container in a
load balanced environment.

Here's the setup

                 Load Balancer
                            |
        ---------------------------------------
       |                                                |
  Front End 1                             Front End 2

Now the domain we're using is  solr.company1.com which points to the
load balancer and
the traffic on port 8080 on the LB is routed to FE1 or FE2

ApacheSolr using the tomcat servlet container is installed on both FE1
and FE2 (installation
instructions are here - http://drupal.org/node/443976#comment-2256696)

This was done a week ago and i was able to access the Solr Admin interface at
http://solr.company1.com:8080/solr/admin/

We wanted to remove the localhost completely and have it only accessed
with solr.company1.com
and here's what i did (i messed it here for sure)

- Moved $CATALINA_HOME/conf/Catalina/localhost to
$CATALINA_HOME/conf/Catalina/solr.company1.com
- Edited $CATALINA_HOME/conf/server.xml and server-minimal.xml and
replaced localhost with solr.company1.com

restarted solr and tried to view the admin at -
http://solr.company1.com:8080/solr/admin/ ,
but  now i get the error
---------------------------------------------------------------------------------------
HTTP Status 404 - missing core name in path
type Status report
message missing core name in path
description The requested resource (missing core name in path) is not available.
Apache Tomcat/5.5.27
---------------------------------------------------------------------------------------

After getting the new found error i revered back solr.company1.com
changes to localhost
and restarted solr. However,  i still get the same error.

Any help on how to fix it ?

Thanks.

Yashesh Bhatia.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


RE: Apache Tomcat 5.5.27 on a load balanced environment

Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: Yashesh Bhatia [mailto:yasheshb@venuslabs.co.in]
> Subject: Apache Tomcat 5.5.27 on a load balanced environment
> 
> We wanted to remove the localhost completely and have it only accessed
> with solr.company1.com

Why?  What do you think that achieves?

If you have only one <Host> entry in your Tomcat configuration, its name is irrelevant, so just leave it at localhost.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org