You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Robert Hall <rf...@berkeley.edu> on 2004/03/13 04:36:28 UTC

[users@httpd] apache in front of mult Tomcat w/o load balancing

Hoping someone out there has done this or can point me in the right 
direction,
(or tell me to forget it if it cannot be done).

I'd like to have a single instance of apache talking to multiple Tomcat 
instances
over JK2 (differnet port #'s of course), but without load balancing.

That is app A would only be running on TC I, and app B would only be running
on TC II.  Apache would be configured to pass app A URI requests  to TC I,
app B URI requests to TC II.

Is this possible?

Thanks,
Robert


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] apache in front of mult Tomcat w/o load balancing

Posted by Robert Hall <rf...@berkeley.edu>.
Did more digging and experimenting and finally got it to work.  
Basically, apache
was redirecting requests for appA/index.jsp to appB/index.jsp which 
wasn't to be
found on TC II.   The fix involved changing the [uri:] entry for each 
app in
workers2.properties to explicitly refer to index.jsp (instead of *.jsp).

Robert

Robert Hall wrote:

> Hoping someone out there has done this or can point me in the right 
> direction,
> (or tell me to forget it if it cannot be done).
>
> I'd like to have a single instance of apache talking to multiple 
> Tomcat instances
> over JK2 (differnet port #'s of course), but without load balancing.
>
> That is app A would only be running on TC I, and app B would only be 
> running
> on TC II.  Apache would be configured to pass app A URI requests  to 
> TC I,
> app B URI requests to TC II.
>
> Is this possible?
>
> Thanks,
> Robert
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server 
> Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org