RE: mod_jk2 connection

2005-04-06 Thread David Owens
Here's a good article:

http://raibledesigns.com/tomcat/


-Original Message-
From: Jobish P [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, April 06, 2005 6:07 AM
To: tomcat-user@jakarta.apache.org
Subject: mod_jk2 connection


Hi,

Could any one guide me to connect apache to tomcat through mod_jk.
I tried some documents but each differ from one another. I have to
connect
apache2, with tomcat 5.0.19 using modjk2.so.

Thanks in advance,

---
JOBISH P
NCSI
Indian Institute of Science
Bangalore-12


Get it down. Take chances. It may be bad, but it's the only way you can
do anything really good. William Faulkner

---


-
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: mod_jk2 connection

2005-04-06 Thread Victor Daniel Diaz Suarez
It´s very interesting, but do you Know any good and simple  manual for 
windows?

David Owens wrote:
Here's a good article:
http://raibledesigns.com/tomcat/
-Original Message-
From: Jobish P [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, April 06, 2005 6:07 AM
To: tomcat-user@jakarta.apache.org
Subject: mod_jk2 connection

Hi,
Could any one guide me to connect apache to tomcat through mod_jk.
I tried some documents but each differ from one another. I have to
connect
apache2, with tomcat 5.0.19 using modjk2.so.
Thanks in advance,

---
JOBISH P
NCSI
Indian Institute of Science
Bangalore-12


Get it down. Take chances. It may be bad, but it's the only way you can
do anything really good. William Faulkner

---
-
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]
 


--
##
  Víctor Daniel Díaz Suárez
Centro de Tecnología Médica-Universidad de Las Palmas de  G.C.
##
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: mod_jk2 connection

2005-04-06 Thread David Owens
This is a fairly simple example.  (Basically as simple as it can be due to all 
the configuration that needs to happen.)  To make it work for windows just get 
the .zip instead of the .tar.gz and you should be fine.  Don't use the 
self-installing tomcat because you can't have 2 on the same windows box
very easily.

Hope this helps.

-Original Message-
From: Victor Daniel Diaz Suarez [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, April 06, 2005 7:41 AM
To: Tomcat Users List
Subject: Re: mod_jk2 connection

It´s very interesting, but do you Know any good and simple  manual for 
windows?

David Owens wrote:

Here's a good article:

http://raibledesigns.com/tomcat/


-Original Message-
From: Jobish P [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, April 06, 2005 6:07 AM
To: tomcat-user@jakarta.apache.org
Subject: mod_jk2 connection


Hi,

Could any one guide me to connect apache to tomcat through mod_jk.
I tried some documents but each differ from one another. I have to
connect
apache2, with tomcat 5.0.19 using modjk2.so.

Thanks in advance,

---
JOBISH P
NCSI
Indian Institute of Science
Bangalore-12


Get it down. Take chances. It may be bad, but it's the only way you can
do anything really good. William Faulkner

---


-
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]
  



-- 
##

   Víctor Daniel Díaz Suárez
Centro de Tecnología Médica-Universidad de Las Palmas de  G.C.

##


-
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: mod_jk2 connection

2005-04-06 Thread Jobish P

Hi ,

Thanks Owens. That was a nice article.

Howewer I encountered a problem while starting my apache server.
The error message was,

Syntax error on line 270 of /apache/conf/httpd.conf:
Invalid command 'JkWorkersFile', perhaps mis-spelled or defined by a
module not included in the server configuration

This repeats for other directives also,

 Eg :   JkLogFile logs/mod_jk.log
JkLogLevel info
JkMount /*.jsp loadbalancer
JkMount /servlet/* loadbalancer etc.

I wonder what I missed here. Any observations ?

Thanks in advance,
---
JOBISH P
NCSI
Indian Institute of Science
Bangalore-12



On Wed, 6 Apr 2005, David Owens wrote:

 Here's a good article:

 http://raibledesigns.com/tomcat/


 -Original Message-
 From: Jobish P [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, April 06, 2005 6:07 AM
 To: tomcat-user@jakarta.apache.org
 Subject: mod_jk2 connection


 Hi,

 Could any one guide me to connect apache to tomcat through mod_jk.
 I tried some documents but each differ from one another. I have to
 connect
 apache2, with tomcat 5.0.19 using modjk2.so.

 Thanks in advance,
 
 ---
 JOBISH P
 NCSI
 Indian Institute of Science
 Bangalore-12
 
 
 Get it down. Take chances. It may be bad, but it's the only way you can
 do anything really good. William Faulkner
 
 ---


 -
 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]



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



Re: mod_jk2 connection

2005-04-06 Thread Mladen Turk
David Owens wrote:
Here's a good article:
http://raibledesigns.com/tomcat/
Actually it has one error:
# list the workers by name
worker.list=tomcat1, tomcat2, loadbalancer
It should be:
worker.list=loadbalancer
See the:
http://jakarta.apache.org/tomcat/connectors-doc/config/workers.html
balance_workers:
A comma separated list of workers that the load balancer need to manage.
This directive replaces old balanced_workers directive and can be used 
only with mod_jk versions 1.2.7 and up.

!These workers should not appear in the worker.list property!
Right now this is still allowed for backward compatibility, but in
future mod_jk released, this will be mandatory.
Regards,
Mladen.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: mod_jk2 connection

2005-04-06 Thread David Owens
You should have something like this:

JkWorkersFile conf/workers.properties

Now, let me clarify that I am using mod_jk, not mod_jk2 (which is no
longer supported by the way).

-Original Message-
From: Jobish P [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, April 06, 2005 10:47 AM
To: Tomcat Users List
Subject: RE: mod_jk2 connection


Hi ,

Thanks Owens. That was a nice article.

Howewer I encountered a problem while starting my apache server.
The error message was,

Syntax error on line 270 of /apache/conf/httpd.conf:
Invalid command 'JkWorkersFile', perhaps mis-spelled or defined by a
module not included in the server configuration

This repeats for other directives also,

 Eg :   JkLogFile logs/mod_jk.log
JkLogLevel info
JkMount /*.jsp loadbalancer
JkMount /servlet/* loadbalancer etc.

I wonder what I missed here. Any observations ?

Thanks in advance,

---
JOBISH P
NCSI
Indian Institute of Science
Bangalore-12




On Wed, 6 Apr 2005, David Owens wrote:

 Here's a good article:

 http://raibledesigns.com/tomcat/


 -Original Message-
 From: Jobish P [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, April 06, 2005 6:07 AM
 To: tomcat-user@jakarta.apache.org
 Subject: mod_jk2 connection


 Hi,

 Could any one guide me to connect apache to tomcat through mod_jk.
 I tried some documents but each differ from one another. I have to
 connect
 apache2, with tomcat 5.0.19 using modjk2.so.

 Thanks in advance,


 ---
 JOBISH P
 NCSI
 Indian Institute of Science
 Bangalore-12


 
 Get it down. Take chances. It may be bad, but it's the only way you
can
 do anything really good. William Faulkner


 ---


 -
 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]



-
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]