You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by srinivas yelamanchili <y_...@yahoo.com> on 2013/07/25 17:14:29 UTC

"The Apache Tomcat Connector - Webserver HowTo" documentation for Apache Httpd 2.4.x and Tomcat 7

Hi,
I installed Apache Httpd 2.4.6 and Tomcat 7.0.42 from source code (.tar.gz) on Redhat Linux and looking for documentation to enable AJP and connect Tomcat with Httpd using AJP/APR

I have the following questions (and please let me know where I can post the same if this email group is the not the correct place) :

1. The 'Tomcat Connectors JK 1.2' Binary Releases at
http://tomcat.apache.org/download-connectors.cgi

only seem to be available for Windows (and not for Redhat Linux).
Aren't there any binary releases for unix based systems?

2. The following documentation seem outdated, has references to Tomcat 3,4,5.5,6 but not 7.
has references to Httpd 2.x in general and 2.2 specific but nothing specific to 2.4

The Apache Tomcat Connector - Webserver HowTo
http://tomcat.apache.org/connectors-doc/webserver_howto/apache.html
http://tomcat.apache.org/connectors-doc-archive/jk2/jk/aphowto.html

'Tomcat 7' doesn't appear under the 'Supported Configuration' section
With Tomcat 7 could the means of using and configuring JK been updated or enhanced?

The Tomcat 7 doc mentions JK 1.2.x though
http://tomcat.apache.org/tomcat-7.0-doc/config/ajp.html

3. Under 'Obtaining mod_jk' section of the 'Webserver HowTo' page
"If the binary is not available, follow the instructions for building mod_jk from source"

Where are the instructions?

4. Can the documentation pages have timestamp of 'last modified'?

Thanks,
-sri

Re: Apache Tomcat Connector - configuration

Posted by Rainer Jung <ra...@kippdata.de>.
On 29.07.2013 03:49, srinivas yelamanchili wrote:
> Hi,
> I am trying to configure Apache httpd talk to Tomcat
> 
> From the documentation at
> http://tomcat.apache.org/connectors-doc/webserver_howto/apache.html
> 
> 1. Under 'Using Tomcat auto-configure' we have this line
> "creating your workers.properties file at $TOMCAT_HOME/conf/jk/workers.properties"
> 
> Under 'Simple configuration example' we have this line
> "# Where to find workers.properties
>     JkWorkersFile /etc/httpd/conf/workers.properties"
> 
> For the auto-configuration the worker properties file path is in TOMCAT_HOME path but for custom it's in HTTPd path?
> What's the recommended path?

AFAIK auto configuration does not work any more and never did very well.

> 2. Under 'Using Tomcat auto-configure'
> 
> a) "The simplest way to configure Apache HTTP Server to use mod_jk is to turn on the Apache HTTP Server auto-configure setting in Tomcat"
> How to turn on the auto-configure setting in Tomcat?
> 
> b) "Please note that this example is specific to Tomcat 5.x, unlike other sections of this document which also apply to previous Tomcat branches."
> This statement may need to be updated with respect to latest Tomcat 7.0?
> 
> c) <Listener className="org.apache.jk.config.ApacheConfig" modJk="/path/to/mod_jk.so" />
> Here '/path/to' is not actual folders so should be italicized to mean as a pseudo-code?

AFAIK auto configuration does not work any more and never did very well.

