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

2008-10-16 Thread James Wang
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 [EMAIL PROTECTED] 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: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




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

2008-10-16 Thread Mladen Turk

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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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

2008-10-16 Thread Martin Gainty

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=2fid=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: [EMAIL PROTECTED]
 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 [EMAIL PROTECTED] 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: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 

_
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.

2008-10-16 Thread Rainer Jung
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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

2008-10-15 Thread Mladen Turk

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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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

2008-10-15 Thread Rainer Jung
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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

2008-10-15 Thread Ken Bowen

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 

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

2008-10-15 Thread Mladen Turk

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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]