Re: mod_jk configuration

2005-06-22 Thread Colby . Meyer
One way to do this is to declare a host in your server.xml instance

The server.xml will need to contain an entry within the engine like



 
 
 
  
 



And in your httpd.conf 

servername myotherdomain.tld
JkMount /* ajp13   <-- My worker


This seems to work in our configuration to handle this type of operation.

Have Fun...
Colby C. Meyer




"[EMAIL PROTECTED]" <[EMAIL PROTECTED]> 
06/22/2005 01:31 AM
Please respond to
"Tomcat Users List" 


To
Tomcat Users List 
cc

Subject
mod_jk configuration






Hello all,

i am using Tomcat 4.1.3x, mod_jk 1.x and Apache 1.3.x.

I have read all the documentation available on apache.org, but
i think i have not understood some principles of JK.

Problem:
I have java.domain.tld pointing to the root-directory of Tomcat. The 
default
tomcat site appears. I guess my installations are ok.

I want to have myotherdomain.tld pointing to a specific webapp.
I have a worker (the same as the java.domain.tld Domain), but where
must i declare which context is to use?

In my vhosts i have:

JkMount /* ajp13   <-- My worker


In my workers.properties there is nothing about an context. Documentation
told me nothin about tags to declare. Btw, i installed my app with the 
war-deploy feat.
Maybe this is important.

Any help is appreciated- thank you for reading.

Regards
Chris

-
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_jk configuration question

2004-10-01 Thread Cox, Charlie
You need to separate these into different  elements in server.xml,
each with the corresponding  and .

Charlie

> -Original Message-
> From: Anto Paul [mailto:[EMAIL PROTECTED]
> Sent: Friday, October 01, 2004 10:01 AM
> To: Tomcat Users List
> Subject: mod_jk configuration question
> 
> Hi all,
> 
>   Is it possible to define two AJP13 connectors both listening at
> different ports and different addresses. These two addresses have
> different  elements.
> 
> Config
> 
> port="8005" minProcessors="5" maxProcessors="75"
>acceptCount="10" debug="5" 192.168.4.1/>
> port="8006" minProcessors="5" maxProcessors="75"
>acceptCount="10" debug="5" address="192.168.4.2"/>
> 
> unpackWARs="true" autoDeploy="true">
> 
>
> 
> 
> 
> unpackWARs="true" autoDeploy="true">
> 
>   
> 
> 
> 
> unpackWARs="true" autoDeploy="true">
> 
> 
>
> 
> 
> 
> Both connectors should connect to respective hosts context.
> 
> When I tested this all JSP requests are going to the localhost.
> 
> 
> 
> rgds
> Anto Paul
> 
> --
> To strive,to seek,to find and not to yield
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


RE: mod_jk configuration Amost there !!

2002-06-26 Thread abhishek srivastava

Douglas,

Thank you so much !! It works !!.

regards,
Abhishek.

>From: "Douglas, Rory" <[EMAIL PROTECTED]>
>Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]>
>To: 'Tomcat Users List' <[EMAIL PROTECTED]>
>Subject: RE: mod_jk configuration Amost there !!
>Date: Wed, 26 Jun 2002 13:36:36 -0400
>
>Shouldn't your JkMount directive look like this:
>
>JkMount /examples/* ajp13
>
>I don't think mod_jk strips off the url pattern it matches, just passes it
>through. Try setting up some dummy page on localhost:8080/tomcat/examples/
>and see if that gets served.
>
>-Original Message-
>From: abhishek srivastava [mailto:[EMAIL PROTECTED]]
>Sent: Wednesday, June 26, 2002 1:26 PM
>To: [EMAIL PROTECTED]
>Subject: mod_jk configuration Amost there !!
>
>
>Hello All,
>
>After two days of continious battle with tomcat with apache and having 
>spent
>
>numerours hours of RTFM of mod_jk build and config manual  I am almost
>there.
>
>When I type in http://localhost/tomcat/examples
>
>I get the following message
>
>-
>Apache Tomcat/4.0.4 - HTTP Status 404 - /tomcat/examples
>type Status report
>message /tomcat/examples
>description The requested resource (/tomcat/examples) is not available.
>---
>
>So this means that the call does go to the tomcat from apache web server
>therefore the mod_jk.so is working!!
>
>but then why doesn't it find the tomcat examples page?? when I type
>http://localhost:8080/examples then everything works file.
>
>I have the following entry in my httpd.conf :-
>LoadModule jk_module libexec/mod_jk.so
>Include /apps/tomcat4.0.4/conf/auto/mod_jk.conf
>JkMount /tomcat/* ajp13
>
>In my conf/jk/workers.properties I have the following enteries
>workers.tomcat_home=/apps/tomcat4.0.4
>workers.java_home=/usr/java/j2sdk1.4.0
>ps=/
>worker.list=ajp13
>worker.ajp13.port=8009
>worker.ajp13.host=localhost
>worker.ajp13.type=ajp13
>
>In server.xml I have following enteries :-
>
>
>
>
>Please help me !!!
>
>regards,
>Abhishek.
>
>PS: Once thought occurs to me. When I search mod_jk problems with google.
>there are so many people on numerous mailing lists that have faced the same
>problem!!. Why doesn't apache give a combined download? One installable
>which will install both tomcat and apache and do all the config iteself.
>
>_
>MSN Photos is the easiest way to share and print your photos:
>http://photos.msn.com/support/worldwide.aspx
>
>
>--
>To unsubscribe, e-mail:
><mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail:
><mailto:[EMAIL PROTECTED]>
>--
>To unsubscribe, e-mail:   
><mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail: 
><mailto:[EMAIL PROTECTED]>




_
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx


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




Re: mod_jk configuration Amost there !!

2002-06-26 Thread Milt Epstein

On Wed, 26 Jun 2002, abhishek srivastava wrote:

> Hello All,
>
> After two days of continious battle with tomcat with apache and having spent
> numerours hours of RTFM of mod_jk build and config manual  I am almost
> there.
>
> When I type in http://localhost/tomcat/examples
>
> I get the following message
>
> -
> Apache Tomcat/4.0.4 - HTTP Status 404 - /tomcat/examples
> type Status report
> message /tomcat/examples
> description The requested resource (/tomcat/examples) is not available.
> ---
>
> So this means that the call does go to the tomcat from apache web server
> therefore the mod_jk.so is working!!
>
> but then why doesn't it find the tomcat examples page?? when I type
> http://localhost:8080/examples then everything works file.

The problem is that the way you have it set up, and with the URL
above, tomcat is looking for a context name "tomcat" (and for
something to match "exmaples" in that context).  I suggest changing
your JkMount below to

JkMount /examples/* ajp13

you may also need

JkMount /examples ajp13

and using the URL

http://localhost/examples

You'll have to add similar JkMount's for all the contexts you have.


> I have the following entry in my httpd.conf :-
> LoadModule jk_module libexec/mod_jk.so
> Include /apps/tomcat4.0.4/conf/auto/mod_jk.conf
> JkMount /tomcat/* ajp13
>
> In my conf/jk/workers.properties I have the following enteries
> workers.tomcat_home=/apps/tomcat4.0.4
> workers.java_home=/usr/java/j2sdk1.4.0
> ps=/
> worker.list=ajp13
> worker.ajp13.port=8009
> worker.ajp13.host=localhost
> worker.ajp13.type=ajp13
>
> In server.xml I have following enteries :-
> 
> 
> 
>
> Please help me !!!
>
> regards,
> Abhishek.
>
> PS: Once thought occurs to me. When I search mod_jk problems with google.
> there are so many people on numerous mailing lists that have faced the same
> problem!!. Why doesn't apache give a combined download? One installable
> which will install both tomcat and apache and do all the config iteself.
>
> _
> MSN Photos is the easiest way to share and print your photos:
> http://photos.msn.com/support/worldwide.aspx
>
>
> --
> To unsubscribe, e-mail:   
> For additional commands, e-mail: 
>

Milt Epstein
Research Programmer
Systems and Technology Services (STS)
Campus Information Technologies and Educational Services (CITES)
University of Illinois at Urbana-Champaign (UIUC)
[EMAIL PROTECTED]


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: mod_jk configuration Amost there !!

2002-06-26 Thread Turner, John


Try http://localhost/tomcat/examples/ with the trailing "/".

John Turner
[EMAIL PROTECTED]


-Original Message-
From: abhishek srivastava [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 26, 2002 1:26 PM
To: [EMAIL PROTECTED]
Subject: mod_jk configuration Amost there !!


Hello All,

After two days of continious battle with tomcat with apache and having spent

numerours hours of RTFM of mod_jk build and config manual  I am almost 
there.

When I type in http://localhost/tomcat/examples

I get the following message

-
Apache Tomcat/4.0.4 - HTTP Status 404 - /tomcat/examples
type Status report
message /tomcat/examples
description The requested resource (/tomcat/examples) is not available.
---

So this means that the call does go to the tomcat from apache web server 
therefore the mod_jk.so is working!!

but then why doesn't it find the tomcat examples page?? when I type 
http://localhost:8080/examples then everything works file.

I have the following entry in my httpd.conf :-
LoadModule jk_module libexec/mod_jk.so
Include /apps/tomcat4.0.4/conf/auto/mod_jk.conf
JkMount /tomcat/* ajp13

In my conf/jk/workers.properties I have the following enteries
workers.tomcat_home=/apps/tomcat4.0.4
workers.java_home=/usr/java/j2sdk1.4.0
ps=/
worker.list=ajp13
worker.ajp13.port=8009
worker.ajp13.host=localhost
worker.ajp13.type=ajp13

In server.xml I have following enteries :-




Please help me !!!

regards,
Abhishek.

PS: Once thought occurs to me. When I search mod_jk problems with google. 
there are so many people on numerous mailing lists that have faced the same 
problem!!. Why doesn't apache give a combined download? One installable 
which will install both tomcat and apache and do all the config iteself.

_
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx


--
To unsubscribe, e-mail:

For additional commands, e-mail:




RE: mod_jk configuration Amost there !!

2002-06-26 Thread Douglas, Rory
Title: RE: mod_jk configuration Amost there !!





Shouldn't your JkMount directive look like this:


JkMount /examples/* ajp13


I don't think mod_jk strips off the url pattern it matches, just passes it through. Try setting up some dummy page on localhost:8080/tomcat/examples/

and see if that gets served.


-Original Message-
From: abhishek srivastava [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 26, 2002 1:26 PM
To: [EMAIL PROTECTED]
Subject: mod_jk configuration Amost there !!



Hello All,


After two days of continious battle with tomcat with apache and having spent 
numerours hours of RTFM of mod_jk build and config manual  I am almost 
there.


When I type in http://localhost/tomcat/examples


I get the following message


-
Apache Tomcat/4.0.4 - HTTP Status 404 - /tomcat/examples
type Status report
message /tomcat/examples
description The requested resource (/tomcat/examples) is not available.
---


So this means that the call does go to the tomcat from apache web server 
therefore the mod_jk.so is working!!


but then why doesn't it find the tomcat examples page?? when I type 
http://localhost:8080/examples then everything works file.


I have the following entry in my httpd.conf :-
LoadModule jk_module libexec/mod_jk.so
Include /apps/tomcat4.0.4/conf/auto/mod_jk.conf
JkMount /tomcat/* ajp13


In my conf/jk/workers.properties I have the following enteries
workers.tomcat_home=/apps/tomcat4.0.4
workers.java_home=/usr/java/j2sdk1.4.0
ps=/
worker.list=ajp13
worker.ajp13.port=8009
worker.ajp13.host=localhost
worker.ajp13.type=ajp13


In server.xml I have following enteries :-





Please help me !!!


regards,
Abhishek.


PS: Once thought occurs to me. When I search mod_jk problems with google. 
there are so many people on numerous mailing lists that have faced the same 
problem!!. Why doesn't apache give a combined download? One installable 
which will install both tomcat and apache and do all the config iteself.


_
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx



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




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


RE: Mod_jk Configuration

2002-06-06 Thread Cameron Purdy

Try this article for help with mod_jk:
http://www.ubeans.com/tomcat/index.html

BTW - Now Tangosol Coherence 1.1.3 includes out-of-the-box support for
HTTP session replication for Tomcat 4. Drop in two JAR files, change one
line of configuration
(http://www.tangosol.com/faq-coherence.jsp#tomcat4), and Tomcat 4 is
clustered! It supports both sticky and stateless load balancing and is
compatible with Apache load balancing (mod_jk). Download a free eval
from http://www.tangosol.com/products-clustering.jsp. Development
licenses are free, and come with full source for the Tomcat 4 module.

Peace,

-
Cameron Purdy
Tangosol Inc.
http://www.tangosol.com/
-
Tangosol Coherence: Clustered Coherent Cache for J2EE
 
 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, June 06, 2002 10:14 AM
To: [EMAIL PROTECTED]
Subject: Mod_jk Configuration

Mandrake 7.2

I want to compile mod_jk to hook Apache & tomcat together and I'm having
no 
luck.  Anybody have any good URL's with instructions on how to Compile
mod_jk?

Thanks



--
To unsubscribe, e-mail:   
For additional commands, e-mail: