[Bug 60297] Tomcat.setConnector not using supplied connector

2016-10-25 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=60297 --- Comment #3 from Remy Maucherat --- That already works, except there's no AprLifecycleListener. It's the same as the regular configuration, which has it in server.xml. Remove it and there won't be an APR connector used automatically. -- Yo

svn commit: r1766514 - in /tomcat/trunk: java/org/apache/catalina/startup/Tomcat.java webapps/docs/changelog.xml

2016-10-25 Thread remm
Author: remm Date: Tue Oct 25 11:34:16 2016 New Revision: 1766514 URL: http://svn.apache.org/viewvc?rev=1766514&view=rev Log: 60297: Improve connector handling in embedded mode. Modified: tomcat/trunk/java/org/apache/catalina/startup/Tomcat.java tomcat/trunk/webapps/docs/changelog.xml Mo

[Bug 60297] Tomcat.setConnector not using supplied connector

2016-10-25 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=60297 --- Comment #4 from Axel U --- Ok. -- You are receiving this mail because: You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For

svn commit: r1766521 - in /tomcat/tc8.5.x/trunk: ./ java/org/apache/catalina/startup/Tomcat.java webapps/docs/changelog.xml

2016-10-25 Thread remm
Author: remm Date: Tue Oct 25 11:52:00 2016 New Revision: 1766521 URL: http://svn.apache.org/viewvc?rev=1766521&view=rev Log: 60297: Improve connector handling in embedded mode. Modified: tomcat/tc8.5.x/trunk/ (props changed) tomcat/tc8.5.x/trunk/java/org/apache/catalina/startup/Tomcat.

[Bug 60297] Tomcat.setConnector not using supplied connector

2016-10-25 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=60297 Remy Maucherat changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[GUMP@vmgump]: Project tomcat-tc7.0.x-test-apr (in module tomcat-7.0.x) failed

2016-10-25 Thread Bill Barker
/dist/commons-daemon-20161025.jar -Dtomcat-dbcp-src.jar=/srv/gump/public/workspace/tomcat-7.0.x/tomcat-deps/tomcat-dbcp-src.jar -Dtomcat-dbcp.home=/srv/gump/public/workspace/tomcat-7.0.x/tomcat-deps -Dtest.excludePerformance=true -Dhamcrest.jar=/srv/gump/packages/hamcrest/hamcrest-core-1.3.jar -Dco

TC 8.5 and Log4J2 via Juli: Wrong location info

2016-10-25 Thread Rainer Jung
Hi everyone, when using TC 8.5 with the Log4J2 jul bridge the location info in the Log4J output points to the juli class DirectJDKLog instead of the Tomcat class with the juli log call. Only the category/logger name is correct: %c: org.apache.catalina.core.StandardServer (Example, correct) %C

Re: TC 8.5 and Log4J2 via Juli: Wrong location info

2016-10-25 Thread Mark Thomas
On 25/10/2016 14:17, Rainer Jung wrote: > Hi everyone, > > when using TC 8.5 with the Log4J2 jul bridge the location info in the > Log4J output points to the juli class DirectJDKLog instead of the Tomcat > class with the juli log call. Only the category/logger name is correct: > > %c: org.apache.

Re: TC 8.5 and Log4J2 via Juli: Wrong location info

