[ANN/VOTE] JK 1.2.11 Released
Hi, JK 1.2.11 has been released This is mostly a bug fix release. Please see the: http://jakarta.apache.org/tomcat/connectors-doc/changelog.html for a full list of changes. Sources can be found at: http://www.apache.org/dist/jakarta/tomcat-connectors/jk/source/jk-1.2.11/ Binaries can be found at: http://www.apache.org/dist/jakarta/tomcat-connectors/jk/binaries/ For now there is a set of win32 binaries: http://www.apache.org/dist/jakarta/tomcat-connectors/jk/binaries/win32/jk-1.2.11/ and some linux binaries: http://www.apache.org/dist/jakarta/tomcat-connectors/jk/binaries/linux/jk-1.2.11/ Feel free to add any other binaries for your favorite platform :) I would also like to make a stability VOTE at once (to keep the email noise at minimum). The vote will run for about 72 hours as usual, perhaps more because it's Friday :). So... [ ] Stable -- good build [ ] Alpha -- something serious is wrong: what is it? Regards, Mladen. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: jakarta-tomcat-connectors/jk/xdocs/news 20050101.xml
mturk 2005/04/29 01:34:55 Modified:jk/xdocs index.xml jk/xdocs/news 20050101.xml Log: Add JK1.2.11 release notes. Revision ChangesPath 1.33 +10 -0 jakarta-tomcat-connectors/jk/xdocs/index.xml Index: index.xml === RCS file: /home/cvs/jakarta-tomcat-connectors/jk/xdocs/index.xml,v retrieving revision 1.32 retrieving revision 1.33 diff -u -r1.32 -r1.33 --- index.xml 30 Mar 2005 06:21:19 - 1.32 +++ index.xml 29 Apr 2005 08:34:55 - 1.33 @@ -28,6 +28,16 @@ section name=Headlines br / ul +lia href=news/20050101.html#20050429.129 April 2005 - bJK-1.2.11 released/b/a +pThe Apache Jakarta Tomcat team is proud to announce the immediate availability +of Jakarta Tomcat Connectors 1.2.11. +/p +pDownlad the a href=http://www.apache.org/dist/jakarta/tomcat-connectors/jk/source/jk-1.2.11/jakarta-tomcat-connectors-1.2.11-src.tar.gz;JK 1.2.11 release sources/a + | a href=http://www.apache.org/dist/jakarta/tomcat-connectors/jk/source/jk-1.2.11/jakarta-tomcat-connectors-1.2.11-src.tar.gz.asc;PGP signature/a +/p +pDownload the a href=http://www.apache.org/dist/jakarta/tomcat-connectors/jk/binaries/jk-1.2.11/;binaries/a for selected platforms. +/p +/li lia href=news/20050101.html#20050330.130 March 2005 - bJK-1.2.10 released/b/a pThe Apache Jakarta Tomcat team is proud to announce the immediate availability of Jakarta Tomcat Connectors 1.2.10. 1.2 +19 -0 jakarta-tomcat-connectors/jk/xdocs/news/20050101.xml Index: 20050101.xml === RCS file: /home/cvs/jakarta-tomcat-connectors/jk/xdocs/news/20050101.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- 20050101.xml 30 Mar 2005 06:20:58 - 1.1 +++ 20050101.xml 29 Apr 2005 08:34:55 - 1.2 @@ -21,6 +21,25 @@ /a hr size=1 noshade=noshade / -- +a name=20050429.1 +h329 April - JK-1.2.11 released/h3 +pThe Apache Jakarta Tomcat team is proud to announce the immediate availability +of Jakarta Tomcat Connectors 1.2.11 The release contains a significant number +of bug fixes and new features. +/p +p +We expect it to be ratified as a Stable release when the vote takes place +in the next week. +/p +p + Please see the a href=../changelog.htmlChangeLog/a for a full list of changes. +/p +pIf you find any bugs while using this release, please fill in the +a href=http://issues.apache.org/bugzilla/enter_bug.cgi?product=Tomcat%205;Bugzilla/a +Bug Report. When entering bug select bNative:JK/b Component. +/p +/a +hr size=1 noshade=noshade / a name=20050330.1 h330 March - JK-1.2.10 released/h3 pThe Apache Jakarta Tomcat team is proud to announce the immediate availability - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: jakarta-tomcat-connectors/jk/xdocs index.xml
mturk 2005/04/29 01:37:32 Modified:jk/xdocs index.xml Log: Fix typo in link. Revision ChangesPath 1.34 +1 -1 jakarta-tomcat-connectors/jk/xdocs/index.xml Index: index.xml === RCS file: /home/cvs/jakarta-tomcat-connectors/jk/xdocs/index.xml,v retrieving revision 1.33 retrieving revision 1.34 diff -u -r1.33 -r1.34 --- index.xml 29 Apr 2005 08:34:55 - 1.33 +++ index.xml 29 Apr 2005 08:37:32 - 1.34 @@ -35,7 +35,7 @@ pDownlad the a href=http://www.apache.org/dist/jakarta/tomcat-connectors/jk/source/jk-1.2.11/jakarta-tomcat-connectors-1.2.11-src.tar.gz;JK 1.2.11 release sources/a | a href=http://www.apache.org/dist/jakarta/tomcat-connectors/jk/source/jk-1.2.11/jakarta-tomcat-connectors-1.2.11-src.tar.gz.asc;PGP signature/a /p -pDownload the a href=http://www.apache.org/dist/jakarta/tomcat-connectors/jk/binaries/jk-1.2.11/;binaries/a for selected platforms. +pDownload the a href=http://www.apache.org/dist/jakarta/tomcat-connectors/jk/binaries/;binaries/a for selected platforms. /p /li lia href=news/20050101.html#20050330.130 March 2005 - bJK-1.2.10 released/b/a - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED]: Project jakarta-tomcat-jk-native (in module jakarta-tomcat-connectors) failed
To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at [EMAIL PROTECTED] Project jakarta-tomcat-jk-native has an issue affecting its community integration. This issue affects 1 projects, and has been outstanding for 123 runs. The current state of this project is 'Failed', with reason 'Build Failed'. For reference only, the following projects are affected by this: - jakarta-tomcat-jk-native : Connectors to various web servers Full details are available at: http://brutus.apache.org/gump/public/jakarta-tomcat-connectors/jakarta-tomcat-jk-native/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -INFO- Failed with reason build failed The following work was performed: http://brutus.apache.org/gump/public/jakarta-tomcat-connectors/jakarta-tomcat-jk-native/gump_work/build_jakarta-tomcat-connectors_jakarta-tomcat-jk-native.html Work Name: build_jakarta-tomcat-connectors_jakarta-tomcat-jk-native (Type: Build) Work ended in a state of : Failed Elapsed: Command Line: make [Working Directory: /usr/local/gump/public/workspace/jakarta-tomcat-connectors/jk/native] - Making all in common make[1]: Entering directory `/home/gump/workspaces2/public/workspace/jakarta-tomcat-connectors/jk/native/common' /bin/sh /usr/local/gump/public/workspace/apache-httpd/dest-29042005/build/libtool --silent --mode=compile gcc -I/usr/local/gump/public/workspace/apache-httpd/dest-29042005/include -g -O2 -g -O2 -pthread -DHAVE_APR -I/usr/local/gump/public/workspace/apr/dest-29042005/include/apr-1 -g -O2 -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/home/gump/workspaces2/public/workspace/apache-httpd/srclib/pcre -I /opt/jdk1.4/include -I /opt/jdk1.4/include/ -c jk_ajp12_worker.c /usr/local/gump/public/workspace/apache-httpd/dest-29042005/build/libtool: /usr/local/gump/public/workspace/apache-httpd/dest-29042005/build/libtool: No such file or directory make[1]: *** [jk_ajp12_worker.lo] Error 127 make[1]: Leaving directory `/home/gump/workspaces2/public/workspace/jakarta-tomcat-connectors/jk/native/common' make: *** [all-recursive] Error 1 - To subscribe to this information via syndicated feeds: - RSS: http://brutus.apache.org/gump/public/jakarta-tomcat-connectors/jakarta-tomcat-jk-native/rss.xml - Atom: http://brutus.apache.org/gump/public/jakarta-tomcat-connectors/jakarta-tomcat-jk-native/atom.xml == Gump Tracking Only === Produced by Gump version 2.2. Gump Run 2729042005, brutus:brutus-public:2729042005 Gump E-mail Identifier (unique within run) #18. -- Apache Gump http://gump.apache.org/ [Instance: brutus] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 34675] New: - Wrong doc content for Proxy Support
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=34675. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=34675 Summary: Wrong doc content for Proxy Support Product: Tomcat 5 Version: 5.0.18 Platform: All OS/Version: other Status: NEW Severity: major Priority: P2 Component: Webapps:Documentation AssignedTo: tomcat-dev@jakarta.apache.org ReportedBy: [EMAIL PROTECTED] From the doc: Using standard configurations of Tomcat, web applications can ask for the server name and port number to which the request was directed for processing. When Tomcat is running standalone with the Coyote HTTP/1.1 Connector, it will generally report the server name specified in the request, and the port number on which the Connector is listening. The two servlet API calls of interest, for this purpose, are: * ServletRequest.getServerName() * ServletRequest.getServerPort() and the port number on which the Connector is listening - NOT TRUE. When proxyPort is not specified, getServerPort() gives the port number which is on the client side request - not the real one on which the Connector is listening. Please correct doc. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug, or are watching the assignee. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [ANN/VOTE] JK 1.2.11 Released
Mladen Turk wrote: [X] Stable -- good build [ ] Alpha -- something serious is wrong: what is it? Testing so far is positive. -- === Jim Jagielski [|] [EMAIL PROTECTED] [|] http://www.jaguNET.com/ There 10 types of people: those who read binary and everyone else. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [ANN/VOTE] JK 1.2.11 Released
Seems to works on Suse 8.0 PowerPC and build in run for iSeries. Working right now on PASE (AIX 5.2 emulation on iSeries) and may be some AIX 5.2 binaries could be provided later :) 2005/4/29, Jim Jagielski [EMAIL PROTECTED]: Mladen Turk wrote: [X] Stable -- good build [ ] Alpha -- something serious is wrong: what is it? Testing so far is positive. -- === Jim Jagielski [|] [EMAIL PROTECTED] [|] http://www.jaguNET.com/ There 10 types of people: those who read binary and everyone else. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: jakarta-tomcat-site/xdocs/stylesheets project.xml
yoavs 2005/04/29 09:25:56 Modified:xdocs/stylesheets project.xml Log: Clarifying download links after recent change, per private requests. Revision ChangesPath 1.17 +3 -1 jakarta-tomcat-site/xdocs/stylesheets/project.xml Index: project.xml === RCS file: /home/cvs/jakarta-tomcat-site/xdocs/stylesheets/project.xml,v retrieving revision 1.16 retrieving revision 1.17 diff -u -r1.16 -r1.17 --- project.xml 31 Mar 2005 14:21:07 - 1.16 +++ project.xml 29 Apr 2005 16:25:56 - 1.17 @@ -23,7 +23,9 @@ menu name=Download item name=Current Releases href=/site/downloads/downloads_tomcat-5.cgi / -item name=Archived Releases href=http://archive.apache.org/dist/jakarta/tomcat-5/; / +item name=Tomcat 5.x href=http://archive.apache.org/dist/jakarta/tomcat-5/; / +item name=Tomcat 4.x href=http://archive.apache.org/dist/jakarta/tomcat-4/; / +item name=Tomcat 3.x href=http://archive.apache.org/dist/jakarta/tomcat-3/; / /menu menu name=Archives - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [ANN/VOTE] JK 1.2.11 Released
Builds and runs fine on both Solaris 7 and 8. [X] Stable -- good build Glenn On Fri, Apr 29, 2005 at 10:18:50AM +0200, Mladen Turk wrote: Hi, JK 1.2.11 has been released This is mostly a bug fix release. Please see the: http://jakarta.apache.org/tomcat/connectors-doc/changelog.html for a full list of changes. Sources can be found at: http://www.apache.org/dist/jakarta/tomcat-connectors/jk/source/jk-1.2.11/ Binaries can be found at: http://www.apache.org/dist/jakarta/tomcat-connectors/jk/binaries/ For now there is a set of win32 binaries: http://www.apache.org/dist/jakarta/tomcat-connectors/jk/binaries/win32/jk-1.2.11/ and some linux binaries: http://www.apache.org/dist/jakarta/tomcat-connectors/jk/binaries/linux/jk-1.2.11/ Feel free to add any other binaries for your favorite platform :) I would also like to make a stability VOTE at once (to keep the email noise at minimum). The vote will run for about 72 hours as usual, perhaps more because it's Friday :). So... [ ] Stable -- good build [ ] Alpha -- something serious is wrong: what is it? Regards, Mladen. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Glenn Nielsen [EMAIL PROTECTED] | /* Spelin donut madder| MOREnet System Programming | * if iz ina coment. | Missouri Research and Education Network | */ | -- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper JspC.java
remm2005/04/29 10:18:22 Modified:webapps/docs changelog.xml jasper2/src/share/org/apache/jasper JspC.java Log: - 34652: Allow setting smap related options in jspc. Revision ChangesPath 1.295 +4 -0 jakarta-tomcat-catalina/webapps/docs/changelog.xml Index: changelog.xml === RCS file: /home/cvs/jakarta-tomcat-catalina/webapps/docs/changelog.xml,v retrieving revision 1.294 retrieving revision 1.295 diff -u -r1.294 -r1.295 --- changelog.xml 28 Apr 2005 18:55:57 - 1.294 +++ changelog.xml 29 Apr 2005 17:18:21 - 1.295 @@ -154,6 +154,10 @@ update Java 5 will be the source and target for JSPs when running on Java 5 (remm) /update + update +bug34652/bug: Add the ability to get SMAPs when precompiling, submitted by +Daryl Robbins (remm) + /update /changelog /subsection 1.96 +26 -2 jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/JspC.java Index: JspC.java === RCS file: /home/cvs/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/JspC.java,v retrieving revision 1.95 retrieving revision 1.96 diff -u -r1.95 -r1.96 --- JspC.java 29 Mar 2005 21:43:37 - 1.95 +++ JspC.java 29 Apr 2005 17:18:22 - 1.96 @@ -114,6 +114,8 @@ private static final String SWITCH_DIE = -die; private static final String SWITCH_POOLING = -poolingEnabled; private static final String SWITCH_ENCODING = -javaEncoding; +private static final String SWITCH_SMAP = -smap; +private static final String SWITCH_DUMP_SMAP = -dumpsmap; private static final String SHOW_SUCCESS =-s; private static final String LIST_ERRORS = -l; @@ -147,6 +149,8 @@ private int dieLevel; private boolean helpNeeded = false; private boolean compile = false; +private boolean smapSuppressed = true; +private boolean smapDumped = false; private String compiler = null; @@ -293,6 +297,10 @@ setCompilerSourceVM(nextArg()); } else if (tok.equals(SWITCH_TARGET)) { setCompilerTargetVM(nextArg()); +} else if (tok.equals(SWITCH_SMAP)) { +smapSuppressed = false; +} else if (tok.equals(SWITCH_DUMP_SMAP)) { +smapDumped = true; } else { if (tok.startsWith(-)) { throw new JasperException(Unrecognized option: + tok + @@ -406,16 +414,32 @@ * Is the generation of SMAP info for JSR45 debuggin suppressed? */ public boolean isSmapSuppressed() { -return true; +return smapSuppressed; +} + +/** + * Set smapSuppressed flag. + */ +public void setSmapSuppressed(boolean smapSuppressed) { +this.smapSuppressed = smapSuppressed; } + /** * Should SMAP info for JSR45 debugging be dumped to a file? */ public boolean isSmapDumped() { -return false; +return smapDumped; +} + +/** + * Set smapSuppressed flag. + */ +public void setSmapDumped(boolean smapDumped) { +this.smapDumped = smapDumped; } + /** * Determines whether text strings are to be generated as char arrays, * which improves performance in some cases. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 34648] - AJP uses Host header not ServerName directive from Apache
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=34648. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=34648 [EMAIL PROTECTED] changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|WONTFIX | --- Additional Comments From [EMAIL PROTECTED] 2005-04-29 19:19 --- (In reply to comment #8) So it sounds like you want a Connector option to use request.getLocalName() (which is where the Apache ServerName ends up in Jk) for host mapping. While not technically difficult to implement, it sounds fragile. Reviewing the Catalina code, it looks like implementing an option (I'm thinking useIPVHosts=true) to do this should work fine. I'll add it into the CVS later. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug, or are watching the assignee. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [ANN/VOTE] JK 1.2.11 Released
Binaries for iSeries v5R3 and Suse 8.0 SLES PPC uploaded 2005/4/29, Glenn Nielsen [EMAIL PROTECTED]: Builds and runs fine on both Solaris 7 and 8. [X] Stable -- good build Glenn On Fri, Apr 29, 2005 at 10:18:50AM +0200, Mladen Turk wrote: Hi, JK 1.2.11 has been released This is mostly a bug fix release. Please see the: http://jakarta.apache.org/tomcat/connectors-doc/changelog.html for a full list of changes. Sources can be found at: http://www.apache.org/dist/jakarta/tomcat-connectors/jk/source/jk-1.2.11/ Binaries can be found at: http://www.apache.org/dist/jakarta/tomcat-connectors/jk/binaries/ For now there is a set of win32 binaries: http://www.apache.org/dist/jakarta/tomcat-connectors/jk/binaries/win32/jk-1.2.11/ and some linux binaries: http://www.apache.org/dist/jakarta/tomcat-connectors/jk/binaries/linux/jk-1.2.11/ Feel free to add any other binaries for your favorite platform :) I would also like to make a stability VOTE at once (to keep the email noise at minimum). The vote will run for about 72 hours as usual, perhaps more because it's Friday :). So... [ ] Stable -- good build [ ] Alpha -- something serious is wrong: what is it? Regards, Mladen. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Glenn Nielsen [EMAIL PROTECTED] | /* Spelin donut madder| MOREnet System Programming | * if iz ina coment. | Missouri Research and Education Network | */ | -- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [ANN/VOTE] JK 1.2.11 Released
Henri Gomez wrote: Binaries for iSeries v5R3 and Suse 8.0 SLES PPC uploaded Cool :) Seems we'll have a best jk release ever. Where are the Netware guys? Regards, Mladen. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 34652] - JspC does not support Smap generation
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=34652. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=34652 [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED --- Additional Comments From [EMAIL PROTECTED] 2005-04-29 19:51 --- I have applied the patch. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug, or are watching the assignee. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 34549] - isUserInRole() on non-secure pages
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=34549. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=34549 [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||INVALID --- Additional Comments From [EMAIL PROTECTED] 2005-04-29 19:54 --- Well, since we're not going to create a session in the authenticator, this bug is not a bug. You should be able to use a filter which creates a session to do what you want. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug, or are watching the assignee. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 33777] - tomcat not supporting jrockit jdk
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=33777. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=33777 --- Additional Comments From [EMAIL PROTECTED] 2005-04-29 20:13 --- We have added the -Xrs option to our recently released JRockit 5.0 (R25.1). Announcement here: http://forums.bea.com/bea/thread.jspa?threadID=63820 I suggest you close this after verifying that it works as intended. /Henrik -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug, or are watching the assignee. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: jakarta-tomcat-connectors/jk/xdocs/config workers.xml
pero2005/04/29 13:08:53 Modified:jk/xdocs changelog.xml jk/xdocs/config workers.xml Log: Document the worker secret attribute. I hope we can update the site. Revision ChangesPath 1.27 +5 -1 jakarta-tomcat-connectors/jk/xdocs/changelog.xml Index: changelog.xml === RCS file: /home/cvs/jakarta-tomcat-connectors/jk/xdocs/changelog.xml,v retrieving revision 1.26 retrieving revision 1.27 diff -u -r1.26 -r1.27 --- changelog.xml 27 Apr 2005 14:06:17 - 1.26 +++ changelog.xml 29 Apr 2005 20:08:53 - 1.27 @@ -31,8 +31,12 @@ fixAdded missing SEARCH and ACL http methods. (mturk) /fix update + Add worker secret attribute to the documentation (pero) + /update + update Add a stopped flag to worker configuration. Set flag True and - complete traffic to worker is stopped. + complete traffic to worker is stopped. + Also update the Ant JkStatusUpdateTask at Tomcat 5.5.10 release. Only usefull in a replicated session cluster.(pero) /update updateAdded worker maintain function that will maintain all 1.15 +6 -0 jakarta-tomcat-connectors/jk/xdocs/config/workers.xml Index: workers.xml === RCS file: /home/cvs/jakarta-tomcat-connectors/jk/xdocs/config/workers.xml,v retrieving revision 1.14 retrieving revision 1.15 diff -u -r1.14 -r1.15 --- workers.xml 26 Apr 2005 15:30:59 - 1.14 +++ workers.xml 29 Apr 2005 20:08:53 - 1.15 @@ -378,6 +378,12 @@ /p /directive +directive name=secret default= required=false +If set to AJP Connector secret keyword, only request with this keyword are successfull responding. +Use brequest.useSecret=true/b and brequest.secret=secret key word/b at your tomcat ajp +Connector configuration. +/directive + /directives /subsection - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: jakarta-tomcat-catalina/modules/cluster/src/share/org/apache/catalina/cluster/session DeltaManager.java
pero2005/04/29 13:11:26 Modified:modules/cluster/src/share/org/apache/catalina/cluster/session DeltaManager.java Log: fIX that application can start/stop and start again. Revision ChangesPath 1.46 +20 -2 jakarta-tomcat-catalina/modules/cluster/src/share/org/apache/catalina/cluster/session/DeltaManager.java Index: DeltaManager.java === RCS file: /home/cvs/jakarta-tomcat-catalina/modules/cluster/src/share/org/apache/catalina/cluster/session/DeltaManager.java,v retrieving revision 1.45 retrieving revision 1.46 diff -u -r1.45 -r1.46 --- DeltaManager.java 22 Apr 2005 20:33:45 - 1.45 +++ DeltaManager.java 29 Apr 2005 20:11:26 - 1.46 @@ -29,8 +29,10 @@ import java.util.Date; import java.util.Iterator; +import org.apache.catalina.Cluster; import org.apache.catalina.Container; import org.apache.catalina.Context; +import org.apache.catalina.Host; import org.apache.catalina.Lifecycle; import org.apache.catalina.LifecycleException; import org.apache.catalina.LifecycleListener; @@ -896,6 +898,22 @@ // Load unloaded sessions, if any try { //the channel is already running +Cluster cluster = getCluster() ; +// stop remove cluster binding +if(cluster == null) { +Container context = getContainer() ; +if(context != null context instanceof Context) { + Container host = context.getParent() ; + if(host != null host instanceof Host) { + cluster = host.getCluster(); + if(cluster != null cluster instanceof CatalinaCluster) { + setCluster((CatalinaCluster) cluster) ; + } else { + cluster = null ; + } + } +} +} if (cluster == null) { log.error(sm.getString(deltaManager.noCluster, getName())); return; @@ -905,7 +923,7 @@ .getString(deltaManager.startClustering, getName())); //to survice context reloads, as only a stop/start is called, not // createManager -getCluster().addManager(getName(), this); +((CatalinaCluster)cluster).addManager(getName(), this); getAllClusterSessions(); - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: jakarta-tomcat-catalina/modules/cluster/src/share/org/apache/catalina/cluster/session JvmRouteBinderValve.java
pero2005/04/29 13:12:16 Modified:modules/cluster/src/share/org/apache/catalina/cluster/session JvmRouteBinderValve.java Log: Only log check message at debug log level. Revision ChangesPath 1.8 +4 -4 jakarta-tomcat-catalina/modules/cluster/src/share/org/apache/catalina/cluster/session/JvmRouteBinderValve.java Index: JvmRouteBinderValve.java === RCS file: /home/cvs/jakarta-tomcat-catalina/modules/cluster/src/share/org/apache/catalina/cluster/session/JvmRouteBinderValve.java,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- JvmRouteBinderValve.java 22 Apr 2005 20:33:45 - 1.7 +++ JvmRouteBinderValve.java 29 Apr 2005 20:12:16 - 1.8 @@ -225,10 +225,10 @@ } else { handleJvmRoute( request, response,session.getIdInternal(), jvmRoute); } -if (log.isInfoEnabled()) { +if (log.isDebugEnabled()) { long t2 = System.currentTimeMillis(); long time = t2 - t1; -log.info(sm.getString(jvmRoute.turnoverInfo, new Long(time))); +log.debug(sm.getString(jvmRoute.turnoverInfo, new Long(time))); } } } @@ -256,7 +256,7 @@ Manager manager = request.getContext().getManager(); if (log.isDebugEnabled()) { if(manager != null) -log.debug(sm.getString(jvmRoute.foundManager, manager, request.getContext().getName())); +log.debug(sm.getString(jvmRoute.foundManager, manager, request.getContext().getName())); else log.debug(sm.getString(jvmRoute.notFoundManager, manager, request.getContext().getName())); } - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 32696] - WEB-INF protection stops IIS
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=32696. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=32696 --- Additional Comments From [EMAIL PROTECTED] 2005-04-29 22:12 --- Where exactly in the spec does it say to return 404 instead of 403? -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug, or are watching the assignee. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: jakarta-tomcat-catalina/modules/cluster/src/share/org/apache/catalina/cluster/tcp mbeans-descriptors.xml
pero2005/04/29 13:13:40 Modified:modules/cluster/src/share/org/apache/catalina/cluster/tcp mbeans-descriptors.xml Log: Update Descriptor Revision ChangesPath 1.11 +2 -2 jakarta-tomcat-catalina/modules/cluster/src/share/org/apache/catalina/cluster/tcp/mbeans-descriptors.xml Index: mbeans-descriptors.xml === RCS file: /home/cvs/jakarta-tomcat-catalina/modules/cluster/src/share/org/apache/catalina/cluster/tcp/mbeans-descriptors.xml,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- mbeans-descriptors.xml22 Apr 2005 20:33:45 - 1.10 +++ mbeans-descriptors.xml29 Apr 2005 20:13:40 - 1.11 @@ -239,13 +239,13 @@ type=java.lang.String writeable=false/ attribute name=replicationMode - description=replication mode (synchnous,pooled.asynchnous) + description=replication mode (synchnous,pooled.asynchnous,fastasyncqueue) type=java.lang.String/ attribute name=ackTimeout description=acknowledge timeout type=long/ attribute name=autoConnect - description=is sender disabled, fork a new one + description=is sender disabled, fork a new socket is=true type=boolean / attribute name=waitForAck - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: jakarta-tomcat-catalina/webapps/docs cluster-howto.xml
pero2005/04/29 13:14:58 Modified:webapps/docs cluster-howto.xml Log: Not ready, but add some important information about current cluster modul implementation details. Revision ChangesPath 1.6 +428 -7jakarta-tomcat-catalina/webapps/docs/cluster-howto.xml Index: cluster-howto.xml === RCS file: /home/cvs/jakarta-tomcat-catalina/webapps/docs/cluster-howto.xml,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- cluster-howto.xml 5 Feb 2004 16:05:31 - 1.5 +++ cluster-howto.xml 29 Apr 2005 20:14:58 - 1.6 @@ -8,6 +8,7 @@ properties author email=[EMAIL PROTECTED]Filip Hanik/author +author email=[EMAIL PROTECTED]Peter Rossbach/author titleClustering/Session Replication HOW-TO/title /properties @@ -24,7 +25,9 @@ liUncomment the codeValve(ReplicationValve)/code element in server.xml/li liIf your Tomcat instances are running on the same machine, make sure the codetcpListenPort/code attribute is unique for each instance./li -liMake sure your codeweb.xml/code has the codelt;distributable/gt;/code element/li +liMake sure your codeweb.xml/code has the codelt;distributable/gt;/code element +or set at your codelt;Context distributable=true /gt;/code/li +liMake sure that jvmRoute attribute is set at your Engine codelt;Engine name=Catalina jvmRoute=node1 gt;/code/li /ul pLoad balancing can be achieved through many techniques, as seen in the a href=balancer-howto.htmlLoad Balancing/a chapter./p @@ -38,8 +41,8 @@ pTo enable session replication in Tomcat, three different paths can be followed to achieve the exact same thing:/p ol - liUsing session persistence, and saving the session to a shared file system (PersistenceManager)/li - liUsing session persistence, and saving the session to a shared database (JDBCManager)/li + liUsing session persistence, and saving the session to a shared file system (PersistenceManager + FileStore)/li + liUsing session persistence, and saving the session to a shared database (PersistenceManager + JDBCStore)/li liUsing in-memory-replication, using the SimpleTcpCluster that ships with Tomcat 5 (server/lib/catalina-cluster.jar)/li /ol @@ -47,7 +50,9 @@ This is an algorithm that is only efficient when the clusters are small. For large clusters, the next release will support a primary-secondary session replication where the session will only be stored at one - or maybe two backup servers. + or maybe two backup servers. + Currently you can use the domain worker attribute (mod:_jk gt; 1.2.8) to build cluster partitions + with the potential of very scaleable cluster solution. In order to keep the network traffic down in an all-to-all environment, you can split your cluster into smaller groups. This can be easily achieved by using different multicast addresses for the different groups. A very simple setup would look like this: @@ -66,7 +71,7 @@ pWhat is important to mention here, is that session replication is only the beginning of clustering. Another popular concept used to implement clusters is farming, ie, you deploy your apps only to one server, and the cluster will distribute the deployments across the entire cluster. - This is all capabilities that can go into the next release./p + This is all capabilities that can go into with the FarmWarDeployer (s. cluster example at codeserver.xml/code)/p pIn the next section will go deeper into how session replication works and how to configure it./p /section @@ -259,20 +264,436 @@ request times, and synchronous replication guarantees the session to be replicated before the request returns. /p p -The parameter quot;replicationModequot; has three different settings: quot;pooledquot;, quot;synchronousquot; and quot;asynchronousquot; +The parameter quot;replicationModequot; has four different settings: quot;pooledquot;, quot;synchronousquot;, quot;asynchronousquot; and quot;fastasyncqueuequot; /p + +section name=Cluster Configuration for ReplicationTransmitter +p +List of Attributesbr/ +table border=1 cellpadding=5 + + tr +th align=center bgcolor=aquaAttribute/th +th align=center bgcolor=aquaDescription/th +th align=center bgcolor=aquaDefault value/th + /tr + + tr +tdreplicationMode/td +tdreplication mode (synchronous,pooled.asynchronous,fastasyncqueue) +/td +tdcodepooled/code/td + /tr + + tr +tdprocessSenderFrequency/td +td/td +tdcode2/code/td + /tr + + tr +tdcompress/td +tdcompress bytes before sending (consume memory, but reduce network traffic - GZIP)/td +tdcodefalse/code/td + /tr + + tr +
Re: [ANN/VOTE] JK 1.2.11 Released
I just put 1.2.11 on my server and is having a problem with an invalid parameter passed from pthread_mutex_destroy() to kMutexFree(). pthread_mutex_destroy() is called within wc_close() when unloading jk. I am just getting started on trying to find the source of the problem. I don't see that problem with 1.2.10 on the same version of NetWare. Which make sense because the worker_lock is new in 1.2.11. Any hints? JJ [EMAIL PROTECTED] 4/29/2005 11:43 AM Henri Gomez wrote: Binaries for iSeries v5R3 and Suse 8.0 SLES PPC uploaded Cool :) Seems we'll have a best jk release ever. Where are the Netware guys? Regards, Mladen. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 34687] New: - two doc bugs in connectors-doc/config/printer/apache.html
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=34687. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=34687 Summary: two doc bugs in connectors- doc/config/printer/apache.html Product: Tomcat 5 Version: 5.5.9 Platform: Other URL: http://jakarta.apache.org/tomcat/connectors- doc/config/printer/apache.html OS/Version: other Status: NEW Severity: minor Priority: P2 Component: Native:JK AssignedTo: tomcat-dev@jakarta.apache.org ReportedBy: [EMAIL PROTECTED] Problem #1: JkShmSize Size of the shared memory file name. Default is 1MB. According to http://jakarta.apache.org/tomcat/connectors-doc/changelog.html the default is now 64 k Problem #2: text says jpg, example shows gif JkUnmount directive acts as an opposite to JkMount and blocks access to a particular URL. The purpose is to be able to filter out the particular content types from mounted context. The following example mounts /servlet/* context, but all .jpg files that belongs to that context are not served. # send all requests ending with /servlet to worker1 JkMount /servlet/* worker1 # do not send requests ending with .gif to worker1 JkUnMount /servlet/*.gif worker1 -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug, or are watching the assignee. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/connector CoyoteOutputStream.java RequestFacade.java CoyoteInputStream.java ResponseFacade.java CoyoteWriter.java CoyoteReader.java
remm2005/04/29 15:22:29 Modified:catalina/src/share/org/apache/catalina/connector CoyoteOutputStream.java RequestFacade.java CoyoteInputStream.java ResponseFacade.java CoyoteWriter.java CoyoteReader.java Log: - Prevent cloning of facade objects. Revision ChangesPath 1.2 +12 -0 jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/connector/CoyoteOutputStream.java Index: CoyoteOutputStream.java === RCS file: /home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/connector/CoyoteOutputStream.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- CoyoteOutputStream.java 23 Jun 2004 08:24:57 - 1.1 +++ CoyoteOutputStream.java 29 Apr 2005 22:22:29 - 1.2 @@ -45,6 +45,18 @@ } +// - Public Methods + + +/** + * Prevent cloning the facade. + */ +protected Object clone() +throws CloneNotSupportedException { +throw new CloneNotSupportedException(); +} + + // Package Methods 1.9 +10 -1 jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/connector/RequestFacade.java Index: RequestFacade.java === RCS file: /home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/connector/RequestFacade.java,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- RequestFacade.java22 Nov 2004 16:35:18 - 1.8 +++ RequestFacade.java29 Apr 2005 22:22:29 - 1.9 @@ -237,6 +237,15 @@ request = null; } + +/** + * Prevent cloning the facade. + */ +protected Object clone() +throws CloneNotSupportedException { +throw new CloneNotSupportedException(); +} + // - ServletRequest Methods 1.3 +12 -0 jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/connector/CoyoteInputStream.java Index: CoyoteInputStream.java === RCS file: /home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/connector/CoyoteInputStream.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- CoyoteInputStream.java22 Nov 2004 16:35:17 - 1.2 +++ CoyoteInputStream.java29 Apr 2005 22:22:29 - 1.3 @@ -61,6 +61,18 @@ } +// - Public Methods + + +/** + * Prevent cloning the facade. + */ +protected Object clone() +throws CloneNotSupportedException { +throw new CloneNotSupportedException(); +} + + // - ServletInputStream Methods 1.10 +10 -1 jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/connector/ResponseFacade.java Index: ResponseFacade.java === RCS file: /home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/connector/ResponseFacade.java,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- ResponseFacade.java 22 Nov 2004 16:35:18 - 1.9 +++ ResponseFacade.java 29 Apr 2005 22:22:29 - 1.10 @@ -125,6 +125,15 @@ } +/** + * Prevent cloning the facade. + */ +protected Object clone() +throws CloneNotSupportedException { +throw new CloneNotSupportedException(); +} + + public void finish() { if (response == null) { 1.2 +12 -0 jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/connector/CoyoteWriter.java Index: CoyoteWriter.java === RCS file: /home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/connector/CoyoteWriter.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- CoyoteWriter.java 23 Jun 2004 08:24:58 - 1.1 +++ CoyoteWriter.java 29 Apr 2005 22:22:29 - 1.2 @@ -51,6 +51,18 @@ } +// - Public Methods + + +/** + * Prevent cloning the facade. + */ +protected Object clone() +throws CloneNotSupportedException { +throw new CloneNotSupportedException();
Re: [ANN/VOTE] JK 1.2.11 Released
It looks like wc_close() is called twice when JK is unloading and destroying its memory pools resulting in trying to free the same mutex twice. Anyway, I have to run to the airport, but will look at it tomorrow sometime. Sorry about the delay, JJ [EMAIL PROTECTED] 4/29/2005 2:57:11 PM I just put 1.2.11 on my server and is having a problem with an invalid parameter passed from pthread_mutex_destroy() to kMutexFree(). pthread_mutex_destroy() is called within wc_close() when unloading jk. I am just getting started on trying to find the source of the problem. I don't see that problem with 1.2.10 on the same version of NetWare. Which make sense because the worker_lock is new in 1.2.11. Any hints? JJ [EMAIL PROTECTED] 4/29/2005 11:43 AM Henri Gomez wrote: Binaries for iSeries v5R3 and Suse 8.0 SLES PPC uploaded Cool :) Seems we'll have a best jk release ever. Where are the Netware guys? Regards, Mladen. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Initial test of APR on Solaris
I've finally had some time to get the new APR Connector compiled on my Solaris box, and my initial 'ab' tests seem to show that the Http11Protocol wins. I can see if I can get some time to do better tests next week. The test consists of running 'ab' from an XP box like: ab -n 1000 -c 300 -k http://myserver:8080/tomcat.gif Except for the maxThreads noted below, the Tomcat settings are simply the default ones. The results for Http11AprProtocol (with maxThreads = 150): Concurrency Level: 300 Time taken for tests: 19.281250 seconds Complete requests: 1000 Failed requests:0 Write errors: 0 Keep-Alive requests:1000 Total transferred: 2164000 bytes HTML transferred: 1934000 bytes Requests per second:51.86 [#/sec] (mean) Time per request: 5784.375 [ms] (mean) Time per request: 19.281 [ms] (mean, across all concurrent requests) Transfer rate: 109.59 [Kbytes/sec] received The results for Http11Protocol (with maxThreads = 350) Concurrency Level: 300 Time taken for tests: 13.515625 seconds Complete requests: 1000 Failed requests:0 Write errors: 0 Keep-Alive requests:1000 Total transferred: 2164000 bytes HTML transferred: 1934000 bytes Requests per second:73.99 [#/sec] (mean) Time per request: 4054.688 [ms] (mean) Time per request: 13.516 [ms] (mean, across all concurrent requests) Transfer rate: 156.34 [Kbytes/sec] received Keeping the maxThread count low is the only way I can keep Apr alive at all: It fails with OutOfMemoryErrors if I give it 350 threads. This message is intended only for the use of the person(s) listed above as the intended recipient(s), and may contain information that is PRIVILEGED and CONFIDENTIAL. If you are not an intended recipient, you may not read, copy, or distribute this message or any attachment. If you received this communication in error, please notify us immediately by e-mail and then delete all copies of this message and any attachments. In addition you should be aware that ordinary (unencrypted) e-mail sent through the Internet is not secure. Do not send confidential or sensitive information, such as social security numbers, account numbers, personal identification numbers and passwords, to us via ordinary (unencrypted) e-mail. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Muchas gracias por su aporte
De nuestra consideración: Le agradecemos desde la redacción de enplenitud.com la confianza puesta en nosotros y en nuestro trabajo al enviarnos estos datos. En las próximas horas los invitaremos a incorporarse a nuestra comunidad y a recibir el próximo newsletter Por favor, tenga en cuenta que este programa se refiere sólo a la invitación a conocer nuestro sitio y boletín a nuevas personas, y no a ningún requisito a cumplir para poder participar de los mismos. Un saludo cordial desde En Plenitud, y esperamos seguir contando con sus aportes y si lo desea, sus sugerencias. Dra. Susana Pérez Directora de Comunidad www.enplenitud.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/connector Connector.java CoyoteAdapter.java
billbarker2005/04/29 20:32:43 Modified:catalina/src/share/org/apache/catalina/connector Connector.java CoyoteAdapter.java Log: Add option to enable IP-based Virtual Hosting. Fix for bug #34648 Revision ChangesPath 1.18 +22 -1 jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/connector/Connector.java Index: Connector.java === RCS file: /home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/connector/Connector.java,v retrieving revision 1.17 retrieving revision 1.18 diff -u -r1.17 -r1.18 --- Connector.java28 Apr 2005 12:29:51 - 1.17 +++ Connector.java30 Apr 2005 03:32:43 - 1.18 @@ -208,6 +208,10 @@ */ protected boolean stopped = false; +/** + * Flag to use IP-based virtual hosting. + */ +protected boolean useIPVHosts = false; /** * The background thread. @@ -853,6 +857,23 @@ setProperty(xpoweredBy, String.valueOf(xpoweredBy)); } +/** + * Enable the use of IP-based virtual hosting. + * + * @param useIPVHosts codetrue/code if Hosts are identified by IP, + *codefalse/code if Hosts are identified by name. + */ +public void setUseIPVHosts(boolean useIPVHosts) { +this.useIPVHosts = useIPVHosts; +setProperty(useIPVHosts, String.valueOf(useIPVHosts)); +} + +/** + * Test if IP-based virtual hosting is enabled. + */ +public boolean getUseIPVHosts() { +return useIPVHosts; +} // - Public Methods 1.9 +12 -2 jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/connector/CoyoteAdapter.java Index: CoyoteAdapter.java === RCS file: /home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/connector/CoyoteAdapter.java,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- CoyoteAdapter.java27 Oct 2004 22:58:17 - 1.8 +++ CoyoteAdapter.java30 Apr 2005 03:32:43 - 1.9 @@ -259,7 +259,17 @@ } // Request mapping. -connector.getMapper().map(req.serverName(), decodedURI, +MessageBytes serverName; +if(connector.getUseIPVHosts()) { +serverName = req.localName(); +if(serverName.isNull()) { +// well, they did ask for it +res.action(ActionCode.ACTION_REQ_LOCAL_NAME_ATTRIBUTE, null); +} +} else { +serverName = req.serverName(); +} +connector.getMapper().map(serverName, decodedURI, request.getMappingData()); request.setContext((Context) request.getMappingData().context); request.setWrapper((Wrapper) request.getMappingData().wrapper); - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 34648] - AJP uses Host header not ServerName directive from Apache
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=34648. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=34648 [EMAIL PROTECTED] changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution||FIXED --- Additional Comments From [EMAIL PROTECTED] 2005-04-30 05:35 --- The option has now been added to the CVS, and will appear in 5.5.10. To enable it, use: Connector protocol=AJP/1.3 useIPVHosts=true ... / -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug, or are watching the assignee. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: cvs commit: jakarta-tomcat-catalina/webapps/docs cluster-howto.xml
[EMAIL PROTECTED] wrote: pero2005/04/29 13:14:58 Modified:webapps/docs cluster-howto.xml Log: Not ready, but add some important information about current cluster modul implementation details. Revision ChangesPath 1.6 +428 -7jakarta-tomcat-catalina/webapps/docs/cluster-howto.xml [snip] section name=FAQ pTo be completed once I receive questions about session replication:/p ol -liQ: What happens when I pull the network cord?p/p +liQ: What happens when I pull the network card?p/p Actually, I think this really is supposed to be cord, not card. Maybe replacing it with the word cable would be better? Cheers. -- Jason Brittain - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: jakarta-tomcat-catalina/webapps/docs/config ajp.xml http.xml
billbarker2005/04/29 21:35:37 Modified:webapps/docs changelog.xml webapps/docs/config ajp.xml http.xml Log: Update docs to include new Virtual Host option. Revision ChangesPath 1.296 +3 -0 jakarta-tomcat-catalina/webapps/docs/changelog.xml Index: changelog.xml === RCS file: /home/cvs/jakarta-tomcat-catalina/webapps/docs/changelog.xml,v retrieving revision 1.295 retrieving revision 1.296 diff -u -r1.295 -r1.296 --- changelog.xml 29 Apr 2005 17:18:21 - 1.295 +++ changelog.xml 30 Apr 2005 04:35:37 - 1.296 @@ -136,6 +136,9 @@ Add Apache Portable Runtime based HTTP/1.1 protocol handler, without SSL support, which provides efficient worker thread usage (remm) /add + add +bug34648/bug: Add configuration option to enable IP-based Virtual Hosts. (billbarker) + /add /changelog /subsection 1.14 +6 -0 jakarta-tomcat-catalina/webapps/docs/config/ajp.xml Index: ajp.xml === RCS file: /home/cvs/jakarta-tomcat-catalina/webapps/docs/config/ajp.xml,v retrieving revision 1.13 retrieving revision 1.14 diff -u -r1.13 -r1.14 --- ajp.xml 6 Apr 2005 15:54:05 - 1.13 +++ ajp.xml 30 Apr 2005 04:35:37 - 1.14 @@ -147,6 +147,12 @@ /p /attribute +attribute name=useIPVHosts required=false + pSet this attribute to codetrue/code to cause Tomcat to use + the ServerName passed by the native web server to determine the Host + to send the request to. The default value is codefalse/code./p +/attribute + attribute name=xpoweredBy required=false pSet this attribute to codetrue/code to cause Tomcat to advertise support for the Srevlet specification using the header recommended in the 1.22 +6 -0 jakarta-tomcat-catalina/webapps/docs/config/http.xml Index: http.xml === RCS file: /home/cvs/jakarta-tomcat-catalina/webapps/docs/config/http.xml,v retrieving revision 1.21 retrieving revision 1.22 diff -u -r1.21 -r1.22 --- http.xml 6 Apr 2005 15:54:05 - 1.21 +++ http.xml 30 Apr 2005 04:35:37 - 1.22 @@ -146,6 +146,12 @@ /p /attribute +attribute name=useIPVHosts required=false + pSet this attribute to codetrue/code to cause Tomcat to use + the IP address that the request was recieved on to determine the Host + to send the request to. The default value is codefalse/code./p +/attribute + attribute name=xpoweredBy required=false pSet this attribute to codetrue/code to cause Tomcat to advertise support for the Srevlet specification using the header recommended in the - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [ANN/VOTE] JK 1.2.11 Released
Jean-Jacques Clar wrote: It looks like wc_close() is called twice when JK is unloading and destroying its memory pools resulting in trying to free the same mutex twice. Hmm, it is not called twice, but rather once for each virtual host. This only shows we were doing that wrongly for so long :). Anyhow the fix would be trivial by invoking wc_close(NULL) only if the !s-is_virtual, or by adding some flag in wc_close for assuring it is called only once. Regards, Mladen. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Initial test of APR on Solaris
Bill Barker wrote: I've finally had some time to get the new APR Connector compiled on my Solaris box, and my initial 'ab' tests seem to show that the Http11Protocol wins. I can see if I can get some time to do better tests next week. The test consists of running 'ab' from an XP box like: ab -n 1000 -c 300 -k http://myserver:8080/tomcat.gif The results for Http11AprProtocol (with maxThreads = 150): Concurrency Level: 300 This test is wrong by all means ;) ab can not put an wait between the keep-alive requests, so basically you are just choking you network throughput and killing keep-alive cons. Since it can not put an wait neither the poller can have a chance to work. When using ab for testing then you should not exceed the maxThreads, because you have a 300 concurrent users doing requests. The trick with APR implementation is by presuming that all connected users will not actually make request concurrently, but let's say from 1000 connected users, only 100 will be doing requests. Presuming something like that we can keep the thread count low while having a large number of connected users. So to test the performance with ab you should not go over maxThreads. You can use Peter Lin's test plans for JMeter, that simulates the real-life scenario, and see how that behaves. Also an tests the results from Http11Protocol/Http11AprProtocol should be more or less equal, because like side, no chance for a poller to do anything. Regards, Mladen. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]