Start with the configuration examples distributed with the mod_jk source
distribution (and don't take the "minimal" config file).

> 3. Under 'Simple configuration example'
> In which file (name) should the given configuration be saved to and under location HTTPd or TOMCAT_HOME path?

Start with the configuration examples distributed with the mod_jk source
distribution (and don't take the "minimal" config file).

There's a httpd-jk.conf there which should be included in the httpd.conf
and a workers.properties which is referenced from httpd-jk.conf.

> 4. Under 'Introduction'
> "There is actually three versions of Apache HTTP Server, 1.3, 2.0 and 2.2 and all can be used with mod_jk, the Tomcat redirector module."
> comments:
> 2.4 is missing and 'three' is no longer accurate
> 'There is' should be 'There are'

That was fixed recently in the docs sources and will be published with
1.2.38. Apache 2.4 is supported since some time now.

Regards,

Rainer


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


Apache Tomcat Connector - configuration

Posted by srinivas yelamanchili <y_...@yahoo.com>.
Hi,
I am trying to configure Apache httpd talk to Tomcat

From the documentation at
http://tomcat.apache.org/connectors-doc/webserver_howto/apache.html

1. Under 'Using Tomcat auto-configure' we have this line
"creating your workers.properties file at $TOMCAT_HOME/conf/jk/workers.properties"

Under 'Simple configuration example' we have this line
"# Where to find workers.properties
    JkWorkersFile /etc/httpd/conf/workers.properties"

For the auto-configuration the worker properties file path is in TOMCAT_HOME path but for custom it's in HTTPd path?
What's the recommended path?



2. Under 'Using Tomcat auto-configure'

a) "The simplest way to configure Apache HTTP Server to use mod_jk is to turn on the Apache HTTP Server auto-configure setting in Tomcat"
How to turn on the auto-configure setting in Tomcat?

b) "Please note that this example is specific to Tomcat 5.x, unlike other sections of this document which also apply to previous Tomcat branches."
This statement may need to be updated with respect to latest Tomcat 7.0?

c) <Listener className="org.apache.jk.config.ApacheConfig" modJk="/path/to/mod_jk.so" />
Here '/path/to' is not actual folders so should be italicized to mean as a pseudo-code?


3. Under 'Simple configuration example'
In which file (name) should the given configuration be saved to and under location HTTPd or TOMCAT_HOME path?



4. Under 'Introduction'
"There is actually three versions of Apache HTTP Server, 1.3, 2.0 and 2.2 and all can be used with mod_jk, the Tomcat redirector module."
comments:
2.4 is missing and 'three' is no longer accurate
'There is' should be 'There are'


Thanks,
-sri

Re: "The Apache Tomcat Connector - Webserver HowTo" documentation for Apache Httpd 2.4.x and Tomcat 7

Posted by Rainer Jung <ra...@kippdata.de>.
On 29.07.2013 22:36, Christopher Schultz wrote:
> Rainer,
> 
> On 7/29/13 1:22 PM, Rainer Jung wrote:
>> On 29.07.2013 17:26, Nicholas Williams wrote:
>>> On Mon, Jul 29, 2013 at 10:18 AM, Christopher Schultz 
>>> <ch...@christopherschultz.net> wrote:
> 
>>>>> If it's a resources limitation, I have a publicly-accessible 
>>>>> TeamCity server with an unlimited OpenSource license hosting 
>>>>> Windows 7, Mac OS X SLeopard/Lion/MLion, Debian, RedHat, and
>>>>> SuSE agents that I would be happy to donate some resources
>>>>> from. It's not very busy and would have plenty of time to run
>>>>> CI, SNAPSHOT, and RC builds for all of the platforms.
>>>>
>>>> No, the problem is that there are so many different
>>>> combinations of platform, environment, etc. that it would
>>>> represent an explosion of options that would never meet
>>>> everyone's needs.
>>>>
>>>> Building mod_jk just isn't that difficult. The only legitimate 
>>>> complaint that I have heard is that most responsible admins
>>>> don't have a build chain available on a production server. We
>>>> solve that by building on a test server and pushing the
>>>> binaries out to our production servers. Others may do other
>>>> things.
>>>>
>>>> I do know that Debian-based distros of Linux can install the 
>>>> "libapache2-mod-jk" package, though it is often out-of-date
>>>> with respect to the currently-available version. Inexplicably,
>>>> Red Hat does not provide mod_jk binaries through their package
>>>> manager. I'm not sure about Suse and others.
>>>
>>> Understood. I don't know about others, but SuSE DOES provide
>>> mod_jk in their package manager. That's how I installed it. Even
>>> so, it's rarely even close to up-to-date. Usually about a year or
>>> two behind.
> 
>> We had times where we did provide some Linux binaries. Development
>> for mod_jk has slowed down, many distributions contain a reasonable
>> version of it and no one in the team is really interested in
>> providing binaries so it wasn't a priority. It surely is a mixture
>> of time and technical resources but probably even more we don't
>> feel it's an important itch to scratch.
> 
>> I wouldn't oppose if someone stood up and wanted to provide
>> binaries, but it should be someone in our web of trust, because we
>> can't validate binaries we get from outside. So we don't want to
>> officially distribute contributed binaries.
> 
>> If there were such a person, she might happily comeback to your
>> offer concerning build platforms though the ASF has quite a few
>> build servers as well.
> 
> Don't forget about the long internal argument(s) about building on
> untrusted machines, etc. How far does the ASF trust its contributors
> to produce binaries?

