[Bug 63257] AJP connector can't handle greater than 8192 bytes

2019-03-12 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=63257

--- Comment #3 from Rainer Jung  ---
Thanks for letting us know the solution.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[GitHub] [tomcat] philwebb commented on issue #142: Defer creation of encodingToCharsetCache

2019-03-12 Thread GitBox
philwebb commented on issue #142: Defer creation of encodingToCharsetCache
URL: https://github.com/apache/tomcat/pull/142#issuecomment-472141038
 
 
   Closing in favor of #146. Thanks @markt-asf! 


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

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



[GitHub] [tomcat] philwebb closed pull request #142: Defer creation of encodingToCharsetCache

2019-03-12 Thread GitBox
philwebb closed pull request #142: Defer creation of encodingToCharsetCache
URL: https://github.com/apache/tomcat/pull/142
 
 
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

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



[Bug 63257] AJP connector can't handle greater than 8192 bytes

2019-03-12 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=63257

--- Comment #2 from jeremy.sc...@wisc.edu ---
Apologies, the first log is a STDERR burp from Apache that got mixed with
catalina.log STDERR, not catalina.log.

We did some more investigation and found that the Apache setting that enables
packets > 8192 (ProxyIOBufferSize 65536) was not going into effect because it
was wrapped in an  condition. (The module is loaded but we are
investigating why the condition isn't satisfied.) Tomcat 8.5 worked because it
never sent packets larger than 8192, even though it was allowed to, Tomcat 9 is
sending bigger packets as it is configured to. With ProxyIOBufferSize outside
of the conditional, it is now working as expected.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[GitHub] [tomcat] markt-asf commented on issue #147: Fix typo in german translation

2019-03-12 Thread GitBox
markt-asf commented on issue #147: Fix typo in german translation
URL: https://github.com/apache/tomcat/pull/147#issuecomment-472129702
 
 
   Please provide updates to the translations via:
   https://poeditor.com/projects/view?id=221603


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

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



[GitHub] [tomcat] markt-asf closed pull request #147: Fix typo in german translation

2019-03-12 Thread GitBox
markt-asf closed pull request #147: Fix typo in german translation
URL: https://github.com/apache/tomcat/pull/147
 
 
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

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



[Bug 63257] AJP connector can't handle greater than 8192 bytes

2019-03-12 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=63257

Rainer Jung  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |INVALID

--- Comment #1 from Rainer Jung  ---
Closing as invalid, since you provided only logs from the web server, not from
Tomcat. You wrote the first snippet comes from catalina.log (Tomcat) but the
contents are obviously from an httpd error log. But the contents of the first
and of the second log snippet do not belong together.

The first log snippet, seamingly the later one, indicates that this Apache web
server was not correctly configured to handle big AJP packets.

The second log snippet indicates there was a - possibly unrelated - problem of
connecting from the Apache server to the Tomcat back end.

I suggest you present your problem to the Tomcat users mailing list. You can
reopen this issue here, once the list discussion provides evidence, tha there
is a real bug.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[GitHub] [tomcat] michael-o edited a comment on issue #147: Fix typo in german translation

2019-03-12 Thread GitBox
michael-o edited a comment on issue #147: Fix typo in german translation
URL: https://github.com/apache/tomcat/pull/147#issuecomment-472068105
 
 
   Thanks for the PR. Looking at the file makes me consider to delete this file 
altogether. It is full of typos.


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

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



[GitHub] [tomcat] michael-o commented on issue #147: Fix typo in german translation

2019-03-12 Thread GitBox
michael-o commented on issue #147: Fix typo in german translation
URL: https://github.com/apache/tomcat/pull/147#issuecomment-472068105
 
 
   Thanks for the PR. Looking at the file makes me consider to delete this file 
altogether. Is is full of typos.


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

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



[Bug 63257] New: AJP connector can't handle greater than 8192 bytes

2019-03-12 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=63257

Bug ID: 63257
   Summary: AJP connector can't handle greater than 8192 bytes
   Product: Tomcat 9
   Version: 9.0.16
  Hardware: PC
OS: Linux
Status: NEW
  Severity: normal
  Priority: P2
 Component: Catalina
  Assignee: dev@tomcat.apache.org
  Reporter: jeremy.sc...@wisc.edu
  Target Milestone: -

Environment:

Tomcat 9.0.16 running under OpenJDK 11.0.2+9 on Centos 7 fronted with
Apache/2.4.6, traffic sent with AJP Proxy over localhost.

(Also tested Tomcat 8.5.38... no issue there.)

In server.xml an AJP/1.3 connector is defined with parameter:

packetSize="65536"

In Apache httpd.conf for mod_proxy_ajp:

ProxyIOBufferSize 65536

ProxyPass /app ajp://127.0.0.1:4007/app retry=3


In catalina.log:

3/11/2019 4:32:08 PM[Mon Mar 11 16:32:08.795340 2019] [proxy_ajp:error] [pid
75:tid 139745006905088] AH01081: ajp_msg_check_header() incoming message is too
big 17748, max is 8192
3/11/2019 4:32:08 PM[Mon Mar 11 16:32:08.795356 2019] [proxy_ajp:error] [pid
75:tid 139745006905088] AH01031: ajp_ilink_receive() received bad header

In httpd.log:

[Mon Mar 11 11:16:42.367789 2019] [proxy:error] [pid 77:tid 140196322473728]
(111)Connection refused: AH00957: AJP: attempt to connect to 127.0.0.1:4007
(127.0.0.1) failed
[Mon Mar 11 11:16:42.367892 2019] [proxy:error] [pid 77:tid 140196322473728]
AH00959: ap_proxy_connect_backend disabling worker for (127.0.0.1) for 3s
[Mon Mar 11 11:16:42.367905 2019] [proxy_ajp:error] [pid 77:tid
140196322473728] [client x.x.x.x:44946] AH00896: failed to make connection to
backend: 127.0.0.1
[Mon Mar 11 14:59:40.048412 2019] [proxy_ajp:error] [pid 76:tid
140195995158272] [client 128.104.17.95:4256] AH00992: ajp_read_header:
ajp_ilink_receive failed, referer: ...
[Mon Mar 11 14:59:40.048446 2019] [proxy_ajp:error] [pid 76:tid
140195995158272] (120007)APR does not understand this error code: [client
x.x.x.x:4256] AH00893: dialog to 127.0.0.1:4007 (127.0.0.1) failed, referer:
...


Does not seem to matter if we remove ProxyIOBufferSize from Apache (and letting
it default to 8192)

Small app requests under 8192 bytes work, ones over do not. Again, not an issue
in Tomcat 8.5.38.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[GitHub] [tomcat] herrlock opened a new pull request #147: Fix typo in german translation

2019-03-12 Thread GitBox
herrlock opened a new pull request #147: Fix typo in german translation
URL: https://github.com/apache/tomcat/pull/147
 
 
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

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



buildbot success in on tomcat-trunk

2019-03-12 Thread buildbot
The Buildbot has detected a restored build on builder tomcat-trunk while 
building tomcat. Full details are available at:
https://ci.apache.org/builders/tomcat-trunk/builds/4129

Buildbot URL: https://ci.apache.org/

Buildslave for this Build: silvanus_ubuntu

Build Reason: The AnyBranchScheduler scheduler named 'on-tomcat-commit' 
triggered this build
Build Source Stamp: [branch master] a808079be926a99a1c18f536ddb0c5d58567788f
Blamelist: remm 

Build succeeded!

Sincerely,
 -The Buildbot




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



[tomcat] branch master updated: Revert log level back to normal

2019-03-12 Thread remm
This is an automated email from the ASF dual-hosted git repository.

remm pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/master by this push:
 new 8b15d85  Revert log level back to normal
8b15d85 is described below

commit 8b15d85dd759c47fdcc86a1d9bdf839f64629f40
Author: remm 
AuthorDate: Tue Mar 12 09:55:53 2019 +0100

Revert log level back to normal
---
 conf/logging.properties | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/conf/logging.properties b/conf/logging.properties
index fc52083..e8b7b16 100644
--- a/conf/logging.properties
+++ b/conf/logging.properties
@@ -73,7 +73,7 @@ 
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/host-manager].ha
 #org.apache.jasper.compiler.TldLocationsCache.level = FINE
 
 # To see debug messages for HTTP/2 handling, uncomment the following line:
