Re: Using reflection to call tcnative methods

2011-07-08 Thread Mladen Turk
On 07/09/2011 04:14 AM, Christopher Schultz wrote: All, I've been working in AprLifecycleListener to add FIPS support. I need to make an additional native method call in initializeSSL and I'm wondering why all of the native methods are called using reflection instead of direct method calls. T

Using reflection to call tcnative methods

2011-07-08 Thread Christopher Schultz
All, I've been working in AprLifecycleListener to add FIPS support. I need to make an additional native method call in initializeSSL and I'm wondering why all of the native methods are called using reflection instead of direct method calls. The SSL class, for instance, and the AprLifecycleListene

svn commit: r1144573 - /tomcat/native/trunk/native/src/ssl.c

2011-07-08 Thread schultz
Author: schultz Date: Sat Jul 9 02:05:06 2011 New Revision: 1144573 URL: http://svn.apache.org/viewvc?rev=1144573&view=rev Log: Added function to enter FIPS mode. Modified: tomcat/native/trunk/native/src/ssl.c Modified: tomcat/native/trunk/native/src/ssl.c URL: http://svn.apache.org/viewvc

svn commit: r1144557 - in /tomcat/trunk/java/org/apache/coyote: AbstractProtocol.java ajp/AbstractAjpProtocol.java ajp/AjpNioProtocol.java http11/Http11AprProtocol.java http11/Http11NioProtocol.java h

2011-07-08 Thread markt
Author: markt Date: Sat Jul 9 00:28:44 2011 New Revision: 1144557 URL: http://svn.apache.org/viewvc?rev=1144557&view=rev Log: Fix Comet with HTTP/APR connector r1144391 switched the key for the processor map for this connector from the socket to the socket wrapper. That prevented Comet from bein

Re: svn commit: r1144405 - in /tomcat/trunk/java/org/apache/coyote: ./ ajp/ http11/

2011-07-08 Thread Mark Thomas
On 08/07/2011 19:02, Mark Thomas wrote: > On 08/07/2011 19:01, ma...@apache.org wrote: >> Author: markt >> Date: Fri Jul 8 18:01:30 2011 >> New Revision: 1144405 >> >> URL: http://svn.apache.org/viewvc?rev=1144405&view=rev >> Log: >> Pull up Handler.process > > Everything looks OK with this commi

Blank Tomcat server for development and deployment

2011-07-08 Thread Cameron Weiss
Hello there! We have just released a Tomcat server that runs Apache Tomcat applications and lets developers build and test apps in a Java environment. It is configured to quickly deploy on a variety of cloud providers (Rackspace, Amazon, GoGrid, SoftLayer, etc). We want it to be useful to the Tomc

DO NOT REPLY [Bug 51490] if.jsp has many bugs and c:if example not useful

2011-07-08 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=51490 --- Comment #5 from char...@everspeech.com 2011-07-08 21:38:06 UTC --- (In reply to comment #4) > = Begin if-xmlns.jsp output = > Tag Plugin Examples - > > Plugin Introductory Notes> > Brief Instructions for Writing Plugins > > >

DO NOT REPLY [Bug 51490] if.jsp has many bugs and c:if example not useful

2011-07-08 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=51490 --- Comment #4 from char...@everspeech.com 2011-07-08 21:00:56 UTC --- Hi Christopher, Thanks for looking at this! For (1), I hope that the example is updated at some point in the near future. For (2): = Begin Original if.jsp output ==

DO NOT REPLY [Bug 51490] if.jsp has many bugs and c:if example not useful

2011-07-08 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=51490 --- Comment #3 from Konstantin Kolinko 2011-07-08 20:53:56 UTC --- It would be nice if you were providing patches in svn diff (or diff -u) format, http://tomcat.apache.org/bugreport.html#Patches_and_enhancement_requests The source code fo

svn commit: r1144501 - /tomcat/native/trunk/native/src/jnilib.c

2011-07-08 Thread schultz
Author: schultz Date: Fri Jul 8 20:42:45 2011 New Revision: 1144501 URL: http://svn.apache.org/viewvc?rev=1144501&view=rev Log: Added required APR version number to "unsupported APR version" message. Fixed typos in comments and error messages. Modified: tomcat/native/trunk/native/src/jnilib

DO NOT REPLY [Bug 51490] if.jsp has many bugs and c:if example not useful

