Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 88966 invoked by uid 500); 12 Jul 2001 06:52:54 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk Reply-To: tomcat-user@jakarta.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 88514 invoked from network); 12 Jul 2001 06:52:47 -0000 Received: from unknown (HELO chexch01.silverline.com) (198.151.230.253) by h31.sny.collab.net with SMTP; 12 Jul 2001 06:52:47 -0000 content-class: urn:content-classes:message Subject: RE: tomcat-apache?? why Jserv Module? MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C10A9E.EDE40EC2" Date: Thu, 12 Jul 2001 12:20:25 +0530 X-MimeOLE: Produced By Microsoft Exchange V6.0.4417.0 Message-ID: <09F795E20140924D94598F92B5DA08EC46BE39@chexch01.silverline.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: tomcat-apache?? why Jserv Module? Thread-Index: AcEKnPv3J+MnTIaeSsmWHhcY4nQRTgAAGYXA From: "Lakshminarayanan Ramakrishnan" To: X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N This is a multi-part message in MIME format. ------_=_NextPart_001_01C10A9E.EDE40EC2 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Dear ravi, =20 I'm setting up a server for development as well as testing environments. I need both to run parallelly. Problem comes when i need to have two different databases..that means two dsn's for connecting to them. I place this dsn in an ini file in the server root i.e by default the bin folder of tomcat. =20 Note this, i need to have one set of jsp files, set of class files(these are not common to these envs), and ofcourse ini file where i place the dsn. At startup i load some servlet classes. =20 What should do be done: =20 Have one Apache webserver which caters to both the env's using tomcat. =20 What i did: =20 Have one Apache webserver, two tomcats running in the same machine (O/S: Win'NT) =20 if i have two tomcats, i'll have two bin folders to place my ini files have two independent dsn's there.... =20 Is that right? =20 Should i include two mod_jk.conf-auto in httpd.conf =20 Awaiting ur reply Lax -----Original Message----- From: Ravishankar.S [mailto:ravig@ibc.co.in] Sent: Tuesday, June 19, 2001 11:57 AM To: tomcat-user@jakarta.apache.org Subject: Re: tomcat-apache?? why Jserv Module? dear lax, u can't use mod_jk and ModJServ at the same time!!delete the ApacheModJServ.dll file from ur modules dir( it says so in the docs).now,if u r using mod_jk forget abt the tomcat-apache.conf file.the file to look at is "mod_jk.conf-auto".this file is overwritten every time u start tomcat.try editing this file.of course the path to this file must be included in "httpd.conf".why exactly do u want to use two diff workers for????.is ur server serving a heavy load site or r u jus experimenting????.pl let me know =20 ravi =20 ----- Original Message -----=20 From: Lakshminarayanan Ramakrishnan To: tomcat-user@jakarta.apache.org =20 Sent: Thursday, July 12, 2001 11:27 AM Subject: RE: tomcat-apache?? why Jserv Module? Dear Ravi, =20 Then how to make mod_jk understand that i have two different workers at these locations...thats where i'm stuckup. =20 I include two different Mod_jk.conf-auto files for specifying different workers apart from tomcat-apache.conf, in httpd.conf file. =20 Is that right? =20 Lax -----Original Message----- From: Ravishankar.S [ mailto:ravig@ibc.co.in ] Sent: Tuesday, June 19, 2001 11:42 AM To: tomcat-user@jakarta.apache.org Subject: Re: tomcat-apache?? why Jserv Module? dear lax, actually u don't need two diff "tomcat-apache.conf "files for multiple workers.what u can do is edit a file called "workers.properties" (in the "conf "dir of tomcat) and read the comments and configure it .tomcat automatically balances ur load,further i recommend u to use the ajpv13 protocol since it is faster and better than the ajpv12 protocol.this can be done in "server.xml".please read "tomcat-workers howto.html" for more info,it's a very useful file.read it carefully and configure it accordingly =20 ravi ------_=_NextPart_001_01C10A9E.EDE40EC2 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable tomcat-apache?? why Jserv Module?
Dear ravi,
 
I'm=20 setting up a server for development as well as testing = environments. I need=20 both to run parallelly.
Problem comes when i need to have two = different=20 databases..that means two dsn's for connecting to=20 them.
I=20 place this dsn in an ini file in the server root i.e by = default=20 the bin folder of tomcat.
 
Note=20 this, i need to have one set of jsp files, set of class files(these are = not=20 common to these envs), and ofcourse ini file where i place the=20 dsn.
At=20 startup i load some servlet classes.
 
What should do be=20 done:
 
Have=20 one Apache webserver which caters to both the env's using=20 tomcat.
 
What i = did:
 
Have=20 one Apache webserver, two tomcats running in the same machine (O/S:=20 Win'NT)
 
if i=20 have two tomcats, i'll have two bin folders to place my ini files have = two=20 independent dsn's there....
 
Is=20 that right?
 
Should=20 i include two mod_jk.conf-auto in httpd.conf
 
Awaiting ur reply
Lax
-----Original Message-----
From: Ravishankar.S=20 [mailto:ravig@ibc.co.in]
Sent: Tuesday, June 19, 2001 11:57=20 AM
To: tomcat-user@jakarta.apache.org
Subject: Re: = tomcat-apache?? why Jserv Module?

dear lax,
          &nbs= p;        =20 u can't use mod_jk and ModJServ at the same time!!delete the=20 ApacheModJServ.dll file from ur modules dir( it says so in the = docs).now,if u=20 r using mod_jk forget abt the tomcat-apache.conf = file.the=20 file to look at is "mod_jk.conf-auto".this file is=20 overwritten every time u start tomcat.try editing this file.of = course=20 the path to this file must be included in "httpd.conf".why = exactly do=20 u want to use two diff workers for????.is ur server serving a heavy = load site=20 or r u jus experimenting????.pl let me know
 
ravi
    =    =20            =20
----- Original Message -----
From:=20 Lakshminarayanan = Ramakrishnan
To: tomcat-user@jakarta.apache.org= =20
Sent: Thursday, July 12, 2001 = 11:27=20 AM
Subject: RE: tomcat-apache?? = why Jserv=20 Module?

Dear Ravi,
 
Then how to make mod_jk understand that i = have two=20 different workers at these locations...thats where i'm=20 stuckup.
 
I=20 include two different Mod_jk.conf-auto files for specifying = different=20 workers apart from tomcat-apache.conf, in httpd.conf=20 file.
 
Is=20 that right?
 
Lax
-----Original Message-----
From: Ravishankar.S = [mailto:ravig@ibc.co.in]
Sent:=20 Tuesday, June 19, 2001 11:42 AM
To:=20 tomcat-user@jakarta.apache.org
Subject: Re: = tomcat-apache?? why=20 Jserv Module?

dear lax,
    =    =20         actually u don't need two = diff=20 "tomcat-apache.conf "files for multiple workers.what u can do is=20 edit  a file called "workers.properties" (in the "conf "dir = of=20 tomcat) and read the comments  and configure it .tomcat = automatically=20 balances ur load,further i recommend u to use the ajpv13 = protocol=20 since it is faster and better than the ajpv12 protocol.this can be = done in=20 "server.xml".please read "tomcat-workers howto.html" for more=20 info,it's  a very useful file.read it carefully and configure = it=20 accordingly
 
ravi
<= /HTML> ------_=_NextPart_001_01C10A9E.EDE40EC2--