-org.apache.coyote.http2.level = FINE
+#org.apache.coyote.http2.level = FINE
 
 # To see debug messages for WebSocket handling, uncomment the following line:
 #org.apache.tomcat.websocket.level = FINE


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



[tomcat] branch master updated: CI run with HTTP/2 logging enabled

2019-03-12 Thread remm
This is an automated email from the ASF dual-hosted git repository.

remm pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/master by this push:
 new a808079  CI run with HTTP/2 logging enabled
a808079 is described below

commit a808079be926a99a1c18f536ddb0c5d58567788f
Author: remm 
AuthorDate: Tue Mar 12 09:49:21 2019 +0100

CI run with HTTP/2 logging enabled
---
 conf/logging.properties | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/conf/logging.properties b/conf/logging.properties
index e8b7b16..fc52083 100644
--- a/conf/logging.properties
+++ b/conf/logging.properties
@@ -73,7 +73,7 @@ 
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/host-manager].ha
 #org.apache.jasper.compiler.TldLocationsCache.level = FINE
 
 # To see debug messages for HTTP/2 handling, uncomment the following line:
-#org.apache.coyote.http2.level = FINE
+org.apache.coyote.http2.level = FINE
 
 # To see debug messages for WebSocket handling, uncomment the following line:
 #org.apache.tomcat.websocket.level = FINE


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