That's why I wrote "someone in our web of trust" and "So we don't want
to officially distribute contributed binaries." ;)

Typically our web of trust would mean "committers", but in some
situations it might be a slightly different group.

Regards,

Rainer

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


Re: "The Apache Tomcat Connector - Webserver HowTo" documentation for Apache Httpd 2.4.x and Tomcat 7

Posted by Christopher Schultz <ch...@christopherschultz.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Rainer,

On 7/29/13 1:22 PM, Rainer Jung wrote:
> On 29.07.2013 17:26, Nicholas Williams wrote:
>> On Mon, Jul 29, 2013 at 10:18 AM, Christopher Schultz 
>> <ch...@christopherschultz.net> wrote:
> 
>>>> If it's a resources limitation, I have a publicly-accessible 
>>>> TeamCity server with an unlimited OpenSource license hosting 
>>>> Windows 7, Mac OS X SLeopard/Lion/MLion, Debian, RedHat, and
>>>> SuSE agents that I would be happy to donate some resources
>>>> from. It's not very busy and would have plenty of time to run
>>>> CI, SNAPSHOT, and RC builds for all of the platforms.
>>> 
>>> No, the problem is that there are so many different
>>> combinations of platform, environment, etc. that it would
>>> represent an explosion of options that would never meet
>>> everyone's needs.
>>> 
>>> Building mod_jk just isn't that difficult. The only legitimate 
>>> complaint that I have heard is that most responsible admins
>>> don't have a build chain available on a production server. We
>>> solve that by building on a test server and pushing the
>>> binaries out to our production servers. Others may do other
>>> things.
>>> 
>>> I do know that Debian-based distros of Linux can install the 
>>> "libapache2-mod-jk" package, though it is often out-of-date
>>> with respect to the currently-available version. Inexplicably,
>>> Red Hat does not provide mod_jk binaries through their package
>>> manager. I'm not sure about Suse and others.
>> 
>> Understood. I don't know about others, but SuSE DOES provide
>> mod_jk in their package manager. That's how I installed it. Even
>> so, it's rarely even close to up-to-date. Usually about a year or
>> two behind.
> 
> We had times where we did provide some Linux binaries. Development
> for mod_jk has slowed down, many distributions contain a reasonable
> version of it and no one in the team is really interested in
> providing binaries so it wasn't a priority. It surely is a mixture
> of time and technical resources but probably even more we don't
> feel it's an important itch to scratch.
> 
> I wouldn't oppose if someone stood up and wanted to provide
> binaries, but it should be someone in our web of trust, because we
> can't validate binaries we get from outside. So we don't want to
> officially distribute contributed binaries.
> 
> If there were such a person, she might happily comeback to your
> offer concerning build platforms though the ASF has quite a few
> build servers as well.

