svn commit: r331238 - in /tomcat/sandbox/test: ./ org/ org/apache/ org/apache/tomcat/ org/apache/tomcat/util/ org/apache/tomcat/util/buf/ org/apache/tomcat/util/buf/UEncoderTest.java org/apache/tomcat
Author: costin Date: Mon Nov 7 00:05:25 2005 New Revision: 331238 URL: http://svn.apache.org/viewcvs?rev=331238view=rev Log: A simple test case - extremely incomplete, but usefull to track the nio conversion. Added: tomcat/sandbox/test/ tomcat/sandbox/test/org/ tomcat/sandbox/test/org/apache/ tomcat/sandbox/test/org/apache/tomcat/ tomcat/sandbox/test/org/apache/tomcat/util/ tomcat/sandbox/test/org/apache/tomcat/util/buf/ tomcat/sandbox/test/org/apache/tomcat/util/buf/UEncoderTest.java tomcat/sandbox/test/org/apache/tomcat/util/nio/ Added: tomcat/sandbox/test/org/apache/tomcat/util/buf/UEncoderTest.java URL: http://svn.apache.org/viewcvs/tomcat/sandbox/test/org/apache/tomcat/util/buf/UEncoderTest.java?rev=331238view=auto == --- tomcat/sandbox/test/org/apache/tomcat/util/buf/UEncoderTest.java (added) +++ tomcat/sandbox/test/org/apache/tomcat/util/buf/UEncoderTest.java Mon Nov 7 00:05:25 2005 @@ -0,0 +1,40 @@ +/* + */ +package org.apache.tomcat.util.buf; + +import junit.framework.TestCase; + +public class UEncoderTest extends TestCase { +UEncoder enc=new UEncoder(); + +public static void main(String[] args) { +} + + +/* + * + * Test method for 'org.apache.tomcat.util.buf.UEncoder.encodeURL(String)' + * TODO: find the relevant rfc and apache tests and add more + */ +public void testEncodeURL() { + +String eurl1=enc.encodeURL(test); +assertEquals(test, eurl1); + +eurl1=enc.encodeURL(/test); +assertEquals(%2ftest, eurl1); + +// safe ranges +eurl1=enc.encodeURL(test$-_.); +assertEquals(test$-_., eurl1); + +eurl1=enc.encodeURL(test$-_.!*'(),); +assertEquals(test$-_.!*'(),, eurl1); + +eurl1=enc.encodeURL(//test); +assertEquals(%2f%2ftest, eurl1); + + +} + +} - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svn commit: r331252 - /tomcat/container/tc5.5.x/webapps/docs/changelog.xml
Author: remm Date: Mon Nov 7 02:07:06 2005 New Revision: 331252 URL: http://svn.apache.org/viewcvs?rev=331252view=rev Log: - Changelog update. Modified: tomcat/container/tc5.5.x/webapps/docs/changelog.xml Modified: tomcat/container/tc5.5.x/webapps/docs/changelog.xml URL: http://svn.apache.org/viewcvs/tomcat/container/tc5.5.x/webapps/docs/changelog.xml?rev=331252r1=331251r2=331252view=diff == --- tomcat/container/tc5.5.x/webapps/docs/changelog.xml (original) +++ tomcat/container/tc5.5.x/webapps/docs/changelog.xml Mon Nov 7 02:07:06 2005 @@ -82,6 +82,12 @@ bug37121/bug: Sendfile always needs to be given the length of data to write, which fixes ranged requests. (remm) /fix + fix +Optimized direct byte buffers association with the socket for APR connectors. (mturk) + /fix + fix +Fix hidden NPEs when using the APR connectors and there's no host header. (pero, remm) + /fix /changelog /subsection subsection name=Jasper - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 37381] New: - pageContext.forward causes Illegal to clear() when buffer size == 0
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=37381. 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=37381 Summary: pageContext.forward causes Illegal to clear() when buffer size == 0 Product: Tomcat 5 Version: 5.0.28 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: Jasper AssignedTo: tomcat-dev@jakarta.apache.org ReportedBy: [EMAIL PROTECTED] I have certain JSP pages where no buffer is required - or rather a buffer of 0 IS required - being set via: %@ page buffer=none %. On this implementation a security check is performed (session based) and if it fails, I do a pageContext.forward(/somepath/jsp). Works file, except on the pages where %@ page buffer=none % is specified. Exception details: Illegal to clear() when buffer size == 0 java.lang.IllegalStateException at org.apache.jasper.runtime.JspWriterImpl.clear(JspWriterImpl.java:144) at org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:646) at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:637) at com.unysen.security.SecurityCheckTag.doStartTag(SecurityCheckTag.java:179) Would it not be safe to do a: if (pageContext.getOut().getBufferSize() 0) JspWriterImpl.clear(); Not sure if this is required by the JSP spec or not, but seems like a logical check to make :) Thanks. -- 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]
svn commit failed
I was trying to update the faq and on commit I get: svn: Commit failed (details follow): svn: MKACTIVITY of '/repos/asf/!svn/act/cbfb08b7-fd04-0410-812a-daddc51de6cc': 403 Forbidden (http://svn.apache.org) I (think I) have the correct ID and password. Am I missing karma? -Tim - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: svn commit failed
Tim Funk wrote: I was trying to update the faq and on commit I get: svn: Commit failed (details follow): svn: MKACTIVITY of '/repos/asf/!svn/act/cbfb08b7-fd04-0410-812a-daddc51de6cc': 403 Forbidden (http://svn.apache.org) I (think I) have the correct ID and password. Am I missing karma? -Tim Looks like this was over http. Commits must be over https. Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: svn commit: r331249
On Mon, 2005-11-07 at 09:58 +, [EMAIL PROTECTED] wrote: Author: remm Date: Mon Nov 7 01:57:55 2005 New Revision: 331249 URL: http://svn.apache.org/viewcvs?rev=331249view=rev Log: - Fix swallowed NPE problem with APR connectors when there's no host header. The mapper will simply use the default host name in that case. - Some small cleanups also, like removing the unused Request.localHost field. Modified: tomcat/connectors/trunk/coyote/src/java/org/apache/coyote/Request.java Hi Remy Isn't Coyote meant to be some sort of public API? Weren't you supposed to go through a deprecation period of some sort before removing public methods? Just curious. Cheers, Oleg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[OTAnn] Feedback
I was interested in getting feedback from current mail group users. We have mirrored your mail list in a new application that provides a more aggregated and safe environment which utilizes the power of broadband. Roomity.com v 1.5 is a web 2.01 community webapp. Our newest version adds broadcast video and social networking such as favorite authors and an html editor. It?s free to join and any feedback would be appreciated. S. Broadband interface (RIA) + mail box saftey = a href=http://Tomcat_Developers_List.roomity.com;Tomcat_Developers_List.roomity.com/a *Your* clubs, no sign up to read, ad supported; try broadband internet. ~~1131397870259~~
svn commit: r331650 - in /tomcat/site/trunk: docs/faq/memory.html docs/faq/printer/memory.html xdocs-faq/memory.xml
Author: funkman Date: Mon Nov 7 16:32:44 2005 New Revision: 331650 URL: http://svn.apache.org/viewcvs?rev=331650view=rev Log: add class loadloader leak link Modified: tomcat/site/trunk/docs/faq/memory.html tomcat/site/trunk/docs/faq/printer/memory.html tomcat/site/trunk/xdocs-faq/memory.xml Modified: tomcat/site/trunk/docs/faq/memory.html URL: http://svn.apache.org/viewcvs/tomcat/site/trunk/docs/faq/memory.html?rev=331650r1=331649r2=331650view=diff == --- tomcat/site/trunk/docs/faq/memory.html (original) +++ tomcat/site/trunk/docs/faq/memory.html Mon Nov 7 16:32:44 2005 @@ -128,6 +128,13 @@ li Not actually a reason - but on your particular platform, look at the codejava -X/code options. They may be VERY helpful. /li + li +a href=http://opensource2.atlassian.com/confluence/spring/pages/viewpage.action?pageId=2669; +Your classloaders are not being garbage collected./a + /li + + + /ul /divbr Modified: tomcat/site/trunk/docs/faq/printer/memory.html URL: http://svn.apache.org/viewcvs/tomcat/site/trunk/docs/faq/printer/memory.html?rev=331650r1=331649r2=331650view=diff == --- tomcat/site/trunk/docs/faq/printer/memory.html (original) +++ tomcat/site/trunk/docs/faq/printer/memory.html Mon Nov 7 16:32:44 2005 @@ -127,6 +127,13 @@ li Not actually a reason - but on your particular platform, look at the codejava -X/code options. They may be VERY helpful. /li + li +a href=http://opensource2.atlassian.com/confluence/spring/pages/viewpage.action?pageId=2669; +Your classloaders are not being garbage collected./a + /li + + + /ul /divbr Modified: tomcat/site/trunk/xdocs-faq/memory.xml URL: http://svn.apache.org/viewcvs/tomcat/site/trunk/xdocs-faq/memory.xml?rev=331650r1=331649r2=331650view=diff == --- tomcat/site/trunk/xdocs-faq/memory.xml (original) +++ tomcat/site/trunk/xdocs-faq/memory.xml Mon Nov 7 16:32:44 2005 @@ -142,6 +142,13 @@ li Not actually a reason - but on your particular platform, look at the codejava -X/code options. They may be VERY helpful. /li + li +a href=http://opensource2.atlassian.com/confluence/spring/pages/viewpage.action?pageId=2669; +Your classloaders are not being garbage collected./a + /li + + + /ul /answer - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svn commit: r331651 - /tomcat/site/trunk/README.txt
Author: funkman Date: Mon Nov 7 16:36:17 2005 New Revision: 331651 URL: http://svn.apache.org/viewcvs?rev=331651view=rev Log: Fix directory for site s/jakarta/Apache/ Modified: tomcat/site/trunk/README.txt Modified: tomcat/site/trunk/README.txt URL: http://svn.apache.org/viewcvs/tomcat/site/trunk/README.txt?rev=331651r1=331650r2=331651view=diff == --- tomcat/site/trunk/README.txt (original) +++ tomcat/site/trunk/README.txt Mon Nov 7 16:36:17 2005 @@ -1,6 +1,6 @@ $Id$ -The Jakarta Tomcat Website Instructions +The Apache Tomcat Website Instructions --- ***NOTE*** @@ -9,36 +9,36 @@ ***NOTE*** The Tomcat web site is based on .xml files which are transformed -into .html files using XSLT and Ant. +into .html files using XSLT and Ant. In order to make modifications to the Tomcat web site, you need to first check out the Tomcat site from SVN. To check out the Tomcat site into a sub-directory called tomcat-site in the current directory: -svn checkout http://svn.apache.org/repos/asf/tomcat/site/trunk tomcat-site +svn checkout https://svn.apache.org/repos/asf/tomcat/site/trunk tomcat-site -Once you have the site checked out locally, cd into your +Once you have the site checked out locally, cd into your tomcat-site directory and execute: ant -This will build the documentation into the docs/ directory. The output +This will build the documentation into the docs/ directory. The output will show you which files got re-generated. If you would like to make modifications to the web site documents, you simply need to edit the files in the xdocs/ and/or xdocs-faq/ directory. -The files in xdocs/stylesheets are the global files for the site. If you make a -modification to project.xml, it will affect the left side navigation for the +The files in xdocs/stylesheets are the global files for the site. If you make a +modification to project.xml, it will affect the left side navigation for the web site and all of your .html files will be re-generated. The xdocs-faq directory has its own project.xml and tomcat-faq.xsl Once you have built your documentation and confirmed that your changes are -ok, you can check your .xml and your .html files back into SVN. +ok, you can check your .xml and your .html files back into SVN. -Then, in the /www/jakarta.apache.org/tomcat/ directory, execute: +Then, in the /www/tomcat.apache.org/ directory, execute: svn up -to have the changes reflected on the Tomcat web site. \ No newline at end of file +to have the changes reflected on the Tomcat web site. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: HPUX Itanium Native Connector Build Error
Fenlason, Josh wrote: Hey everybody! I'm trying to build the native apr connector from Tomcat 5.5.12 on HPUX Itanium and I'm running into a problem during the configure. APR 1.2.2 built fine. I built OpenSSL 0.9.8a as a static library (I couldn't get it to build as a shared library.) Have you been able to build apr as dso? When I try to configure the tomcat native connector, I get the following error: checking for openssl/engine.h... yes checking for SSLeay_version in -lcrypto... no checking for SSL_CTX_new in -lssl... no Obviously something is wrong with your OpenSSL build, because autoconfigure's AC_CHECK_LIB could not find SSLeay_version function in -lcrypto. Has anyone been able to get this to work? Suggestions on what I'm doing wrong would be greatly appreciated. Thanks in advance. I would try to build the shared openssl as first. Regards, Mladen. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]