2011-07-08 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=51490 --- Comment #2 from char...@everspeech.com 2011-07-08 20:25:21 UTC --- Created attachment 27277 --> https://issues.apache.org/bugzilla/attachment.cgi?id=27277 Modified example illustrating issues. -- Configure bugmail: https://issues.apa

DO NOT REPLY [Bug 51490] if.jsp has many bugs and c:if example not useful

2011-07-08 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=51490 Christopher Schultz changed: What|Removed |Added Severity|normal |minor --- Comment #1 from Ch

DO NOT REPLY [Bug 51490] if.jsp has many bugs and c:if example not useful

2011-07-08 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=51490 char...@everspeech.com changed: What|Removed |Added CC||char...@everspeech.com

DO NOT REPLY [Bug 51490] New: if.jsp has many bugs and c:if example not useful

2011-07-08 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=51490 Bug #: 51490 Summary: if.jsp has many bugs and c:if example not useful Product: Tomcat 7 Version: 7.0.16 Platform: PC Status: NEW Severity: normal Priori

Re: svn commit: r1144405 - in /tomcat/trunk/java/org/apache/coyote: ./ ajp/ http11/

2011-07-08 Thread Mark Thomas
On 08/07/2011 19:01, ma...@apache.org wrote: > Author: markt > Date: Fri Jul 8 18:01:30 2011 > New Revision: 1144405 > > URL: http://svn.apache.org/viewvc?rev=1144405&view=rev > Log: > Pull up Handler.process Everything looks OK with this commit but I've just kicked off a full unit test and TCK

svn commit: r1144405 - in /tomcat/trunk/java/org/apache/coyote: ./ ajp/ http11/

2011-07-08 Thread markt
Author: markt Date: Fri Jul 8 18:01:30 2011 New Revision: 1144405 URL: http://svn.apache.org/viewvc?rev=1144405&view=rev Log: Pull up Handler.process Modified: tomcat/trunk/java/org/apache/coyote/AbstractProcessor.java tomcat/trunk/java/org/apache/coyote/AbstractProtocol.java tomcat/

svn commit: r1144393 - in /tomcat/trunk/java/org/apache/coyote/ajp: AbstractAjpProcessor.java AbstractAjpProtocol.java LocalStrings.properties

2011-07-08 Thread markt
Author: markt Date: Fri Jul 8 17:28:25 2011 New Revision: 1144393 URL: http://svn.apache.org/viewvc?rev=1144393&view=rev Log: Align AJP and HTTP prior to pulling up Handler.process Modified: tomcat/trunk/java/org/apache/coyote/ajp/AbstractAjpProcessor.java tomcat/trunk/java/org/apache/co

svn commit: r1144391 - /tomcat/trunk/java/org/apache/coyote/http11/

2011-07-08 Thread markt
Author: markt Date: Fri Jul 8 17:19:38 2011 New Revision: 1144391 URL: http://svn.apache.org/viewvc?rev=1144391&view=rev Log: Pull up Handler.process for the Http11 connectors. Note that this is an intermediate step. The aim is to pull this up to AbstractProtocol Modified: tomcat/trunk/java

svn commit: r1144390 - in /tomcat/trunk/java/org/apache/coyote/ajp: AbstractAjpProcessor.java AbstractAjpProtocol.java AjpAprProcessor.java AjpAprProtocol.java AjpNioProcessor.java AjpNioProtocol.java

2011-07-08 Thread markt
Author: markt Date: Fri Jul 8 17:19:19 2011 New Revision: 1144390 URL: http://svn.apache.org/viewvc?rev=1144390&view=rev Log: Pull up Handler.process for the Ajp Connectors. Note that this is an intermediate step. The aim is to pull this up to AbstractProtocol Modified: tomcat/trunk/java/or

Re: 7.0.18 installer does not work under windows with a custom service name

2011-07-08 Thread Mark Thomas
On 08/07/2011 17:22, etienne massip wrote: > Confirmed, it works better if the conflicting service is removed first =) Great. Glad it is working for you. Mark - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For add

Re: 7.0.18 installer does not work under windows with a custom service name

2011-07-08 Thread etienne massip
Confirmed, it works better if the conflicting service is removed first =) On Fri, Jul 8, 2011 at 6:17 PM, etienne massip wrote: > Not permissions, but I just figured out that the former tomcat service was > still here with the name I failed to set during the installation process, I > guess that's

svn commit: r1144375 - in /tomcat/trunk/java/org/apache/coyote/http11: Http11AprProtocol.java Http11NioProtocol.java Http11Protocol.java