Don't forget about the long internal argument(s) about building on
untrusted machines, etc. How far does the ASF trust its contributors
to produce binaries?

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.14 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCAAGBQJR9tIwAAoJEBzwKT+lPKRYpO4P/RV8qM9aQqua/o2COs6LjOmD
4RyRVTgJBryPHLUQhDkMMrY3oGQnM/SsN6XIfgLa8f3eWbFXIswRcZLGXMFUa0DV
gVQmwQXzO9gAZhvggzBO6bhNRY4nAVvff+9XCWrcj395NtUoVn+FuQ/1z5KgXBhT
lfO4T9ieAvcAcEp/Kg6if9h97WPnRskqrarqTOt+ckUbjMmne1Bazq6XisHF6zGM
cSANl3gx8eDGUWBD6Xi2KB/OWOcFLEARH1k5+9iWgsjRBRXPIaufQlCr8njCDbf+
E7GITkQUokox3VVhXLm3c7ruqaYADq7HEcCWBD3kkdBLIRoQUzj6/imlZVDD8uCq
Nhny1FaZMkAi8a9DlIfmDv4zZQlyNp88WpJxE5fZ0aPKVHQNBMBANxXrp7I2Jrp+
LJAMDDd/CDNwM/B04eJGEWHwWBG0pd/EsJBL0IRJlhgiSEAcbfX8O0Re0DaUggnL
Zw8l2GuF1VJ0Au9pOHJC8cmvEEhQLatpLiQsnLQ7IGOx4AQesMCdmUeLGxnsNlxT
6oqYCxed4tBDRYNSDdGqvPm63nNEsc3MumHcofKEP+moEyhRpemzvW3AjezA42T1
7BvlwhtS32B0xWpVuGgVLUcuua9DUsCeA1hZxH/N7zqLzK1ANB10o2QiF0NbKuaa
W2ZQHV4LVW8NbdDZFvJS
=5tHO
-----END PGP SIGNATURE-----

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


Re: "The Apache Tomcat Connector - Webserver HowTo" documentation for Apache Httpd 2.4.x and Tomcat 7

Posted by Rainer Jung <ra...@kippdata.de>.
On 29.07.2013 17:26, Nicholas Williams wrote:
> On Mon, Jul 29, 2013 at 10:18 AM, Christopher Schultz
> <ch...@christopherschultz.net> wrote:

>>> If it's a resources limitation, I have a publicly-accessible
>>> TeamCity server with an unlimited OpenSource license hosting
>>> Windows 7, Mac OS X SLeopard/Lion/MLion, Debian, RedHat, and SuSE
>>> agents that I would be happy to donate some resources from. It's
>>> not very busy and would have plenty of time to run CI, SNAPSHOT,
>>> and RC builds for all of the platforms.
>>
>> No, the problem is that there are so many different combinations of
>> platform, environment, etc. that it would represent an explosion of
>> options that would never meet everyone's needs.
>>
>> Building mod_jk just isn't that difficult. The only legitimate
>> complaint that I have heard is that most responsible admins don't have
>> a build chain available on a production server. We solve that by
>> building on a test server and pushing the binaries out to our
>> production servers. Others may do other things.
>>
>> I do know that Debian-based distros of Linux can install the
>> "libapache2-mod-jk" package, though it is often out-of-date with
>> respect to the currently-available version. Inexplicably, Red Hat does
>> not provide mod_jk binaries through their package manager. I'm not
>> sure about Suse and others.
> 
> Understood. I don't know about others, but SuSE DOES provide mod_jk in
> their package manager. That's how I installed it. Even so, it's rarely
> even close to up-to-date. Usually about a year or two behind.

We had times where we did provide some Linux binaries. Development for
mod_jk has slowed down, many distributions contain a reasonable version
of it and no one in the team is really interested in providing binaries
so it wasn't a priority. It surely is a mixture of time and technical
resources but probably even more we don't feel it's an important itch to
scratch.

I wouldn't oppose if someone stood up and wanted to provide binaries,
but it should be someone in our web of trust, because we can't validate
binaries we get from outside. So we don't want to officially distribute
contributed binaries.

If there were such a person, she might happily comeback to your offer
concerning build platforms though the ASF has quite a few build servers
as well.

Regards,

Rainer

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


Re: "The Apache Tomcat Connector - Webserver HowTo" documentation for Apache Httpd 2.4.x and Tomcat 7

