DO NOT REPLY [Bug 12428] request.getUserPrincipal(): Misinterpretation of specification?
https://issues.apache.org/bugzilla/show_bug.cgi?id=12428 --- Comment #31 from Werner Donn werner.do...@re.be 2011-04-02 04:00:55 EDT --- @Mark The relevant specs are crystal clear. If you think there is any room for interpretation then you should provide proof of how your interpretation can be constructed. At present we still don't know what that is. You wonder what a non-protected servlet should do when the provided credentials are wrong. That is simple, it should do nothing, because the container will have returned a 401, which it should always do when the credentials are wrong. That is because there is no response code for reporting wrong credentials. Where can there be interference? All involved parties, container and servlet, should comply with the specifications. When the container imposes a security constraint because it was declared in the application, the servlet won't see anything about it. @Chris You don't seem to understand the difference between declarative and programmatic protection. An alternative URL doesn't provide prgrammatic protection. Study the WebDAV ACL specification and you will see it is impossible to implement it without this bug being fixed. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
[GUMP@vmgump]: Project tomcat-trunk-validate (in module tomcat-trunk) 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 gene...@gump.apache.org. Project tomcat-trunk-validate has an issue affecting its community integration. This issue affects 1 projects, and has been outstanding for 4 runs. The current state of this project is 'Failed', with reason 'Build Failed'. For reference only, the following projects are affected by this: - tomcat-trunk-validate : Java Servlet 3.0, Java Server Pages 2.2 Expression Languag... Full details are available at: http://vmgump.apache.org/gump/public/tomcat-trunk/tomcat-trunk-validate/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://vmgump.apache.org/gump/public/tomcat-trunk/tomcat-trunk-validate/gump_work/build_tomcat-trunk_tomcat-trunk-validate.html Work Name: build_tomcat-trunk_tomcat-trunk-validate (Type: Build) Work ended in a state of : Failed Elapsed: 2 secs Command Line: /usr/lib/jvm/java-6-openjdk/bin/java -Djava.awt.headless=true -Dbuild.sysclasspath=only org.apache.tools.ant.Main -Dgump.merge=/srv/gump/public/gump/work/merge.xml -Dcheckstyle.jar=/srv/gump/public/workspace/checkstyle/target/checkstyle-*[0-9T].jar -Dexecute.validate=true validate [Working Directory: /srv/gump/public/workspace/tomcat-trunk] CLASSPATH: /usr/lib/jvm/java-6-openjdk/lib/tools.jar:/srv/gump/public/workspace/ant/dist/lib/ant.jar:/srv/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/srv/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/srv/gump/public/workspace/ant/dist/lib/ant-junit.jar:/srv/gump/public/workspace/ant/dist/lib/ant-swing.jar:/srv/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/srv/gump/public/workspace/ant/dist/lib/ant-apache-xalan2.jar:/srv/gump/packages/junit3.8.1/junit.jar:/srv/gump/public/workspace/xml-commons/java/build/resolver.jar:/srv/gump/packages/javamail-1.4/mail.jar:/srv/gump/packages/javamail-1.4/lib/mailapi.jar:/srv/gump/packages/jaf-1.1ea/activation.jar:/srv/gump/public/workspace/checkstyle/target/checkstyle-5.3-SNAPSHOT.jar - Buildfile: /srv/gump/public/workspace/tomcat-trunk/build.xml download-validate: proxyflags: setproxy: testexist: [echo] Testing for /srv/gump/public/workspace/checkstyle/target/checkstyle-*[0-9T].jar downloadzip: [get] Getting: http://downloads.sourceforge.net/checkstyle/checkstyle-5.3-bin.zip [get] To: /usr/share/java/file.zip [get] http://downloads.sourceforge.net/checkstyle/checkstyle-5.3-bin.zip permanently moved to http://downloads.sourceforge.net/project/checkstyle/checkstyle/5.3/checkstyle-5.3-bin.zip [get] http://downloads.sourceforge.net/project/checkstyle/checkstyle/5.3/checkstyle-5.3-bin.zip moved to http://iweb.dl.sourceforge.net/project/checkstyle/checkstyle/5.3/checkstyle-5.3-bin.zip [get] Error getting http://downloads.sourceforge.net/checkstyle/checkstyle-5.3-bin.zip to /usr/share/java/file.zip BUILD FAILED /srv/gump/public/workspace/tomcat-trunk/build.xml:2107: The following error occurred while executing this line: /srv/gump/public/workspace/tomcat-trunk/build.xml:2321: java.io.FileNotFoundException: /usr/share/java/file.zip (Permission denied) at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.init(FileOutputStream.java:209) at java.io.FileOutputStream.init(FileOutputStream.java:160) at org.apache.tools.ant.taskdefs.Get$GetThread.downloadFile(Get.java:739) at org.apache.tools.ant.taskdefs.Get$GetThread.get(Get.java:586) at org.apache.tools.ant.taskdefs.Get$GetThread.run(Get.java:569) Total time: 2 seconds - To subscribe to this information via syndicated feeds: - RSS: http://vmgump.apache.org/gump/public/tomcat-trunk/tomcat-trunk-validate/rss.xml - Atom: http://vmgump.apache.org/gump/public/tomcat-trunk/tomcat-trunk-validate/atom.xml == Gump Tracking Only === Produced by Apache Gump(TM) version 2.3. Gump Run 06000602042011, vmgump.apache.org:vmgump:06000602042011 Gump E-mail Identifier (unique within run) #14. -- Apache Gump http://gump.apache.org/ [Instance: vmgump] - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
[GUMP@vmgump]: Project tomcat-trunk-test (in module tomcat-trunk) 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 gene...@gump.apache.org. Project tomcat-trunk-test has an issue affecting its community integration. This issue affects 1 projects, and has been outstanding for 2 runs. The current state of this project is 'Failed', with reason 'Build Timed Out'. For reference only, the following projects are affected by this: - tomcat-trunk-test : Java Servlet 3.0, Java Server Pages 2.2 Expression Languag... Full details are available at: http://vmgump.apache.org/gump/public/tomcat-trunk/tomcat-trunk-test/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -DEBUG- Dependency on tomcat-trunk-dbcp exists, no need to add for property tomcat-dbcp-src.jar. -DEBUG- Dependency on commons-daemon exists, no need to add for property commons-daemon.native.src.tgz. -DEBUG- Dependency on commons-daemon exists, no need to add for property tomcat-native.tar.gz. -DEBUG- Dependency on tomcat-trunk-dbcp exists, no need to add for property tomcat-dbcp.home. -INFO- Failed with reason build timed out -INFO- Project Reports in: /srv/gump/public/workspace/tomcat-trunk/output/build/logs The following work was performed: http://vmgump.apache.org/gump/public/tomcat-trunk/tomcat-trunk-test/gump_work/build_tomcat-trunk_tomcat-trunk-test.html Work Name: build_tomcat-trunk_tomcat-trunk-test (Type: Build) Work ended in a state of : Failed Elapsed: 60 mins Command Line: /usr/lib/jvm/java-6-openjdk/bin/java -Djava.awt.headless=true -Dbuild.sysclasspath=only org.apache.tools.ant.Main -Dgump.merge=/srv/gump/public/gump/work/merge.xml -Djunit.jar=/srv/gump/public/workspace/junit/dist/junit-02042011.jar -Dcommons-daemon.native.src.tgz=/srv/gump/public/workspace/apache-commons/daemon/dist/bin/commons-daemon-02042011-native-src.tar.gz -Dtomcat-native.tar.gz=/srv/gump/public/workspace/apache-commons/daemon/dist/bin/commons-daemon-02042011-native-src.tar.gz -Dexamples.sources.skip=true -Dtomcat-dbcp.home=/srv/gump/public/workspace/tomcat-trunk/tomcat-deps -Djdt.jar=/srv/gump/packages/eclipse/plugins/org.eclipse.jdt.core_3.4.2/jdtcore.jar -Dcommons-daemon.jar=/srv/gump/public/workspace/apache-commons/daemon/dist/commons-daemon-02042011.jar -Dtomcat-dbcp-src.jar=/srv/gump/public/workspace/tomcat-trunk/tomcat-deps/tomcat-dbcp-src.jar -Dcommons-pool.home=/srv/gump/public/workspace/commons-pool-1.x -Dcommons-dbcp.home=/srv/gump/public/worksp ace/apache-commons/dbcp -Dcheckstyle.jar=/srv/gump/public/workspace/checkstyle/target/checkstyle-*[0-9T].jar -Dtomcat-dbcp.jar=/srv/gump/public/workspace/tomcat-trunk/tomcat-deps/tomcat-dbcp-02042011.jar test [Working Directory: /srv/gump/public/workspace/tomcat-trunk] CLASSPATH: /usr/lib/jvm/java-6-openjdk/lib/tools.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/webapps/examples/WEB-INF/classes:/srv/gump/public/workspace/tomcat-trunk/output/testclasses:/srv/gump/public/workspace/ant/dist/lib/ant.jar:/srv/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/srv/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/srv/gump/public/workspace/ant/dist/lib/ant-junit.jar:/srv/gump/public/workspace/ant/dist/lib/ant-swing.jar:/srv/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/srv/gump/public/workspace/ant/dist/lib/ant-apache-xalan2.jar:/srv/gump/packages/junit3.8.1/junit.jar:/srv/gump/public/workspace/xml-commons/java/build/resolver.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/bin/bootstrap.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/bin/tomcat-juli.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/lib/annotations-api.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/lib/servlet-api.jar:/srv /gump/public/workspace/tomcat-trunk/output/build/lib/jsp-api.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/lib/el-api.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/lib/catalina.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/lib/catalina-ant.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/lib/tomcat-coyote.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/lib/jasper.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/lib/jasper-el.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/lib/catalina-tribes.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/lib/catalina-ha.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/lib/tomcat-api.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/lib/tomcat-util.jar:/srv/gump/packages/javamail-1.4/mail.jar:/srv/gump/packages/javamail-1.4/lib/mailapi.jar:/srv/gump/packages/jaf-1.1ea/activation.jar:/srv/gump/packages/eclipse/plugins/org.eclipse.jdt.core_3.4.2/jdtcore.
svn commit: r1088066 - /tomcat/tc5.5.x/trunk/STATUS.txt
Author: kkolinko Date: Sat Apr 2 17:11:09 2011 New Revision: 1088066 URL: http://svn.apache.org/viewvc?rev=1088066view=rev Log: vote Modified: tomcat/tc5.5.x/trunk/STATUS.txt Modified: tomcat/tc5.5.x/trunk/STATUS.txt URL: http://svn.apache.org/viewvc/tomcat/tc5.5.x/trunk/STATUS.txt?rev=1088066r1=1088065r2=1088066view=diff == --- tomcat/tc5.5.x/trunk/STATUS.txt (original) +++ tomcat/tc5.5.x/trunk/STATUS.txt Sat Apr 2 17:11:09 2011 @@ -48,7 +48,7 @@ PATCHES PROPOSED TO BACKPORT: * Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=27988 Improve reporting of missing files http://svn.apache.org/viewvc?rev=1076212view=rev - +1: markt, kfujino + +1: markt, kfujino, kkolinko -1: * Fix possible threading issue in JSP compilation when development mode is - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
Re: svn commit: r1087467 - in /tomcat/trunk/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool: PoolProperties.java TrapException.java
2011/4/1 fha...@apache.org: Author: fhanik Date: Thu Mar 31 22:28:54 2011 New Revision: 1087467 URL: http://svn.apache.org/viewvc?rev=1087467view=rev Log: Implement exception traps as suggested by Eiji Takahashi http://markmail.org/message/c7hrhky4jtgcto76 Added: tomcat/trunk/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/TrapException.java Modified: tomcat/trunk/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/PoolProperties.java Modified: tomcat/trunk/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/PoolProperties.java URL: http://svn.apache.org/viewvc/tomcat/trunk/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/PoolProperties.java?rev=1087467r1=1087466r2=1087467view=diff In the new TrapException class: + @Override + public Object invoke(Object proxy, Method method, Object[] args) throws Throwable { + try { + return super.invoke(proxy, method, args); + }catch (Throwable t) { + Throwable exception = t; + if (t instanceof InvocationTargetException) { + InvocationTargetException it = (InvocationTargetException)t; 1) The above class cast is not necessary. You can call Throwable.getCause() directly. + exception = it.getCause()!=null?it.getCause():it; + } 2) I think you should not wrap Errors. Just s/catch(Throwable)/catch(Exception)/. At least, do not catch ones not caught by org.apache.tomcat.util.ExceptionUtils. 3) isDeclaredException(Method, Class) below compares equality of classes which does not take care of inheritance. +public boolean isDeclaredException(Method m, Class? clazz) { +for (Class? cl : m.getExceptionTypes()) { +if (cl.equals(clazz)) return true; +} +return false; +} Best regards, Konstantin Kolinko - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
DO NOT REPLY [Bug 49180] Add option to disable log rotation in FileHandler.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49180 --- Comment #3 from Konstantin Kolinko knst.koli...@gmail.com 2011-04-02 16:29:30 EDT --- Created an attachment (id=26844) -- (https://issues.apache.org/bugzilla/attachment.cgi?id=26844) 2011-04-02_tc6_49180.patch Patch for Tomcat 6.0. It is r1029719 + JavaDoc update. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r1088113 - /tomcat/tc6.0.x/trunk/STATUS.txt
Author: kkolinko Date: Sat Apr 2 20:34:32 2011 New Revision: 1088113 URL: http://svn.apache.org/viewvc?rev=1088113view=rev Log: proposal Modified: tomcat/tc6.0.x/trunk/STATUS.txt Modified: tomcat/tc6.0.x/trunk/STATUS.txt URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/STATUS.txt?rev=1088113r1=1088112r2=1088113view=diff == --- tomcat/tc6.0.x/trunk/STATUS.txt (original) +++ tomcat/tc6.0.x/trunk/STATUS.txt Sat Apr 2 20:34:32 2011 @@ -177,3 +177,8 @@ PATCHES PROPOSED TO BACKPORT: +1: markt -1: +* Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49180 + Add option to disable log rotation in juli FileHandler + https://issues.apache.org/bugzilla/attachment.cgi?id=26844 + +1: kkolinko + -1: - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r1088175 - in /tomcat/tc6.0.x/trunk: STATUS.txt conf/catalina.policy
Author: kkolinko Date: Sat Apr 2 23:07:25 2011 New Revision: 1088175 URL: http://svn.apache.org/viewvc?rev=1088175view=rev Log: Update examples in conf/catalina.policy to use ${catalina.base} instead of ${catalina.home} CTR Modified: tomcat/tc6.0.x/trunk/STATUS.txt tomcat/tc6.0.x/trunk/conf/catalina.policy Modified: tomcat/tc6.0.x/trunk/STATUS.txt URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/STATUS.txt?rev=1088175r1=1088174r2=1088175view=diff == --- tomcat/tc6.0.x/trunk/STATUS.txt (original) +++ tomcat/tc6.0.x/trunk/STATUS.txt Sat Apr 2 23:07:25 2011 @@ -139,11 +139,6 @@ PATCHES PROPOSED TO BACKPORT: https://issues.apache.org/bugzilla/attachment.cgi?id=26758 +1: markt, kkolinko -1: -kkolinko: This is not a default configuration, but a well-used one, so I -agree that it is OK to enable those permissions by default. Note, that -1) I think it would be nice to s/${catalina.home}/${catalina.base}/ -for the /examples webapps at the end of the file, as done by r881432 -Those are comments, so looks like CTR. * Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=50895 Don't initialize classes during compilation Modified: tomcat/tc6.0.x/trunk/conf/catalina.policy URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/conf/catalina.policy?rev=1088175r1=1088174r2=1088175view=diff == --- tomcat/tc6.0.x/trunk/conf/catalina.policy (original) +++ tomcat/tc6.0.x/trunk/conf/catalina.policy Sat Apr 2 23:07:25 2011 @@ -89,7 +89,8 @@ grant codeBase file:${catalina.home}/bi // Note: To enable per context logging configuration, permit read access to // the appropriate file. Be sure that the logging configuration is // secure before enabling such access. -// E.g. for the examples web application: +// E.g. for the examples web application (uncomment and unwrap +// the following to be on a single line): // permission java.io.FilePermission ${catalina.base}${file.separator} // webapps${file.separator}examples${file.separator}WEB-INF // ${file.separator}classes${file.separator}logging.properties, read; @@ -192,21 +193,21 @@ grant codeBase file:${catalina.base}/we // the NOAA web server. You might create a grant entries like this: // // The permissions granted to the context root directory apply to JSP pages. -// grant codeBase file:${catalina.home}/webapps/examples/- { +// grant codeBase file:${catalina.base}/webapps/examples/- { // permission java.net.SocketPermission dbhost.mycompany.com:5432, connect; // permission java.net.SocketPermission *.noaa.gov:80, connect; // }; // // The permissions granted to the context WEB-INF/classes directory -// grant codeBase file:${catalina.home}/webapps/examples/WEB-INF/classes/- { +// grant codeBase file:${catalina.base}/webapps/examples/WEB-INF/classes/- { // }; // // The permission granted to your JDBC driver -// grant codeBase jar:file:${catalina.home}/webapps/examples/WEB-INF/lib/driver.jar!/- { +// grant codeBase jar:file:${catalina.base}/webapps/examples/WEB-INF/lib/driver.jar!/- { // permission java.net.SocketPermission dbhost.mycompany.com:5432, connect; // }; // The permission granted to the scrape taglib -// grant codeBase jar:file:${catalina.home}/webapps/examples/WEB-INF/lib/scrape.jar!/- { +// grant codeBase jar:file:${catalina.base}/webapps/examples/WEB-INF/lib/scrape.jar!/- { // permission java.net.SocketPermission *.noaa.gov:80, connect; // }; - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r1088176 - /tomcat/trunk/conf/catalina.policy
Author: kkolinko Date: Sat Apr 2 23:09:37 2011 New Revision: 1088176 URL: http://svn.apache.org/viewvc?rev=1088176view=rev Log: Update a comment, for clarity Modified: tomcat/trunk/conf/catalina.policy Modified: tomcat/trunk/conf/catalina.policy URL: http://svn.apache.org/viewvc/tomcat/trunk/conf/catalina.policy?rev=1088176r1=1088175r2=1088176view=diff == --- tomcat/trunk/conf/catalina.policy (original) +++ tomcat/trunk/conf/catalina.policy Sat Apr 2 23:09:37 2011 @@ -89,7 +89,8 @@ grant codeBase file:${catalina.home}/bi // Note: To enable per context logging configuration, permit read access to // the appropriate file. Be sure that the logging configuration is // secure before enabling such access. -// E.g. for the examples web application: +// E.g. for the examples web application (uncomment and unwrap +// the following to be on a single line): // permission java.io.FilePermission ${catalina.base}${file.separator} // webapps${file.separator}examples${file.separator}WEB-INF // ${file.separator}classes${file.separator}logging.properties, read; - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r1088179 - in /tomcat/trunk: bin/configtest.sh bin/digest.sh bin/shutdown.sh bin/startup.sh bin/version.sh webapps/docs/changelog.xml
Author: kkolinko Date: Sat Apr 2 23:32:42 2011 New Revision: 1088179 URL: http://svn.apache.org/viewvc?rev=1088179view=rev Log: Clarify error messages in *.sh files to mention that if a script is not found it might be that it does exist but does not have the execute permission. http://markmail.org/message/k2ynjwbqjcver6ka Modified: tomcat/trunk/bin/configtest.sh tomcat/trunk/bin/digest.sh tomcat/trunk/bin/shutdown.sh tomcat/trunk/bin/startup.sh tomcat/trunk/bin/version.sh tomcat/trunk/webapps/docs/changelog.xml Modified: tomcat/trunk/bin/configtest.sh URL: http://svn.apache.org/viewvc/tomcat/trunk/bin/configtest.sh?rev=1088179r1=1088178r2=1088179view=diff == --- tomcat/trunk/bin/configtest.sh (original) +++ tomcat/trunk/bin/configtest.sh Sat Apr 2 23:32:42 2011 @@ -56,6 +56,7 @@ if $os400; then else if [ ! -x $PRGDIR/$EXECUTABLE ]; then echo Cannot find $PRGDIR/$EXECUTABLE +echo The file is absent or does not have execute permission echo This file is needed to run this program exit 1 fi Modified: tomcat/trunk/bin/digest.sh URL: http://svn.apache.org/viewvc/tomcat/trunk/bin/digest.sh?rev=1088179r1=1088178r2=1088179view=diff == --- tomcat/trunk/bin/digest.sh (original) +++ tomcat/trunk/bin/digest.sh Sat Apr 2 23:32:42 2011 @@ -40,6 +40,7 @@ EXECUTABLE=tool-wrapper.sh # Check that target executable exists if [ ! -x $PRGDIR/$EXECUTABLE ]; then echo Cannot find $PRGDIR/$EXECUTABLE + echo The file is absent or does not have execute permission echo This file is needed to run this program exit 1 fi Modified: tomcat/trunk/bin/shutdown.sh URL: http://svn.apache.org/viewvc/tomcat/trunk/bin/shutdown.sh?rev=1088179r1=1088178r2=1088179view=diff == --- tomcat/trunk/bin/shutdown.sh (original) +++ tomcat/trunk/bin/shutdown.sh Sat Apr 2 23:32:42 2011 @@ -40,6 +40,7 @@ EXECUTABLE=catalina.sh # Check that target executable exists if [ ! -x $PRGDIR/$EXECUTABLE ]; then echo Cannot find $PRGDIR/$EXECUTABLE + echo The file is absent or does not have execute permission echo This file is needed to run this program exit 1 fi Modified: tomcat/trunk/bin/startup.sh URL: http://svn.apache.org/viewvc/tomcat/trunk/bin/startup.sh?rev=1088179r1=1088178r2=1088179view=diff == --- tomcat/trunk/bin/startup.sh (original) +++ tomcat/trunk/bin/startup.sh Sat Apr 2 23:32:42 2011 @@ -56,6 +56,7 @@ if $os400; then else if [ ! -x $PRGDIR/$EXECUTABLE ]; then echo Cannot find $PRGDIR/$EXECUTABLE +echo The file is absent or does not have execute permission echo This file is needed to run this program exit 1 fi Modified: tomcat/trunk/bin/version.sh URL: http://svn.apache.org/viewvc/tomcat/trunk/bin/version.sh?rev=1088179r1=1088178r2=1088179view=diff == --- tomcat/trunk/bin/version.sh (original) +++ tomcat/trunk/bin/version.sh Sat Apr 2 23:32:42 2011 @@ -40,6 +40,7 @@ EXECUTABLE=catalina.sh # Check that target executable exists if [ ! -x $PRGDIR/$EXECUTABLE ]; then echo Cannot find $PRGDIR/$EXECUTABLE + echo The file is absent or does not have execute permission echo This file is needed to run this program exit 1 fi Modified: tomcat/trunk/webapps/docs/changelog.xml URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/changelog.xml?rev=1088179r1=1088178r2=1088179view=diff == --- tomcat/trunk/webapps/docs/changelog.xml (original) +++ tomcat/trunk/webapps/docs/changelog.xml Sat Apr 2 23:32:42 2011 @@ -59,6 +59,14 @@ /update /changelog /subsection + subsection name=Other +changelog + update +Clarify error messages in *.sh files to mention that if a script is +not found it might be because execute permission is needed. (kkolinko) + /update +/changelog + /subsection /section section name=Tomcat 7.0.12 (markt) subsection name=Catalina - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r1088181 - /tomcat/tc6.0.x/trunk/STATUS.txt
Author: kkolinko Date: Sat Apr 2 23:34:53 2011 New Revision: 1088181 URL: http://svn.apache.org/viewvc?rev=1088181view=rev Log: proposal Modified: tomcat/tc6.0.x/trunk/STATUS.txt Modified: tomcat/tc6.0.x/trunk/STATUS.txt URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/STATUS.txt?rev=1088181r1=1088180r2=1088181view=diff == --- tomcat/tc6.0.x/trunk/STATUS.txt (original) +++ tomcat/tc6.0.x/trunk/STATUS.txt Sat Apr 2 23:34:53 2011 @@ -177,3 +177,9 @@ PATCHES PROPOSED TO BACKPORT: https://issues.apache.org/bugzilla/attachment.cgi?id=26844 +1: kkolinko -1: + +* Clarify error messages in *.sh files to mention that if a script is not + found it might be because execute permission is needed. + http://svn.apache.org/viewvc?rev=1088179view=rev + +1: kkolinko + -1: - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r1088182 - /tomcat/tc5.5.x/trunk/STATUS.txt
Author: kkolinko Date: Sat Apr 2 23:39:37 2011 New Revision: 1088182 URL: http://svn.apache.org/viewvc?rev=1088182view=rev Log: proposal Modified: tomcat/tc5.5.x/trunk/STATUS.txt Modified: tomcat/tc5.5.x/trunk/STATUS.txt URL: http://svn.apache.org/viewvc/tomcat/tc5.5.x/trunk/STATUS.txt?rev=1088182r1=1088181r2=1088182view=diff == --- tomcat/tc5.5.x/trunk/STATUS.txt (original) +++ tomcat/tc5.5.x/trunk/STATUS.txt Sat Apr 2 23:39:37 2011 @@ -61,3 +61,9 @@ PATCHES PROPOSED TO BACKPORT: http://people.apache.org/~markt/patches/2011-04-01-digest-tc5.patch +1: markt -1: + +* Clarify error messages in *.sh files to mention that if a script is not + found it might be because execute permission is needed. + http://svn.apache.org/viewvc?rev=1088179view=rev + +1: kkolinko + -1: - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r1088185 - /tomcat/tc6.0.x/trunk/STATUS.txt
Author: kkolinko Date: Sat Apr 2 23:54:42 2011 New Revision: 1088185 URL: http://svn.apache.org/viewvc?rev=1088185view=rev Log: proposal Modified: tomcat/tc6.0.x/trunk/STATUS.txt Modified: tomcat/tc6.0.x/trunk/STATUS.txt URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/STATUS.txt?rev=1088185r1=1088184r2=1088185view=diff == --- tomcat/tc6.0.x/trunk/STATUS.txt (original) +++ tomcat/tc6.0.x/trunk/STATUS.txt Sat Apr 2 23:54:42 2011 @@ -183,3 +183,12 @@ PATCHES PROPOSED TO BACKPORT: http://svn.apache.org/viewvc?rev=1088179view=rev +1: kkolinko -1: + +* Update download paths in build.properties.default: + Use maven2 repository, because servletapi-2.3 disappeared from the maven1 + one. These downloads are needed when building extras. + It is backport of r1072962 + http://people.apache.org/~kkolinko/patches/2011-04-03_tc6_maven2.patch + +1: kkolinko + -1: + - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
DO NOT REPLY [Bug 50957] Blocking IO can serve wrong response data
https://issues.apache.org/bugzilla/show_bug.cgi?id=50957 --- Comment #19 from Tim Whittington t...@apache.org 2011-04-02 23:07:22 EDT --- My testing was against 7.0.8 with the BIO connector on CentOS 5.4/x64. Client was Firefox 4.0 with network.http.pipelining=true enabled in about:config. Web app is a fairly complex mixed static/JSP/other dynamic resources app. To replicate all I have to do is log in and do 30-60 seconds of random 'refresh 'o' doom' - once errors start appearing, many resource loads in Firefox break (e.g. favicon.ico with wrong image, JS resources where HTML should be etc.) On the HTTP side of things I was seeing 401 (Bad Request) responses from Tomcat, and the occasional 505 (Version Not Supported). Looking at SOCKS proxy and Wireshark traces of the HTTP, I couldn't see anything that Firefox was doing wrong. I've tested with r1088179 (post 7.0.12) of trunk, and things appear to be better - I can't get the UI to break anymore in Firefox - but I'm now seeing no 401 responses and many more 505 responses. I'm not able to spend much time on this in the next couple of weeks, but I'll try to drop in a build with some additional tracing into our test system at some point. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r1088205 - in /tomcat/site/trunk: docs/doap_Tomcat.rdf xdocs/doap_Tomcat.rdf
Author: kkolinko Date: Sun Apr 3 04:17:46 2011 New Revision: 1088205 URL: http://svn.apache.org/viewvc?rev=1088205view=rev Log: Updated the rdf file Modified: tomcat/site/trunk/docs/doap_Tomcat.rdf tomcat/site/trunk/xdocs/doap_Tomcat.rdf Modified: tomcat/site/trunk/docs/doap_Tomcat.rdf URL: http://svn.apache.org/viewvc/tomcat/site/trunk/docs/doap_Tomcat.rdf?rev=1088205r1=1088204r2=1088205view=diff == --- tomcat/site/trunk/docs/doap_Tomcat.rdf (original) +++ tomcat/site/trunk/docs/doap_Tomcat.rdf Sun Apr 3 04:17:46 2011 @@ -5,11 +5,27 @@ xmlns:rdf=http://www.w3.org/1999/02/22-rdf-syntax-ns#; xmlns:asfext=http://projects.apache.org/ns/asfext#; xmlns:foaf=http://xmlsns.com/foaf/0.1/; +!-- +Licensed to the Apache Software Foundation (ASF) under one or more +contributor license agreements. See the NOTICE file distributed with +this work for additional information regarding copyright ownership. +The ASF licenses this file to You under the Apache License, Version 2.0 +(the License); you may not use this file except in compliance with +the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an AS IS BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +-- Project rdf:about=http://tomcat.apache.org/; created2006-01-27/created license rdf:resource=http://usefulinc.com/doap/licenses/asl20; / nameApache Tomcat/name -homepage rdf:resource=http://tomcat.apache.org; / +homepage rdf:resource=http://tomcat.apache.org/; / asfext:pmc rdf:resource=http://tomcat.apache.org; / shortdescA Java Servlet and Java Servet Pages specifications implementation./shortdesc descriptionApache Tomcat is an open source software implementation of the @@ -25,7 +41,7 @@ Apache Tomcat powers numerous large-scale, mission-critical web applications across a diverse range of industries and organizations. Some of these users and their stories are listed on the PoweredBy wiki page./description -bug-database rdf:resource=http://issues.apache.org/bugzilla; / +bug-database rdf:resource=http://issues.apache.org/bugzilla/; / mailing-list rdf:resource=http://tomcat.apache.org/lists.html; / download-page rdf:resource=http://tomcat.apache.org; / programming-languageJava/programming-language @@ -38,22 +54,29 @@ /maintainer release Version +nameLatest Stable 7.0.x Release/name +created2011-03-11/created +revision7.0.11/revision + /Version +/release +release + Version nameLatest Stable 6.0.x Release/name -created2010-07-22/created -revision6.0.29/revision +created2011-02-04/created +revision6.0.32/revision /Version /release release Version nameLatest Stable 5.5.x release/name -created2010-09-16/created -revision5.5.31/revision +created2011-02-10/created +revision5.5.33/revision /Version /release repository SVNRepository location rdf:resource=http://svn.apache.org/repos/asf/tomcat/ -browse rdf:resource=http://svn.apache.org/repos/asf/tomcat// +browse rdf:resource=http://svn.apache.org/viewvc/tomcat// /SVNRepository /repository asfext:implements Modified: tomcat/site/trunk/xdocs/doap_Tomcat.rdf URL: http://svn.apache.org/viewvc/tomcat/site/trunk/xdocs/doap_Tomcat.rdf?rev=1088205r1=1088204r2=1088205view=diff == --- tomcat/site/trunk/xdocs/doap_Tomcat.rdf (original) +++ tomcat/site/trunk/xdocs/doap_Tomcat.rdf Sun Apr 3 04:17:46 2011 @@ -5,11 +5,27 @@ xmlns:rdf=http://www.w3.org/1999/02/22-rdf-syntax-ns#; xmlns:asfext=http://projects.apache.org/ns/asfext#; xmlns:foaf=http://xmlsns.com/foaf/0.1/; +!-- +Licensed to the Apache Software Foundation (ASF) under one or more +contributor license agreements. See the NOTICE file distributed with +this work for additional information regarding copyright ownership. +The ASF licenses this file to You under the Apache License, Version 2.0 +(the License); you may not use this file except in compliance with +the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an AS IS BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express