2011-07-08 Thread markt
Author: markt Date: Fri Jul 8 16:19:28 2011 New Revision: 1144375 URL: http://svn.apache.org/viewvc?rev=1144375&view=rev Log: Yet more protocol alignment (with an eye to aligning with AJP) Modified: tomcat/trunk/java/org/apache/coyote/http11/Http11AprProtocol.java tomcat/trunk/java/org/a

Re: 7.0.18 installer does not work under windows with a custom service name

2011-07-08 Thread etienne massip
Not permissions, but I just figured out that the former tomcat service was still here with the name I failed to set during the installation process, I guess that's why it failed. My bad, sorry. On Fri, Jul 8, 2011 at 6:11 PM, Mark Thomas wrote: > On 08/07/2011 17:01, etienne massip wrote: > > H

Re: 7.0.18 installer does not work under windows with a custom service name

2011-07-08 Thread Mark Thomas
On 08/07/2011 17:01, etienne massip wrote: > Hi, > > Sorry to bother you guys, I see you're voting to release 7.0.18 and I tried > to install it with Windows installer on 2 machines. > > I must say I'm very interested by the new option to set a custom service > name, but, alas, the installer fail

7.0.18 installer does not work under windows with a custom service name

2011-07-08 Thread etienne massip
Hi, Sorry to bother you guys, I see you're voting to release 7.0.18 and I tried to install it with Windows installer on 2 machines. I must say I'm very interested by the new option to set a custom service name, but, alas, the installer failed with a custom name both times (no special chars in nam

svn commit: r1144358 - in /tomcat/trunk: modules/jdbc-pool/pom.xml webapps/docs/index.xml

2011-07-08 Thread fhanik
Author: fhanik Date: Fri Jul 8 15:34:18 2011 New Revision: 1144358 URL: http://svn.apache.org/viewvc?rev=1144358&view=rev Log: Change eol-style and add link to jdbc-pool on the documentation home page Modified: tomcat/trunk/modules/jdbc-pool/pom.xml (contents, props changed) tomcat/tru

Re: svn commit: r1144061 - in /tomcat/trunk: build.xml modules/jdbc-pool/build.xml res/maven/mvn-pub.xml res/maven/tomcat-jdbc.pom webapps/docs/project.xml

2011-07-08 Thread Filip Hanik - Dev Lists
On 7/7/2011 5:55 PM, Konstantin Kolinko wrote: 2011/7/8: Author: fhanik Date: Thu Jul 7 21:40:05 2011 New Revision: 1144061 URL: http://svn.apache.org/viewvc?rev=1144061&view=rev Log: Include jdbc-pool into tomcat release. Added: tomcat/trunk/res/maven/tomcat-jdbc.pom 1) svn:eol-style fo

svn commit: r1144354 - in /tomcat/trunk/java/org/apache/coyote/http11: Http11AprProtocol.java Http11NioProtocol.java Http11Protocol.java

2011-07-08 Thread markt
Author: markt Date: Fri Jul 8 15:10:01 2011 New Revision: 1144354 URL: http://svn.apache.org/viewvc?rev=1144354&view=rev Log: More protocol alignment (with an eye to aligning with AJP) Modified: tomcat/trunk/java/org/apache/coyote/http11/Http11AprProtocol.java tomcat/trunk/java/org/apach

svn commit: r1144349 - /tomcat/trunk/java/org/apache/coyote/http11/Http11Processor.java

2011-07-08 Thread markt
Author: markt Date: Fri Jul 8 14:59:43 2011 New Revision: 1144349 URL: http://svn.apache.org/viewvc?rev=1144349&view=rev Log: Protocol will call recycle Modified: tomcat/trunk/java/org/apache/coyote/http11/Http11Processor.java Modified: tomcat/trunk/java/org/apache/coyote/http11/Http11Proce

svn commit: r1144317 - /tomcat/trunk/java/org/apache/coyote/http11/

2011-07-08 Thread markt
Author: markt Date: Fri Jul 8 14:04:08 2011 New Revision: 1144317 URL: http://svn.apache.org/viewvc?rev=1144317&view=rev Log: Bring the Http11 protocol implementations closer together. Modified: tomcat/trunk/java/org/apache/coyote/http11/AbstractHttp11Processor.java tomcat/trunk/java/org

DO NOT REPLY [Bug 51477] Support all protocol combinations in SSLProtocol of APR Connector

2011-07-08 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=51477 --- Comment #15 from Marvin Addison 2011-07-08 12:30:24 UTC --- Created attachment 27274 --> https://issues.apache.org/bugzilla/attachment.cgi?id=27274 Test server.xml -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.

DO NOT REPLY [Bug 51477] Support all protocol combinations in SSLProtocol of APR Connector

2011-07-08 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=51477 --- Comment #14 from Marvin Addison 2011-07-08 12:29:15 UTC --- There is no SSLCipherSuite attribute defined for the SSL connector. See attached server.xml file. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab

svn commit: r1144276 - in /tomcat/trunk/java/org/apache/coyote/ajp: AjpAprProtocol.java AjpNioProtocol.java AjpProtocol.java

2011-07-08 Thread markt
Author: markt Date: Fri Jul 8 11:56:33 2011 New Revision: 1144276 URL: http://svn.apache.org/viewvc?rev=1144276&view=rev Log: Completely align process methods Modified: tomcat/trunk/java/org/apache/coyote/ajp/AjpAprProtocol.java tomcat/trunk/java/org/apache/coyote/ajp/AjpNioProtocol.java

svn commit: r1144272 - in /tomcat/trunk/java/org/apache/coyote/ajp: AjpAprProtocol.java AjpProtocol.java

2011-07-08 Thread markt
Author: markt Date: Fri Jul 8 11:49:50 2011 New Revision: 1144272 URL: http://svn.apache.org/viewvc?rev=1144272&view=rev Log: Align the process methods some more. Modified: tomcat/trunk/java/org/apache/coyote/ajp/AjpAprProtocol.java tomcat/trunk/java/org/apache/coyote/ajp/AjpProtocol.jav

Re: Deploying Emboss in Opal2

2011-07-08 Thread Konstantin Kolinko
2011/7/8 jeroen vannevel : > I've installed Opal2 on my Tomcat 5.5.33 server and now I'd like to make th= > e emboss programs available in this. You are asking on a wrong mailing list. This is a question for the users@ list. - To

svn commit: r1144271 - in /tomcat/trunk/java/org/apache: coyote/ajp/AjpAprProtocol.java coyote/ajp/AjpNioProtocol.java coyote/ajp/AjpProtocol.java tomcat/util/net/AbstractEndpoint.java

2011-07-08 Thread markt
Author: markt Date: Fri Jul 8 11:40:36 2011 New Revision: 1144271 URL: http://svn.apache.org/viewvc?rev=1144271&view=rev Log: Align the process methods some more. Modified: tomcat/trunk/java/org/apache/coyote/ajp/AjpAprProtocol.java tomcat/trunk/java/org/apache/coyote/ajp/AjpNioProtocol.

svn commit: r1144266 - /tomcat/trunk/java/org/apache/coyote/ajp/AjpNioProtocol.java

2011-07-08 Thread markt
Author: markt Date: Fri Jul 8 11:21:37 2011 New Revision: 1144266 URL: http://svn.apache.org/viewvc?rev=1144266&view=rev Log: Remove unnecessary call. Socket can't be in connections at this point. Leave currently unused socket parameter in method - plan to use it in later re-factoring Modified:

svn commit: r1144264 - /tomcat/trunk/java/org/apache/coyote/ajp/AjpNioProtocol.java

2011-07-08 Thread markt
Author: markt Date: Fri Jul 8 11:19:32 2011 New Revision: 1144264 URL: http://svn.apache.org/viewvc?rev=1144264&view=rev Log: Improve comments Modified: tomcat/trunk/java/org/apache/coyote/ajp/AjpNioProtocol.java Modified: tomcat/trunk/java/org/apache/coyote/ajp/AjpNioProtocol.java URL: ht

Deploying Emboss in Opal2

2011-07-08 Thread jeroen vannevel
Hello I've installed Opal2 on my Tomcat 5.5.33 server and now I'd like to make th= e emboss programs available in this. I've been working on this for two days and I just seem to trample at the sa= me spot. Perhaps someone has the required files or could tell me how to deal with th= is specific c

svn commit: r1144246 - in /tomcat/trunk/java/org/apache/coyote/ajp: AbstractAjpProcessor.java AjpAprProcessor.java AjpAprProtocol.java AjpNioProcessor.java AjpNioProtocol.java AjpProcessor.java AjpPro

2011-07-08 Thread markt
Author: markt Date: Fri Jul 8 10:45:19 2011 New Revision: 1144246 URL: http://svn.apache.org/viewvc?rev=1144246&view=rev Log: Fix regression in connector re-factoring that was too aggressive cleaning up AJP/BIO between requests triggering 400 entries in the access log Modified: tomcat/trunk

Re: [VOTE] Release Apache Tomcat Connectors 1.2.32

2011-07-08 Thread Henri Gomez
> I wish we break the practice of shipping the > posix platform binaries. No problem. I could provide pre-built binary on my blog. Many many OS/X users are not confortable at all with configure/make :) > This was never consistent in the past between > releases, and it looks more like a junk yard.

