You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2009/03/26 20:09:47 UTC
DO NOT REPLY [Bug 46923] New: AJP/1.3 Connector code/documentation
mismatch
https://issues.apache.org/bugzilla/show_bug.cgi?id=46923
Summary: AJP/1.3 Connector code/documentation mismatch
Product: Tomcat 6
Version: 6.0.18
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Connectors
AssignedTo: dev@tomcat.apache.org
ReportedBy: jja@ucar.edu
The docs for the ajp/1.3 connector:
http://tomcat.apache.org/tomcat-6.0-doc/config/ajp.html
make it seem like there is only 1 implementation for the protocol class but
there are really 3. The docs describe the properties for the APR-enabled class
org.apache.coyote.ajp.AjpAprProtocol.
They don't mention that if APR is not initialized, the class used for
protocol="AJP/1.3" is actually org.apache.jk.server.JkCoyoteHandler which does
not have the same interface/properties as the docs describe. In particular, I
cannot use the executor, getting exceptions like:
[DATE] org.apache.catalina.startup.ConnectorCreateRule _setExecutor
WARNING: Connector [org.apache.catalina.connector.Connector@11e1e67] does not
support external executors. Method setExecutor(java.util.concurrent.Executor)
which is confusing because the docs make it sound like it works. The one
message I found on tomcat-users seemed to be confused with another issue and
ignored.
There is however the class org.apache.coyote.ajp.AjpProtocol which matches the
AjpAprProtocol interface and seems to work fine.
I suggest at least making the config/ajp.html page clear and including
JkCoyoteHandler documenation, or changing
org.apache.catalina.connector.Connector to use AjpProtocol.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 46923] AJP/1.3 Connector code/documentation
mismatch
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=46923
Mark Thomas <ma...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #1 from Mark Thomas <ma...@apache.org> 2009-03-27 05:38:06 PST ---
Fixed in trunk and 6.0.x and will be included in 6.0.20 onwards. Thanks for the
report.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org