RE: APR/native errors with non-blocking I/O

2013-05-31 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Subject: Re: APR/native errors with non-blocking I/O > I'm pretty sure that sterror is thread safe: it should just return a > static char*. Would that it were that simple. Seriously, it's not thread safe; a second thread calli

[Bug 55035] Deploy ROOT webapp with version through text manager using Ant

2013-05-31 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=55035 Sergey Tcherednichenko changed: What|Removed |Added Version|7.0.40 |7.0.37 -- You are receiv

[Bug 55035] Deploy ROOT webapp with version through text manager using Ant

2013-05-31 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=55035 Sergey Tcherednichenko changed: What|Removed |Added CC||sergey...@gmail.com --- C

Re: APR/native errors with non-blocking I/O

2013-05-31 Thread Mark Thomas
On 31/05/2013 21:42, Caldarale, Charles R wrote: >> From: Rainer Jung [mailto:rainer.j...@kippdata.de] >> Subject: Re: APR/native errors with non-blocking I/O > >> Compile and have fun. > > Or we could talk about Mark's familiarity with C :-) That will be an extremely short conversation ;) >>

Re: APR/native errors with non-blocking I/O

2013-05-31 Thread Christopher Schultz
Chuck, On 5/31/13 4:42 PM, Caldarale, Charles R wrote: >> From: Rainer Jung [mailto:rainer.j...@kippdata.de] >> Subject: Re: APR/native errors with non-blocking I/O > >> Compile and have fun. > > Or we could talk about Mark's familiarity with C :-) > >> IMHO we don't have that in the code to o

Re: APR/native errors with non-blocking I/O

2013-05-31 Thread Christopher Schultz
Rainer, On 5/31/13 4:35 PM, Rainer Jung wrote: > On 31.05.2013 21:34, Mark Thomas wrote: >> "Caldarale, Charles R" wrote: >> From: Mark Thomas [mailto:ma...@apache.org] Subject: APR/native errors with non-blocking I/O >>> >>> Assuming these are negative errno values: >>> On OSX th

RE: APR/native errors with non-blocking I/O

2013-05-31 Thread Caldarale, Charles R
> From: Rainer Jung [mailto:rainer.j...@kippdata.de] > Subject: Re: APR/native errors with non-blocking I/O > Compile and have fun. Or we could talk about Mark's familiarity with C :-) > IMHO we don't have that in the code to output text instead of cryptic > numbers because it isn't really avai

Re: APR/native errors with non-blocking I/O

2013-05-31 Thread Rainer Jung
On 31.05.2013 21:34, Mark Thomas wrote: > "Caldarale, Charles R" wrote: > >>> From: Mark Thomas [mailto:ma...@apache.org] >>> Subject: APR/native errors with non-blocking I/O >> >> Assuming these are negative errno values: >> >>> On OSX the error code is -32 >> >> Broken pipe. >> >>> On Linux th

RE: APR/native errors with non-blocking I/O

2013-05-31 Thread Caldarale, Charles R
> From: Mark Thomas [mailto:ma...@apache.org] > Subject: RE: APR/native errors with non-blocking I/O > Where might I find a list of these error codes. It's a bit old, but still pretty accurate: http://www.ioplex.com/~miallen/errcmpp.html - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AN

RE: APR/native errors with non-blocking I/O

2013-05-31 Thread Mark Thomas
"Caldarale, Charles R" wrote: >> From: Mark Thomas [mailto:ma...@apache.org] >> Subject: APR/native errors with non-blocking I/O > >Assuming these are negative errno values: > >> On OSX the error code is -32 > >Broken pipe. > >> On Linux the error code is -104 > >Connection reset by peer. > >Did

RE: APR/native errors with non-blocking I/O

2013-05-31 Thread Caldarale, Charles R
> From: Mark Thomas [mailto:ma...@apache.org] > Subject: APR/native errors with non-blocking I/O Assuming these are negative errno values: > On OSX the error code is -32 Broken pipe. > On Linux the error code is -104 Connection reset by peer. Did the other end go away? Can you get a packet

APR/native errors with non-blocking I/O

2013-05-31 Thread Mark Thomas
I'm consistently seeing errors with APR/native and TestNonBlockingAPI.testNonBlockingWrite This works on Windows but fails on Linux and OSX. Failures always occur with Socket.sendbb(socket, offset, long) The sequence of events is: ~100 successful writes (9000 bytes at a time) write returns 120002

Re: Request for wiki update permission

