DO NOT REPLY [Bug 48677] SSL with Form fallback authenticator no longer works in 6.0.24
https://issues.apache.org/bugzilla/show_bug.cgi?id=48677 --- Comment #1 from Konstantin Kolinko 2010-02-04 00:08:56 UTC --- The renegotiation protection feature that you are facing was implemented in rev.891292. Note, that you can disable it by setting allowUnsafeLegacyRenegotiation attribute on a Connector to the value of "true". That is documented here: http://tomcat.apache.org/tomcat-6.0-doc/config/http.html http://tomcat.apache.org/security-6.html -- 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
DO NOT REPLY [Bug 48678] New: org.apache.catalina.startup.Catalina incorrectly duplicates super class member
https://issues.apache.org/bugzilla/show_bug.cgi?id=48678 Summary: org.apache.catalina.startup.Catalina incorrectly duplicates super class member Product: Tomcat 6 Version: 6.0.24 Platform: PC OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: Catalina AssignedTo: dev@tomcat.apache.org ReportedBy: henning.bl...@gmail.com Catalina declares its own protected member variable "server" and a corresponding "setServer" method, while Catalina's super class Embedded has a private member "server" and a "getServer" method, so that Catalina sets its "service" member, but when asking, will return super.server which is consistently null. This means that Catalina cannot be used as Tomcat embedding directly but at least requires an extension like so: public class MyCatalina extends Catalina { public Server getServer() { return this.server; } } It might have other ramifications though and was most likely not intended. See also: http://marc.info/?l=tomcat-user&m=126502245412565&w=2 -- 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
DO NOT REPLY [Bug 48678] org.apache.catalina.startup.Catalina incorrectly duplicates super class member
https://issues.apache.org/bugzilla/show_bug.cgi?id=48678 Henning Blohm changed: What|Removed |Added Platform|PC |All OS/Version|Linux |All --- Comment #1 from Henning Blohm 2010-02-04 00:11:13 UTC --- updated platform and OS to "All". -- 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
DO NOT REPLY [Bug 48600] Performance issue with tags
https://issues.apache.org/bugzilla/show_bug.cgi?id=48600 --- Comment #6 from Philippe Prados 2010-02-04 01:28:14 UTC --- Created an attachment (id=24924) --> (https://issues.apache.org/bugzilla/attachment.cgi?id=24924) Patch to add cache in DefaultAnnotationProcessor With some test case, this version is 6 times faster ! JBoss use a DummpAnnotationProcessor to remove this capabilities. I think, now, JBoss can use this new version. Regards Philippe Prados -- 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
Re: Host Manager Persistent (bug 48674)
On 03/02/2010 19:17, Jordan Michaels wrote: > https://issues.apache.org/bugzilla/show_bug.cgi?id=48674 > > Would whoever is in charge of the host manager app like some assistance > with this one? If not, that's fine, I just thought I'd offer if they're > interested. No one person is in charge of the host manager app. Committers do have areas of interest but even then that doesn't mean that they are in charge of a particular area. Anyone is free to work on any area. Patches for open bugs are always welcome. You might want to look at the storeconfig module from 5.5.x although that a) had its issues and b) is probably over the top for this case. Mark - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
DO NOT REPLY [Bug 48677] SSL with Form fallback authenticator no longer works in 6.0.24
https://issues.apache.org/bugzilla/show_bug.cgi?id=48677 Mark Thomas changed: What|Removed |Added Status|NEW |RESOLVED Resolution||INVALID --- Comment #2 from Mark Thomas 2010-02-04 01:36:38 GMT --- Questions about allowUnsafeLegacyRenegotiation should be directed to the users list. -- 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
Re: 6.0.24 service.bat is missing
On 03/02/2010 21:17, Filip Hanik - Dev Lists wrote: > On 02/03/2010 11:31 AM, Mark Thomas wrote: >> On 03/02/2010 18:07, Filip Hanik - Dev Lists wrote: >> >>> and all the .exe files are gone, from the .zip file, this is a pain in >>> the ass, no windows without installer? >>> why the change from .20 to .24? should just be a build update? >>> >> As per the discussion back in June 2009, the windows binaries and native >> dll can be found in the windows-platform.zip files. Pick the file that >> matches your platform. >> > which download would that be on this page? > http://tomcat.apache.org/download-60.cgi > > or is it that the page hasn't been updated properly since the archives > have more than the download page > http://archive.apache.org/dist/tomcat/tomcat-6/v6.0.24/bin/ Correct. That page should have been updated as part of the 6.0.24 release. Mark - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
Re: Fwd: Switching incubator.apache.org to svnpubsub?
2010/2/3 William A. Rowe Jr. : > That said, there are now two platforms, your original svn.apache.org space > and now dist.apache.org/repos/dist/, which is for publishing artifacts. It > might make sense to mirror the published/released doc flavors through this > new much more expandable repository. > I do not see /repos/dist/ svn.apache.org, dist.apache.org give 404 for that address. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
[g...@vmgump]: Project tomcat-trunk-dbcp (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-dbcp has an issue affecting its community integration. This issue affects 2 projects, and has been outstanding for 2 runs. The current state of this project is 'Failed', with reason 'Missing Build Outputs'. For reference only, the following projects are affected by this: - tomcat-trunk : Java Servlet 3.0 & Server Pages JSP 2.1 implementation (for ... - tomcat-trunk-dbcp : Java Servlet 3.0 & Server Pages JSP 2.1 implementation (for ... Full details are available at: http://vmgump.apache.org/gump/public/tomcat-trunk/tomcat-trunk-dbcp/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -DEBUG- Sole output [tomcat-jdbc-04022010.jar] identifier set to project name -INFO- Made directory [/srv/gump/public/workspace/tomcat-trunk/tomcat-deps] -INFO- Failed with reason missing build outputs -ERROR- Missing Output: /srv/gump/public/workspace/tomcat-trunk/tomcat-deps/tomcat-jdbc-04022010.jar -ERROR- See Directory Listing Work for Missing Outputs -DEBUG- Extracted fallback artifacts from Gump Repository The following work was performed: http://vmgump.apache.org/gump/public/tomcat-trunk/tomcat-trunk-dbcp/gump_work/build_tomcat-trunk_tomcat-trunk-dbcp.html Work Name: build_tomcat-trunk_tomcat-trunk-dbcp (Type: Build) Work ended in a state of : Success Elapsed: 1 sec Command Line: /usr/lib/jvm/java-6-sun/bin/java -Djava.awt.headless=true org.apache.tools.ant.Main -Dgump.merge=/srv/gump/public/gump/work/merge.xml -Dbuild.sysclasspath=only -Dcommons-collections.home=/srv/gump/public/workspace/commons-collections-3.x/collections -Dcommons-dbcp.home=/srv/gump/public/workspace/apache-commons/dbcp -Dtomcat-dbcp.jar=/srv/gump/public/workspace/tomcat-trunk/tomcat-deps/tomcat-jdbc-04022010.jar -Dtomcat-dbcp.home=/srv/gump/public/workspace/tomcat-trunk/tomcat-deps -Dcommons-pool.home=/srv/gump/public/workspace/apache-commons/pool build-tomcat-dbcp [Working Directory: /srv/gump/public/workspace/tomcat-trunk] CLASSPATH: /usr/lib/jvm/java-6-sun/lib/tools.jar:/srv/gump/public/workspace/ant/dist/lib/ant-jmf.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/public/workspace/ant/dist/lib/ant-trax.jar:/srv/gump/public/workspace/ant/dist/lib/ant-junit.jar:/srv/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/srv/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/srv/gump/public/workspace/ant/dist/lib/ant.jar:/srv/gump/packages/junit3.8.1/junit.jar:/srv/gump/public/workspace/xml-commons/java/build/resolver.jar:/srv/gump/packages/jta-spec1_0_1/jta-spec1_0_1.jar - Buildfile: /srv/gump/public/workspace/tomcat-trunk/build.xml build-manifests: [mkdir] Created dir: /srv/gump/public/workspace/tomcat-trunk/output/manifests [copy] Copying 4 files to /srv/gump/public/workspace/tomcat-trunk/output/manifests build-tomcat-dbcp: BUILD SUCCESSFUL Total time: 1 second - To subscribe to this information via syndicated feeds: - RSS: http://vmgump.apache.org/gump/public/tomcat-trunk/tomcat-trunk-dbcp/rss.xml - Atom: http://vmgump.apache.org/gump/public/tomcat-trunk/tomcat-trunk-dbcp/atom.xml == Gump Tracking Only === Produced by Gump version 2.3. Gump Run 0704022010, vmgump:vmgump-public:0704022010 Gump E-mail Identifier (unique within run) #16. -- 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
svn commit: r906443 - in /tomcat/site/trunk: docs/security-5.html docs/security-6.html xdocs/security-5.xml xdocs/security-6.xml
Author: markt Date: Thu Feb 4 10:25:48 2010 New Revision: 906443 URL: http://svn.apache.org/viewvc?rev=906443&view=rev Log: Note CVE-2009-2901 only affects Windows platforms Modified: tomcat/site/trunk/docs/security-5.html tomcat/site/trunk/docs/security-6.html tomcat/site/trunk/xdocs/security-5.xml tomcat/site/trunk/xdocs/security-6.xml Modified: tomcat/site/trunk/docs/security-5.html URL: http://svn.apache.org/viewvc/tomcat/site/trunk/docs/security-5.html?rev=906443&r1=906442&r2=906443&view=diff == --- tomcat/site/trunk/docs/security-5.html (original) +++ tomcat/site/trunk/docs/security-5.html Thu Feb 4 10:25:48 2010 @@ -307,13 +307,14 @@ files will be deployed as a result of the autodeployment process. Depending on circumstances, files normally protected by one or more security constraints may be deployed without those security constraints, - making them accessible without authentication. + making them accessible without authentication. This issue only affects + Windows platforms This was fixed in http://svn.apache.org/viewvc?rev=902650&view=rev";> revision 902650. -Affects: 5.5.0-5.5.28 +Affects: 5.5.0-5.5.28 (Windows only) Low: Unexpected file deletion in work directory Modified: tomcat/site/trunk/docs/security-6.html URL: http://svn.apache.org/viewvc/tomcat/site/trunk/docs/security-6.html?rev=906443&r1=906442&r2=906443&view=diff == --- tomcat/site/trunk/docs/security-6.html (original) +++ tomcat/site/trunk/docs/security-6.html Thu Feb 4 10:25:48 2010 @@ -259,13 +259,14 @@ files will be deployed as a result of the autodeployment process. Depending on circumstances, files normally protected by one or more security constraints may be deployed without those security constraints, - making them accessible without authentication. + making them accessible without authentication. This issue only affects + Windows platforms. This was fixed in http://svn.apache.org/viewvc?rev=892815&view=rev";> revision 892815. -Affects: 6.0.0-6.0.20 +Affects: 6.0.0-6.0.20 (Windows only) Low: Unexpected file deletion in work directory Modified: tomcat/site/trunk/xdocs/security-5.xml URL: http://svn.apache.org/viewvc/tomcat/site/trunk/xdocs/security-5.xml?rev=906443&r1=906442&r2=906443&view=diff == --- tomcat/site/trunk/xdocs/security-5.xml (original) +++ tomcat/site/trunk/xdocs/security-5.xml Thu Feb 4 10:25:48 2010 @@ -77,13 +77,14 @@ files will be deployed as a result of the autodeployment process. Depending on circumstances, files normally protected by one or more security constraints may be deployed without those security constraints, - making them accessible without authentication. + making them accessible without authentication. This issue only affects + Windows platforms This was fixed in http://svn.apache.org/viewvc?rev=902650&view=rev";> revision 902650. -Affects: 5.5.0-5.5.28 +Affects: 5.5.0-5.5.28 (Windows only) Low: Unexpected file deletion in work directory http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-2902";> Modified: tomcat/site/trunk/xdocs/security-6.xml URL: http://svn.apache.org/viewvc/tomcat/site/trunk/xdocs/security-6.xml?rev=906443&r1=906442&r2=906443&view=diff == --- tomcat/site/trunk/xdocs/security-6.xml (original) +++ tomcat/site/trunk/xdocs/security-6.xml Thu Feb 4 10:25:48 2010 @@ -54,13 +54,14 @@ files will be deployed as a result of the autodeployment process. Depending on circumstances, files normally protected by one or more security constraints may be deployed without those security constraints, - making them accessible without authentication. + making them accessible without authentication. This issue only affects + Windows platforms. This was fixed in http://svn.apache.org/viewvc?rev=892815&view=rev";> revision 892815. -Affects: 6.0.0-6.0.20 +Affects: 6.0.0-6.0.20 (Windows only) Low: Unexpected file deletion in work directory http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-2902";> - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
RE: Fwd: Switching incubator.apache.org to svnpubsub?
> -Original Message- > From: Mark Thomas [mailto:ma...@apache.org] > Sent: Thursday, 4 February 2010 2:46 AM > To: Tomcat Developers List > Subject: Re: Fwd: Switching incubator.apache.org to svnpubsub? > > On 03/02/2010 13:21, Yoav Shapira wrote: > > Please see Justin's proposal below for the Incubator. (From a > > general, public list.) > > > > I think it'd be great for Tomcat to do the same. Your thoughts / > votes? > > Generally +1. Need to think about how we handle the docs (including > javadocs). Is there a better way than just checking the whole lot into > the repo? How are you handling the docs currently? Docs, including javadocs can be built using Buildbot and deployed, this way there is still the one hour delay from commit to being live, but at least generated documentation doesn't get into svn. Gav... > > Mark > > > > > > Yoav > > > > > > -- Forwarded message -- > > From: Justin Erenkrantz > > Date: Wed, Feb 3, 2010 at 1:57 AM > > Subject: Switching incubator.apache.org to svnpubsub? > > To: gene...@incubator.apache.org > > > > > > Hi general@, > > > > I'd like to suggest switching incubator.apache.org over to svnpubsub. > > (We can do so by filing a JIRA like INFRA-2349: > > http://issues.apache.org/jira/browse/INFRA-2349) > > > > This would mean that any commits made to the site-publish tree would > > automatically be deployed to the site. No more delays, no more SSH > > and SVN up fun. Yay. This does mean you trade off the fact that you > > can't delay anything - but, in general, I think that's fine for the > > incubator site and would substantially lower the barrier of entry to > > folks working on the Incubator site. Often times, people's first > > experience with the ASF is through the podlings, so I think it would > > be nice if we could make it a bit easier to publish the incubator.a.o > > site. > > > > What do folks think? -- justin > > > > - > > To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org > > For additional commands, e-mail: dev-h...@tomcat.apache.org > > > > > - > To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org > For additional commands, e-mail: dev-h...@tomcat.apache.org - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
Re: Fwd: Switching incubator.apache.org to svnpubsub?
On 04/02/2010 10:52, Gav... wrote: > > >> -Original Message- >> From: Mark Thomas [mailto:ma...@apache.org] >> Sent: Thursday, 4 February 2010 2:46 AM >> To: Tomcat Developers List >> Subject: Re: Fwd: Switching incubator.apache.org to svnpubsub? >> >> On 03/02/2010 13:21, Yoav Shapira wrote: >>> Please see Justin's proposal below for the Incubator. (From a >>> general, public list.) >>> >>> I think it'd be great for Tomcat to do the same. Your thoughts / >> votes? >> >> Generally +1. Need to think about how we handle the docs (including >> javadocs). Is there a better way than just checking the whole lot into >> the repo? > > How are you handling the docs currently? > > Docs, including javadocs can be built using Buildbot and deployed, this way > there is still the one hour delay from commit to being live, but at least > generated documentation doesn't get into svn. The docs only reflect the latest release, not trunk so they only need to be updated at release time. An hours delay here is fine. Currently we just copy these the same place the site docs are checked out to on people as part of the release process. Mark - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r906453 - in /tomcat/trunk/test/org/apache: el/TestELInJsp.java jasper/compiler/TestGenerator.java jasper/compiler/TestParser.java
Author: kkolinko Date: Thu Feb 4 11:24:07 2010 New Revision: 906453 URL: http://svn.apache.org/viewvc?rev=906453&view=rev Log: Be a bit more specific in our tests: check for surrounding the printed text Modified: tomcat/trunk/test/org/apache/el/TestELInJsp.java tomcat/trunk/test/org/apache/jasper/compiler/TestGenerator.java tomcat/trunk/test/org/apache/jasper/compiler/TestParser.java Modified: tomcat/trunk/test/org/apache/el/TestELInJsp.java URL: http://svn.apache.org/viewvc/tomcat/trunk/test/org/apache/el/TestELInJsp.java?rev=906453&r1=906452&r2=906453&view=diff == --- tomcat/trunk/test/org/apache/el/TestELInJsp.java (original) +++ tomcat/trunk/test/org/apache/el/TestELInJsp.java Thu Feb 4 11:24:07 2010 @@ -43,7 +43,7 @@ "/test/bug36923.jsp"); String result = res.toString(); -assertTrue(result.indexOf("00-${hello world}") > 0); +assertEcho(result, "00-${hello world}"); } public void testBug42565() throws Exception { @@ -59,22 +59,22 @@ "/test/bug42565.jsp"); String result = res.toString(); -assertTrue(result.indexOf("00-false") > 0); -assertTrue(result.indexOf("01-false") > 0); -assertTrue(result.indexOf("02-false") > 0); -assertTrue(result.indexOf("03-false") > 0); -assertTrue(result.indexOf("04-false") > 0); -assertTrue(result.indexOf("05-false") > 0); -assertTrue(result.indexOf("06-false") > 0); -assertTrue(result.indexOf("07-false") > 0); -assertTrue(result.indexOf("08-false") > 0); -assertTrue(result.indexOf("09-false") > 0); -assertTrue(result.indexOf("10-false") > 0); -assertTrue(result.indexOf("11-false") > 0); -assertTrue(result.indexOf("12-false") > 0); -assertTrue(result.indexOf("13-false") > 0); -assertTrue(result.indexOf("14-false") > 0); -assertTrue(result.indexOf("15-false") > 0); +assertEcho(result, "00-false"); +assertEcho(result, "01-false"); +assertEcho(result, "02-false"); +assertEcho(result, "03-false"); +assertEcho(result, "04-false"); +assertEcho(result, "05-false"); +assertEcho(result, "06-false"); +assertEcho(result, "07-false"); +assertEcho(result, "08-false"); +assertEcho(result, "09-false"); +assertEcho(result, "10-false"); +assertEcho(result, "11-false"); +assertEcho(result, "12-false"); +assertEcho(result, "13-false"); +assertEcho(result, "14-false"); +assertEcho(result, "15-false"); } public void testBug44994() throws Exception { @@ -91,9 +91,9 @@ "/test/bug44994.jsp"); String result = res.toString(); -assertTrue(result.indexOf("00-none") > 0); -assertTrue(result.indexOf("01-one") > 0); -assertTrue(result.indexOf("02-many") > 0); +assertEcho(result, "00-none"); +assertEcho(result, "01-one"); +assertEcho(result, "02-many"); } public void testBug45427() throws Exception { @@ -111,24 +111,24 @@ String result = res.toString(); // Warning: JSP attribute escaping != Java String escaping -assertTrue(result.indexOf("00-hello world") > 0); -assertTrue(result.indexOf("01-hello 'world") > 0); -assertTrue(result.indexOf("02-hello \"world") > 0); -assertTrue(result.indexOf("03-hello world") > 0); -assertTrue(result.indexOf("04-hello 'world") > 0); -assertTrue(result.indexOf("05-hello \"world") > 0); -assertTrue(result.indexOf("06-hello world") > 0); -assertTrue(result.indexOf("07-hello 'world") > 0); -assertTrue(result.indexOf("08-hello \"world") > 0); -assertTrue(result.indexOf("09-hello world") > 0); -assertTrue(result.indexOf("10-hello 'world") > 0); -assertTrue(result.indexOf("11-hello \"world") > 0); -assertTrue(result.indexOf("12-hello world") > 0); -assertTrue(result.indexOf("13-hello 'world") > 0); -assertTrue(result.indexOf("14-hello \"world") > 0); -assertTrue(result.indexOf("15-hello world") > 0); -assertTrue(result.indexOf("16-hello 'world") > 0); -assertTrue(result.indexOf("17-hello \"world") > 0); +assertEcho(result, "00-hello world"); +assertEcho(result, "01-hello 'world"); +assertEcho(result, "02-hello \"world"); +assertEcho(result, "03-hello world"); +assertEcho(result, "04-hello 'world"); +assertEcho(result, "05-hello \"world"); +assertEcho(result, "06-hello world"); +assertEcho(result, "07-hello 'world"); +assertEcho(result, "08-hello \"world"); +assertEcho(result, "09-hello world"); +assertEcho(result, "10-hello 'world"); +assertEcho(result, "11-hello \"wor
svn commit: r906464 - in /tomcat/trunk/test: org/apache/el/TestELInJsp.java webapp/el-misc.jsp
Author: kkolinko Date: Thu Feb 4 12:16:51 2010 New Revision: 906464 URL: http://svn.apache.org/viewvc?rev=906464&view=rev Log: Test for a bug with processing of double quotes in AttributeParser#parseEL Modified: tomcat/trunk/test/org/apache/el/TestELInJsp.java tomcat/trunk/test/webapp/el-misc.jsp Modified: tomcat/trunk/test/org/apache/el/TestELInJsp.java URL: http://svn.apache.org/viewvc/tomcat/trunk/test/org/apache/el/TestELInJsp.java?rev=906464&r1=906463&r2=906464&view=diff == --- tomcat/trunk/test/org/apache/el/TestELInJsp.java (original) +++ tomcat/trunk/test/org/apache/el/TestELInJsp.java Thu Feb 4 12:16:51 2010 @@ -322,6 +322,7 @@ ByteChunk res = getUrl("http://localhost:"; + getPort() + "/test/el-misc.jsp"); String result = res.toString(); +System.out.println(result); assertEcho(result, "00-\\\"${'hello world'}"); assertEcho(result, "01-\\\"\\${'hello world'}"); assertEcho(result, "02-\\\"${'hello world'}"); @@ -334,6 +335,12 @@ assertEcho(result, "09-az2"); assertEcho(result, "10-${'foo'}bar"); assertEcho(result, "11-\"}"); +assertEcho(result, "12-foo\\bar\\baz"); +assertEcho(result, "13-foo\\bar\\baz"); +assertEcho(result, "14-foo\\bar\\baz"); +assertEcho(result, "15-foo\\bar\\baz"); +assertEcho(result, "16-foo\\bar\\baz"); +assertEcho(result, "17-foo\\bar\\baz"); } public void testScriptingExpression() throws Exception { Modified: tomcat/trunk/test/webapp/el-misc.jsp URL: http://svn.apache.org/viewvc/tomcat/trunk/test/webapp/el-misc.jsp?rev=906464&r1=906463&r2=906464&view=diff == --- tomcat/trunk/test/webapp/el-misc.jsp (original) +++ tomcat/trunk/test/webapp/el-misc.jsp Thu Feb 4 12:16:51 2010 @@ -30,5 +30,11 @@ + + + + + + \ No newline at end of file - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r906465 - in /tomcat/trunk: java/org/apache/jasper/compiler/AttributeParser.java test/org/apache/jasper/compiler/TestAttributeParser.java
Author: kkolinko Date: Thu Feb 4 12:18:28 2010 New Revision: 906465 URL: http://svn.apache.org/viewvc?rev=906465&view=rev Log: Fix for a bug with processing of double quotes in AttributeParser#parseEL() Modified: tomcat/trunk/java/org/apache/jasper/compiler/AttributeParser.java tomcat/trunk/test/org/apache/jasper/compiler/TestAttributeParser.java Modified: tomcat/trunk/java/org/apache/jasper/compiler/AttributeParser.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/jasper/compiler/AttributeParser.java?rev=906465&r1=906464&r2=906465&view=diff == --- tomcat/trunk/java/org/apache/jasper/compiler/AttributeParser.java (original) +++ tomcat/trunk/java/org/apache/jasper/compiler/AttributeParser.java Thu Feb 4 12:18:28 2010 @@ -214,8 +214,8 @@ private void parseEL() { boolean endEL = false; boolean insideLiteral = false; +char literalQuote = 0; while (i < size && !endEL) { -char literalQuote = '\''; char ch = nextChar(); if (ch == '\'' || ch == '\"') { if (insideLiteral) { Modified: tomcat/trunk/test/org/apache/jasper/compiler/TestAttributeParser.java URL: http://svn.apache.org/viewvc/tomcat/trunk/test/org/apache/jasper/compiler/TestAttributeParser.java?rev=906465&r1=906464&r2=906465&view=diff == --- tomcat/trunk/test/org/apache/jasper/compiler/TestAttributeParser.java (original) +++ tomcat/trunk/test/org/apache/jasper/compiler/TestAttributeParser.java Thu Feb 4 12:18:28 2010 @@ -135,9 +135,24 @@ // Quoting <% and %> assertEquals("hello <% world", evalAttr("hello <\\% world", '\"')); assertEquals("hello %> world", evalAttr("hello %> world", '\"')); + +// Test that the end of literal in EL expression is recognized in +// parseEL(), be it quoted with single or double quotes. That is, that +// AttributeParser correctly switches between parseLiteral and parseEL +// methods. +// +// The test is based on the difference in how the '\' character is printed: +// when in parseLiteral \\${ will be printed as ${'\'}${, but if we are still +// inside of parseEL it will be printed as \${, thus preventing the EL +// expression that follows from being evaluated. +// +assertEquals("foo\\bar\\baz", evalAttr("${\'foo\'}${\'bar\'}${\'baz\'}", '\"')); +assertEquals("foo\\bar\\baz", evalAttr("${\'foo\'}${\\\"bar\\\"}${\'baz\'}", '\"')); +assertEquals("foo\\bar\\baz", evalAttr("${\\\"foo\\\"}${\'bar\'}${\\\"baz\\\"}", '\"')); +assertEquals("foo\\bar\\baz", evalAttr("${\"foo\"}${\\\'bar\\\'}${\"baz\"}", '\'')); } -public void testScriptExpressiinLiterals() { +public void testScriptExpressionLiterals() { assertEquals(" \"hello world\" ", parseScriptExpression( " \"hello world\" ", (char) 0)); assertEquals(" \"hello \\\"world\" ", parseScriptExpression( - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r906467 - /tomcat/tc6.0.x/trunk/
Author: kkolinko Date: Thu Feb 4 12:40:31 2010 New Revision: 906467 URL: http://svn.apache.org/viewvc?rev=906467&view=rev Log: Remove 904949 from svn:mergeinfo It erroneously got there when commiting rev.905152 Modified: tomcat/tc6.0.x/trunk/ (props changed) Propchange: tomcat/tc6.0.x/trunk/ -- --- svn:mergeinfo (original) +++ svn:mergeinfo Thu Feb 4 12:40:31 2010 @@ -1,3 +1,2 @@ /tomcat:883362 -/tomcat/tc6.0.x/trunk:904949 -/tomcat/trunk:601180,606992,612607,630314,640888,652744,653247,666232,673796,673820,677910,683969,683982,684001,684081,684234,684269-684270,685177,687503,687645,689402,690781,691392,691805,692748,693378,694992,695053,695311,696780,696782,698012,698227,698236,698613,699427,699634,701355,709294,709811,709816,710063,710066,710125,710205,711126,711600,712461,712467,713953,714002,718360,719119,719124,719602,719626,719628,720046,720069,721040,721286,721708,721886,723404,723738,726052,727303,728032,728768,728947,729057,729567,729569,729571,729681,729809,729815,729934,730250,730590,731651,732859,732863,734734,740675,740684,742677,742697,742714,744160,744238,746321,746384,746425,747834,747863,748344,750258,750291,750921,751286-751287,751289,751295,753039,757335,757774,758249,758365,758596,758616,758664,759074,761601,762868,762929,762936-762937,763166,763183,763193,763228,763262,763298,763302,763325,763599,763611,763654,763681,763706,764985,764997,765662,768335,769979,770716,770809,77 0876,772872,776921,776924,776935,776945,777464,777466,777576,777625,778379,778523-778524,781528,781779,782145,782791,783316,783696,783724,783756,783762,783766,783863,783934,784453,784602,784614,785381,785688,785768,785859,786468,786487,786490,786496,786667,787627,787770,787985,789389,790405,791041,791184,791194,791224,791243,791326,791328,791789,792740,793372,793757,793882,793981,794082,794673,794822,795043,795152,795210,795457,795466,797168,797425,797596,797607,802727,802940,804462,804544,804734,805153,809131,809603,810916,810977,812125,812137,812432,813001,813013,813866,814180,814708,814876,815972,816252,817442,817822,819339,819361,820110,820132,820874,820954,821397,828196,828201,828210,828225,828759,830378-830379,830999,831106,831774,831785,831828,831850,831860,832214,832218,833121,833545,834047,835036,835336,836405,881396,881412,883130,883134,883146,883165,883177,883362,883565,884341,885038,885231,885241,885260,885901,885991,886019,888072,889363,889606,889716,890139,8902 65,890349-890350,890417,891185-891187,891583,892198,892341,892415,892464,892555,892812,892814,892817,892843,892887,893321,893493,894580,894586,894805,894831,895013,895045,895057,895703,896370,896384,897380-897381,897776,898126,898256,898468,898527,898555,898558,898718,898836,899284,899348,899420,904949,905151 +/tomcat/trunk:601180,606992,612607,630314,640888,652744,653247,666232,673796,673820,677910,683969,683982,684001,684081,684234,684269-684270,685177,687503,687645,689402,690781,691392,691805,692748,693378,694992,695053,695311,696780,696782,698012,698227,698236,698613,699427,699634,701355,709294,709811,709816,710063,710066,710125,710205,711126,711600,712461,712467,713953,714002,718360,719119,719124,719602,719626,719628,720046,720069,721040,721286,721708,721886,723404,723738,726052,727303,728032,728768,728947,729057,729567,729569,729571,729681,729809,729815,729934,730250,730590,731651,732859,732863,734734,740675,740684,742677,742697,742714,744160,744238,746321,746384,746425,747834,747863,748344,750258,750291,750921,751286-751287,751289,751295,753039,757335,757774,758249,758365,758596,758616,758664,759074,761601,762868,762929,762936-762937,763166,763183,763193,763228,763262,763298,763302,763325,763599,763611,763654,763681,763706,764985,764997,765662,768335,769979,770716,770809,77 0876,772872,776921,776924,776935,776945,777464,777466,777576,777625,778379,778523-778524,781528,781779,782145,782791,783316,783696,783724,783756,783762,783766,783863,783934,784453,784602,784614,785381,785688,785768,785859,786468,786487,786490,786496,786667,787627,787770,787985,789389,790405,791041,791184,791194,791224,791243,791326,791328,791789,792740,793372,793757,793882,793981,794082,794673,794822,795043,795152,795210,795457,795466,797168,797425,797596,797607,802727,802940,804462,804544,804734,805153,809131,809603,810916,810977,812125,812137,812432,813001,813013,813866,814180,814708,814876,815972,816252,817442,817822,819339,819361,820110,820132,820874,820954,821397,828196,828201,828210,828225,828759,830378-830379,830999,831106,831774,831785,831828,831850,831860,832214,832218,833121,833545,834047,835036,835336,836405,881396,881412,883130,883134,883146,883165,883177,883362,883565,884341,885038,885231,885241,885260,885901,885991,886019,888072,889363,889606,889716,890139,8902 65,890349-890350,890417,891185-891187,891583,892198,892341,892415,892464,892555,892812,892814,892817,892843,892887,893321,893493,894580,894586,894805,894831,895013,895045,895057,895703,896370,896384,897
DO NOT REPLY [Bug 48627] JasperException with JSF tags and value expressions
https://issues.apache.org/bugzilla/show_bug.cgi?id=48627 --- Comment #12 from Konstantin Kolinko 2010-02-04 04:47:49 UTC --- Created an attachment (id=24925) --> (https://issues.apache.org/bugzilla/attachment.cgi?id=24925) Updated source patch for Tomcat 6.0 Updated patch for Tomcat 6.0.24. It is the result of merging revisions 904949, 905226, 906465 from trunk. -- 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: r906474 - /tomcat/tc6.0.x/trunk/STATUS.txt
Author: kkolinko Date: Thu Feb 4 12:50:41 2010 New Revision: 906474 URL: http://svn.apache.org/viewvc?rev=906474&view=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=906474&r1=906473&r2=906474&view=diff == --- tomcat/tc6.0.x/trunk/STATUS.txt (original) +++ tomcat/tc6.0.x/trunk/STATUS.txt Thu Feb 4 12:50:41 2010 @@ -215,6 +215,13 @@ http://svn.apache.org/viewvc?rev=904949&view=rev +1: markt -1: +kkolinko: Mostly good, but there is a bug in parseEL(). See updated +patch below. + + Combined patch file, from revs.904949, 905226, 906465: + https://issues.apache.org/bugzilla/attachment.cgi?id=24925 + +1: kkolinko + -1: * Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=48625 Provide option to stop server if there is an error during init - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
DO NOT REPLY [Bug 48627] JasperException with JSF tags and value expressions
https://issues.apache.org/bugzilla/show_bug.cgi?id=48627 Konstantin Kolinko changed: What|Removed |Added Attachment #24910|0 |1 is obsolete|| --- Comment #13 from Konstantin Kolinko 2010-02-04 05:03:48 UTC --- Created an attachment (id=24926) --> (https://issues.apache.org/bugzilla/attachment.cgi?id=24926) Updated binary patch for Tomcat 6.0.24 for testing purposes only Updated binary patch for Tomcat 6.0.24 that corresponds to the source patch from attachment 24925 Its usage is subject to the conditions stated in Comment 5. Please be aware that this patch in both source and binary form is for testing purposes only and is not an official release from the ASF. -- 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: r906566 - /tomcat/trunk/test/org/apache/el/TestELInJsp.java
Author: kkolinko Date: Thu Feb 4 17:02:15 2010 New Revision: 906566 URL: http://svn.apache.org/viewvc?rev=906566&view=rev Log: remove a println call Modified: tomcat/trunk/test/org/apache/el/TestELInJsp.java Modified: tomcat/trunk/test/org/apache/el/TestELInJsp.java URL: http://svn.apache.org/viewvc/tomcat/trunk/test/org/apache/el/TestELInJsp.java?rev=906566&r1=906565&r2=906566&view=diff == --- tomcat/trunk/test/org/apache/el/TestELInJsp.java (original) +++ tomcat/trunk/test/org/apache/el/TestELInJsp.java Thu Feb 4 17:02:15 2010 @@ -322,7 +322,6 @@ ByteChunk res = getUrl("http://localhost:"; + getPort() + "/test/el-misc.jsp"); String result = res.toString(); -System.out.println(result); assertEcho(result, "00-\\\"${'hello world'}"); assertEcho(result, "01-\\\"\\${'hello world'}"); assertEcho(result, "02-\\\"${'hello world'}"); - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
Re: Fwd: Switching incubator.apache.org to svnpubsub?
On 2/4/2010 3:44 AM, Konstantin Kolinko wrote: > 2010/2/3 William A. Rowe Jr. : >> That said, there are now two platforms, your original svn.apache.org space >> and now dist.apache.org/repos/dist/, which is for publishing artifacts. It >> might make sense to mirror the published/released doc flavors through this >> new much more expandable repository. >> > > I do not see /repos/dist/ > svn.apache.org, dist.apache.org give 404 for that address. Sorry; that is https://dist.apache.org/repos/dist/ - it is committer-space only at the present time. AIUI it is your shell login p/w (from ldap), which wasn't necessarily your svn password to svn.a.o. At some point, it becomes mirrorable (at least /repos/dist/release/) if it turns out to be widely adopted; perhaps even through http: but that might not make so much sense with MITM vectors. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r906597 - in /tomcat/trunk/res: welcome.bin.html welcome.main.html
Author: markt Date: Thu Feb 4 18:34:47 2010 New Revision: 906597 URL: http://svn.apache.org/viewvc?rev=906597&view=rev Log: Clarify that the exe is for 32 and 64 bit Modified: tomcat/trunk/res/welcome.bin.html tomcat/trunk/res/welcome.main.html Modified: tomcat/trunk/res/welcome.bin.html URL: http://svn.apache.org/viewvc/tomcat/trunk/res/welcome.bin.html?rev=906597&r1=906596&r2=906597&view=diff == --- tomcat/trunk/res/welcome.bin.html (original) +++ tomcat/trunk/res/welcome.bin.html Thu Feb 4 18:34:47 2010 @@ -42,7 +42,7 @@ Packaging Details (or "What Should I Download?") apache-tomcat-[version].zip or .tar.gz: base distribution. These distributions do not include the Windows service wrapper nor the compiled APR/native for Windows. -apache-tomcat-[version].exe: Windows installer for Tomcat. Please note that while this distribution includes the vast majority of the base distribution, some of the command-line scripts for launching Tomcat are not included. This distribution is intended for those users planning to launch Tomcat through the Windows shortcuts or services. +apache-tomcat-[version].exe: 32-bit/64-bit Windows installer for Tomcat. Please note that while this distribution includes the vast majority of the base distribution, some of the command-line scripts for launching Tomcat are not included. This distribution is intended for those users planning to launch Tomcat through the Windows shortcuts or services. apache-tomcat-[version]-windows-x86.zip: 32-bit Windows specific distribution that includes the Windows service wrapper and the compiled APR/native for Windows for use with 32-bit JVMs on both 32 and 64 bit Windows platforms. apache-tomcat-[version]-windows-x64.zip: 64-bit Windows specific distribution that includes the Windows service wrapper and the compiled APR/native for Windows for use with 64-bit JVMs on x64 Windows platforms. apache-tomcat-[version]-windows-i64.zip: 64-bit Windows specific distribution that includes the Windows service wrapper and the compiled APR/native for Windows for use with 64-bit JVMs on i64 Windows platforms. Modified: tomcat/trunk/res/welcome.main.html URL: http://svn.apache.org/viewvc/tomcat/trunk/res/welcome.main.html?rev=906597&r1=906596&r2=906597&view=diff == --- tomcat/trunk/res/welcome.main.html (original) +++ tomcat/trunk/res/welcome.main.html Thu Feb 4 18:34:47 2010 @@ -42,7 +42,7 @@ Packaging Details (or "What Should I Download?") apache-tomcat-[version].zip or .tar.gz: base distribution. These distributions do not include the Windows service wrapper nor the compiled APR/native library for Windows. -apache-tomcat-[version].exe: Windows installer for Tomcat. Please note that while this distribution includes the vast majority of the base distribution, some of the command-line scripts for launching Tomcat are not included. This distribution is intended for those users planning to launch Tomcat through the Windows shortcuts or services. +apache-tomcat-[version].exe: 32-bit/64-bit Windows installer for Tomcat. Please note that while this distribution includes the vast majority of the base distribution, some of the command-line scripts for launching Tomcat are not included. This distribution is intended for those users planning to launch Tomcat through the Windows shortcuts or services. apache-tomcat-[version]-windows-x86.zip: 32-bit Windows specific distribution that includes the Windows service wrapper and the compiled APR/native library for use with 32-bit JVMs on both 32 and 64 bit Windows platforms. apache-tomcat-[version]-windows-x64.zip: 64-bit Windows specific distribution that includes the Windows service wrapper and the compiled APR/native library for use with 64-bit JVMs on x64 Windows platforms. apache-tomcat-[version]-windows-i64.zip: 64-bit Windows specific distribution that includes the Windows service wrapper and the compiled APR/native library for use with 64-bit JVMs on i64 Windows platforms. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r906598 - in /tomcat/tc6.0.x/trunk/res: welcome.bin.html welcome.main.html
Author: markt Date: Thu Feb 4 18:35:22 2010 New Revision: 906598 URL: http://svn.apache.org/viewvc?rev=906598&view=rev Log: Clarify that the exe is for 32 and 64 bit Modified: tomcat/tc6.0.x/trunk/res/welcome.bin.html tomcat/tc6.0.x/trunk/res/welcome.main.html Modified: tomcat/tc6.0.x/trunk/res/welcome.bin.html URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/res/welcome.bin.html?rev=906598&r1=906597&r2=906598&view=diff == --- tomcat/tc6.0.x/trunk/res/welcome.bin.html (original) +++ tomcat/tc6.0.x/trunk/res/welcome.bin.html Thu Feb 4 18:35:22 2010 @@ -42,7 +42,7 @@ Packaging Details (or "What Should I Download?") apache-tomcat-[version].zip or .tar.gz: base distribution. These distributions do not include the Windows service wrapper nor the compiled APR/native for Windows. -apache-tomcat-[version].exe: Windows installer for Tomcat. Please note that while this distribution includes the vast majority of the base distribution, some of the command-line scripts for launching Tomcat are not included. This distribution is intended for those users planning to launch Tomcat through the Windows shortcuts or services. +apache-tomcat-[version].exe: 32-bit/64-bit Windows installer for Tomcat. Please note that while this distribution includes the vast majority of the base distribution, some of the command-line scripts for launching Tomcat are not included. This distribution is intended for those users planning to launch Tomcat through the Windows shortcuts or services. apache-tomcat-[version]-windows-x86.zip: 32-bit Windows specific distribution that includes the Windows service wrapper and the compiled APR/native for Windows for use with 32-bit JVMs on both 32 and 64 bit Windows platforms. apache-tomcat-[version]-windows-x64.zip: 64-bit Windows specific distribution that includes the Windows service wrapper and the compiled APR/native for Windows for use with 64-bit JVMs on x64 Windows platforms. apache-tomcat-[version]-windows-i64.zip: 64-bit Windows specific distribution that includes the Windows service wrapper and the compiled APR/native for Windows for use with 64-bit JVMs on i64 Windows platforms. Modified: tomcat/tc6.0.x/trunk/res/welcome.main.html URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/res/welcome.main.html?rev=906598&r1=906597&r2=906598&view=diff == --- tomcat/tc6.0.x/trunk/res/welcome.main.html (original) +++ tomcat/tc6.0.x/trunk/res/welcome.main.html Thu Feb 4 18:35:22 2010 @@ -42,7 +42,7 @@ Packaging Details (or "What Should I Download?") apache-tomcat-[version].zip or .tar.gz: base distribution. These distributions do not include the Windows service wrapper nor the compiled APR/native library for Windows. -apache-tomcat-[version].exe: Windows installer for Tomcat. Please note that while this distribution includes the vast majority of the base distribution, some of the command-line scripts for launching Tomcat are not included. This distribution is intended for those users planning to launch Tomcat through the Windows shortcuts or services. +apache-tomcat-[version].exe: 32-bit/64-bit Windows installer for Tomcat. Please note that while this distribution includes the vast majority of the base distribution, some of the command-line scripts for launching Tomcat are not included. This distribution is intended for those users planning to launch Tomcat through the Windows shortcuts or services. apache-tomcat-[version]-windows-x86.zip: 32-bit Windows specific distribution that includes the Windows service wrapper and the compiled APR/native library for use with 32-bit JVMs on both 32 and 64 bit Windows platforms. apache-tomcat-[version]-windows-x64.zip: 64-bit Windows specific distribution that includes the Windows service wrapper and the compiled APR/native library for use with 64-bit JVMs on x64 Windows platforms. apache-tomcat-[version]-windows-i64.zip: 64-bit Windows specific distribution that includes the Windows service wrapper and the compiled APR/native library for use with 64-bit JVMs on i64 Windows platforms. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r906603 - in /tomcat/site/trunk: docs/download-60.html xdocs/download-60.xml
Author: markt Date: Thu Feb 4 18:44:44 2010 New Revision: 906603 URL: http://svn.apache.org/viewvc?rev=906603&view=rev Log: Add the windows specific downloads Modified: tomcat/site/trunk/docs/download-60.html tomcat/site/trunk/xdocs/download-60.xml Modified: tomcat/site/trunk/docs/download-60.html URL: http://svn.apache.org/viewvc/tomcat/site/trunk/docs/download-60.html?rev=906603&r1=906602&r2=906603&view=diff == --- tomcat/site/trunk/docs/download-60.html (original) +++ tomcat/site/trunk/docs/download-60.html Thu Feb 4 18:44:44 2010 @@ -3,17 +3,17 @@ Apache Tomcat - Apache Tomcat 6 Downloads - - + + - - + + http://tomcat.apache.org/";> - + @@ -24,28 +24,28 @@ http://www.apache.org/";> -http://www.apache.org/images/asf-logo.gif"; /> +http://www.apache.org/images/asf-logo.gif"; align="right" alt="Apache Logo" border="0"/> -http://www.google.com/search";> - - - +http://www.google.com/search"; method="get"> + + + - + - + - + Apache Tomcat @@ -171,11 +171,11 @@ - - + + - + Tomcat 6 Downloads @@ -196,14 +196,14 @@ - + - + - + Quick Navigation @@ -224,14 +224,14 @@ - + - + - + Release Integrity @@ -255,14 +255,14 @@ - + - + - + Mirrors @@ -278,8 +278,8 @@ encounter a problem with this mirror, please select another mirror. If all mirrors are failing, there are backup mirrors (at the end of the mirrors list) that should be - available.[if-any logo] - + available.[if-any logo] + [end] @@ -294,7 +294,7 @@ [for backup][backup] (backup)[end] [end] - + @@ -305,14 +305,14 @@ - + - + - + 6.0.24 @@ -329,10 +329,10 @@ file for packaging information. It explains what every distribution contains. - + - + Binary Distributions @@ -356,7 +356,22 @@ http://www.apache.org/dist/tomcat/tomcat-6/v6.0.24/bin/apache-tomcat-6.0.24.tar.gz.md5";>md5) -Windows Service Installer +32-bit Windows zip +(http://www.apache.org/dist/tomcat/tomcat-6/v6.0.24/bin/apache-tomcat-6.0.24-windows-x86.zip.asc";>pgp, +http://www.apache.org/dist/tomcat/tomcat-6/v6.0.24/bin/apache-tomcat-6.0.24-windows-x86.zip.md5";>md5) + + +64-bit Windows zip +(http://www.apache.org/dist/tomcat/tomcat-6/v6.0.24/bin/apache-tomcat-6.0.24-windows-x64.zip.asc";>pgp, +http://www.apache.org/dist/tomcat/tomcat-6/v6.0.24/bin/apache-tomcat-6.0.24-windows-x64.zip.md5";>md5) + + +64-bit Itanium Windows zip +(http://www.apache.org/dist/tomcat/tomcat-6/v6.0.24/bin/apache-tomcat-6.0.24-windows-i64.zip.asc";>pgp, +http://www.apache.org/dist/tomcat/tomcat-6/v6.0.24/bin/apache-tomcat-6.0.24-windows-i64.zip.md5";>md5) + + +32-bit/64-bit Windows Service Installer (http://www.apache.org/dist/tomcat/tomcat-6/v6.0.24/bin/apache-tomcat-6.0.24.exe.asc";>pgp, http://www.apache.org/dist/tomcat/tomcat-6/v6.0.24/bin/apache-tomcat-6.0.24.exe.md5";>md5) @@ -382,17 +397,17 @@ - + - + - + Source Code Distributions @@ -419,7 +434,7 @@ - + @@ -431,7 +446,7 @@ - + @@ -440,17 +455,17 @@ - + - + Copyright © 1999-2010, The Apache Software Foundation - + "Apache", the Apache feather, and the Apache Tomcat logo are trademarks of the Apache Software Foundation for our open source software. Modified: tomcat/site/trunk/xdocs/download-60.xml URL: http://svn.apache.org/viewvc/tomcat/site/trunk/xdocs/download-60.xml?rev=906603&r1=906602&r2=906603&view=diff == --- tomcat/site/trunk/xdocs/download-60.xml (original) +++ tomcat/site/trunk/xdocs/download-60.xml Thu Feb 4 18:44:44 2010 @@ -79,7 +79,22 @@ http://www.apache.org/dist/tomcat/tomcat-6/v6.0.24/bin/apache-tomcat-6.0.24.tar.gz.md5";>md5) -Windows Service Installer +32-bit Windows zip +(http://www.apache.org/dist/tomcat/tomcat-6/v6.0.24/bin/apache-tomcat-6.0.24-windows-x86.zip.asc";>pgp, +http://www.apache.org/dist/tomcat/tomcat-6/v6.0.24/bin/apache-tomcat-6.0.24-windows-x86.zip.md5";>md5) + + +64-bit Windows zip +(http://www.apache.org/dist/tomcat/tomcat-6/v6.0.24/bin/apache-tomcat-6.0.24-windows-x64.zip.asc";>pgp, +http://www.apache.org/dist/tomcat/tomcat-6/v6.0.24/bin/apache-tomcat-6.0.24-windows-x64.zip.md5";>md5) + + +
Tomcat 7 and Geronimo
Hi. I'm trying to put a little organization around the Geronimo community work on the Geronimo 3.0 release. We're targetting that release to be a Java EE 6 release...or at a minimum, a Java EE 6 Web Profile implementation. Obviously, the servlet container and the JSP implementation is a bit part of either of these function sets. I'm trying to lay out some milestone releases to help prioritize our work items. To do this effectively, I need to have some general idea on when the various components we embed might be available so we can target which milestone release the full support might be available. Anyway, to make a long story short, is there any sort of general target timeframe for having a Tomcat implementation with the new Java EE 6 features? Specifically, we're looking for Servlet 3.0, JSP, JSP 2.2, and El 2.2 compliance. The roadmap for Tomcat 7.0 is a little vague on the timeframes involved. I don't need an exact date, but a ballpark figure would help a lot. Rick - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
Re: Tomcat 7 and Geronimo
On 04/02/2010 18:51, Rick McGuire wrote: > Hi. I'm trying to put a little organization around the Geronimo > community work on the Geronimo 3.0 release. We're targetting that > release to be a Java EE 6 release...or at a minimum, a Java EE 6 Web > Profile implementation. Obviously, the servlet container and the JSP > implementation is a bit part of either of these function sets. I'm > trying to lay out some milestone releases to help prioritize our work > items. To do this effectively, I need to have some general idea on when > the various components we embed might be available so we can target > which milestone release the full support might be available. > > Anyway, to make a long story short, is there any sort of general target > timeframe for having a Tomcat implementation with the new Java EE 6 > features? Specifically, we're looking for Servlet 3.0, JSP, JSP 2.2, > and El 2.2 compliance. The roadmap for Tomcat 7.0 is a little vague on > the timeframes involved. I don't need an exact date, but a ballpark > figure would help a lot. JSP 2.2 and EL 2.2 are complete, tested and available in trunk now. Servlet 3.0 still needs: - async support (Filip was looking at this) - a couple of other new API bits doing (I'm finishing this off) - some testing (a lot of the servlet 3.0 stuff hasn't been tested beyond compilation) I intend to do an alpha release towards the end of this month regardless of what state it is in so we can start getting some feedback. Beyond that I'd like to do a release roughly every month. Timings for the first stable release are still TBD. Mark - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
DO NOT REPLY [Bug 48682] New: Unable to compile class for JSP
https://issues.apache.org/bugzilla/show_bug.cgi?id=48682 Summary: Unable to compile class for JSP Product: Tomcat 5 Version: 5.5.0 Platform: PC OS/Version: Windows XP Status: NEW Severity: blocker Priority: P2 Component: Jasper AssignedTo: dev@tomcat.apache.org ReportedBy: swrra...@gmail.com Created an attachment (id=24928) --> (https://issues.apache.org/bugzilla/attachment.cgi?id=24928) Unable to compile class for JSP error file Im trying to setup my workspace for my application. Im using Tomcat 5.5 and j2sdk 1.5. When i try to deploy the application in Tomcat im getting the follwoing error. I was trying to fix this issue from past 4 days. Its sucking my days. Please help me to resolve this. Error message attached as a file. -- 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
Re: Tomcat 7 and Geronimo
On 2/4/2010 1:58 PM, Mark Thomas wrote: On 04/02/2010 18:51, Rick McGuire wrote: Hi. I'm trying to put a little organization around the Geronimo community work on the Geronimo 3.0 release. We're targetting that release to be a Java EE 6 release...or at a minimum, a Java EE 6 Web Profile implementation. Obviously, the servlet container and the JSP implementation is a bit part of either of these function sets. I'm trying to lay out some milestone releases to help prioritize our work items. To do this effectively, I need to have some general idea on when the various components we embed might be available so we can target which milestone release the full support might be available. Anyway, to make a long story short, is there any sort of general target timeframe for having a Tomcat implementation with the new Java EE 6 features? Specifically, we're looking for Servlet 3.0, JSP, JSP 2.2, and El 2.2 compliance. The roadmap for Tomcat 7.0 is a little vague on the timeframes involved. I don't need an exact date, but a ballpark figure would help a lot. JSP 2.2 and EL 2.2 are complete, tested and available in trunk now. Excellent! Servlet 3.0 still needs: - async support (Filip was looking at this) - a couple of other new API bits doing (I'm finishing this off) - some testing (a lot of the servlet 3.0 stuff hasn't been tested beyond compilation) I intend to do an alpha release towards the end of this month regardless of what state it is in so we can start getting some feedback. Beyond that I'd like to do a release roughly every month. Timings for the first stable release are still TBD. This is very good news indeed, certainly enough to start planning around. "Some information" is definitely better than "no information". Thank you for the very quick response. Rick Mark - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
DO NOT REPLY [Bug 48682] Unable to compile class for JSP
https://issues.apache.org/bugzilla/show_bug.cgi?id=48682 Mark Thomas changed: What|Removed |Added Status|NEW |RESOLVED Resolution||INVALID --- Comment #1 from Mark Thomas 2010-02-04 11:57:23 GMT --- Bugzilla is not a support forum. Please use the users list. -- 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
DO NOT REPLY [Bug 9456] Problem saving server.xml file: invalid XML markup
https://issues.apache.org/bugzilla/show_bug.cgi?id=9456 Mark Thomas changed: What|Removed |Added Status|NEW |RESOLVED Resolution||WONTFIX --- Comment #2 from Mark Thomas 2010-02-04 12:00:30 GMT --- Since the admin app has been removed in 6.0.x onwards, I don't see this enhancement being implemented. -- 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
DO NOT REPLY [Bug 10060] Make the common and shared class loaders look in catalina.base
https://issues.apache.org/bugzilla/show_bug.cgi?id=10060 Mark Thomas changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED --- Comment #3 from Mark Thomas 2010-02-04 12:02:56 GMT --- This is configurable for 5.5.x onwards (haven't checked older versions) and 6.0.24 onwards does this by default. -- 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
DO NOT REPLY [Bug 13689] Classloader paths for 'Common' classes and libraries are inappropriate
https://issues.apache.org/bugzilla/show_bug.cgi?id=13689 Mark Thomas changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution||DUPLICATE --- Comment #3 from Mark Thomas 2010-02-04 12:05:53 GMT --- *** This bug has been marked as a duplicate of bug 10060 *** -- 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
DO NOT REPLY [Bug 10060] Make the common and shared class loaders look in catalina.base
https://issues.apache.org/bugzilla/show_bug.cgi?id=10060 Mark Thomas changed: What|Removed |Added CC||iskandermerri...@hotmail.co ||m --- Comment #4 from Mark Thomas 2010-02-04 12:05:53 GMT --- *** Bug 13689 has been marked as a duplicate of this bug. *** -- 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
DO NOT REPLY [Bug 13941] reload is VERY slow
https://issues.apache.org/bugzilla/show_bug.cgi?id=13941 Mark Thomas changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED --- Comment #2 from Mark Thomas 2010-02-04 12:09:15 GMT --- In 5.5.x onwards (haven't checked older versions) this is configurable voa the backgroundProcessorDelay attribute. -- 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
DO NOT REPLY [Bug 14993] Possible obselete synchronized declaration
https://issues.apache.org/bugzilla/show_bug.cgi?id=14993 Mark Thomas changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED --- Comment #1 from Mark Thomas 2010-02-04 12:14:12 GMT --- Checking 5.5.x onwards, this has been fixed. Didn't check older versions. -- 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
DO NOT REPLY [Bug 15115] correct docs... XML parser *cannot* be overridden by putting in WEB-INF/lib
https://issues.apache.org/bugzilla/show_bug.cgi?id=15115 Mark Thomas changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED --- Comment #1 from Mark Thomas 2010-02-04 12:16:00 GMT --- The 5.5.x onwards docs are correct / have been corrected. Didn't check older versions. -- 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
DO NOT REPLY [Bug 16294] Configurable URL Decoding.
https://issues.apache.org/bugzilla/show_bug.cgi?id=16294 Mark Thomas changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED --- Comment #1 from Mark Thomas 2010-02-04 12:21:09 GMT --- This was fixed in 4.1.x onwards quite some time ago. -- 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
DO NOT REPLY [Bug 17972] Admin webapp should save info to auto-deployed webapp xml files when appropriate
https://issues.apache.org/bugzilla/show_bug.cgi?id=17972 Mark Thomas changed: What|Removed |Added Status|NEW |RESOLVED Resolution||WONTFIX --- Comment #1 from Mark Thomas 2010-02-04 12:25:18 GMT --- Since the Admin app was removed for 6.0.x onwards, this enhancement request will not be addressed. -- 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
DO NOT REPLY [Bug 7676] Allow name property to use match experssions in tag, or tag
https://issues.apache.org/bugzilla/show_bug.cgi?id=7676 Mark Thomas changed: What|Removed |Added Status|NEW |RESOLVED Resolution||DUPLICATE --- Comment #2 from Mark Thomas 2010-02-04 12:26:39 GMT --- *** This bug has been marked as a duplicate of bug 18500 *** -- 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
DO NOT REPLY [Bug 18500] Host aliases to match by regular expression (trivial)
https://issues.apache.org/bugzilla/show_bug.cgi?id=18500 Mark Thomas changed: What|Removed |Added CC||gene_engel...@hotmail.com --- Comment #1 from Mark Thomas 2010-02-04 12:26:39 GMT --- *** Bug 7676 has been marked as a duplicate of this bug. *** -- 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
DO NOT REPLY [Bug 18680] On Japanese OS, corruption of japanese text.
https://issues.apache.org/bugzilla/show_bug.cgi?id=18680 Mark Thomas changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution||INVALID --- Comment #11 from Mark Thomas 2010-02-04 12:28:15 GMT --- As I said 5 years ago. -- 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
DO NOT REPLY [Bug 20374] add way to put additional directories in shared classloader
https://issues.apache.org/bugzilla/show_bug.cgi?id=20374 Mark Thomas changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED --- Comment #2 from Mark Thomas 2010-02-04 12:30:07 GMT --- Implemented in 5.5.x onwards. -- 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
DO NOT REPLY [Bug 10060] Make the common and shared class loaders look in catalina.base
https://issues.apache.org/bugzilla/show_bug.cgi?id=10060 Mark Thomas changed: What|Removed |Added CC||rr...@gridsystems.com --- Comment #5 from Mark Thomas 2010-02-04 12:31:52 GMT --- *** Bug 24179 has been marked as a duplicate of this bug. *** -- 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
DO NOT REPLY [Bug 24179] Including CATALINA_BASE in the catalina and common class loaders construction
https://issues.apache.org/bugzilla/show_bug.cgi?id=24179 Mark Thomas changed: What|Removed |Added Status|NEW |RESOLVED Resolution||DUPLICATE --- Comment #4 from Mark Thomas 2010-02-04 12:31:52 GMT --- *** This bug has been marked as a duplicate of bug 10060 *** -- 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: r906654 - /tomcat/trunk/build.xml
Author: markt Date: Thu Feb 4 21:26:41 2010 New Revision: 906654 URL: http://svn.apache.org/viewvc?rev=906654&view=rev Log: Invert the logic for building dbcp/jdt a) makes more sense b) should keep gump happy Modified: tomcat/trunk/build.xml Modified: tomcat/trunk/build.xml URL: http://svn.apache.org/viewvc/tomcat/trunk/build.xml?rev=906654&r1=906653&r2=906654&view=diff == --- tomcat/trunk/build.xml (original) +++ tomcat/trunk/build.xml Thu Feb 4 21:26:41 2010 @@ -1658,10 +1658,8 @@ - - - - + + @@ -1674,10 +1672,8 @@ - - - - + + @@ -1706,7 +1702,7 @@ - + @@ -1751,7 +1747,7 @@ + unless="no.build.jasper-jdt">
svn commit: r906675 - in /tomcat/trunk/java/org/apache/catalina: core/StandardHost.java mbeans/MBeanFactory.java
Author: markt Date: Thu Feb 4 21:53:06 2010 New Revision: 906675 URL: http://svn.apache.org/viewvc?rev=906675&view=rev Log: Prep for removing Pipeline interface from ContainerBase Modified: tomcat/trunk/java/org/apache/catalina/core/StandardHost.java tomcat/trunk/java/org/apache/catalina/mbeans/MBeanFactory.java Modified: tomcat/trunk/java/org/apache/catalina/core/StandardHost.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/core/StandardHost.java?rev=906675&r1=906674&r2=906675&view=diff == --- tomcat/trunk/java/org/apache/catalina/core/StandardHost.java (original) +++ tomcat/trunk/java/org/apache/catalina/core/StandardHost.java Thu Feb 4 21:53:06 2010 @@ -781,7 +781,7 @@ public String [] getValveNames() throws Exception { - Valve [] valves = this.getValves(); + Valve [] valves = this.getPipeline().getValves(); String [] mbeanNames = new String[valves.length]; for (int i = 0; i < valves.length; i++) { if( valves[i] == null ) continue; Modified: tomcat/trunk/java/org/apache/catalina/mbeans/MBeanFactory.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/mbeans/MBeanFactory.java?rev=906675&r1=906674&r2=906675&view=diff == --- tomcat/trunk/java/org/apache/catalina/mbeans/MBeanFactory.java (original) +++ tomcat/trunk/java/org/apache/catalina/mbeans/MBeanFactory.java Thu Feb 4 21:53:06 2010 @@ -957,7 +957,7 @@ // Acquire a reference to the component to be removed ObjectName oname = new ObjectName(name); ContainerBase container = getParentContainerFromChild(oname); -Valve[] valves = container.getValves(); +Valve[] valves = container.getPipeline().getValves(); for (int i = 0; i < valves.length; i++) { ObjectName voname = ((ValveBase) valves[i]).getObjectName(); if (voname.equals(oname)) { - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
DO NOT REPLY [Bug 48683] New: Sessions expiring unexpectedly
https://issues.apache.org/bugzilla/show_bug.cgi?id=48683 Summary: Sessions expiring unexpectedly Product: Tomcat 6 Version: 6.0.20 Platform: PC OS/Version: Windows Server 2003 Status: NEW Severity: critical Priority: P2 Component: Catalina AssignedTo: dev@tomcat.apache.org ReportedBy: vrangac...@cpsenergy.com We have Tomcat 6.0.20 running with IIS - we use a lot of session variables. >From time to time we receive "java.lang.IllegalStateException: setAttribute: Session already invalidated". This happens when the user is still actively working in the application. So it seems like the session is expiring sooner than the 30 minute time out set in the web.xml. It happens randomly throughout the application. We have not been able to isolate it to any definite pattern, page or user browser type. Thanks -- 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
How can I find out more about Tomcat embedded server. (The version in Grails Tomcat Plugin)
The following http://n4.nabble.com/Where-do-I-look-for-server-xml-with-embedded-Tomcat-tt1461189.html#a1461748 thread discusses the nut I've been trying to crack. I've got novice exposure to configuring server.xml/config.xml files to get JNDI JDBC datasources setup in the past with Tomcat 6. I've noticed Damoder Chetty has written a book that will probably be my next port of call. But if I can find a web based resource that would get me up to speed with explaining the major classes and their usage/interaction it be super. Thanks. -- View this message in context: http://old.nabble.com/How-can-I-find-out-more-about-Tomcat-embedded-server.-%28The-version-in-Grails-Tomcat-Plugin%29-tp27460473p27460473.html Sent from the Tomcat - Dev mailing list archive at Nabble.com. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r906680 - in /tomcat/trunk/java/org/apache/catalina: Container.java core/ContainerBase.java core/StandardPipeline.java
Author: markt Date: Thu Feb 4 22:09:18 2010 New Revision: 906680 URL: http://svn.apache.org/viewvc?rev=906680&view=rev Log: Move firing the events to StandardPipeline. This way calls to container.addValve() and container.getPipeline().addValve() will both trigger the event. Custom pipelines (unlikely but possible) would not trigger the event. The javadocs for Pipeline will be updated to note that they should in a following commit. Part of removing the Pipeline interface from ContainerBase Modified: tomcat/trunk/java/org/apache/catalina/Container.java tomcat/trunk/java/org/apache/catalina/core/ContainerBase.java tomcat/trunk/java/org/apache/catalina/core/StandardPipeline.java Modified: tomcat/trunk/java/org/apache/catalina/Container.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/Container.java?rev=906680&r1=906679&r2=906680&view=diff == --- tomcat/trunk/java/org/apache/catalina/Container.java (original) +++ tomcat/trunk/java/org/apache/catalina/Container.java Thu Feb 4 22:09:18 2010 @@ -440,4 +440,13 @@ public void removePropertyChangeListener(PropertyChangeListener listener); +/** + * Notify all container event listeners that a particular event has + * occurred for this Container. The default implementation performs + * this notification synchronously using the calling thread. + * + * @param type Event type + * @param data Event data + */ +public void fireContainerEvent(String type, Object data); } Modified: tomcat/trunk/java/org/apache/catalina/core/ContainerBase.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/core/ContainerBase.java?rev=906680&r1=906679&r2=906680&view=diff == --- tomcat/trunk/java/org/apache/catalina/core/ContainerBase.java (original) +++ tomcat/trunk/java/org/apache/catalina/core/ContainerBase.java Thu Feb 4 22:09:18 2010 @@ -1215,7 +1215,6 @@ public synchronized void addValve(Valve valve) { pipeline.addValve(valve); -fireContainerEvent(ADD_VALVE_EVENT, valve); } public ObjectName[] getValveObjectNames() { @@ -1264,7 +1263,6 @@ public synchronized void removeValve(Valve valve) { pipeline.removeValve(valve); -fireContainerEvent(REMOVE_VALVE_EVENT, valve); } Modified: tomcat/trunk/java/org/apache/catalina/core/StandardPipeline.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/core/StandardPipeline.java?rev=906680&r1=906679&r2=906680&view=diff == --- tomcat/trunk/java/org/apache/catalina/core/StandardPipeline.java (original) +++ tomcat/trunk/java/org/apache/catalina/core/StandardPipeline.java Thu Feb 4 22:09:18 2010 @@ -472,7 +472,8 @@ current = current.getNext(); } } - + +container.fireContainerEvent(Container.ADD_VALVE_EVENT, valve); } @@ -558,14 +559,15 @@ unregisterValve(valve); } +container.fireContainerEvent(Container.REMOVE_VALVE_EVENT, valve); } public Valve getFirst() { if (first != null) { return first; -} else { -return basic; } + +return basic; } } - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
Re: How can I find out more about Tomcat embedded server. (The version in Grails Tomcat Plugin)
On 04/02/2010 22:03, JG Flowers wrote: > > The following > http://n4.nabble.com/Where-do-I-look-for-server-xml-with-embedded-Tomcat-tt1461189.html#a1461748 > thread discusses the nut I've been trying to crack. > I've got novice exposure to configuring server.xml/config.xml files to get > JNDI JDBC datasources setup in the past with Tomcat 6. > I've noticed Damoder Chetty has written a book that will probably be my next > port of call. But if I can find a web based resource that would get me up to > speed with explaining the major classes and their usage/interaction it be > super. > Thanks. The short answer is that it is the org.apache.catalina.startup.Tomcat class from Tomcat 7 ported to Tomcat 6. http://tomcat.apache.org/tomcat-6.0-doc/architecture/index.html may help. The longer answer is that Grails uses a private fork of Tomcat for the plug-in. I'll happily send you the details of that but I'll do it off-list since that is getting rather off-topic for the Tomcat dev list. On a similar note, general questions about how to do stuff with the Tomcat class should be addressed to the users list. Mark - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r906723 - /tomcat/trunk/test/org/apache/catalina/startup/TestTomcat.java
Author: markt Date: Thu Feb 4 23:18:12 2010 New Revision: 906723 URL: http://svn.apache.org/viewvc?rev=906723&view=rev Log: Add a test case for global naming resources with embedded Modified: tomcat/trunk/test/org/apache/catalina/startup/TestTomcat.java Modified: tomcat/trunk/test/org/apache/catalina/startup/TestTomcat.java URL: http://svn.apache.org/viewvc/tomcat/trunk/test/org/apache/catalina/startup/TestTomcat.java?rev=906723&r1=906722&r2=906723&view=diff == --- tomcat/trunk/test/org/apache/catalina/startup/TestTomcat.java (original) +++ tomcat/trunk/test/org/apache/catalina/startup/TestTomcat.java Thu Feb 4 23:18:12 2010 @@ -36,6 +36,7 @@ import org.apache.catalina.core.StandardContext; import org.apache.catalina.deploy.ContextEnvironment; +import org.apache.catalina.deploy.ContextResourceLink; import org.apache.catalina.realm.GenericPrincipal; import org.apache.catalina.realm.RealmBase; import org.apache.tomcat.util.buf.ByteChunk; @@ -252,6 +253,41 @@ assertEquals("Hello, Tomcat User", res.toString()); } +/** + * Test for enabling JNDI and using global resources. + */ +public void testEnableNamingGlobal() throws Exception { +Tomcat tomcat = getTomcatInstance(); + +// Must have a real docBase - just use temp +StandardContext ctx = +tomcat.addContext("/", System.getProperty("java.io.tmpdir")); + +// You can customise the context by calling its API + +// Enable JNDI - it is disabled by default +tomcat.enableNaming(); + +ContextEnvironment environment = new ContextEnvironment(); +environment.setType("java.lang.String"); +environment.setName("globalTest"); +environment.setValue("Tomcat User"); + tomcat.getServer().getGlobalNamingResources().addEnvironment(environment); + +ContextResourceLink link = new ContextResourceLink(); +link.setGlobal("globalTest"); +link.setName(HelloWorldJndi.JNDI_ENV_NAME); +ctx.getNamingResources().addResourceLink(link); + +Tomcat.addServlet(ctx, "jndiServlet", new HelloWorldJndi()); +ctx.addServletMapping("/", "jndiServlet"); + +tomcat.start(); + +ByteChunk res = getUrl("http://localhost:"; + getPort() + "/"); +assertEquals("Hello, Tomcat User", res.toString()); +} + /** * Test for https://issues.apache.org/bugzilla/show_bug.cgi?id=47866 - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r906725 - /tomcat/trunk/java/org/apache/catalina/startup/Tomcat.java
Author: markt Date: Thu Feb 4 23:19:41 2010 New Revision: 906725 URL: http://svn.apache.org/viewvc?rev=906725&view=rev Log: Get global naming resources working if naming is enabled Modified: tomcat/trunk/java/org/apache/catalina/startup/Tomcat.java Modified: tomcat/trunk/java/org/apache/catalina/startup/Tomcat.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/startup/Tomcat.java?rev=906725&r1=906724&r2=906725&view=diff == --- tomcat/trunk/java/org/apache/catalina/startup/Tomcat.java (original) +++ tomcat/trunk/java/org/apache/catalina/startup/Tomcat.java Thu Feb 4 23:19:41 2010 @@ -37,6 +37,7 @@ import org.apache.catalina.LifecycleListener; import org.apache.catalina.Realm; import org.apache.catalina.connector.Connector; +import org.apache.catalina.core.NamingContextListener; import org.apache.catalina.core.StandardContext; import org.apache.catalina.core.StandardEngine; import org.apache.catalina.core.StandardHost; @@ -577,6 +578,7 @@ // Make sure getServer() has been called as that is where naming is // disabled getServer(); +server.addLifecycleListener(new NamingContextListener()); System.setProperty("catalina.useNaming", "true"); String value = "org.apache.naming"; - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r906727 - in /tomcat/trunk/java/org/apache/catalina: core/ContainerBase.java core/StandardHost.java mbeans/MBeanFactory.java startup/ContextConfig.java
Author: markt Date: Thu Feb 4 23:22:24 2010 New Revision: 906727 URL: http://svn.apache.org/viewvc?rev=906727&view=rev Log: Remove the Pipeline interface from ContainerBase Access valves via getPipeline() rather than directly on ContainerBase Modified: tomcat/trunk/java/org/apache/catalina/core/ContainerBase.java tomcat/trunk/java/org/apache/catalina/core/StandardHost.java tomcat/trunk/java/org/apache/catalina/mbeans/MBeanFactory.java tomcat/trunk/java/org/apache/catalina/startup/ContextConfig.java Modified: tomcat/trunk/java/org/apache/catalina/core/ContainerBase.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/core/ContainerBase.java?rev=906727&r1=906726&r2=906727&view=diff == --- tomcat/trunk/java/org/apache/catalina/core/ContainerBase.java (original) +++ tomcat/trunk/java/org/apache/catalina/core/ContainerBase.java Thu Feb 4 23:22:24 2010 @@ -122,7 +122,7 @@ */ public abstract class ContainerBase -implements Container, Lifecycle, Pipeline, MBeanRegistration { +implements Container, Lifecycle, MBeanRegistration { private static final org.apache.juli.logging.Log log= org.apache.juli.logging.LogFactory.getLog( ContainerBase.class ); @@ -1195,13 +1195,12 @@ /** - * Add a new Valve to the end of the pipeline associated with this - * Container. Prior to adding the Valve, the Valve's - * setContainer method must be called, with this Container - * as an argument. The method may throw an - * IllegalArgumentException if this Valve chooses not to - * be associated with this Container, or IllegalStateException - * if it is already associated with a different Container. + * Convenience method, intended for use by the digester to simplify the + * process of adding Valves to containers. See + * {...@link Pipeline#addValve(Valve)} for full details. Components other than + * the digester should use {...@link #getPipeline()#addValve(Valve)} in case a + * future implementation provides an alternative method for the digester to + * use. * * @param valve Valve to be added * @@ -1220,69 +1219,6 @@ public ObjectName[] getValveObjectNames() { return ((StandardPipeline)pipeline).getValveObjectNames(); } - -/** - * Return the Valve instance that has been distinguished as the basic - * Valve for this Pipeline (if any). - */ -public Valve getBasic() { - -return (pipeline.getBasic()); - -} - - -/** - * Return the first valve in the pipeline. - */ -public Valve getFirst() { - -return (pipeline.getFirst()); - -} - - -/** - * Return the set of Valves in the pipeline associated with this - * Container, including the basic Valve (if any). If there are no - * such Valves, a zero-length array is returned. - */ -public Valve[] getValves() { - -return (pipeline.getValves()); - -} - - -/** - * Remove the specified Valve from the pipeline associated with this - * Container, if it is found; otherwise, do nothing. - * - * @param valve Valve to be removed - */ -public synchronized void removeValve(Valve valve) { - -pipeline.removeValve(valve); -} - - -/** - * Set the Valve instance that has been distinguished as the basic - * Valve for this Pipeline (if any). Prior to setting the basic Valve, - * the Valve's setContainer() will be called, if it - * implements Contained, with the owning Container as an - * argument. The method may throw an IllegalArgumentException - * if this Valve chooses not to be associated with this Container, or - * IllegalStateException if it is already associated with - * a different Container. - * - * @param valve Valve to be distinguished as the basic Valve - */ -public void setBasic(Valve valve) { - -pipeline.setBasic(valve); - -} /** @@ -1612,13 +1548,4 @@ } - -@Override -public boolean isAsyncSupported() { -return pipeline.isAsyncSupported(); -} - - - - } Modified: tomcat/trunk/java/org/apache/catalina/core/StandardHost.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/core/StandardHost.java?rev=906727&r1=906726&r2=906727&view=diff == --- tomcat/trunk/java/org/apache/catalina/core/StandardHost.java (original) +++ tomcat/trunk/java/org/apache/catalina/core/StandardHost.java Thu Feb 4 23:22:24 2010 @@ -752,7 +752,7 @@ if(!found) { Valve valve = (Valve) Class.forName(errorReportValveClass) .newInstance(); -addValve(valve); +getPipeline().addValve(valve); e