Posted by Nicholas Williams <ni...@nicholaswilliams.net>.
On Mon, Jul 29, 2013 at 10:18 AM, Christopher Schultz
<ch...@christopherschultz.net> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>
> Nick,
>
> On 7/29/13 8:59 AM, Nick Williams wrote:
>> On Jul 25, 2013, at 10:59 AM, Rainer Jung wrote:
>>
>>> On 25.07.2013 17:14, srinivas yelamanchili wrote:
>>>> Hi, I installed Apache Httpd 2.4.6 and Tomcat 7.0.42 from
>>>> source code (.tar.gz) on Redhat Linux and looking for
>>>> documentation to enable AJP and connect Tomcat with Httpd using
>>>> AJP/APR
>>>>
>>>> I have the following questions (and please let me know where I
>>>> can post the same if this email group is the not the correct
>>>> place) :
>>>>
>>>> 1. The 'Tomcat Connectors JK 1.2' Binary Releases at
>>>> http://tomcat.apache.org/download-connectors.cgi
>>>>
>>>> only seem to be available for Windows (and not for Redhat
>>>> Linux). Aren't there any binary releases for unix based
>>>> systems?
>>>
>>> They are very easy to build on Linux. Since there are so many
>>> distributions we currently do not provide "official" binaries.
>>
>> Slightly off-topic question: is this a resources limitation (y'all
>>  don't have access to a build server with different agents running
>> on different distros) or a time limitation (y'all don't have
>> someone who can spend the time maintaining the builds)?
>
> The ASF generally doesn't provide binaries for stuff. For instance, go
> to httpd.apache.org and try to download a binary. Other than win32 and
> Netware, it's source-only.
>
> The Java world has the luxury of being bytecode-compatible so "binaries"
> are made available for lots of Java-related projects (and these days,
> most code available through the ASF is Java-based).
>
>> If it's a resources limitation, I have a publicly-accessible
>> TeamCity server with an unlimited OpenSource license hosting
>> Windows 7, Mac OS X SLeopard/Lion/MLion, Debian, RedHat, and SuSE
>> agents that I would be happy to donate some resources from. It's
>> not very busy and would have plenty of time to run CI, SNAPSHOT,
>> and RC builds for all of the platforms.
>
> No, the problem is that there are so many different combinations of
> platform, environment, etc. that it would represent an explosion of
> options that would never meet everyone's needs.
>
> Building mod_jk just isn't that difficult. The only legitimate
> complaint that I have heard is that most responsible admins don't have
> a build chain available on a production server. We solve that by
> building on a test server and pushing the binaries out to our
> production servers. Others may do other things.
>
> I do know that Debian-based distros of Linux can install the
> "libapache2-mod-jk" package, though it is often out-of-date with
> respect to the currently-available version. Inexplicably, Red Hat does
> not provide mod_jk binaries through their package manager. I'm not
> sure about Suse and others.

Understood. I don't know about others, but SuSE DOES provide mod_jk in
their package manager. That's how I installed it. Even so, it's rarely
even close to up-to-date. Usually about a year or two behind.

Nick

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


Re: "The Apache Tomcat Connector - Webserver HowTo" documentation for Apache Httpd 2.4.x and Tomcat 7

Posted by Christopher Schultz <ch...@christopherschultz.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Nick,

On 7/29/13 8:59 AM, Nick Williams wrote:
> On Jul 25, 2013, at 10:59 AM, Rainer Jung wrote:
> 
>> On 25.07.2013 17:14, srinivas yelamanchili wrote:
>>> Hi, I installed Apache Httpd 2.4.6 and Tomcat 7.0.42 from
>>> source code (.tar.gz) on Redhat Linux and looking for
>>> documentation to enable AJP and connect Tomcat with Httpd using
>>> AJP/APR
>>> 
>>> I have the following questions (and please let me know where I 
>>> can post the same if this email group is the not the correct 
>>> place) :
>>> 
>>> 1. The 'Tomcat Connectors JK 1.2' Binary Releases at 
>>> http://tomcat.apache.org/download-connectors.cgi
>>> 
>>> only seem to be available for Windows (and not for Redhat 
>>> Linux). Aren't there any binary releases for unix based
>>> systems?
>> 
>> They are very easy to build on Linux. Since there are so many 
>> distributions we currently do not provide "official" binaries.
> 
> Slightly off-topic question: is this a resources limitation (y'all
>  don't have access to a build server with different agents running
> on different distros) or a time limitation (y'all don't have
> someone who can spend the time maintaining the builds)?

The ASF generally doesn't provide binaries for stuff. For instance, go
to httpd.apache.org and try to download a binary. Other than win32 and
Netware, it's source-only.

The Java world has the luxury of being bytecode-compatible so "binaries"
are made available for lots of Java-related projects (and these days,
most code available through the ASF is Java-based).

> If it's a resources limitation, I have a publicly-accessible
> TeamCity server with an unlimited OpenSource license hosting
> Windows 7, Mac OS X SLeopard/Lion/MLion, Debian, RedHat, and SuSE
> agents that I would be happy to donate some resources from. It's
> not very busy and would have plenty of time to run CI, SNAPSHOT,
> and RC builds for all of the platforms.

No, the problem is that there are so many different combinations of
platform, environment, etc. that it would represent an explosion of
options that would never meet everyone's needs.

Building mod_jk just isn't that difficult. The only legitimate
complaint that I have heard is that most responsible admins don't have
a build chain available on a production server. We solve that by
building on a test server and pushing the binaries out to our
production servers. Others may do other things.

I do know that Debian-based distros of Linux can install the
"libapache2-mod-jk" package, though it is often out-of-date with
respect to the currently-available version. Inexplicably, Red Hat does
not provide mod_jk binaries through their package manager. I'm not
sure about Suse and others.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.14 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCAAGBQJR9oeqAAoJEBzwKT+lPKRYqgIQAJoOGzj4DaGSSVBxvbirosQ9
0fm9u03CGeV1IVlpGL/Uu0Q5q2J9bGn+UkrNlw20Aa3xmKkpC8FQ+qC7Es0GYxQ9
RuAG7348XtSDsc+xiPj8FTNul8nEsFrku/lu2Bn/pVXtWhg0dR9Bzby2SjMreF5L
Deh5WCtLapIDka+38O1RBWvGTBXU3Y7fuPnY16oCuW9Pt5xB1v3c5dtbkLFuodKb
rItoKwnsZPT+YrNGziwM4uPpeKT23e1i8I38fIBrH4eHgLFQdfs2it2+SecBwcml
N5yAwtsddE+f4ru4Wi/w0K6FWMsk3bY9eVC7im6/vqJv7QaCxjH5lA0K1Fgzt+ZE
kPBk+Y4lAMgWXA3ajQPXadxR+xYbqhKEld5m0NJd1BmdwHtVq0bQvsi9gim+ZZ98
KznPi/+AZrff1X4J/P0eYGZtY5wudBe4pYYzzXDaDhmWwgMi6c085NCD6bbfUvqc
uyle2xbiWYPVmhSv9K5wBOUK88hDBaYwRb/AUdN3XIamZqdgbVtTslNkhVThb+/f
oAjM47Hjcp9zlw5Q+fMj2K7q2ryDcapRBeqUkFfwKzlVn2q2KgfH/VIUXrBoQPO+
NVex2/cDd4A8L+9bHPPacquyFftah+R3LhMyZQJAHXHSidKbL+Yfy/9lDntQWwhB
oxUzIUCmY+ifxJU7hLMT
=OKVj
-----END PGP SIGNATURE-----

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


Re: "The Apache Tomcat Connector - Webserver HowTo" documentation for Apache Httpd 2.4.x and Tomcat 7

Posted by Nick Williams <ni...@nicholaswilliams.net>.
On Jul 25, 2013, at 10:59 AM, Rainer Jung wrote:

