You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Mladen Turk <mt...@apache.org> on 2008/10/15 11:35:31 UTC

[ANN] Apache Tomcat Connectors 1.2.27-dev-704800 available for testing.

The Apache Tomcat team announces the immediate availability of
Apache Tomcat Connectors 1.2.27-dev-704800 for testing.

Apache Tomcat Connectors version 1.2.27-dev contains
numerous of bug fixes over previous 1.2.26 version and lots
of new features.
The complete changelog with all fixes and new features can be found at:
http://tomcat.apache.org/dev/dist/tomcat-connectors/jk/docs/jk-1.2.27-dev-704800/miscellaneous/changelog.html

Assorted set of binaries is also available for testing at:
http://tomcat.apache.org/dev/dist/tomcat-connectors/jk/binaries/

If you find any bugs while using this test release, please fill in the
Bugzilla Bug Report or send an e-mail to Tomcat Dvelopers List.
When entering bug use the following link:
https://issues.apache.org/bugzilla/query.cgi?product=Tomcat%20Connectors

Notice:
Please do not use this version for production.
It is ment to be used for testing purposes only!


Thank you,
--
The Apache Tomcat Team

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


Re: Apache Tomcat Connectors snapshot 1.2.28-dev-752124 available for testing.

Posted by Henri Gomez <he...@gmail.com>.
I tried to build the 1.2.28 on my i5/OS system but the compile phase failed ;(

I'm investigating why

2009/3/12 sebb <se...@gmail.com>:
> On 11/03/2009, Rainer Jung <ra...@kippdata.de> wrote:
>> Hi Sebb,
>>
>>  On 10.03.2009 21:33, sebb wrote:
>>
>> > On 10/03/2009, Rainer Jung<ra...@kippdata.de>  wrote:
>> >
>> > > Hi all,
>> > >
>> > >  version 1.2.28 of mod_jk is approaching its release. A code snapshot
>> > >  (revision 752124) is available at:
>> > >
>> > >
>> http://tomcat.apache.org/dev/dist/tomcat-connectors/jk/source/jk-1.2.28-dev/
>> > >
>> > >
>> >
>> > The NOTICE file is non-standard, as it does not contain the product
>> > name or the Copyright year(s).
>> >
>> > See:
>> >
>> > http://www.apache.org/legal/src-headers.html#notice
>> >
>> > for details
>> >
>>
>>  Fixed in r752627.
>
> OK.
>
>>
>> > ===
>> >
>> > Incorrect Javadoc:
>> >
>> org.apache.jk.status.JkStatusTask.setPropertyBalancer
>> >
>>
>>  Fixed in r752629 +r752644. The whole JavaDocs are a mess though, they are
>> more or less only stubs. The Java parts of the connectors release would need
>> a bit of love.
>
> OK, point taken.
>
>>
>> > ===
>> >
>> > Findbugs reports:
>> > org.apache.jk.status.JkStatusParser.digester isn't final
>> but should be
>> >
>>
>>  I asked Peter to have a look.
>>
>
> Good.
>
> Shared mutable static fields are generally a bad idea.
>
> Even private fields are better made final if possible.
>
>>
>> > ===
>> >
>> > Some odd numbers in the code in mod_jk.c:
>> >
>> > static array_header *parse_request_log_string(pool * p, const char *s,
>> >                                               const char **err)
>> > {
>> >     array_header *a = ap_make_array(p, 15,
>> sizeof(request_log_format_item));
>> > // Why 15?
>> > ...
>> >
>>
>>  Initial size, the array will automatically grow, if needed. I first
>
> Oh, I see.
>
>> introduced a defined constant for that, and then changed my mind and
>> switched to using "0" as the initial size. Arrays and tables resize
>> automatically and this is not a critical code path w.r.t. performance.
>
> OK.
>
> <soapbox>
> I'm always wary about numbers in code - anything other than +/-1 or 0
> has the potential to be wrong or misunderstood, especially if it is
> not documented.
>
> There was recent Tomcat bug to do with timeouts where there was a bare
> number 100000 or was it 1000000? The meaning of number was/is not
> documented, so it's not trivial to check if it's correct.
>
> Much easier to understand would be something like
>
> #define 100MILLISECS_AS_MICROSECS 100000
>
> I'd like to see all numbers (apart from 0/1) expressed as defines, but
> that is perhaps asking too much.
>
> Helps document the code, and makes it much easier to change later, as
> one can distinguish numbers with the same value but different
> functions.
>
> </soapbox>
>>  r752636 + r752641.
>>
>
>> > static const char *jk_add_env_var(cmd_parms * cmd,
>> >                                   void *dummy,
>> >                                   char *env_name, char *default_value)
>> > {
>> > ...
>> >         conf->envvar_items = ap_make_array(cmd->pool, 0,
>> >                                            sizeof(envvar_item));
>> > // Why 0? This is the number of entries to create?
>> >
>>
>>  Default + automatic resize. See above.
>>
>>  Thanks for having a look.
>>
>>  Regards,
>>
>>  Rainer
>>
>>
>> ---------------------------------------------------------------------
>>  To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
>>  For additional commands, e-mail: dev-help@tomcat.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: dev-help@tomcat.apache.org
>
>

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


Re: Apache Tomcat Connectors snapshot 1.2.28-dev-752124 available for testing.

Posted by sebb <se...@gmail.com>.
On 11/03/2009, Rainer Jung <ra...@kippdata.de> wrote:
> Hi Sebb,
>
>  On 10.03.2009 21:33, sebb wrote:
>
> > On 10/03/2009, Rainer Jung<ra...@kippdata.de>  wrote:
> >
> > > Hi all,
> > >
> > >  version 1.2.28 of mod_jk is approaching its release. A code snapshot
> > >  (revision 752124) is available at:
> > >
> > >
> http://tomcat.apache.org/dev/dist/tomcat-connectors/jk/source/jk-1.2.28-dev/
> > >
> > >
> >
> > The NOTICE file is non-standard, as it does not contain the product
> > name or the Copyright year(s).
> >
> > See:
> >
> > http://www.apache.org/legal/src-headers.html#notice
> >
> > for details
> >
>
>  Fixed in r752627.

OK.

>
> > ===
> >
> > Incorrect Javadoc:
> >
> org.apache.jk.status.JkStatusTask.setPropertyBalancer
> >
>
>  Fixed in r752629 +r752644. The whole JavaDocs are a mess though, they are
> more or less only stubs. The Java parts of the connectors release would need
> a bit of love.

OK, point taken.

>
> > ===
> >
> > Findbugs reports:
> > org.apache.jk.status.JkStatusParser.digester isn't final
> but should be
> >
>
>  I asked Peter to have a look.
>

Good.

Shared mutable static fields are generally a bad idea.

Even private fields are better made final if possible.

>
> > ===
> >
> > Some odd numbers in the code in mod_jk.c:
> >
> > static array_header *parse_request_log_string(pool * p, const char *s,
> >                                               const char **err)
> > {
> >     array_header *a = ap_make_array(p, 15,
> sizeof(request_log_format_item));
> > // Why 15?
> > ...
> >
>
>  Initial size, the array will automatically grow, if needed. I first

Oh, I see.

> introduced a defined constant for that, and then changed my mind and
> switched to using "0" as the initial size. Arrays and tables resize
> automatically and this is not a critical code path w.r.t. performance.

OK.

<soapbox>
I'm always wary about numbers in code - anything other than +/-1 or 0
has the potential to be wrong or misunderstood, especially if it is
not documented.

There was recent Tomcat bug to do with timeouts where there was a bare
number 100000 or was it 1000000? The meaning of number was/is not
documented, so it's not trivial to check if it's correct.

Much easier to understand would be something like

#define 100MILLISECS_AS_MICROSECS 100000

I'd like to see all numbers (apart from 0/1) expressed as defines, but
that is perhaps asking too much.

Helps document the code, and makes it much easier to change later, as
one can distinguish numbers with the same value but different
functions.

</soapbox>
>  r752636 + r752641.
>

> > static const char *jk_add_env_var(cmd_parms * cmd,
> >                                   void *dummy,
> >                                   char *env_name, char *default_value)
> > {
> > ...
> >         conf->envvar_items = ap_make_array(cmd->pool, 0,
> >                                            sizeof(envvar_item));
> > // Why 0? This is the number of entries to create?
> >
>
>  Default + automatic resize. See above.
>
>  Thanks for having a look.
>
>  Regards,
>
>  Rainer
>
>
> ---------------------------------------------------------------------
>  To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
>  For additional commands, e-mail: dev-help@tomcat.apache.org
>
>

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


Re: Apache Tomcat Connectors snapshot 1.2.28-dev-752124 available for testing.

Posted by Rainer Jung <ra...@kippdata.de>.
Hi Sebb,

On 10.03.2009 21:33, sebb wrote:
> On 10/03/2009, Rainer Jung<ra...@kippdata.de>  wrote:
>> Hi all,
>>
>>   version 1.2.28 of mod_jk is approaching its release. A code snapshot
>>   (revision 752124) is available at:
>>
>> http://tomcat.apache.org/dev/dist/tomcat-connectors/jk/source/jk-1.2.28-dev/
>>
>
> The NOTICE file is non-standard, as it does not contain the product
> name or the Copyright year(s).
>
> See:
>
> http://www.apache.org/legal/src-headers.html#notice
>
> for details

Fixed in r752627.

> ===
>
> Incorrect Javadoc:
> org.apache.jk.status.JkStatusTask.setPropertyBalancer

Fixed in r752629 +r752644. The whole JavaDocs are a mess though, they 
are more or less only stubs. The Java parts of the connectors release 
would need a bit of love.

> ===
>
> Findbugs reports:
> org.apache.jk.status.JkStatusParser.digester isn't final but should be

I asked Peter to have a look.

> ===
>
> Some odd numbers in the code in mod_jk.c:
>
> static array_header *parse_request_log_string(pool * p, const char *s,
>                                                const char **err)
> {
>      array_header *a = ap_make_array(p, 15, sizeof(request_log_format_item));
> // Why 15?
> ...

Initial size, the array will automatically grow, if needed. I first 
introduced a defined constant for that, and then changed my mind and 
switched to using "0" as the initial size. Arrays and tables resize 
automatically and this is not a critical code path w.r.t. performance.

r752636 + r752641.

> static const char *jk_add_env_var(cmd_parms * cmd,
>                                    void *dummy,
>                                    char *env_name, char *default_value)
> {
> ...
>          conf->envvar_items = ap_make_array(cmd->pool, 0,
>                                             sizeof(envvar_item));
> // Why 0? This is the number of entries to create?

Default + automatic resize. See above.

Thanks for having a look.

Regards,

Rainer

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


Re: Apache Tomcat Connectors snapshot 1.2.28-dev-752124 available for testing.

Posted by sebb <se...@gmail.com>.
On 10/03/2009, Rainer Jung <ra...@kippdata.de> wrote:
> Hi all,
>
>  version 1.2.28 of mod_jk is approaching its release. A code snapshot
>  (revision 752124) is available at:
>
> http://tomcat.apache.org/dev/dist/tomcat-connectors/jk/source/jk-1.2.28-dev/
>

The NOTICE file is non-standard, as it does not contain the product
name or the Copyright year(s).

See:

http://www.apache.org/legal/src-headers.html#notice

for details

===

Incorrect Javadoc:
org.apache.jk.status.JkStatusTask.setPropertyBalancer

===

Findbugs reports:
org.apache.jk.status.JkStatusParser.digester isn't final but should be

===

Some odd numbers in the code in mod_jk.c:

static array_header *parse_request_log_string(pool * p, const char *s,
                                              const char **err)
{
    array_header *a = ap_make_array(p, 15, sizeof(request_log_format_item));
// Why 15?
...

static const char *jk_add_env_var(cmd_parms * cmd,
                                  void *dummy,
                                  char *env_name, char *default_value)
{
...
        conf->envvar_items = ap_make_array(cmd->pool, 0,
                                           sizeof(envvar_item));
// Why 0? This is the number of entries to create?

>  Please join us in ensuring the quality of the forthcoming release by
> testing this snapshot. The source archives are in the same format as a
> release download, so easy to build. We also provide some binaries at
>
> http://tomcat.apache.org/dev/dist/tomcat-connectors/jk/binaries/
>
>  Depending on your feedback we plan to tag the release at the end of this
> week or next week. If you find any bugs while using this snapshot, please
> fill in the Bugzilla Bug Report or send an e-mail to Tomcat Developers List.
> When entering bug use the following link:
>
> http://issues.apache.org/bugzilla/enter_bug.cgi?product=Tomcat%20Connectors
>
>  Notice:
>  Please do not use this snapshot for production.
>  It is meant to be used for testing purposes only!
>
>
>  The release will contain some bug fixes and improvements:
>
>  Features/Improvements
>  ---------------------
>
>  General:
>
>  - Add new property error_escalation_time for LB workers
>   to fine tune escalation of local errors to global errors.
>  - If the sticky session affinity mark contains a dot, an LB
>   treats the part after the dot as the domain name.
>   This allows to have full node session affinity with domain failover. -
> Allow AJP13 worker ports lower or equal to 1024.
>  - Move shm locking into the data pull and push methods.
>  - Deprecate JNI workers.
>
>  Apache:
>
>  - Add more environment variables to overwrite request information.
>   Useful in case a proxy is in front of Apache and sends us original
>   request information e.g. via custom headers.
>
>  IIS:
>
>  - Improve support for multiple Application Pools
>  - Update uriworkermap.properties file on a regular interval.
>   This requires both worker_mount_reload and watchdog_interval
>   to be defined.
>  - Remove obsolete entries from registry file.
>
>  Status-Worker:
>
>  - Allow changing worker address and port of AJP workers.
>   The address is resolved on next request for that worker.
>  - Include error time in display.
>  - Do not redirect to the show or list page, if an error occured
>   during an action.
>  - Allow update actions to show error messages in the result page.
>  - Remove redundant port information from worker display.
>   Rename address column and remove its explanation from the legend.
>  - Optimize forced uriworkermap.properties reload.
>
>  Docs:
>
>  - Add a new HowTo page about reverse proxies.
>  - Clarify IIS URL rewrite feature.
>  - Clarify relation between socket_timeout and socket_connect_timeout.
>
>
>  Fixes
>  -----
>
>  - JkWatchogInterval used a wrong interval calculation causing a
>   10 times higher watchdog interval then configured for Apache 2.x.
>  - Fix forced recovery in combination with local error states.
>  - Fix crash in text display format of status worker.
>  - Set global worker state to error in L, when we reach
>   max_reply_timeouts, or fail_on_status triggered hard error.
>  - Show - Edit - Show in status worker always ends in single
>   lb member show, even when started from all members lb show.
>  - Fix use of wildcards in sub worker names were broken for
>   update actions of status worker.
>  - BZ 46763: Survive the log mutex in Apache 2.x during graceful restart.
>  - BZ 46416: Fix building Apache 2.x on Windows: Include mstcipip.h
>   even if apr doesn't include it.
>  - BZ 46734: Fix broken links in documentation.
>  - BZ 46579: Use local environment table instead environment
>   variables for setting the JKISAPI_PATH and JKISAPI_NAME.
>  - Missing define for MAX_PATH on Netware
>  - BZ 46352: Fix crash in Apache, when using SetHandler jakarta-servlet
>   in VHost without any JkMount.
>  - BZ 46169: Backport use_server_errors mount extension to Apache 1.3.
>  - Add 2008 news to main documentation page and documentation menues.
>
>  Furthermore there have been some minor code refactorings in the load
> balancer error handling.
>
>
>  At the URL
>
> http://tomcat.apache.org/dev/dist/tomcat-connectors/jk/docs/jk-1.2.28-dev/
>
>  you can find the updated documentation.
>
>  The full change log is available under:
>
> http://tomcat.apache.org/dev/dist/tomcat-connectors/jk/docs/jk-1.2.28-dev/miscellaneous/changelog.html
>
>  Thank you,
>  --
>  The Apache Tomcat Team
>
>
> ---------------------------------------------------------------------
>  To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
>  For additional commands, e-mail: dev-help@tomcat.apache.org
>
>

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


Apache Tomcat Connectors snapshot 1.2.28-dev-752124 available for testing.

Posted by Rainer Jung <ra...@kippdata.de>.
Hi all,

version 1.2.28 of mod_jk is approaching its release. A code snapshot
(revision 752124) is available at:

http://tomcat.apache.org/dev/dist/tomcat-connectors/jk/source/jk-1.2.28-dev/

Please join us in ensuring the quality of the forthcoming release by 
testing this snapshot. The source archives are in the same format as a 
release download, so easy to build. We also provide some binaries at

http://tomcat.apache.org/dev/dist/tomcat-connectors/jk/binaries/

Depending on your feedback we plan to tag the release at the end of this 
week or next week. If you find any bugs while using this snapshot, 
please fill in the Bugzilla Bug Report or send an e-mail to Tomcat 
Developers List. When entering bug use the following link:

http://issues.apache.org/bugzilla/enter_bug.cgi?product=Tomcat%20Connectors

Notice:
Please do not use this snapshot for production.
It is meant to be used for testing purposes only!


The release will contain some bug fixes and improvements:

Features/Improvements
---------------------

General:

- Add new property error_escalation_time for LB workers
   to fine tune escalation of local errors to global errors.
- If the sticky session affinity mark contains a dot, an LB
   treats the part after the dot as the domain name.
   This allows to have full node session affinity with domain failover. 
- Allow AJP13 worker ports lower or equal to 1024.
- Move shm locking into the data pull and push methods.
- Deprecate JNI workers.

Apache:

- Add more environment variables to overwrite request information.
   Useful in case a proxy is in front of Apache and sends us original
   request information e.g. via custom headers.

IIS:

- Improve support for multiple Application Pools
- Update uriworkermap.properties file on a regular interval.
   This requires both worker_mount_reload and watchdog_interval
   to be defined.
- Remove obsolete entries from registry file.

Status-Worker:

- Allow changing worker address and port of AJP workers.
   The address is resolved on next request for that worker.
- Include error time in display.
- Do not redirect to the show or list page, if an error occured
   during an action.
- Allow update actions to show error messages in the result page.
- Remove redundant port information from worker display.
   Rename address column and remove its explanation from the legend.
- Optimize forced uriworkermap.properties reload.

Docs:

- Add a new HowTo page about reverse proxies.
- Clarify IIS URL rewrite feature.
- Clarify relation between socket_timeout and socket_connect_timeout.


Fixes
-----

- JkWatchogInterval used a wrong interval calculation causing a
   10 times higher watchdog interval then configured for Apache 2.x.
- Fix forced recovery in combination with local error states.
- Fix crash in text display format of status worker.
- Set global worker state to error in L, when we reach
   max_reply_timeouts, or fail_on_status triggered hard error.
- Show - Edit - Show in status worker always ends in single
   lb member show, even when started from all members lb show.
- Fix use of wildcards in sub worker names were broken for
   update actions of status worker.
- BZ 46763: Survive the log mutex in Apache 2.x during graceful restart.
- BZ 46416: Fix building Apache 2.x on Windows: Include mstcipip.h
   even if apr doesn't include it.
- BZ 46734: Fix broken links in documentation.
- BZ 46579: Use local environment table instead environment
   variables for setting the JKISAPI_PATH and JKISAPI_NAME.
- Missing define for MAX_PATH on Netware
- BZ 46352: Fix crash in Apache, when using SetHandler jakarta-servlet
   in VHost without any JkMount.
- BZ 46169: Backport use_server_errors mount extension to Apache 1.3.
- Add 2008 news to main documentation page and documentation menues.

Furthermore there have been some minor code refactorings in the load 
balancer error handling.


At the URL

http://tomcat.apache.org/dev/dist/tomcat-connectors/jk/docs/jk-1.2.28-dev/

you can find the updated documentation.

The full change log is available under:

http://tomcat.apache.org/dev/dist/tomcat-connectors/jk/docs/jk-1.2.28-dev/miscellaneous/changelog.html

Thank you,
-- 
The Apache Tomcat Team


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


Re: [ANN] Apache Tomcat Connectors 1.2.27-dev-704800 available for testing.

Posted by Mladen Turk <mt...@apache.org>.
Ken Bowen wrote:
> Is there anywhere a description of what mod_jk does that is NOT done by 
> mod_proxy_ajp and mod_proxy_balancer?
>

You might find this useful
http://blogs.jboss.com/blog/mturk/


> Also, does this release imply a corresponding release of mod_jk?
> 

Yes. This is basically 1.2.27 we'll release.

Regards
-- 
^(TM)

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


Re: [ANN] Apache Tomcat Connectors 1.2.27-dev-704800 available for testing.

Posted by Ken Bowen <kb...@als.com>.
Rainer,

The connectors FAQ  (http://tomcat.apache.org/connectors-doc/miscellaneous/faq.html 
  )states:

mod_jk works well with Apache 2.2. You need a binary module compiled  
for version 2.2 of the Apache web server. A binary compiled for  
version 2.0 will not work.
Important parts of the functionality of mod_jk have been reimplemented  
as Apache httpd modules mod_proxy_ajp and mod_proxy_balancer. These  
are part of the standard distributoin of Apache 2.2. The new modules  
do not contain all features of mod_jk, but you get them automatically  
with every Apache 2.2.
Is there anywhere a description of what mod_jk does that is NOT done  
by mod_proxy_ajp and mod_proxy_balancer?

Also, does this release imply a corresponding release of mod_jk?

Thanks,

Ken







On Oct 15, 2008, at 4:04 PM, Rainer Jung wrote:

> Please join us in ensuring the quality of the forthcoming release by
> testing this snapshot. The source archives are in the same format as a
> release download, so easy to build.
>
> The last release is already 10 months old and there were important
> changes in the meantime. We hope we can make you interested in testing
> by the following list of improvements:
>
> Features/Improvements
> ---------------------
>
> General:
>
> - New optional watchdog thread (Apache/IIS) doing internal maintenance
>  (idle connection checks, backend probing).
>  See JkWatchdogInternal (Apache) and watchdog_interval (IIS).
> - Added session_cookie and session_path for configuring session
>  identifiers.
> - Add extension attributes to uri worker map (Apache/IIS). Allowed  
> are:
>    - reply_timeout
>    - active/disabled/stopped
>    - fail_on_status
>    - use_server_errors
>  which can now be used per mount and not only per worker.
> - New communication configuration directives:
>    - socket_connect_timeout
>    - connection_acquire_timeout
>    - retry_interval time
>    - connection_ping_interval, ping_timeout and ping_mode
> - Allow using web server error pages.
> - Automatically determine needed shm size
>
> Apache:
>
> - Allow dynamic setting of reply timeout using the environment
>  variable JK_REPLY_TIMEOUT.
>
> IIS:
>
> - Basic support for multiple Webs in one Application Pool
> - Basic support for multiple Application Pools
> - Use environment variables JKISAPI_PATH (Full path to the ISAPI
>  Redirector) and JKISAPI_NAME (Name of the ISAPI Redirector dll
>  without extension) in attribute values of the redirector .properties
>  file (Example: log_file=$(ISAPI_PATH)\$(ISAPI_NAME).log)
> - New attribute error_page which can contain a full URL used
>  as a redirect URL when an error occurs. Any "%d" in error_page will  
> be
>  replaced by the HTTP status code of the error.
> - New boolean attribute enable_chunked_encoding to allow chunked
>  encoding of HTTP responses. This is currently considered  
> experimental.
>  To be able to use it, you need to build the isapi redirector with
>  an additional define "ISAPI_ALLOW_CHUNKING".
> - Use raw headers instead of CGI headers. Fixes problem
>  "underscore=dash" problem in header names. This is currently
>  considered experimental.
>  To be able to use it, you need to build the isapi redirector with
>  an additional define "USE_RAW_HEADERS".
> - Improved IIS event detection. This also imporoves IIS 5.1
>  compatibility. It is currently considered experimental.
>  To be able to use it, you need to build the isapi redirector with
>  an additional define "AUTOMATIC_AUTH_NOTIFICATION".
>
> Status-Worker:
>
> - Add manageability and statistics counters for simple ajp workers and
>  ajp lb members.
> - Add display of seconds since last statistics reset and
>  access and transfer rates.
> - Add "dump" action.
> - Allow showing only a single member for a load balancer.
> - Include server local time in output.
> - Improve XSS hardening.
> - Layout changes.
>
> Build:
>
> - Improve Cygwin build.
> - Don't use post httpd 2.2.0 API functions when building with new
>  --enable-api-compatibility configure switch.
> - Use correct ld flags provided by apxs when building module.
>  Prevents some crashes on AIX for httpd 1.3 module.
>
> Docs
> ----
>
> - Various minor additions.
>
> Fixes
> -----
>
> - BZ 36385: Add missing prepost cping/cpong directly after connect
>  in case prepost cping is used, but no connect cping.
> - BZ 44116: Fix handling of multiple JSESSIONID cookies.
> - BZ 44147: Multiple load balancing workers problem.
> - BZ 44738: Fix merging of JkOption ForwardURI* between virtual hosts.
> - BZ 45026: For Apache httpd 2.x add "Unknown Reason" as the
>  reason phrase, if we get an empty one from the backend.
>  Otherwise httpd 2.x returns status 500.
> - BZ 45812: Add done() service method that causes sending EOS bucket
>  for Apache httpd 2.x. This allows filter chain to work properly.
> - Improved thread safety on some platforms, especially AIX
> - Fix IIS memory corruption due to parallel initialization by
>  multiple threads.
> - Set lb_factor instead of distance in status worker.
> - JkAutoAlias does not work in combination with JkMountCopy if there
>  are no JkMount in virtual host.
> - Make dynamic URI map reloading atomic and free memory not needed
>  any longer.
> - Always send initial POST packet even if the client disconnected.
>
> Furthermore there have been a couple of additional code refactorings.
>
> Thank you,
> -- 
> The Apache Tomcat Team
>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>


Re: [ANN] Apache Tomcat Connectors 1.2.27-dev-704800 available for testing.

Posted by Rainer Jung <ra...@kippdata.de>.
Please join us in ensuring the quality of the forthcoming release by
testing this snapshot. The source archives are in the same format as a
release download, so easy to build.

The last release is already 10 months old and there were important
changes in the meantime. We hope we can make you interested in testing
by the following list of improvements:

Features/Improvements
---------------------

General:

- New optional watchdog thread (Apache/IIS) doing internal maintenance
  (idle connection checks, backend probing).
  See JkWatchdogInternal (Apache) and watchdog_interval (IIS).
- Added session_cookie and session_path for configuring session
  identifiers.
- Add extension attributes to uri worker map (Apache/IIS). Allowed are:
    - reply_timeout
    - active/disabled/stopped
    - fail_on_status
    - use_server_errors
  which can now be used per mount and not only per worker.
- New communication configuration directives:
    - socket_connect_timeout
    - connection_acquire_timeout
    - retry_interval time
    - connection_ping_interval, ping_timeout and ping_mode
- Allow using web server error pages.
- Automatically determine needed shm size

Apache:

- Allow dynamic setting of reply timeout using the environment
  variable JK_REPLY_TIMEOUT.

IIS:

- Basic support for multiple Webs in one Application Pool
- Basic support for multiple Application Pools
- Use environment variables JKISAPI_PATH (Full path to the ISAPI
  Redirector) and JKISAPI_NAME (Name of the ISAPI Redirector dll
  without extension) in attribute values of the redirector .properties
  file (Example: log_file=$(ISAPI_PATH)\$(ISAPI_NAME).log)
- New attribute error_page which can contain a full URL used
  as a redirect URL when an error occurs. Any "%d" in error_page will be
  replaced by the HTTP status code of the error.
- New boolean attribute enable_chunked_encoding to allow chunked
  encoding of HTTP responses. This is currently considered experimental.
  To be able to use it, you need to build the isapi redirector with
  an additional define "ISAPI_ALLOW_CHUNKING".
- Use raw headers instead of CGI headers. Fixes problem
  "underscore=dash" problem in header names. This is currently
  considered experimental.
  To be able to use it, you need to build the isapi redirector with
  an additional define "USE_RAW_HEADERS".
- Improved IIS event detection. This also imporoves IIS 5.1
  compatibility. It is currently considered experimental.
  To be able to use it, you need to build the isapi redirector with
  an additional define "AUTOMATIC_AUTH_NOTIFICATION".

Status-Worker:

- Add manageability and statistics counters for simple ajp workers and
  ajp lb members.
- Add display of seconds since last statistics reset and
  access and transfer rates.
- Add "dump" action.
- Allow showing only a single member for a load balancer.
- Include server local time in output.
- Improve XSS hardening.
- Layout changes.

Build:

- Improve Cygwin build.
- Don't use post httpd 2.2.0 API functions when building with new
  --enable-api-compatibility configure switch.
- Use correct ld flags provided by apxs when building module.
  Prevents some crashes on AIX for httpd 1.3 module.

Docs
----

- Various minor additions.

Fixes
-----

- BZ 36385: Add missing prepost cping/cpong directly after connect
  in case prepost cping is used, but no connect cping.
- BZ 44116: Fix handling of multiple JSESSIONID cookies.
- BZ 44147: Multiple load balancing workers problem.
- BZ 44738: Fix merging of JkOption ForwardURI* between virtual hosts.
- BZ 45026: For Apache httpd 2.x add "Unknown Reason" as the
  reason phrase, if we get an empty one from the backend.
  Otherwise httpd 2.x returns status 500.
- BZ 45812: Add done() service method that causes sending EOS bucket
  for Apache httpd 2.x. This allows filter chain to work properly.
- Improved thread safety on some platforms, especially AIX
- Fix IIS memory corruption due to parallel initialization by
  multiple threads.
- Set lb_factor instead of distance in status worker.
- JkAutoAlias does not work in combination with JkMountCopy if there
  are no JkMount in virtual host.
- Make dynamic URI map reloading atomic and free memory not needed
  any longer.
- Always send initial POST packet even if the client disconnected.

Furthermore there have been a couple of additional code refactorings.

Thank you,
-- 
The Apache Tomcat Team


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


Re: [ANN] Apache Tomcat Connectors 1.2.27-dev-704800 available for testing.

Posted by Rainer Jung <ra...@kippdata.de>.
One problem has already been found and fixed. There is a new source
tarball available under

http://tomcat.apache.org/dev/dist/tomcat-connectors/jk/source/jk-1.2.27-dev-705300/

The new extension feature has also been added to the docs:

http://tomcat.apache.org/dev/dist/tomcat-connectors/jk/docs/jk-1.2.27-dev-705300/reference/uriworkermap.html

The available binaries (mostly for Windows) are not yet updated, but
will most likely get updated tomorrow:

http://tomcat.apache.org/dev/dist/tomcat-connectors/jk/binaries/

We encourage you to build the sources yourself. The provided source
tarball builds in exactly the same way, an official release does.

If you find any bugs while using this test release, please fill in a
Bugzilla Bug Report or send an e-mail to Tomcat Developers List.

When entering a bug use the following link:

https://issues.apache.org/bugzilla/query.cgi?product=Tomcat%20Connectors

Notice:
Please do not use this version for production.
It is ment to be used for testing purposes only!

Thank you,
-- 
The Apache Tomcat Team


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


Re: [ANN] Apache Tomcat Connectors 1.2.27-dev-704800 available for testing.

Posted by Rainer Jung <ra...@kippdata.de>.
One problem has already been found and fixed. There is a new source
tarball available under

http://tomcat.apache.org/dev/dist/tomcat-connectors/jk/source/jk-1.2.27-dev-705300/

The new extension feature has also been added to the docs:

http://tomcat.apache.org/dev/dist/tomcat-connectors/jk/docs/jk-1.2.27-dev-705300/reference/uriworkermap.html

The available binaries (mostly for Windows) are not yet updated, but
will most likely get updated tomorrow:

http://tomcat.apache.org/dev/dist/tomcat-connectors/jk/binaries/

We encourage you to build the sources yourself. The provided source
tarball builds in exactly the same way, an official release does.

If you find any bugs while using this test release, please fill in a
Bugzilla Bug Report or send an e-mail to Tomcat Developers List.

When entering a bug use the following link:

https://issues.apache.org/bugzilla/query.cgi?product=Tomcat%20Connectors

Notice:
Please do not use this version for production.
It is ment to be used for testing purposes only!

Thank you,
-- 
The Apache Tomcat Team


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


Apache Tomcat Connectors snapshot 1.2.28-dev-752124 available for testing.

Posted by Rainer Jung <ra...@kippdata.de>.
Hi all,

version 1.2.28 of mod_jk is approaching its release. A code snapshot
(revision 752124) is available at:

http://tomcat.apache.org/dev/dist/tomcat-connectors/jk/source/jk-1.2.28-dev/

Please join us in ensuring the quality of the forthcoming release by 
testing this snapshot. The source archives are in the same format as a 
release download, so easy to build. We also provide some binaries at

http://tomcat.apache.org/dev/dist/tomcat-connectors/jk/binaries/

Depending on your feedback we plan to tag the release at the end of this 
week or next week. If you find any bugs while using this snapshot, 
please fill in the Bugzilla Bug Report or send an e-mail to Tomcat 
Developers List. When entering bug use the following link:

http://issues.apache.org/bugzilla/enter_bug.cgi?product=Tomcat%20Connectors

Notice:
Please do not use this snapshot for production.
It is meant to be used for testing purposes only!


The release will contain some bug fixes and improvements:

Features/Improvements
---------------------

General:

- Add new property error_escalation_time for LB workers
   to fine tune escalation of local errors to global errors.
- If the sticky session affinity mark contains a dot, an LB
   treats the part after the dot as the domain name.
   This allows to have full node session affinity with domain failover. 
- Allow AJP13 worker ports lower or equal to 1024.
- Move shm locking into the data pull and push methods.
- Deprecate JNI workers.

Apache:

- Add more environment variables to overwrite request information.
   Useful in case a proxy is in front of Apache and sends us original
   request information e.g. via custom headers.

IIS:

- Improve support for multiple Application Pools
- Update uriworkermap.properties file on a regular interval.
   This requires both worker_mount_reload and watchdog_interval
   to be defined.
- Remove obsolete entries from registry file.

Status-Worker:

- Allow changing worker address and port of AJP workers.
   The address is resolved on next request for that worker.
- Include error time in display.
- Do not redirect to the show or list page, if an error occured
   during an action.
- Allow update actions to show error messages in the result page.
- Remove redundant port information from worker display.
   Rename address column and remove its explanation from the legend.
- Optimize forced uriworkermap.properties reload.

Docs:

- Add a new HowTo page about reverse proxies.
- Clarify IIS URL rewrite feature.
- Clarify relation between socket_timeout and socket_connect_timeout.


Fixes
-----

- JkWatchogInterval used a wrong interval calculation causing a
   10 times higher watchdog interval then configured for Apache 2.x.
- Fix forced recovery in combination with local error states.
- Fix crash in text display format of status worker.
- Set global worker state to error in L, when we reach
   max_reply_timeouts, or fail_on_status triggered hard error.
- Show - Edit - Show in status worker always ends in single
   lb member show, even when started from all members lb show.
- Fix use of wildcards in sub worker names were broken for
   update actions of status worker.
- BZ 46763: Survive the log mutex in Apache 2.x during graceful restart.
- BZ 46416: Fix building Apache 2.x on Windows: Include mstcipip.h
   even if apr doesn't include it.
- BZ 46734: Fix broken links in documentation.
- BZ 46579: Use local environment table instead environment
   variables for setting the JKISAPI_PATH and JKISAPI_NAME.
- Missing define for MAX_PATH on Netware
- BZ 46352: Fix crash in Apache, when using SetHandler jakarta-servlet
   in VHost without any JkMount.
- BZ 46169: Backport use_server_errors mount extension to Apache 1.3.
- Add 2008 news to main documentation page and documentation menues.

Furthermore there have been some minor code refactorings in the load 
balancer error handling.


At the URL

http://tomcat.apache.org/dev/dist/tomcat-connectors/jk/docs/jk-1.2.28-dev/

you can find the updated documentation.

The full change log is available under:

http://tomcat.apache.org/dev/dist/tomcat-connectors/jk/docs/jk-1.2.28-dev/miscellaneous/changelog.html

Thank you,
-- 
The Apache Tomcat Team


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


Re: [ANN] Apache Tomcat Connectors 1.2.27-dev-704800 available for testing.

Posted by Mladen Turk <mt...@apache.org>.
James Wang wrote:
> Hi Mladen,
> We have been having a problem with the AJP connector for a while, sometimes

Please do not hijack threads ;)
It's not related the subject, so just post a question on a new thread,
with explanatory title and giving as much data as you can.

Regards
-- 
^(TM)

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


RE: [ANN] Apache Tomcat Connectors 1.2.27-dev-704800 available for testing.

Posted by Martin Gainty <mg...@hotmail.com>.
Good Morning James-

Do you see the same behaviour with the headers or do you see this behaviour with just the body?
With regards to the body
what happens if you post a content-type to something other than html
http://myuminfo.umanitoba.ca/help.asp?eve=2&fid=254

Thanks,
Martin 
______________________________________________ 
Disclaimer and confidentiality note 
Everything in this e-mail and any attachments relates to the official business of Sender. This transmission is of a confidential nature and Sender does not endorse distribution to any party other than intended recipient. Sender does not necessarily endorse content contained within this transmission. 


> Date: Thu, 16 Oct 2008 15:47:20 +0800
> From: wangwenpin@gmail.com
> To: users@tomcat.apache.org
> Subject: Re: [ANN] Apache Tomcat Connectors 1.2.27-dev-704800 available for testing.
> 
> Hi Mladen,
> We have been having a problem with the AJP connector for a while, sometimes
> it gets stuck on the begin of receiving the post body until AJP connector
> read timeout, don't know if it's related to mod_jk or apached httpd server
> or Client side browser issues.Because of the missing body part, it causes
> the JSP/Servlet programs fail to get the parameters, following is my
> finding for your reference :
> 
> 1. if we set keepAliveTimeout to 15 seconds then it occurs 400 times/day in
> average.
> 2. if we set keepAliveTimeout to 5 seconds then it occurs 900 times/day in
> average.
> 3. if we disbale the keepAlive in Apache httd server then it occurs 66
> times/day only.
> 
> It looks like it related the KeepAlive issue, but I learned from another
> thread I post on the Tomcat User mail-list, said that this problem can be
> resolved by using Tomcat http connector instead, Please have a check.
> 
> Thanks.
> James Wang.
> 
> On Wed, Oct 15, 2008 at 5:35 PM, Mladen Turk <mt...@apache.org> wrote:
> 
> > The Apache Tomcat team announces the immediate availability of
> > Apache Tomcat Connectors 1.2.27-dev-704800 for testing.
> >
> > Apache Tomcat Connectors version 1.2.27-dev contains
> > numerous of bug fixes over previous 1.2.26 version and lots
> > of new features.
> > The complete changelog with all fixes and new features can be found at:
> >
> > http://tomcat.apache.org/dev/dist/tomcat-connectors/jk/docs/jk-1.2.27-dev-704800/miscellaneous/changelog.html
> >
> > Assorted set of binaries is also available for testing at:
> > http://tomcat.apache.org/dev/dist/tomcat-connectors/jk/binaries/
> >
> > If you find any bugs while using this test release, please fill in the
> > Bugzilla Bug Report or send an e-mail to Tomcat Dvelopers List.
> > When entering bug use the following link:
> > https://issues.apache.org/bugzilla/query.cgi?product=Tomcat%20Connectors
> >
> > Notice:
> > Please do not use this version for production.
> > It is ment to be used for testing purposes only!
> >
> >
> > Thank you,
> > --
> > The Apache Tomcat Team
> >
> > ---------------------------------------------------------------------
> > To start a new topic, e-mail: users@tomcat.apache.org
> > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> > For additional commands, e-mail: users-help@tomcat.apache.org
> >
> >

_________________________________________________________________
Stay organized with simple drag and drop from Windows Live Hotmail.
http://windowslive.com/Explore/hotmail?ocid=TXT_TAGLM_WL_hotmail_102008

Re: [ANN] Apache Tomcat Connectors 1.2.27-dev-704800 available for testing.

Posted by James Wang <wa...@gmail.com>.
Hi Mladen,
We have been having a problem with the AJP connector for a while, sometimes
it gets stuck on the begin of receiving the post body until AJP connector
read timeout, don't know if it's related to mod_jk or apached httpd server
or Client side browser issues.Because of the missing body part, it causes
the JSP/Servlet programs fail to get the parameters, following is my
finding for your reference :

1. if we set keepAliveTimeout to 15 seconds then it occurs 400 times/day in
average.
2. if we set keepAliveTimeout to 5 seconds then it occurs 900 times/day in
average.
3. if we disbale the keepAlive in Apache httd server then it occurs 66
times/day only.

It looks like it related the KeepAlive issue, but I learned from another
thread I post on the Tomcat User mail-list, said that this problem can be
resolved by using Tomcat http connector instead, Please have a check.

Thanks.
James Wang.

On Wed, Oct 15, 2008 at 5:35 PM, Mladen Turk <mt...@apache.org> wrote:

> The Apache Tomcat team announces the immediate availability of
> Apache Tomcat Connectors 1.2.27-dev-704800 for testing.
>
> Apache Tomcat Connectors version 1.2.27-dev contains
> numerous of bug fixes over previous 1.2.26 version and lots
> of new features.
> The complete changelog with all fixes and new features can be found at:
>
> http://tomcat.apache.org/dev/dist/tomcat-connectors/jk/docs/jk-1.2.27-dev-704800/miscellaneous/changelog.html
>
> Assorted set of binaries is also available for testing at:
> http://tomcat.apache.org/dev/dist/tomcat-connectors/jk/binaries/
>
> If you find any bugs while using this test release, please fill in the
> Bugzilla Bug Report or send an e-mail to Tomcat Dvelopers List.
> When entering bug use the following link:
> https://issues.apache.org/bugzilla/query.cgi?product=Tomcat%20Connectors
>
> Notice:
> Please do not use this version for production.
> It is ment to be used for testing purposes only!
>
>
> Thank you,
> --
> The Apache Tomcat Team
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

Re: [ANN] Apache Tomcat Connectors 1.2.27-dev-704800 available for testing.

Posted by Rainer Jung <ra...@kippdata.de>.
Please join us in ensuring the quality of the forthcoming release by
testing this snapshot. The source archives are in the same format as a
release download, so easy to build.

The last release is already 10 months old and there were important
changes in the meantime. We hope we can make you interested in testing
by the following list of improvements:

Features/Improvements
---------------------

General:

- New optional watchdog thread (Apache/IIS) doing internal maintenance
  (idle connection checks, backend probing).
  See JkWatchdogInternal (Apache) and watchdog_interval (IIS).
- Added session_cookie and session_path for configuring session
  identifiers.
- Add extension attributes to uri worker map (Apache/IIS). Allowed are:
    - reply_timeout
    - active/disabled/stopped
    - fail_on_status
    - use_server_errors
  which can now be used per mount and not only per worker.
- New communication configuration directives:
    - socket_connect_timeout
    - connection_acquire_timeout
    - retry_interval time
    - connection_ping_interval, ping_timeout and ping_mode
- Allow using web server error pages.
- Automatically determine needed shm size

Apache:

- Allow dynamic setting of reply timeout using the environment
  variable JK_REPLY_TIMEOUT.

IIS:

- Basic support for multiple Webs in one Application Pool
- Basic support for multiple Application Pools
- Use environment variables JKISAPI_PATH (Full path to the ISAPI
  Redirector) and JKISAPI_NAME (Name of the ISAPI Redirector dll
  without extension) in attribute values of the redirector .properties
  file (Example: log_file=$(ISAPI_PATH)\$(ISAPI_NAME).log)
- New attribute error_page which can contain a full URL used
  as a redirect URL when an error occurs. Any "%d" in error_page will be
  replaced by the HTTP status code of the error.
- New boolean attribute enable_chunked_encoding to allow chunked
  encoding of HTTP responses. This is currently considered experimental.
  To be able to use it, you need to build the isapi redirector with
  an additional define "ISAPI_ALLOW_CHUNKING".
- Use raw headers instead of CGI headers. Fixes problem
  "underscore=dash" problem in header names. This is currently
  considered experimental.
  To be able to use it, you need to build the isapi redirector with
  an additional define "USE_RAW_HEADERS".
- Improved IIS event detection. This also imporoves IIS 5.1
  compatibility. It is currently considered experimental.
  To be able to use it, you need to build the isapi redirector with
  an additional define "AUTOMATIC_AUTH_NOTIFICATION".

Status-Worker:

- Add manageability and statistics counters for simple ajp workers and
  ajp lb members.
- Add display of seconds since last statistics reset and
  access and transfer rates.
- Add "dump" action.
- Allow showing only a single member for a load balancer.
- Include server local time in output.
- Improve XSS hardening.
- Layout changes.

Build:

- Improve Cygwin build.
- Don't use post httpd 2.2.0 API functions when building with new
  --enable-api-compatibility configure switch.
- Use correct ld flags provided by apxs when building module.
  Prevents some crashes on AIX for httpd 1.3 module.

Docs
----

- Various minor additions.

Fixes
-----

- BZ 36385: Add missing prepost cping/cpong directly after connect
  in case prepost cping is used, but no connect cping.
- BZ 44116: Fix handling of multiple JSESSIONID cookies.
- BZ 44147: Multiple load balancing workers problem.
- BZ 44738: Fix merging of JkOption ForwardURI* between virtual hosts.
- BZ 45026: For Apache httpd 2.x add "Unknown Reason" as the
  reason phrase, if we get an empty one from the backend.
  Otherwise httpd 2.x returns status 500.
- BZ 45812: Add done() service method that causes sending EOS bucket
  for Apache httpd 2.x. This allows filter chain to work properly.
- Improved thread safety on some platforms, especially AIX
- Fix IIS memory corruption due to parallel initialization by
  multiple threads.
- Set lb_factor instead of distance in status worker.
- JkAutoAlias does not work in combination with JkMountCopy if there
  are no JkMount in virtual host.
- Make dynamic URI map reloading atomic and free memory not needed
  any longer.
- Always send initial POST packet even if the client disconnected.

Furthermore there have been a couple of additional code refactorings.

Thank you,
-- 
The Apache Tomcat Team


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