2013-05-31 Thread Mark Thomas
On 31/05/2013 17:32, Brian Burch wrote: > I have just registered a wiki name of BrianBurch. Could I please be > given permission to update the tomcat wiki? (I need to bring the page on > NetBeans support up to date with http://svn.apache.org/r1484409) Done. Mark

[Tomcat Wiki] Update of "ContributorsGroup" by markt

2013-05-31 Thread Apache Wiki
Dear Wiki user, You have subscribed to a wiki page or wiki category on "Tomcat Wiki" for change notification. The "ContributorsGroup" page has been changed by markt: https://wiki.apache.org/tomcat/ContributorsGroup?action=diff&rev1=6&rev2=7 Comment: += BrianBurch * [Krzysztof Gil] * Neve

Request for wiki update permission

2013-05-31 Thread Brian Burch
I have just registered a wiki name of BrianBurch. Could I please be given permission to update the tomcat wiki? (I need to bring the page on NetBeans support up to date with http://svn.apache.org/r1484409) Thanks, Brian - To

[Bug 55035] New: Deploy ROOT webapp with version through text manager using Ant

2013-05-31 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=55035 Bug ID: 55035 Summary: Deploy ROOT webapp with version through text manager using Ant Product: Tomcat 7 Version: 7.0.40 Hardware: PC OS: All

buildbot success in ASF Buildbot on tomcat-trunk

2013-05-31 Thread buildbot
The Buildbot has detected a restored build on builder tomcat-trunk while building ASF Buildbot. Full details are available at: http://ci.apache.org/builders/tomcat-trunk/builds/4398 Buildbot URL: http://ci.apache.org/ Buildslave for this Build: bb-vm_ubuntu Build Reason: scheduler Build Source

svn commit: r1488167 - /tomcat/tc6.0.x/trunk/STATUS.txt

2013-05-31 Thread kkolinko
Author: kkolinko Date: Fri May 31 11:25:16 2013 New Revision: 1488167 URL: http://svn.apache.org/r1488167 Log: Propose r1484923 for vote. Add r1488151 so the list of followup patches so that it is not forgotten. A patch file is needed. Removing votes for now. Modified: tomcat/tc6.0.x/trunk/ST

svn commit: r1488152 - in /tomcat/tc7.0.x/trunk: ./ java/org/apache/catalina/startup/ContextConfig.java

2013-05-31 Thread kkolinko
Author: kkolinko Date: Fri May 31 11:07:18 2013 New Revision: 1488152 URL: http://svn.apache.org/r1488152 Log: Merged revision 1488151 from tomcat/trunk: (Reviewing r1485114) Make antiLockingDocBase an absolute path. It is very unlikely that java.io.tmpdir is not an absolute path. For consistency

svn commit: r1488151 - /tomcat/trunk/java/org/apache/catalina/startup/ContextConfig.java

2013-05-31 Thread kkolinko
Author: kkolinko Date: Fri May 31 11:03:26 2013 New Revision: 1488151 URL: http://svn.apache.org/r1488151 Log: (Reviewing r1485114) Make antiLockingDocBase an absolute path. It is very unlikely that java.io.tmpdir is not an absolute path. For consistency, convert it to the absolute form just once

svn commit: r1488144 - /tomcat/trunk/test/org/apache/catalina/tribes/TesterMulticast.java

2013-05-31 Thread markt
Author: markt Date: Fri May 31 10:36:56 2013 New Revision: 1488144 URL: http://svn.apache.org/r1488144 Log: Fix typos Modified: tomcat/trunk/test/org/apache/catalina/tribes/TesterMulticast.java Modified: tomcat/trunk/test/org/apache/catalina/tribes/TesterMulticast.java URL: http://svn.apach

svn commit: r1488143 - /tomcat/trunk/test/org/apache/catalina/tribes/TesterMulticast.java

2013-05-31 Thread markt
Author: markt Date: Fri May 31 10:36:14 2013 New Revision: 1488143 URL: http://svn.apache.org/r1488143 Log: Routing table doesn't show it but it looks like firewall was the only issue. Modified: tomcat/trunk/test/org/apache/catalina/tribes/TesterMulticast.java Modified: tomcat/trunk/test/org

svn commit: r1488139 - /tomcat/trunk/BUILDING.txt

2013-05-31 Thread markt
Author: markt Date: Fri May 31 10:12:57 2013 New Revision: 1488139 URL: http://svn.apache.org/r1488139 Log: Add note on testing multicast Modified: tomcat/trunk/BUILDING.txt Modified: tomcat/trunk/BUILDING.txt URL: http://svn.apache.org/viewvc/tomcat/trunk/BUILDING.txt?rev=1488139&r1=148813

Re: CORS Filter

2013-05-31 Thread Mark Thomas
On 30/05/2013 22:06, Jason Brittain wrote: > Thoughts? Create an enhancement request in Bugzilla. I note that there was a request for this a few months ago on the users list. Mark - To unsubscribe, e-mail: dev-unsubscr...@tom

Re: svn commit: r1487993 - /tomcat/trunk/test/org/apache/catalina/tribes/TesterMulticast.java

2013-05-31 Thread Konstantin Kolinko
2013/5/31 Mark Thomas : > On 31/05/2013 06:36, Rainer Jung wrote: >> On 30.05.2013 22:15, ma...@apache.org wrote: >>> Author: markt >>> Date: Thu May 30 20:15:15 2013 >>> New Revision: 1487993 >>> >>> URL: http://svn.apache.org/r1487993 >>> Log: >>> Finally figured out how t get multicast working l

Re: svn commit: r1487993 - /tomcat/trunk/test/org/apache/catalina/tribes/TesterMulticast.java

2013-05-31 Thread Mark Thomas
On 31/05/2013 06:36, Rainer Jung wrote: > On 30.05.2013 22:15, ma...@apache.org wrote: >> Author: markt >> Date: Thu May 30 20:15:15 2013 >> New Revision: 1487993 >> >> URL: http://svn.apache.org/r1487993 >> Log: >> Finally figured out how t get multicast working locally on my mac. Document >> it.

Re: AsyncContext.dispatch(path) invoked more than once

2013-05-31 Thread Violeta Georgieva
2013/5/29 Violeta Georgieva wrote: > > 2013/5/28 Konstantin Kolinko wrote: > > > > > > I think that your patch is wrong. > > > > Looking at how ActionCode.ASYNC_DISPATCH is handled in different > > connector implementations in Tomcat 7, the code is like the following: > > > > if (asyncS