> On 25.07.2013 17:14, srinivas yelamanchili wrote:
>> Hi,
>> I installed Apache Httpd 2.4.6 and Tomcat 7.0.42 from source code (.tar.gz) on Redhat Linux and looking for documentation to enable AJP and connect Tomcat with Httpd using AJP/APR
>> 
>> I have the following questions (and please let me know where I can post the same if this email group is the not the correct place) :
>> 
>> 1. The 'Tomcat Connectors JK 1.2' Binary Releases at
>> http://tomcat.apache.org/download-connectors.cgi
>> 
>> only seem to be available for Windows (and not for Redhat Linux).
>> Aren't there any binary releases for unix based systems?
> 
> They are very easy to build on Linux. Since there are so many
> distributions we currently do not provide "official" binaries.

Slightly off-topic question: is this a resources limitation (y'all don't have access to a build server with different agents running on different distros)  or a time limitation (y'all don't have someone who can spend the time maintaining the builds)?

If it's a resources limitation, I have a publicly-accessible TeamCity server with an unlimited OpenSource license hosting Windows 7, Mac OS X SLeopard/Lion/MLion, Debian, RedHat, and SuSE agents that I would be happy to donate some resources from. It's not very busy and would have plenty of time to run CI, SNAPSHOT, and RC builds for all of the platforms.

Just curious.

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


Re: "The Apache Tomcat Connector - Webserver HowTo" documentation for Apache Httpd 2.4.x and Tomcat 7

Posted by Rainer Jung <ra...@kippdata.de>.
On 25.07.2013 17:14, srinivas yelamanchili wrote:
> Hi,
> I installed Apache Httpd 2.4.6 and Tomcat 7.0.42 from source code (.tar.gz) on Redhat Linux and looking for documentation to enable AJP and connect Tomcat with Httpd using AJP/APR
> 
> I have the following questions (and please let me know where I can post the same if this email group is the not the correct place) :
> 
> 1. The 'Tomcat Connectors JK 1.2' Binary Releases at
> http://tomcat.apache.org/download-connectors.cgi
> 
> only seem to be available for Windows (and not for Redhat Linux).
> Aren't there any binary releases for unix based systems?

They are very easy to build on Linux. Since there are so many
distributions we currently do not provide "official" binaries.

> 2. The following documentation seem outdated, has references to Tomcat 3,4,5.5,6 but not 7.
> has references to Httpd 2.x in general and 2.2 specific but nothing specific to 2.4
> 
> The Apache Tomcat Connector - Webserver HowTo
> http://tomcat.apache.org/connectors-doc/webserver_howto/apache.html
> http://tomcat.apache.org/connectors-doc-archive/jk2/jk/aphowto.html
> 
> 'Tomcat 7' doesn't appear under the 'Supported Configuration' section
> With Tomcat 7 could the means of using and configuring JK been updated or enhanced?

I added TC 7 to the docs right now. That was an oversight. mod_jk and
AJP was supported there from day 1 (as will TC 8 be once it gets released).

Note that the jk2 docs are in the doc-archive. jk2 is a variant that is
out of support since many years. Only use mod_jk, not mod_jk2.

> The Tomcat 7 doc mentions JK 1.2.x though
> http://tomcat.apache.org/tomcat-7.0-doc/config/ajp.html
> 
> 3. Under 'Obtaining mod_jk' section of the 'Webserver HowTo' page
> "If the binary is not available, follow the instructions for building mod_jk from source"
> 
> Where are the instructions?

I added a hint to the docs. It's on the same page futher down in the
seciotns starting with "Building mod_jk".

> 4. Can the documentation pages have timestamp of 'last modified'?

Not really. The docs published on the web site always belong to the
latest mod_jk release, currently version 1.2.37. The starting page

http://tomcat.apache.org/connectors-doc/

contains the date of the release prominently.

The official repository for the docs sources is

http://svn.apache.org/viewvc/tomcat/jk/trunk/xdocs/

or when using svn directly

http://svn.apache.org/repos/asf/tomcat/jk/trunk/xdocs/

There you can always check the latest dates and the full change history.

The changes I applied right now based on your advice are

http://svn.apache.org/viewvc?view=revision&revision=r1507026

Since they are not critical they will be pushed to the public web site
once we release version 1.2.38.

Thanks for haring your observations.

Regards,

Rainer

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