2016-10-25 Thread Romain Manni-Bucau
Hi guys, since now tomcat has Log API as a SPI doing 2 is easy ( http://svn.apache.org/repos/asf/openwebbeans/microwave/trunk/microwave-core/src/main/java/org/apache/microwave/logging/tomcat/Log4j2Log.java) and just a drop-in jar setup so not sure it needs to be in tomcat default delivery. Romai

Re: TC 8.5 and Log4J2 via Juli: Wrong location info

2016-10-25 Thread Rémy Maucherat
2016-10-25 15:33 GMT+02:00 Romain Manni-Bucau : > Hi guys, > > since now tomcat has Log API as a SPI doing 2 is easy ( > http://svn.apache.org/repos/asf/openwebbeans/microwave/ > trunk/microwave-core/src/main/java/org/apache/microwave/ > logging/tomcat/Log4j2Log.java) > and > just a drop-in jar se

svn commit: r1766533 - in /tomcat/trunk: java/org/apache/coyote/ java/org/apache/coyote/http2/ test/org/apache/coyote/http2/ webapps/docs/ webapps/docs/config/

2016-10-25 Thread markt
Author: markt Date: Tue Oct 25 13:54:09 2016 New Revision: 1766533 URL: http://svn.apache.org/viewvc?rev=1766533&view=rev Log: Add support for limiting trailer header count and size Added: tomcat/trunk/java/org/apache/coyote/CloseNowException.java (with props) Modified: tomcat/trunk/jav

Re: TC 8.5 and Log4J2 via Juli: Wrong location info

2016-10-25 Thread Rainer Jung
Am 25.10.2016 um 15:49 schrieb Rémy Maucherat: 2016-10-25 15:33 GMT+02:00 Romain Manni-Bucau : Hi guys, since now tomcat has Log API as a SPI doing 2 is easy ( http://svn.apache.org/repos/asf/openwebbeans/microwave/ trunk/microwave-core/src/main/java/org/apache/microwave/ logging/tomcat/Log4j2

svn commit: r1766535 - in /tomcat/trunk: java/org/apache/coyote/http2/ test/org/apache/coyote/http2/

2016-10-25 Thread markt
Author: markt Date: Tue Oct 25 14:14:08 2016 New Revision: 1766535 URL: http://svn.apache.org/viewvc?rev=1766535&view=rev Log: Fail earlier if trailer headers don't end the stream Modified: tomcat/trunk/java/org/apache/coyote/http2/Http2Parser.java tomcat/trunk/java/org/apache/coyote/http

svn commit: r1766536 - in /tomcat/tc8.5.x/trunk: ./ java/org/apache/coyote/ java/org/apache/coyote/http2/ test/org/apache/coyote/http2/ webapps/docs/ webapps/docs/config/

2016-10-25 Thread markt
Author: markt Date: Tue Oct 25 14:16:50 2016 New Revision: 1766536 URL: http://svn.apache.org/viewvc?rev=1766536&view=rev Log: Add support for limiting trailer header count and size Added: tomcat/tc8.5.x/trunk/java/org/apache/coyote/CloseNowException.java - copied unchanged from r176653

svn commit: r1766538 - in /tomcat/tc8.5.x/trunk: ./ java/org/apache/coyote/http2/ test/org/apache/coyote/http2/

2016-10-25 Thread markt
Author: markt Date: Tue Oct 25 14:17:49 2016 New Revision: 1766538 URL: http://svn.apache.org/viewvc?rev=1766538&view=rev Log: Fail earlier if trailer headers don't end the stream Modified: tomcat/tc8.5.x/trunk/ (props changed) tomcat/tc8.5.x/trunk/java/org/apache/coyote/http2/Http2Pars

Re: TC 8.5 and Log4J2 via Juli: Wrong location info

2016-10-25 Thread Rémy Maucherat
2016-10-25 16:11 GMT+02:00 Rainer Jung : > Am 25.10.2016 um 15:49 schrieb Rémy Maucherat: > >> 2016-10-25 15:33 GMT+02:00 Romain Manni-Bucau : >> >> Hi guys, >>> >>> since now tomcat has Log API as a SPI doing 2 is easy ( >>> http://svn.apache.org/repos/asf/openwebbeans/microwave/ >>> trunk/microw

Re: TC 8.5 and Log4J2 via Juli: Wrong location info

2016-10-25 Thread Rainer Jung
Am 25.10.2016 um 15:33 schrieb Romain Manni-Bucau: Hi guys, since now tomcat has Log API as a SPI doing 2 is easy ( http://svn.apache.org/repos/asf/openwebbeans/microwave/trunk/microwave-core/src/main/java/org/apache/microwave/logging/tomcat/Log4j2Log.java) and just a drop-in jar setup so not su

Re: TC 8.5 and Log4J2 via Juli: Wrong location info

2016-10-25 Thread Romain Manni-Bucau
This has the issue but the fix is easy and 100% belonging to the Log impl jar: http://svn.apache.org/repos/asf/openwebbeans/microwave/trunk/microwave-core/src/main/java/org/apache/microwave/logging/log4j2/MicrowaveLogEventFactory.java and http://svn.apache.org/repos/asf/openwebbeans/microwave/trunk

Re: TC 8.5 and Log4J2 via Juli: Wrong location info

2016-10-25 Thread Rainer Jung
Am 25.10.2016 um 17:07 schrieb Romain Manni-Bucau: This has the issue but the fix is easy and 100% belonging to the Log impl jar: http://svn.apache.org/repos/asf/openwebbeans/microwave/trunk/microwave-core/src/main/java/org/apache/microwave/logging/log4j2/MicrowaveLogEventFactory.java and http://

Re: TC 8.5 and Log4J2 via Juli: Wrong location info

2016-10-25 Thread Romain Manni-Bucau
2016-10-25 22:35 GMT+02:00 Rainer Jung : > Am 25.10.2016 um 17:07 schrieb Romain Manni-Bucau: > >> This has the issue but the fix is easy and 100% belonging to the Log impl >> jar: >> http://svn.apache.org/repos/asf/openwebbeans/microwave/trunk >> /microwave-core/src/main/java/org/apache/microwave

[Bug 60202] Failed LDAP connection triggers lockout realm

2016-10-25 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=60202 --- Comment #16 from Ben --- (In reply to Remy Maucherat from comment #15) > (In reply to Ben from comment #14) > > That looks like a pretty elegant solution. How would it interact with > > third-party realms? > > A third party realm would hav

[Bug 60297] Tomcat.setConnector not using supplied connector

2016-10-25 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=60297 --- Comment #6 from Axel U --- I am suggesting not porting it to 8.0.x and 7.0.x. -- You are receiving this mail because: You are the assignee for the bug. - To unsubscribe,

Re: TC 8.5 and Log4J2 via Juli: Wrong location info

2016-10-25 Thread Rainer Jung
Am 25.10.2016 um 22:40 schrieb Romain Manni-Bucau: 2016-10-25 22:35 GMT+02:00 Rainer Jung : Am 25.10.2016 um 17:07 schrieb Romain Manni-Bucau: This has the issue but the fix is easy and 100% belonging to the Log impl jar: http://svn.apache.org/repos/asf/openwebbeans/microwave/trunk /microwave

Re: TC 8.5 and Log4J2 via Juli: Wrong location info

2016-10-25 Thread Romain Manni-Bucau
2016-10-26 8:26 GMT+02:00 Rainer Jung : > Am 25.10.2016 um 22:40 schrieb Romain Manni-Bucau: > >> 2016-10-25 22:35 GMT+02:00 Rainer Jung : >> >> Am 25.10.2016 um 17:07 schrieb Romain Manni-Bucau: >>> >>> This has the issue but the fix is easy and 100% belonging to the Log impl jar: http: