tomcat7.0
16 years agoAlign the installer license files with the main one.
markt [Thu, 15 Jan 2009 16:26:51 +0000 (16:26 +0000)]
Align the installer license files with the main one.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@734743 13f79535-47bb-0310-9956-ffa450edef68

16 years agoRemove 3 of the essentially 4 duplicate normalise implementations.
markt [Thu, 15 Jan 2009 15:34:52 +0000 (15:34 +0000)]
Remove 3 of the essentially 4 duplicate normalise implementations.
Minor tweaks where required to use the new single implementation.
Remove unnecessary normalisation calls.
This includes the fix for CVE-2008-5515.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@734734 13f79535-47bb-0310-9956-ffa450edef68

16 years agoRemove unused variables identified by Eclipse
markt [Thu, 15 Jan 2009 14:55:46 +0000 (14:55 +0000)]
Remove unused variables identified by Eclipse

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@734728 13f79535-47bb-0310-9956-ffa450edef68

16 years agoRemove some unused methods and related code
markt [Thu, 15 Jan 2009 14:09:37 +0000 (14:09 +0000)]
Remove some unused methods and related code

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@734715 13f79535-47bb-0310-9956-ffa450edef68

16 years agoMore unused imports spotted by Eclipse
markt [Thu, 15 Jan 2009 14:07:38 +0000 (14:07 +0000)]
More unused imports spotted by Eclipse

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@734713 13f79535-47bb-0310-9956-ffa450edef68

16 years agoRemove unused imports idnetified by Eclipse
markt [Thu, 15 Jan 2009 13:49:53 +0000 (13:49 +0000)]
Remove unused imports idnetified by Eclipse

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@734706 13f79535-47bb-0310-9956-ffa450edef68

16 years agoRemove unnecessary casts reported by Eclipse
markt [Thu, 15 Jan 2009 13:38:58 +0000 (13:38 +0000)]
Remove unnecessary casts reported by Eclipse

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@734702 13f79535-47bb-0310-9956-ffa450edef68

16 years agoFix generics warnings
markt [Thu, 15 Jan 2009 13:31:45 +0000 (13:31 +0000)]
Fix generics warnings

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@734701 13f79535-47bb-0310-9956-ffa450edef68

16 years agoCode clean-up. Remove unnecessary ;'s id'd by Eclipse
markt [Thu, 15 Jan 2009 13:31:05 +0000 (13:31 +0000)]
Code clean-up. Remove unnecessary ;'s id'd by Eclipse

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@734700 13f79535-47bb-0310-9956-ffa450edef68

16 years agoClear TODO markers
markt [Thu, 15 Jan 2009 13:24:26 +0000 (13:24 +0000)]
Clear TODO markers

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@734696 13f79535-47bb-0310-9956-ffa450edef68

16 years agoImplement dynamically adding servlets and filters. This compiles but is untested.
markt [Wed, 14 Jan 2009 21:55:59 +0000 (21:55 +0000)]
Implement dynamically adding servlets and filters. This compiles but is untested.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@734527 13f79535-47bb-0310-9956-ffa450edef68

16 years agoImplement the simple stuff
markt [Wed, 14 Jan 2009 21:54:39 +0000 (21:54 +0000)]
Implement the simple stuff

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@734526 13f79535-47bb-0310-9956-ffa450edef68

16 years agoAFAICT only, dummy implementations are required here.
markt [Wed, 14 Jan 2009 21:52:12 +0000 (21:52 +0000)]
AFAICT only, dummy implementations are required here.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@734523 13f79535-47bb-0310-9956-ffa450edef68

16 years agoFix Eclipse warning
markt [Wed, 14 Jan 2009 20:52:26 +0000 (20:52 +0000)]
Fix Eclipse warning

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@734508 13f79535-47bb-0310-9956-ffa450edef68

16 years agoFix possible NPE reported by Eclipse
markt [Wed, 14 Jan 2009 20:46:02 +0000 (20:46 +0000)]
Fix possible NPE reported by Eclipse

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@734507 13f79535-47bb-0310-9956-ffa450edef68

