You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Peter Rossbach <pr...@objektpark.de> on 2004/10/05 10:35:47 UTC

Need help with mod_ajp

Hello,

I have two simple question to the new mod_ajp:

Can we add a small documentation how people can compile and configure
the new mod_ajp? The mailing list are tell us a lot informations, but
please can someone desicribe the current state?

Thanks
Peter



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Re: Need help with mod_ajp

Posted by jean-frederic clere <jf...@fujitsu-siemens.com>.
Peter Rossbach wrote:
> Cool,
> 
> that mean I checkout httpd 2.1 and all is working?
> How I can find some mod_ajp configuration documentation?
>    All new elements and option and a example for loadbalancing
> 
> Can you please, add some documentation ( jk/xdocs) that let people find the
>       new module and configuration ?

Done.

> 
> Thanks
> Peter
> 
> 
> jean-frederic clere schrieb:
> 
>> Remy Maucherat wrote:
>>
>>> jean-frederic clere wrote:
>>>
>>>> Peter Rossbach wrote:
>>>>
>>>>> Hello,
>>>>>
>>>>> I have two simple question to the new mod_ajp:
>>>>>
>>>>> Can we add a small documentation how people can compile and configure
>>>>> the new mod_ajp? The mailing list are tell us a lot informations, but
>>>>> please can someone desicribe the current state?
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> The developement of the proxy ajp has been moved to httpd-2.1.
>>>
>>>
>>>
>>>
>>> To make sure I got everything right: so all the code and dev is done 
>>> there now ?
>>
>>
>>
>> Yes.
>>
>>> BTW, who's a committer on httpd ?
>>
>>
>>
>> I and Mladen (mturk@apache.org).
>>
>> Cheers
>>
>> Jean-Frederic
>>
>>>
>>> Rémy
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
>>> For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
>>>
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
>>
>>
>>
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Re: Need help with mod_ajp

Posted by jean-frederic clere <jf...@fujitsu-siemens.com>.
Peter Rossbach wrote:
> Hello Jean Frederic,
> 
> fine, your example help me, but the current online balancer 
> documentation is only a useless summary.
> Exist a better one at cvs or is it a open ToDo item?

That is a ToDo item ;-(

> 
> Thanx
> Peter
> 
> 
> jean-frederic clere schrieb:
> 
>> Peter Rossbach wrote:
>>
>>> Cool,
>>>
>>> that mean I checkout httpd 2.1 and all is working?
>>
>>
>>
>> Yes
>> You have to configure httpd with:
>> --enable-proxy \
>> --enable-proxy-balancer \
>> --enable-proxy-ajp
>>
>>> How I can find some mod_ajp configuration documentation?
>>
>>
>>
>> http://httpd.apache.org/docs-2.1/mod/mod_proxy_ajp.html
>> http://httpd.apache.org/docs-2.1/mod/mod_proxy_balancer.html
>>
>>>    All new elements and option and a example for loadbalancing
>>
>>
>>
>> I have added to my httpd.conf:
>> +++
>> LoadModule proxy_module modules/mod_proxy.so
>> LoadModule proxy_ajp_module modules/mod_proxy_ajp.so
>> LoadModule proxy_balancer_module modules/mod_proxy_balancer.so
>> +++
>> And:
>> +++
>> ProxyRequests On
>> ProxyStatus full
>> <Proxy *>
>>     Order deny,allow
>>     Deny from all
>>     Allow from localhost
>> </Proxy>
>>
>> <Proxy balancer://myCluster>
>>    BalancerMember ajp://localhost:8009
>>    BalancerMember ajp://pgtr0327.mch.fsc.net:8009
>> </Proxy>
>>
>> <Location /examples/>
>>    ProxyPass balancer://myCluster/examples/
>> </Location>
>> +++
>>
>>>
>>> Can you please, add some documentation ( jk/xdocs) that let people 
>>> find the
>>>       new module and configuration ?
>>>
>>> Thanks
>>> Peter
>>>
>>>
>>> jean-frederic clere schrieb:
>>>
>>>> Remy Maucherat wrote:
>>>>
>>>>> jean-frederic clere wrote:
>>>>>
>>>>>> Peter Rossbach wrote:
>>>>>>
>>>>>>> Hello,
>>>>>>>
>>>>>>> I have two simple question to the new mod_ajp:
>>>>>>>
>>>>>>> Can we add a small documentation how people can compile and 
>>>>>>> configure
>>>>>>> the new mod_ajp? The mailing list are tell us a lot informations, 
>>>>>>> but
>>>>>>> please can someone desicribe the current state?
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> The developement of the proxy ajp has been moved to httpd-2.1.
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> To make sure I got everything right: so all the code and dev is 
>>>>> done there now ?
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> Yes.
>>>>
>>>>> BTW, who's a committer on httpd ?
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> I and Mladen (mturk@apache.org).
>>>>
>>>> Cheers
>>>>
>>>> Jean-Frederic
>>>>
>>>>>
>>>>> Rémy
>>>>>
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
>>>>> For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
>>>>>
>>>>>
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
>>>> For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
>>> For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
>>>
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
>>
>>
>>
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Re: Need help with mod_ajp

Posted by Peter Rossbach <pr...@objektpark.de>.
Hello Jean Frederic,

fine, your example help me, but the current online balancer 
documentation is only a useless summary.
Exist a better one at cvs or is it a open ToDo item?

Thanx
Peter


jean-frederic clere schrieb:

> Peter Rossbach wrote:
>
>> Cool,
>>
>> that mean I checkout httpd 2.1 and all is working?
>
>
> Yes
> You have to configure httpd with:
> --enable-proxy \
> --enable-proxy-balancer \
> --enable-proxy-ajp
>
>> How I can find some mod_ajp configuration documentation?
>
>
> http://httpd.apache.org/docs-2.1/mod/mod_proxy_ajp.html
> http://httpd.apache.org/docs-2.1/mod/mod_proxy_balancer.html
>
>>    All new elements and option and a example for loadbalancing
>
>
> I have added to my httpd.conf:
> +++
> LoadModule proxy_module modules/mod_proxy.so
> LoadModule proxy_ajp_module modules/mod_proxy_ajp.so
> LoadModule proxy_balancer_module modules/mod_proxy_balancer.so
> +++
> And:
> +++
> ProxyRequests On
> ProxyStatus full
> <Proxy *>
>     Order deny,allow
>     Deny from all
>     Allow from localhost
> </Proxy>
>
> <Proxy balancer://myCluster>
>    BalancerMember ajp://localhost:8009
>    BalancerMember ajp://pgtr0327.mch.fsc.net:8009
> </Proxy>
>
> <Location /examples/>
>    ProxyPass balancer://myCluster/examples/
> </Location>
> +++
>
>>
>> Can you please, add some documentation ( jk/xdocs) that let people 
>> find the
>>       new module and configuration ?
>>
>> Thanks
>> Peter
>>
>>
>> jean-frederic clere schrieb:
>>
>>> Remy Maucherat wrote:
>>>
>>>> jean-frederic clere wrote:
>>>>
>>>>> Peter Rossbach wrote:
>>>>>
>>>>>> Hello,
>>>>>>
>>>>>> I have two simple question to the new mod_ajp:
>>>>>>
>>>>>> Can we add a small documentation how people can compile and 
>>>>>> configure
>>>>>> the new mod_ajp? The mailing list are tell us a lot informations, 
>>>>>> but
>>>>>> please can someone desicribe the current state?
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> The developement of the proxy ajp has been moved to httpd-2.1.
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> To make sure I got everything right: so all the code and dev is 
>>>> done there now ?
>>>
>>>
>>>
>>>
>>> Yes.
>>>
>>>> BTW, who's a committer on httpd ?
>>>
>>>
>>>
>>>
>>> I and Mladen (mturk@apache.org).
>>>
>>> Cheers
>>>
>>> Jean-Frederic
>>>
>>>>
>>>> Rémy
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
>>>> For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
>>>>
>>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
>>> For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
>>>
>>>
>>>
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
>
>
>


-- 
J2EE Systemarchitekt und Tomcat Experte

http://objektpark.de/
http://www.webapp.de/

Am Josephsschacht 72, 44879 Bochum, Deutschland
Telefon:  (49) 234 9413228
Mobil:    (49) 175 1660884
E-Mail:  pr@objektpark.de




---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Re: Need help with mod_ajp

Posted by jean-frederic clere <jf...@fujitsu-siemens.com>.
Peter Rossbach wrote:
> Cool,
> 
> that mean I checkout httpd 2.1 and all is working?

Yes
You have to configure httpd with:
--enable-proxy \
--enable-proxy-balancer \
--enable-proxy-ajp

> How I can find some mod_ajp configuration documentation?

http://httpd.apache.org/docs-2.1/mod/mod_proxy_ajp.html
http://httpd.apache.org/docs-2.1/mod/mod_proxy_balancer.html

>    All new elements and option and a example for loadbalancing

I have added to my httpd.conf:
+++
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_ajp_module modules/mod_proxy_ajp.so
LoadModule proxy_balancer_module modules/mod_proxy_balancer.so
+++
And:
+++
ProxyRequests On
ProxyStatus full
<Proxy *>
     Order deny,allow
     Deny from all
     Allow from localhost
</Proxy>

<Proxy balancer://myCluster>
    BalancerMember ajp://localhost:8009
    BalancerMember ajp://pgtr0327.mch.fsc.net:8009
</Proxy>

<Location /examples/>
    ProxyPass balancer://myCluster/examples/
</Location>
+++

> 
> Can you please, add some documentation ( jk/xdocs) that let people find the
>       new module and configuration ?
> 
> Thanks
> Peter
> 
> 
> jean-frederic clere schrieb:
> 
>> Remy Maucherat wrote:
>>
>>> jean-frederic clere wrote:
>>>
>>>> Peter Rossbach wrote:
>>>>
>>>>> Hello,
>>>>>
>>>>> I have two simple question to the new mod_ajp:
>>>>>
>>>>> Can we add a small documentation how people can compile and configure
>>>>> the new mod_ajp? The mailing list are tell us a lot informations, but
>>>>> please can someone desicribe the current state?
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> The developement of the proxy ajp has been moved to httpd-2.1.
>>>
>>>
>>>
>>>
>>> To make sure I got everything right: so all the code and dev is done 
>>> there now ?
>>
>>
>>
>> Yes.
>>
>>> BTW, who's a committer on httpd ?
>>
>>
>>
>> I and Mladen (mturk@apache.org).
>>
>> Cheers
>>
>> Jean-Frederic
>>
>>>
>>> Rémy
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
>>> For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
>>>
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
>>
>>
>>
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Re: Need help with mod_ajp

Posted by Peter Rossbach <pr...@objektpark.de>.
Cool,

that mean I checkout httpd 2.1 and all is working?
How I can find some mod_ajp configuration documentation?
    All new elements and option and a example for loadbalancing

Can you please, add some documentation ( jk/xdocs) that let people find the
       new module and configuration ?

Thanks
Peter


jean-frederic clere schrieb:

> Remy Maucherat wrote:
>
>> jean-frederic clere wrote:
>>
>>> Peter Rossbach wrote:
>>>
>>>> Hello,
>>>>
>>>> I have two simple question to the new mod_ajp:
>>>>
>>>> Can we add a small documentation how people can compile and configure
>>>> the new mod_ajp? The mailing list are tell us a lot informations, but
>>>> please can someone desicribe the current state?
>>>
>>>
>>>
>>>
>>> The developement of the proxy ajp has been moved to httpd-2.1.
>>
>>
>>
>> To make sure I got everything right: so all the code and dev is done 
>> there now ?
>
>
> Yes.
>
>> BTW, who's a committer on httpd ?
>
>
> I and Mladen (mturk@apache.org).
>
> Cheers
>
> Jean-Frederic
>
>>
>> Rémy
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
>
>
>




---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Re: Need help with mod_ajp

Posted by jean-frederic clere <jf...@fujitsu-siemens.com>.
Remy Maucherat wrote:
> jean-frederic clere wrote:
> 
>> Remy Maucherat wrote:
>>
>>> To make sure I got everything right: so all the code and dev is done 
>>> there now ?
>>
>>
>>
>> Yes.
>>
>>> BTW, who's a committer on httpd ?
>>
>>
>>
>> I and Mladen (mturk@apache.org).
> 
> 
> I checked out the CVS. Very impressive.
> (here, I'd like to ask about httpd 2.2 release date, but I think it 
> wouldn't be very wise)

No idea...

> 
> At the same time, j-t-c could be due for a reorganization: it's hard to 
> separate current code from old stuff.

What do you want to remove?

> 
> Rémy
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Re: Need help with mod_ajp

Posted by Mladen Turk <mt...@apache.org>.
Remy Maucherat wrote:
> 
> I checked out the CVS. Very impressive.
> (here, I'd like to ask about httpd 2.2 release date, but I think it 
> wouldn't be very wise)
> 
> At the same time, j-t-c could be due for a reorganization: it's hard to 
> separate current code from old stuff.
>

That's correct.
I'm working on a proposal, that will hopefully bring more light on the
both the current code and some leads for the future.
We've done lot's of discussion recently, with some clear and some not
so clear agreements, so I'm currently digging all those archives.

So, I'll put all those on paper, and we'll see if something has changed
during last couple of months (although I doubt cause there was no patches
in that direction).



MT.

Re: Need help with mod_ajp

Posted by Remy Maucherat <re...@apache.org>.
jean-frederic clere wrote:

> Remy Maucherat wrote:
>
>> To make sure I got everything right: so all the code and dev is done 
>> there now ?
>
>
> Yes.
>
>> BTW, who's a committer on httpd ?
>
>
> I and Mladen (mturk@apache.org).

I checked out the CVS. Very impressive.
(here, I'd like to ask about httpd 2.2 release date, but I think it 
wouldn't be very wise)

At the same time, j-t-c could be due for a reorganization: it's hard to 
separate current code from old stuff.

Rémy


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Re: Need help with mod_ajp

Posted by jean-frederic clere <jf...@fujitsu-siemens.com>.
Remy Maucherat wrote:
> jean-frederic clere wrote:
> 
>> Peter Rossbach wrote:
>>
>>> Hello,
>>>
>>> I have two simple question to the new mod_ajp:
>>>
>>> Can we add a small documentation how people can compile and configure
>>> the new mod_ajp? The mailing list are tell us a lot informations, but
>>> please can someone desicribe the current state?
>>
>>
>>
>> The developement of the proxy ajp has been moved to httpd-2.1.
> 
> 
> To make sure I got everything right: so all the code and dev is done 
> there now ?

Yes.

> BTW, who's a committer on httpd ?

I and Mladen (mturk@apache.org).

Cheers

Jean-Frederic

> 
> Rémy
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Re: Need help with mod_ajp

Posted by Remy Maucherat <re...@apache.org>.
jean-frederic clere wrote:

> Peter Rossbach wrote:
>
>> Hello,
>>
>> I have two simple question to the new mod_ajp:
>>
>> Can we add a small documentation how people can compile and configure
>> the new mod_ajp? The mailing list are tell us a lot informations, but
>> please can someone desicribe the current state?
>
>
> The developement of the proxy ajp has been moved to httpd-2.1.

To make sure I got everything right: so all the code and dev is done 
there now ?
BTW, who's a committer on httpd ?

Rémy


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Re: Need help with mod_ajp

Posted by jean-frederic clere <jf...@fujitsu-siemens.com>.
Peter Rossbach wrote:
> Hello,
> 
> I have two simple question to the new mod_ajp:
> 
> Can we add a small documentation how people can compile and configure
> the new mod_ajp? The mailing list are tell us a lot informations, but
> please can someone desicribe the current state?

The developement of the proxy ajp has been moved to httpd-2.1.

> 
> Thanks
> Peter
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org