Re: Apache and Tomcat on separate hosts?

2005-08-17 Thread Viorel Dragomir

You can have the servers on different machines. Look more on mod_jk2 
configuration.
As I know, mod_jk2 project is no longer maintained so it's better to switch to 
mod_jk.



Viorel Dragomir

.
..
---



- Original Message - 
From: Jeff Schroeder 
To: tomcat-user@jakarta.apache.org 
Sent: Wednesday, August 17, 2005 15:17
Subject: Apache and Tomcat on separate hosts?


I finally got Apache2 + mod_jk2 + tomcat 4.1 working with tomcat doing vhosting 
on my laptop for development. The management said that is great that I should 
now roll it over to the dev servers before putting it into production.

I started setting up everything and was down to creating the vhost in 
httpd.conf when I realized one fatal problem, Apache and Tomcat are on 2 
separate servers. The way that I understand it, Apache finds a jsp page in it's 
docroot and if the host is in workers2.properties, it gets handed over to 
tomcat. 

If the webapp is not on the same box, how do you let apache find it to hand 
over to tomcat? My first thought was NFS, but the change control board frowns 
on any sort of filesharing among the servers. It's kind of important to get 
this properly working, is there any other way? Thanks.

Jeff Schroeder
Web Administrator
Comair, Inc.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Apache and Tomcat on separate hosts?

2005-08-17 Thread Raghupathy,Gurumoorthy
Try ...

In the workers2.properties

Change
host=ipaddressoftheremotemachine

Regards
Guru

-Original Message-
From: Jeff Schroeder [mailto:[EMAIL PROTECTED] 
Sent: 17 August 2005 14:17
To: tomcat-user@jakarta.apache.org
Subject: Apache and Tomcat on separate hosts?


I finally got Apache2 + mod_jk2 + tomcat 4.1 working with tomcat doing
vhosting on my laptop for development. The management said that is great
that I should now roll it over to the dev servers before putting it into
production.

I started setting up everything and was down to creating the vhost in
httpd.conf when I realized one fatal problem, Apache and Tomcat are on 2
separate servers. The way that I understand it, Apache finds a jsp page in
it's docroot and if the host is in workers2.properties, it gets handed over
to tomcat. 

If the webapp is not on the same box, how do you let apache find it to
hand over to tomcat? My first thought was NFS, but the change control board
frowns on any sort of filesharing among the servers. It's kind of important
to get this properly working, is there any other way? Thanks.

Jeff Schroeder
Web Administrator
Comair, Inc.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Re: Apache and Tomcat on separate hosts?

2005-08-17 Thread Jeff Schroeder
 As I know, mod_jk2 project is no longer maintained so it's better to switch 
 to mod_jk.

With our java apps, mod_jk has an issue that causes apache to crash every 3-4 
days. mod_jk2 does not, so it's doubtful we will be changing.

Jeff Schroeder
Web Administrator
Comair, Inc.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]