16 years agoRemove 1.4 impl since we must be using a 1.6 JVM.
markt [Wed, 14 Jan 2009 20:45:28 +0000 (20:45 +0000)]
Remove 1.4 impl since we must be using a 1.6 JVM.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@734506 13f79535-47bb-0310-9956-ffa450edef68

16 years agoVersion updates for the docs
markt [Wed, 14 Jan 2009 20:02:35 +0000 (20:02 +0000)]
Version updates for the docs

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@734501 13f79535-47bb-0310-9956-ffa450edef68

16 years agoUse a snapshot of DBCP source that includes the JDK 1.6 fixes.
markt [Wed, 14 Jan 2009 19:46:32 +0000 (19:46 +0000)]
Use a snapshot of DBCP source that includes the JDK 1.6 fixes.
Remove the DBCP 1.5 hack
Update Tomcat and Servlet version numbers
Update year to 2009
Force 1.6 compile since Servlet 3.0 requires it

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@734491 13f79535-47bb-0310-9956-ffa450edef68

16 years agoVersion updates
markt [Wed, 14 Jan 2009 19:30:19 +0000 (19:30 +0000)]
Version updates

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@734489 13f79535-47bb-0310-9956-ffa450edef68

16 years agoRevert r733072 after feedback from EG that original INVALID for https://issues.apache...
markt [Mon, 12 Jan 2009 21:29:40 +0000 (21:29 +0000)]
Revert r733072 after feedback from EG that original INVALID for https://issues.apache.org/bugzilla/show_bug.cgi?id=46339 was correct.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@733905 13f79535-47bb-0310-9956-ffa450edef68

16 years agoUpdate SSL Session handling based on Filip's comments. HTTP session invalidation...
markt [Mon, 12 Jan 2009 21:18:54 +0000 (21:18 +0000)]
Update SSL Session handling based on Filip's comments. HTTP session invalidation is now separate from SSLSession validation. The hooks remain to invalidate the SSL session if required.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@733899 13f79535-47bb-0310-9956-ffa450edef68

16 years agoServlet 3 requires a 1.6 JDK. *Really* need to fix DBCP...
markt [Mon, 12 Jan 2009 20:34:41 +0000 (20:34 +0000)]
Servlet 3 requires a 1.6 JDK. *Really* need to fix DBCP...

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@733892 13f79535-47bb-0310-9956-ffa450edef68

16 years agoMisc code clean up to keepo the Eclipse error count trending downwards.
markt [Mon, 12 Jan 2009 15:17:00 +0000 (15:17 +0000)]
Misc code clean up to keepo the Eclipse error count trending downwards.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@733779 13f79535-47bb-0310-9956-ffa450edef68

16 years agoGenerics changes after updating the spec api and also those enabled by the min 1...
markt [Mon, 12 Jan 2009 15:02:23 +0000 (15:02 +0000)]
Generics changes after updating the spec api and also those enabled by the min 1.6 JDK requirement.
Add deprecation to the internal Tomcta methods that implement deprecated methods.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@733775 13f79535-47bb-0310-9956-ffa450edef68

16 years agoDeprecate wrapper methods that wrap deprecated methods.
markt [Mon, 12 Jan 2009 14:20:54 +0000 (14:20 +0000)]
Deprecate wrapper methods that wrap deprecated methods.
The assumption is that the EG will accept the patch to do this too. If not, it should be reverted.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@733771 13f79535-47bb-0310-9956-ffa450edef68

16 years agoCorrect error in generics
markt [Mon, 12 Jan 2009 14:16:39 +0000 (14:16 +0000)]
Correct error in generics

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@733769 13f79535-47bb-0310-9956-ffa450edef68

16 years agoApply generics to javax.servlet.* on the basis that the EG is in the process of accep...
markt [Mon, 12 Jan 2009 14:16:19 +0000 (14:16 +0000)]
Apply generics to javax.servlet.* on the basis that the EG is in the process of accepting a patch to do this.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@733768 13f79535-47bb-0310-9956-ffa450edef68

16 years agoSupport for setting SessionTrackingMode
markt [Mon, 12 Jan 2009 13:39:35 +0000 (13:39 +0000)]
Support for setting SessionTrackingMode
Most of this commit is to support invalidating the SSL session by the session manager.
I'm not sure yet that support for SSL session tracking is a good idea. There are quite a few limitations (see the ssl howto doc) and the changes to do it are fairly invasive. The option remains to remove this at a later date and not support SSL session tracking in Tomcat 7.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@733748 13f79535-47bb-0310-9956-ffa450edef68

16 years agothrow exception if we know we exceed max packet size
fhanik [Mon, 12 Jan 2009 00:41:14 +0000 (00:41 +0000)]
throw exception if we know we exceed max packet size

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@733554 13f79535-47bb-0310-9956-ffa450edef68

16 years agoAlready support httpOnly - update comments
markt [Sat, 10 Jan 2009 13:43:09 +0000 (13:43 +0000)]
Already support httpOnly - update comments

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@733272 13f79535-47bb-0310-9956-ffa450edef68

16 years agoImplement SessionCookieConfig
markt [Sat, 10 Jan 2009 13:37:33 +0000 (13:37 +0000)]
Implement SessionCookieConfig

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@733271 13f79535-47bb-0310-9956-ffa450edef68

16 years agoCode clean up
markt [Sat, 10 Jan 2009 13:25:30 +0000 (13:25 +0000)]
Code clean up

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@733270 13f79535-47bb-0310-9956-ffa450edef68

16 years agodefer the deserialization of the message to an async thread to be able to handle...
fhanik [Fri, 9 Jan 2009 23:21:08 +0000 (23:21 +0000)]
defer the deserialization of the message to an async thread to be able to handle more incoming, still I can send more than I can receive

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@733187 13f79535-47bb-0310-9956-ffa450edef68

16 years agoImplement the ability to broadcast a message using multicast and bypass all TCP,...
fhanik [Fri, 9 Jan 2009 22:38:52 +0000 (22:38 +0000)]
Implement the ability to broadcast a message using multicast and bypass all TCP, simple fire-and-forget behavior, yet no change in how messages are sent and received for the consumer

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@733180 13f79535-47bb-0310-9956-ffa450edef68

16 years agoCorrect field names
markt [Fri, 9 Jan 2009 18:28:00 +0000 (18:28 +0000)]
Correct field names

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@733107 13f79535-47bb-0310-9956-ffa450edef68

16 years agoSome minor clean up
markt [Fri, 9 Jan 2009 18:18:29 +0000 (18:18 +0000)]
Some minor clean up

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@733103 13f79535-47bb-0310-9956-ffa450edef68

16 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=46339
markt [Fri, 9 Jan 2009 15:53:50 +0000 (15:53 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=46339
Before the invocation of a fragment, AT_BEGIN and NESTED variables should be copied from the current JspContext to the JspContext of the fragment (*instead* of the JspContext of the calling page or tag file).
Patch provided by kinman@a.o
TCK passes with this patch applied.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@733072 13f79535-47bb-0310-9956-ffa450edef68

16 years agoFix various Eclipse warnings in o.a.jasper.compiler. Remove unused and unnecessary...
markt [Fri, 9 Jan 2009 11:17:13 +0000 (11:17 +0000)]
Fix various Eclipse warnings in o.a.jasper.compiler. Remove unused and unnecessary code, correct use of deprecated methods.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@733008 13f79535-47bb-0310-9956-ffa450edef68

16 years agoRemove unused code
markt [Thu, 8 Jan 2009 23:35:16 +0000 (23:35 +0000)]
Remove unused code

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@732871 13f79535-47bb-0310-9956-ffa450edef68

16 years agoRemove e.printStackTrace()
markt [Thu, 8 Jan 2009 22:57:41 +0000 (22:57 +0000)]
Remove e.printStackTrace()

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@732863 13f79535-47bb-0310-9956-ffa450edef68

16 years agoAdd download information for the extras components
markt [Thu, 8 Jan 2009 22:41:18 +0000 (22:41 +0000)]
Add download information for the extras components

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@732859 13f79535-47bb-0310-9956-ffa450edef68

16 years agoFirst attempt at updating the javax.servlet package for the 3.0 spec
markt [Tue, 6 Jan 2009 15:15:32 +0000 (15:15 +0000)]
First attempt at updating the javax.servlet package for the 3.0 spec
It compiles and runs but 99.9% of the implementation is stubbed out and marked with TODO SERVLET3

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@731967 13f79535-47bb-0310-9956-ffa450edef68

16 years agoReported as part of https://issues.apache.org/bugzilla/show_bug.cgi?id=37515
markt [Mon, 5 Jan 2009 23:50:55 +0000 (23:50 +0000)]
Reported as part of https://issues.apache.org/bugzilla/show_bug.cgi?id=37515
Add options for Java 1.6 and 1.7

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@731773 13f79535-47bb-0310-9956-ffa450edef68

16 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=46471
markt [Mon, 5 Jan 2009 19:20:11 +0000 (19:20 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=46471
Use the URL of the JAR as well as the path within the JAR to identify a tag file to keep tag file definitions unique.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@731651 13f79535-47bb-0310-9956-ffa450edef68

16 years agoWhen deployment succeeds but the context still fails to start, provide instant feedback
fhanik [Mon, 5 Jan 2009 18:34:25 +0000 (18:34 +0000)]
When deployment succeeds but the context still fails to start, provide instant feedback

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@731644 13f79535-47bb-0310-9956-ffa450edef68

16 years agoAdd comment as a result of bug 37515
markt [Sun, 4 Jan 2009 00:21:37 +0000 (00:21 +0000)]
Add comment as a result of bug 37515

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@731137 13f79535-47bb-0310-9956-ffa450edef68

16 years agobrain farts
fhanik [Sat, 3 Jan 2009 03:14:50 +0000 (03:14 +0000)]
brain farts

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@730900 13f79535-47bb-0310-9956-ffa450edef68

16 years agoupdate version
fhanik [Sat, 3 Jan 2009 02:55:04 +0000 (02:55 +0000)]
update version

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@730896 13f79535-47bb-0310-9956-ffa450edef68

16 years agocorrect array math
fhanik [Sat, 3 Jan 2009 02:34:10 +0000 (02:34 +0000)]
correct array math

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@730893 13f79535-47bb-0310-9956-ffa450edef68

16 years agoMake system compile with JDK1.5
fhanik [Sat, 3 Jan 2009 01:30:23 +0000 (01:30 +0000)]
Make system compile with JDK1.5

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@730885 13f79535-47bb-0310-9956-ffa450edef68

16 years agoHandle invocation target exceptions and throw the original exception when it happens
fhanik [Sat, 3 Jan 2009 01:25:56 +0000 (01:25 +0000)]
Handle invocation target exceptions and throw the original exception when it happens

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@730884 13f79535-47bb-0310-9956-ffa450edef68

16 years agoFix https://issues.apache.org/bugzilla/attachment.cgi?id=23066
markt [Fri, 2 Jan 2009 14:24:35 +0000 (14:24 +0000)]
Fix https://issues.apache.org/bugzilla/attachment.cgi?id=23066
Sync issue leads to NPE in rare circumstances
Patch provided by Konstantin Kolinko

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@730735 13f79535-47bb-0310-9956-ffa450edef68

16 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=46462
markt [Fri, 2 Jan 2009 11:05:45 +0000 (11:05 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=46462
Limit the package test to org.apache.jsp.* rather than org.apache.jsp* to allow use of packages like org.apache.jspwiki

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@730694 13f79535-47bb-0310-9956-ffa450edef68

16 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=36923
markt [Thu, 1 Jan 2009 19:02:21 +0000 (19:02 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=36923
If EL is disabled, treat it as template text.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@730590 13f79535-47bb-0310-9956-ffa450edef68

16 years agoEvery fault needs to be done at least twice.
rjung [Thu, 1 Jan 2009 14:16:14 +0000 (14:16 +0000)]
Every fault needs to be done at least twice.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@730550 13f79535-47bb-0310-9956-ffa450edef68

16 years agoPort r730523 from tcnative trunk to tc trunk.
rjung [Thu, 1 Jan 2009 13:37:39 +0000 (13:37 +0000)]
Port r730523 from tcnative trunk to tc trunk.
Add Thread.java and Buffer.java.
Change SSL.randSet() javadoc to the tcnative one.
Add Socket.sendib() and Socket.sendibb from tcnative.

All renames methods and method signature changes
are compatible, because those methods are not used
by Tomcat.

Changes of return types are compatible, because
the return values have not been used.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@730544 13f79535-47bb-0310-9956-ffa450edef68

16 years agoPort r706574 from tcnative trunk to tc trunk.
rjung [Thu, 1 Jan 2009 13:11:25 +0000 (13:11 +0000)]
Port r706574 from tcnative trunk to tc trunk.
"Fix API function name recvFrom -> recvfrom."
Function is actually not used in TC trunk.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@730542 13f79535-47bb-0310-9956-ffa450edef68

16 years agoPort r708867 from tcnative trunk to tc trunk.
rjung [Thu, 1 Jan 2009 12:57:36 +0000 (12:57 +0000)]
Port r708867 from tcnative trunk to tc trunk.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@730538 13f79535-47bb-0310-9956-ffa450edef68

16 years agoAdd missing AL2 headers.
markt [Wed, 31 Dec 2008 12:48:07 +0000 (12:48 +0000)]
Add missing AL2 headers.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@730383 13f79535-47bb-0310-9956-ffa450edef68

16 years agoFix svn properties. Patch by sebb
markt [Wed, 31 Dec 2008 12:36:44 +0000 (12:36 +0000)]
Fix svn properties. Patch by sebb

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@730382 13f79535-47bb-0310-9956-ffa450edef68

16 years agoFix porting error
markt [Tue, 30 Dec 2008 21:47:58 +0000 (21:47 +0000)]
Fix porting error

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@730250 13f79535-47bb-0310-9956-ffa450edef68

16 years agoMake sure that the packaged up binaries have a MD5 sum as well, to verify download...
fhanik [Tue, 30 Dec 2008 18:37:07 +0000 (18:37 +0000)]
Make sure that the packaged up binaries have a MD5 sum as well, to verify download size

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@730212 13f79535-47bb-0310-9956-ffa450edef68

16 years agoDon't attempt to shutdown when port=-1 in server.xml, instead print error message
fhanik [Tue, 30 Dec 2008 16:51:35 +0000 (16:51 +0000)]
Don't attempt to shutdown when port=-1 in server.xml, instead print error message

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@730178 13f79535-47bb-0310-9956-ffa450edef68

16 years agoCleanup name
fhanik [Tue, 30 Dec 2008 16:40:54 +0000 (16:40 +0000)]
Cleanup name

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@730173 13f79535-47bb-0310-9956-ffa450edef68

16 years agoAdjust to Java 1.5 level
fhanik [Mon, 29 Dec 2008 16:37:02 +0000 (16:37 +0000)]
Adjust to Java 1.5 level

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@729934 13f79535-47bb-0310-9956-ffa450edef68

16 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=46223
markt [Mon, 29 Dec 2008 00:30:00 +0000 (00:30 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=46223
Add a simple co-ordinator provided by Robert Newson

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@729815 13f79535-47bb-0310-9956-ffa450edef68

16 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=46223
markt [Mon, 29 Dec 2008 00:11:28 +0000 (00:11 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=46223
Throw NoSuchElementException if next() is called on the Iterator when hasNext()==false

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@729813 13f79535-47bb-0310-9956-ffa450edef68

16 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=46298
markt [Sun, 28 Dec 2008 23:46:49 +0000 (23:46 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=46298
Throw an exception if the driver doesn't support the supplied URL
Based on a patch by Owen Jacobson

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@729809 13f79535-47bb-0310-9956-ffa450edef68

16 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=46344
markt [Sat, 27 Dec 2008 22:17:49 +0000 (22:17 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=46344
Put the org.apache classes in a separate jar
Maven changes need validating.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@729688 13f79535-47bb-0310-9956-ffa450edef68

16 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=46351
markt [Sat, 27 Dec 2008 21:48:28 +0000 (21:48 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=46351
Simplify build scripts.
Patch provided by Marc Guillemot

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@729681 13f79535-47bb-0310-9956-ffa450edef68

16 years agoAdd a draft release plan for Tomcat 7
markt [Sat, 27 Dec 2008 19:04:59 +0000 (19:04 +0000)]
Add a draft release plan for Tomcat 7

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@729657 13f79535-47bb-0310-9956-ffa450edef68

16 years agoGenerics changes for o.a.c.ant
markt [Sat, 27 Dec 2008 18:47:38 +0000 (18:47 +0000)]
Generics changes for o.a.c.ant
Fix various Eclipse warnings (use of deprecated code etc)

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@729655 13f79535-47bb-0310-9956-ffa450edef68

16 years agoGenerics changes for o.a.c.authenticator
markt [Sat, 27 Dec 2008 18:40:24 +0000 (18:40 +0000)]
Generics changes for o.a.c.authenticator
Remove unnecessary casts identified by Eclipse

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@729652 13f79535-47bb-0310-9956-ffa450edef68

16 years agoGenerics changes for o.a.c.connector
markt [Sat, 27 Dec 2008 18:30:47 +0000 (18:30 +0000)]
Generics changes for o.a.c.connector
Fix various Eclipse warnings (unused code, casts, etc)

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@729651 13f79535-47bb-0310-9956-ffa450edef68

16 years agoGenerics changes for o.a.c.core
markt [Sat, 27 Dec 2008 17:48:13 +0000 (17:48 +0000)]
Generics changes for o.a.c.core
Fix various Eclipse warnings (unused code, unnecessary casts, etc)

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@729650 13f79535-47bb-0310-9956-ffa450edef68

16 years agoGenerics changes for o.a.c.ha
markt [Sat, 27 Dec 2008 15:17:52 +0000 (15:17 +0000)]
Generics changes for o.a.c.ha
Fix various Eclipse warnings (static methods, unused code, etc)

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@729637 13f79535-47bb-0310-9956-ffa450edef68

16 years agoGenerics for o.a.c.loader
markt [Sat, 27 Dec 2008 14:05:50 +0000 (14:05 +0000)]
Generics for o.a.c.loader
Fix various eclipse warnings (remove unused code, fix possible NPE)

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@729634 13f79535-47bb-0310-9956-ffa450edef68

16 years agoGenerics for o.a.c.manager
markt [Sat, 27 Dec 2008 13:39:41 +0000 (13:39 +0000)]
Generics for o.a.c.manager
Fix various Eclipse warnings (unused code, etc)

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@729633 13f79535-47bb-0310-9956-ffa450edef68

16 years agoOnly report query executions
fhanik [Sat, 27 Dec 2008 01:22:39 +0000 (01:22 +0000)]
Only report query executions

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@729575 13f79535-47bb-0310-9956-ffa450edef68

16 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=46261
markt [Fri, 26 Dec 2008 23:50:26 +0000 (23:50 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=46261
%2F in context paths should be treated literally, not as / - that is what '#' is for.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@729571 13f79535-47bb-0310-9956-ffa450edef68

16 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=46381
markt [Fri, 26 Dec 2008 23:43:09 +0000 (23:43 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=46381
Needs testign with the TCK before proposing for 6.0.x

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@729569 13f79535-47bb-0310-9956-ffa450edef68

16 years agoFix https://issues.apache.org/bugzilla/show_bug.cgi?id=46357
markt [Fri, 26 Dec 2008 23:37:33 +0000 (23:37 +0000)]
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=46357
Correct test for host's parent must be an engine

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@729567 13f79535-47bb-0310-9956-ffa450edef68

16 years agoorganize imports
fhanik [Fri, 26 Dec 2008 23:17:47 +0000 (23:17 +0000)]
organize imports

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@729557 13f79535-47bb-0310-9956-ffa450edef68

16 years agoRefactor the query report for multi purpose
fhanik [Fri, 26 Dec 2008 23:14:13 +0000 (23:14 +0000)]
Refactor the query report for multi purpose

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@729554 13f79535-47bb-0310-9956-ffa450edef68

16 years agoRevert part of previous commit that caused errors on startup
markt [Fri, 26 Dec 2008 22:09:53 +0000 (22:09 +0000)]
Revert part of previous commit that caused errors on startup

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@729544 13f79535-47bb-0310-9956-ffa450edef68

16 years agoRevert what looks like an accidental commit so extras will build
markt [Fri, 26 Dec 2008 21:06:23 +0000 (21:06 +0000)]
Revert what looks like an accidental commit so extras will build

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@729535 13f79535-47bb-0310-9956-ffa450edef68

16 years agoGenerics changes for o.a.c.mbeans
markt [Fri, 26 Dec 2008 20:20:38 +0000 (20:20 +0000)]
Generics changes for o.a.c.mbeans
Remove some unused code identified by Eclipse

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@729531 13f79535-47bb-0310-9956-ffa450edef68

16 years agoo.a.c.realm generics changes
markt [Fri, 26 Dec 2008 19:55:01 +0000 (19:55 +0000)]
o.a.c.realm generics changes
Also fix some eclipse warnings

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@729529 13f79535-47bb-0310-9956-ffa450edef68

16 years agoo.a.c generics changes
markt [Fri, 26 Dec 2008 19:47:08 +0000 (19:47 +0000)]
o.a.c generics changes
Also fix some Eclipse warnings

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@729528 13f79535-47bb-0310-9956-ffa450edef68

16 years agoo.a.c.security generics changes
markt [Fri, 26 Dec 2008 19:25:01 +0000 (19:25 +0000)]
o.a.c.security generics changes

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@729527 13f79535-47bb-0310-9956-ffa450edef68

16 years agoFix various Eclipse warnings in o.a.c.servlets, mainly unnecessary casts.
markt [Fri, 26 Dec 2008 19:18:42 +0000 (19:18 +0000)]
Fix various Eclipse warnings in o.a.c.servlets, mainly unnecessary casts.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@729526 13f79535-47bb-0310-9956-ffa450edef68

16 years agoo.a.c.session generics changes
markt [Fri, 26 Dec 2008 19:00:35 +0000 (19:00 +0000)]
o.a.c.session generics changes
Deprecate methods that implement deprecated methods
Fix assorted Eclipse warnings

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@729523 13f79535-47bb-0310-9956-ffa450edef68

16 years agoo.a.c.ssi generics changes
markt [Fri, 26 Dec 2008 18:15:29 +0000 (18:15 +0000)]
o.a.c.ssi generics changes

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@729520 13f79535-47bb-0310-9956-ffa450edef68

16 years agoo.a.c.startup generics changes
markt [Fri, 26 Dec 2008 18:13:57 +0000 (18:13 +0000)]
o.a.c.startup generics changes
Various other fixes (casts, unused code, comment typos etc)

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@729519 13f79535-47bb-0310-9956-ffa450edef68

16 years agoIF the application is shutting down, we don't need to print the WARN message
fhanik [Wed, 24 Dec 2008 19:41:22 +0000 (19:41 +0000)]
IF the application is shutting down, we don't need to print the WARN message

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@729364 13f79535-47bb-0310-9956-ffa450edef68

16 years agoRemaining generics for o.a.c.tribes
markt [Wed, 24 Dec 2008 18:22:36 +0000 (18:22 +0000)]
Remaining generics for o.a.c.tribes
  Change the Comparator in Membership to align with AbsoluteOrder
Fix various Eclipse warnings (unused code etc)

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@729351 13f79535-47bb-0310-9956-ffa450edef68

16 years agoGenerics for o.a.c.tribes.io
markt [Wed, 24 Dec 2008 17:49:57 +0000 (17:49 +0000)]
Generics for o.a.c.tribes.io
Fix various Eclipse warnings (unused code etc)

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@729341 13f79535-47bb-0310-9956-ffa450edef68

16 years agoGenerics for o.a.c.tribes.membership
markt [Wed, 24 Dec 2008 17:42:58 +0000 (17:42 +0000)]
Generics for o.a.c.tribes.membership

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@729340 13f79535-47bb-0310-9956-ffa450edef68

16 years agoSome more simple generics and other Eclipse warnings
markt [Wed, 24 Dec 2008 16:35:46 +0000 (16:35 +0000)]
Some more simple generics and other Eclipse warnings

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@729332 13f79535-47bb-0310-9956-ffa450edef68

16 years agoGenerics for o.a.c.tribes.tipis
markt [Wed, 24 Dec 2008 16:18:09 +0000 (16:18 +0000)]
Generics for o.a.c.tribes.tipis
 - Note that there may be more to come but AbstractReplicatedMap is a tricky beast for generics so these are just the 'easy' ones
Fix various Eclipse warnings (unused code etc)

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@729330 13f79535-47bb-0310-9956-ffa450edef68