[ANN] Apache Tomcat Connectors 1.2.32 released

2011-07-08 Thread Mladen Turk
The Apache Tomcat Project is proud to announce the release of version 1.2.32 of Apache Tomcat Connectors. This release includes both bug fixes and new features compared to version 1.2.31. Full details of these changes and new features, are available in the Apache Tomcat Connectors changelog: http

svn commit: r1144225 - /tomcat/trunk/java/org/apache/coyote/ajp/AbstractAjpProcessor.java

2011-07-08 Thread markt
Author: markt Date: Fri Jul 8 09:50:02 2011 New Revision: 1144225 URL: http://svn.apache.org/viewvc?rev=1144225&view=rev Log: Fix indentation Modified: tomcat/trunk/java/org/apache/coyote/ajp/AbstractAjpProcessor.java Modified: tomcat/trunk/java/org/apache/coyote/ajp/AbstractAjpProcessor.ja

Re: Blank extra access log entries with AJP connector in 7.0.18

2011-07-08 Thread Mark Thomas
On 08/07/2011 09:59, Rainer Jung wrote: > On 08.07.2011 10:50, Mark Thomas wrote: >> On 08/07/2011 09:47, Rainer Jung wrote: >>> No without wild guessing: >>> >>> AjpProcessor.recycle() now nulls input. On the next loop through >>> processing the connection, trying to read from the nulled input wil

Re: [VOTE] Release Apache Tomcat 7.0.18

2011-07-08 Thread Mladen Turk
The proposed 7.0.18 release is: [ ] Broken - do not release [ ] Alpha - go ahead and release as 7.0.18 Alpha [ ] Beta - go ahead and release as 7.0.18 Beta [X] Stable - go ahead and release as 7.0.18 Stable Tested on linux and windows. Love the new installer features! Regards -- ^TM

Re: Blank extra access log entries with AJP connector in 7.0.18

2011-07-08 Thread Rainer Jung
On 08.07.2011 10:50, Mark Thomas wrote: > On 08/07/2011 09:47, Rainer Jung wrote: >> No without wild guessing: >> >> AjpProcessor.recycle() now nulls input. On the next loop through >> processing the connection, trying to read from the nulled input will >> lead to an NPE, producing the 400 log entr

Re: Blank extra access log entries with AJP connector in 7.0.18

2011-07-08 Thread Mark Thomas
On 08/07/2011 09:47, Rainer Jung wrote: > No without wild guessing: > > AjpProcessor.recycle() now nulls input. On the next loop through > processing the connection, trying to read from the nulled input will > lead to an NPE, producing the 400 log entry. > > In 7.0.16 recycle was implemented in A

Re: Blank extra access log entries with AJP connector in 7.0.18

2011-07-08 Thread Rainer Jung
No without wild guessing: AjpProcessor.recycle() now nulls input. On the next loop through processing the connection, trying to read from the nulled input will lead to an NPE, producing the 400 log entry. In 7.0.16 recycle was implemented in AbstractAjpProcessor.java and did not null input. Rega

Re: Blank extra access log entries with AJP connector in 7.0.18

2011-07-08 Thread Rainer Jung
On 08.07.2011 09:18, Rainer Jung wrote: > > Could it be the cping/cpong? > Hmmm, doesn't make much sense, the additional line seems to be after the original request. Rainer > On 08.07.2011 05:41, Konstantin Kolinko wrote: >> Running 7.0.18 behind Apache HTTPD, >> using Ajp connector (Bio), >>

Re: Blank extra access log entries with AJP connector in 7.0.18

2011-07-08 Thread Rainer Jung
Could it be the cping/cpong? On 08.07.2011 05:41, Konstantin Kolinko wrote: > Running 7.0.18 behind Apache HTTPD, > using Ajp connector (Bio), > > for every actual request there are two records in the access log, > one "true" record, followed by a blank one. > > E.g.: > ipaddress - username [0