DO NOT REPLY [Bug 34693] - Tomcat infinite wait on noised network
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=34693. 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=34693 [EMAIL PROTECTED] changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|INVALID | -- 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 34693] - Tomcat infinite wait on noised network
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=34693. 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=34693 --- Additional Comments From [EMAIL PROTECTED] 2005-05-14 09:58 --- This isn't plausibile: the same wrong behaviour appear with tomcat on WinXP in the same noised-network. -- 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 34693] - Tomcat infinite wait on noised network
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=34693. 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=34693 [EMAIL PROTECTED] changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution||INVALID --- Additional Comments From [EMAIL PROTECTED] 2005-05-14 10:58 --- This is simply wasting time. Please do not reopen the report until you can point out a specific defect in Tomcat. -- 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]
[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 151 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-14052005/build/libtool --silent --mode=compile gcc -I/usr/local/gump/public/workspace/apache-httpd/dest-14052005/include -g -O2 -g -O2 -pthread -DHAVE_APR -I/usr/local/gump/public/workspace/apr/dest-14052005/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-14052005/build/libtool: /usr/local/gump/public/workspace/apache-httpd/dest-14052005/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 3314052005, brutus:brutus-public:3314052005 Gump E-mail Identifier (unique within run) #20. -- Apache Gump http://gump.apache.org/ [Instance: brutus] - 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 151 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-14052005/build/libtool --silent --mode=compile gcc -I/usr/local/gump/public/workspace/apache-httpd/dest-14052005/include -g -O2 -g -O2 -pthread -DHAVE_APR -I/usr/local/gump/public/workspace/apr/dest-14052005/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-14052005/build/libtool: /usr/local/gump/public/workspace/apache-httpd/dest-14052005/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 3314052005, brutus:brutus-public:3314052005 Gump E-mail Identifier (unique within run) #20. -- Apache Gump http://gump.apache.org/ [Instance: brutus] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED]: Project jakarta-tomcat-catalina (in module jakarta-tomcat-catalina) 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-catalina has an issue affecting its community integration. This issue affects 2 projects, and has been outstanding for 5 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-catalina : Servlet 2.4 Reference Implementation - jakarta-tomcat-jk : Connectors to various web servers Full details are available at: http://brutus.apache.org/gump/public/jakarta-tomcat-catalina/jakarta-tomcat-catalina/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -DEBUG- Dependency on ant exists, no need to add for property ant.home. -DEBUG- Dependency on jmx exists, no need to add for property jmx.home. -DEBUG- Dependency on jaf exists, no need to add for property activation.home. -DEBUG- Dependency on jakarta-tomcat-coyote exists, no need to add for property tomcat-coyote.home. -INFO- Failed with reason build failed -DEBUG- Extracted fallback artifacts from Gump Repository The following work was performed: http://brutus.apache.org/gump/public/jakarta-tomcat-catalina/jakarta-tomcat-catalina/gump_work/build_jakarta-tomcat-catalina_jakarta-tomcat-catalina.html Work Name: build_jakarta-tomcat-catalina_jakarta-tomcat-catalina (Type: Build) Work ended in a state of : Failed Elapsed: 7 secs Command Line: java -Djava.awt.headless=true -Xbootclasspath/p:/usr/local/gump/public/workspace/xml-xerces2/java/build/xercesImpl.jar:/usr/local/gump/public/workspace/xml-commons/java/external/build/xml-apis.jar:/usr/local/gump/public/workspace/xml-xalan/java/build/serializer.jar:/usr/local/gump/public/workspace/xml-xalan/java/build/xalan-unbundled.jar org.apache.tools.ant.Main -Dgump.merge=/home/gump/workspaces2/public/gump/work/merge.xml -Dbuild.sysclasspath=only -Dtomcat33.home=--UnSet-- -Dcatalina.build=/usr/local/gump/public/workspace/jakarta-tomcat-catalina/build -Djmx.home=/usr/local/gump/packages/jmx-1_2-ri -Djdbc20ext.jar=/usr/local/gump/packages/jdbc2_0/jdbc2_0-stdext.jar -Djtc.home=/usr/local/gump/public/workspace/jakarta-tomcat-connectors -Djasper.home=/usr/local/gump/public/workspace/jakarta-tomcat-jasper_tc5/jasper2 -Dant.home=/usr/local/gump/public/workspace/ant/dist -Dcompile.source=1.4 -Dcommons-collections.jar=/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-14052005.jar -Dcatalina.deploy=/usr/local/gump/public/workspace/jakarta-tomcat-catalina/build -Djaas.jar=/usr/local/gump/packages/jaas1_0/lib/jaas.jar -Dcommons-fileupload.jar=/usr/local/gump/public/workspace/jakarta-commons/fileupload/target/commons-fileupload-14052005.jar -Dcommons-digester.jar=/usr/local/gump/public/workspace/jakarta-commons/digester/dist/commons-digester.jar -Dactivation.home=/usr/local/gump/packages/jaf-1.0.1 -Dcatalina.home=/usr/local/gump/public/workspace/jakarta-tomcat-catalina/build -Dcommons-launcher.jar=/usr/local/gump/public/workspace/jakarta-commons/launcher/dist/bin/commons-launcher.jar -Dtomcat.build=/usr/local/gump/public/workspace/jakarta-tomcat-catalina/build -Dcommons-beanutils.jar=/usr/local/gump/public/workspace/jakarta-commons/beanutils/dist/commons-beanutils-core.jar -Dcommons-modeler.jar=/usr/local/gump/public/workspace/jakarta-commons/modeler/dist/commons-modeler-14052005.jar -Dtomcat-coyote.home=/usr/local/gump/public/workspace/jakarta-tomcat-connectors/coyote -Dcommons-logging-api.jar=/usr/local/gump/public/workspace/jakarta-commons/logging/dist/commons-logging-api.jar -Dtomcat-dbcp.jar=/usr/local/gump/public/workspace/jakarta-tomcat-5/tomcat-deps/naming-factory-dbcp.jar -Djta.jar=/usr/local/gump/packages/jta-spec1_0_1/jta-spec1_0_1.jar deploy-catalina [Working Directory: /usr/local/gump/public/workspace/jakarta-tomcat-catalina] CLASSPATH:
[EMAIL PROTECTED]: Project jakarta-tomcat-catalina (in module jakarta-tomcat-catalina) 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-catalina has an issue affecting its community integration. This issue affects 2 projects, and has been outstanding for 5 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-catalina : Servlet 2.4 Reference Implementation - jakarta-tomcat-jk : Connectors to various web servers Full details are available at: http://brutus.apache.org/gump/public/jakarta-tomcat-catalina/jakarta-tomcat-catalina/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -DEBUG- Dependency on ant exists, no need to add for property ant.home. -DEBUG- Dependency on jmx exists, no need to add for property jmx.home. -DEBUG- Dependency on jaf exists, no need to add for property activation.home. -DEBUG- Dependency on jakarta-tomcat-coyote exists, no need to add for property tomcat-coyote.home. -INFO- Failed with reason build failed -DEBUG- Extracted fallback artifacts from Gump Repository The following work was performed: http://brutus.apache.org/gump/public/jakarta-tomcat-catalina/jakarta-tomcat-catalina/gump_work/build_jakarta-tomcat-catalina_jakarta-tomcat-catalina.html Work Name: build_jakarta-tomcat-catalina_jakarta-tomcat-catalina (Type: Build) Work ended in a state of : Failed Elapsed: 7 secs Command Line: java -Djava.awt.headless=true -Xbootclasspath/p:/usr/local/gump/public/workspace/xml-xerces2/java/build/xercesImpl.jar:/usr/local/gump/public/workspace/xml-commons/java/external/build/xml-apis.jar:/usr/local/gump/public/workspace/xml-xalan/java/build/serializer.jar:/usr/local/gump/public/workspace/xml-xalan/java/build/xalan-unbundled.jar org.apache.tools.ant.Main -Dgump.merge=/home/gump/workspaces2/public/gump/work/merge.xml -Dbuild.sysclasspath=only -Dtomcat33.home=--UnSet-- -Dcatalina.build=/usr/local/gump/public/workspace/jakarta-tomcat-catalina/build -Djmx.home=/usr/local/gump/packages/jmx-1_2-ri -Djdbc20ext.jar=/usr/local/gump/packages/jdbc2_0/jdbc2_0-stdext.jar -Djtc.home=/usr/local/gump/public/workspace/jakarta-tomcat-connectors -Djasper.home=/usr/local/gump/public/workspace/jakarta-tomcat-jasper_tc5/jasper2 -Dant.home=/usr/local/gump/public/workspace/ant/dist -Dcompile.source=1.4 -Dcommons-collections.jar=/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-14052005.jar -Dcatalina.deploy=/usr/local/gump/public/workspace/jakarta-tomcat-catalina/build -Djaas.jar=/usr/local/gump/packages/jaas1_0/lib/jaas.jar -Dcommons-fileupload.jar=/usr/local/gump/public/workspace/jakarta-commons/fileupload/target/commons-fileupload-14052005.jar -Dcommons-digester.jar=/usr/local/gump/public/workspace/jakarta-commons/digester/dist/commons-digester.jar -Dactivation.home=/usr/local/gump/packages/jaf-1.0.1 -Dcatalina.home=/usr/local/gump/public/workspace/jakarta-tomcat-catalina/build -Dcommons-launcher.jar=/usr/local/gump/public/workspace/jakarta-commons/launcher/dist/bin/commons-launcher.jar -Dtomcat.build=/usr/local/gump/public/workspace/jakarta-tomcat-catalina/build -Dcommons-beanutils.jar=/usr/local/gump/public/workspace/jakarta-commons/beanutils/dist/commons-beanutils-core.jar -Dcommons-modeler.jar=/usr/local/gump/public/workspace/jakarta-commons/modeler/dist/commons-modeler-14052005.jar -Dtomcat-coyote.home=/usr/local/gump/public/workspace/jakarta-tomcat-connectors/coyote -Dcommons-logging-api.jar=/usr/local/gump/public/workspace/jakarta-commons/logging/dist/commons-logging-api.jar -Dtomcat-dbcp.jar=/usr/local/gump/public/workspace/jakarta-tomcat-5/tomcat-deps/naming-factory-dbcp.jar -Djta.jar=/usr/local/gump/packages/jta-spec1_0_1/jta-spec1_0_1.jar deploy-catalina [Working Directory: /usr/local/gump/public/workspace/jakarta-tomcat-catalina] CLASSPATH:
cvs commit: jakarta-tomcat-connectors/jk/native/common jk_ajp_common.c
mturk 2005/05/14 03:05:42 Modified:jk/native/common jk_ajp_common.c Log: Update last_access on done too. Revision ChangesPath 1.111 +4 -1 jakarta-tomcat-connectors/jk/native/common/jk_ajp_common.c Index: jk_ajp_common.c === RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native/common/jk_ajp_common.c,v retrieving revision 1.110 retrieving revision 1.111 diff -u -r1.110 -r1.111 --- jk_ajp_common.c 13 May 2005 07:19:32 - 1.110 +++ jk_ajp_common.c 14 May 2005 10:05:42 - 1.111 @@ -2060,6 +2060,9 @@ } ajp_reset_endpoint(p, l); *e = NULL; +/* set last_access only if needed */ +if (w-cache_timeout 0 || w-recycle_timeout 0) +p-last_access = time(NULL); JK_LEAVE_CS(w-cs, rc); if (sock = 0) jk_shutdown_socket(sock); - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: jakarta-tomcat-connectors/jk/native/apache-2.0 mod_jk.c
mturk 2005/05/14 03:08:23 Modified:jk/native/apache-1.3 mod_jk.c jk/native/apache-2.0 mod_jk.c Log: Call endpoint-done after endpoint-service, because reading dummy data might block and enpoint is unavailable althought it should. Revision ChangesPath 1.81 +3 -2 jakarta-tomcat-connectors/jk/native/apache-1.3/mod_jk.c Index: mod_jk.c === RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native/apache-1.3/mod_jk.c,v retrieving revision 1.80 retrieving revision 1.81 diff -u -r1.80 -r1.81 --- mod_jk.c 7 May 2005 08:15:47 - 1.80 +++ mod_jk.c 14 May 2005 10:08:23 - 1.81 @@ -1756,6 +1756,7 @@ jk_endpoint_t *end = NULL; if (worker-get_endpoint(worker, end, l)) { rc = end-service(end, s, l, is_error); +end-done(end, l); if (s.content_read s.content_length || (s.is_chunked !s.no_more_chunks)) { @@ -1773,7 +1774,6 @@ } } } -end-done(end, l); } #ifndef NO_GETTIMEOFDAY if (conf-format != NULL) { @@ -1797,6 +1797,7 @@ jk_log(l, JK_LOG_ERROR, Could not init service for worker=%s, worker_name); +jk_close_pool(private_data.p); JK_TRACE_EXIT(l); return is_error; } 1.144 +3 -3 jakarta-tomcat-connectors/jk/native/apache-2.0/mod_jk.c Index: mod_jk.c === RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native/apache-2.0/mod_jk.c,v retrieving revision 1.143 retrieving revision 1.144 diff -u -r1.143 -r1.144 --- mod_jk.c 7 May 2005 08:15:47 - 1.143 +++ mod_jk.c 14 May 2005 10:08:23 - 1.144 @@ -1895,7 +1895,7 @@ if (worker-get_endpoint(worker, end, xconf-log)) { rc = end-service(end, s, xconf-log, is_error); - +end-done(end, xconf-log); if (s.content_read s.content_length || (s.is_chunked !s.no_more_chunks)) { @@ -1913,7 +1913,6 @@ } } } -end-done(end, xconf-log); } else {/* this means we couldn't get an endpoint */ jk_log(xconf-log, JK_LOG_ERROR, Could not get endpoint @@ -1926,6 +1925,7 @@ jk_log(xconf-log, JK_LOG_ERROR, Could not init service for worker=%s, worker_name); +jk_close_pool(private_data.p); JK_TRACE_EXIT(xconf-log); return HTTP_INTERNAL_SERVER_ERROR; } - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: jakarta-tomcat-connectors/jk/xdocs changelog.xml
mturk 2005/05/14 03:16:13 Modified:jk/xdocs changelog.xml Log: Add 1.2.13 changelog. Revision ChangesPath 1.30 +18 -0 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.29 retrieving revision 1.30 diff -u -r1.29 -r1.30 --- changelog.xml 7 May 2005 08:15:47 - 1.29 +++ changelog.xml 14 May 2005 10:16:13 - 1.30 @@ -38,6 +38,24 @@ /subsection /section +section name=Changes with JK 1.2.13 + br / + subsection name=Native +changelog + fix + Fix for NetWare compiler to deal with different types between AP13 + and AP2 SDKs. (fuankg) + /fix + update + Emit much more legible user.dmp crash analysis output for WIN32. (wrowe) + /update + fix + bug34558/bug: Fix first failover request. (mturk) + /fix +/changelog + /subsection +/section + section name=Changes with JK 1.2.11 br / subsection name=Native - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tagging JK 1.2.13
Hi, Seems we made a consensus after all :) Sorry if my recent release policy was seen as too fuzzy. The tarballs for 1.2.13 will be released on Monday with no 'released' statement. Something like: 'JK 1.2.13 tarballs available for testing' should be fine thought. I'll also remove the 1.2.11 and 1.2.12 distros today, since they are broken, as OtherBill suggested. The 1.2.13 will be available for couple of weeks for testing and bug fixing (no features adding), and we'll be aiming towards 1.2.14 release, because the users seems to accept the odd/even release policy. Comments? Regards, Mladen. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: cvs commit: jakarta-tomcat-connectors/http11/src/java/org/apache/coyote/http11 Http11AprProcessor.java
Bill Barker wrote: Peter's test was stressing my poor little box a lot (which it really shouldn't, since it is a high-concurrency/low-traffic test). It was one of the things I wanted to look into when I had time to run more tests. Also, I've been running the test with sendfile disabled. It seems that Solaris7 doesn't have this particular feature :(It was added to Solaris8). With sendfile enabled, I get a nice core-dump (since there is no apr_socket_sendfile in my libapr.so :). I'm guessing that a for production release we need something like this in AprEndpoint.init: if(useSendfile !Apr.hasFeature(Apr.SENDFILE)) { log.warn(disabling sendfile, since your apr version doesn't support it); useSendfile = false; } I didn't know that. Yes, the check is needed then. He still needs to remove some syncs in the native code, apparently (= the hacks he added on top of APR, but which didn't quite work). It seems I need to look for a few more patches before I can usefully test. Which changes do you suggest besides fixing sendfile ? Rémy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: cvs commit: jakarta-tomcat-connectors/http11/src/java/org/apache/coyote/http11 Http11AprProcessor.java
Remy Maucherat wrote: Bill Barker wrote: if(useSendfile !Apr.hasFeature(Apr.SENDFILE)) { log.warn(disabling sendfile, since your apr version doesn't support it); useSendfile = false; } I didn't know that. Yes, the check is needed then. Yes seems it's needed. You already have the : Library.APR_HAS_SENDFILE boolean, that is meant to be used for that (checking if the OS supports sendfile). Regards, Mladen. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: jakarta-tomcat-connectors/http11/src/java/org/apache/coyote/http11 InternalAprOutputBuffer.java
remm2005/05/14 13:41:26 Modified:http11/src/java/org/apache/coyote/http11 InternalAprOutputBuffer.java Log: - Optimize a little using a direct byte buffer to replace the socket buffer. - I'll experiment with doing the same optimization for reads, but I don't expect it to do anything (other than waste memory) as copying bytes will be needed. Revision ChangesPath 1.3 +25 -45 jakarta-tomcat-connectors/http11/src/java/org/apache/coyote/http11/InternalAprOutputBuffer.java Index: InternalAprOutputBuffer.java === RCS file: /home/cvs/jakarta-tomcat-connectors/http11/src/java/org/apache/coyote/http11/InternalAprOutputBuffer.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- InternalAprOutputBuffer.java 20 Apr 2005 16:13:23 - 1.2 +++ InternalAprOutputBuffer.java 14 May 2005 20:41:26 - 1.3 @@ -17,6 +17,7 @@ package org.apache.coyote.http11; import java.io.IOException; +import java.nio.ByteBuffer; import java.security.AccessController; import java.security.PrivilegedAction; @@ -38,7 +39,7 @@ * @author a href=mailto:[EMAIL PROTECTED]Remy Maucherat/a */ public class InternalAprOutputBuffer -implements OutputBuffer, ByteChunk.ByteOutputChannel { +implements OutputBuffer { // -- Constants @@ -66,15 +67,14 @@ headerBuffer = new byte[headerBufferSize]; buf = headerBuffer; +bbuf = ByteBuffer.allocateDirect((headerBufferSize / 1500 + 1) * 1500); + outputStreamOutputBuffer = new SocketOutputBuffer(); filterLibrary = new OutputFilter[0]; activeFilters = new OutputFilter[0]; lastActiveFilter = -1; -socketBuffer = new ByteChunk(); -socketBuffer.setByteOutputChannel(this); - committed = false; finished = false; @@ -168,17 +168,11 @@ /** - * Socket buffer. - */ -protected ByteChunk socketBuffer; - - -/** - * Socket buffer (extra buffering to reduce number of packets sent). + * Direct byte buffer used for writing. */ -protected boolean useSocketBuffer = false; - +protected ByteBuffer bbuf = null; + // - Properties @@ -202,14 +196,7 @@ * Set the socket buffer size. */ public void setSocketBuffer(int socketBufferSize) { - -if (socketBufferSize 500) { -useSocketBuffer = true; -socketBuffer.allocate(socketBufferSize, socketBufferSize); -} else { -useSocketBuffer = false; -} - +// FIXME: Remove } @@ -295,9 +282,7 @@ } // Flush the current buffer -if (useSocketBuffer) { -socketBuffer.flushBuffer(); -} +flushBuffer(); } @@ -326,7 +311,7 @@ // Recycle Request object response.recycle(); -socketBuffer.recycle(); +bbuf.clear(); socket = 0; buf = headerBuffer; @@ -348,7 +333,6 @@ // Recycle Request object response.recycle(); -socketBuffer.recycle(); // Determine the header buffer used for next request buf = headerBuffer; @@ -390,9 +374,7 @@ if (lastActiveFilter != -1) activeFilters[lastActiveFilter].end(); -if (useSocketBuffer) { -socketBuffer.flushBuffer(); -} +flushBuffer(); finished = true; @@ -595,12 +577,7 @@ if (pos 0) { // Sending the response header buffer -if (useSocketBuffer) { -socketBuffer.append(buf, 0, pos); -} else { -if (Socket.send(socket, buf, 0, pos) 0) -throw new IOException(sm.getString(iib.failedwrite)); -} +bbuf.put(buf, 0, pos); } } @@ -738,11 +715,13 @@ /** * Callback to write data from the buffer. */ -public void realWriteBytes(byte[] buf, int off, int len) +protected void flushBuffer() throws IOException { -if (len 0) { -if (Socket.send(socket, buf, off, len) 0) +if (bbuf.position() 0) { +if (Socket.sendb(socket, bbuf, 0, bbuf.position()) 0) { throw new IOException(sm.getString(iib.failedwrite)); +} +bbuf.clear(); } } @@ -764,14 +743,15 @@ public int doWrite(ByteChunk chunk, Response res)
Deutsche werden kuenftig beim Arzt abgezockt
Lese selbst: http://globalfire.tv/nj/03de/politik/fruehtod_reform.htm EU-Abgeordnete goennen sich luxurioese Vollversorgung: http://www.rp-online.de/public/article/nachrichten/politik/ausland/85804 Deutsche Krankenversicherungen muessen fuer Harems-Frauen zahlen: http://www.spiegel.de/spiegel/vorab/0,1518,323476,00.html Kassenfunktionaere vervierfachten Gehalt: http://www.spiegel.de/wirtschaft/0,1518,353600,00.html - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Du wirst ausspioniert ....!
und weisst es nicht einmal: http://www.heise.de/newsticker/meldung/58003 http://www.heise.de/newsticker/meldung/59304 http://www.heise.de/newsticker/meldung/58311 http://www.heise.de/newsticker/meldung/58351 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: cvs commit: jakarta-tomcat-connectors/http11/src/java/org/apache/coyote/http11 InternalAprOutputBuffer.java
- Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, May 14, 2005 1:41 PM Subject: cvs commit: jakarta-tomcat-connectors/http11/src/java/org/apache/coyote/http11 InternalAprOutputBuffer.java remm2005/05/14 13:41:26 Modified:http11/src/java/org/apache/coyote/http11 InternalAprOutputBuffer.java Log: - Optimize a little using a direct byte buffer to replace the socket buffer. - I'll experiment with doing the same optimization for reads, but I don't expect it to do anything (other than waste memory) as copying bytes will be needed. Cool. I had been thinking that the savings with NIO were all do to the fact that SocketChannel.write would allocate and copy to another ByteBuffer instance if I didn't use direct ByteBuffers. 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]
Massenhafter Steuerbetrug durch auslaendische Arbeitnehmer
Lese selbst: http://www.rp-online.de/public/article/nachrichten/wirtschaft/finanzen/deutschland/85815 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]