fhanik [Fri, 16 Jun 2006 20:55:06 +0000 (20:55 +0000)]
Fixed comet processing.
The following bug was existing:
When a comet request had begun, and the browser sent some more data, the Tomcat APR component was never reading the data from the socket and lead to two kinds of failures
1. The CometServlet.read returned false, cause no data was read, and the socket closed
2. If the CometServlet.read was overwritten and return true, the thread got stuck in a loop, forever hanging.
The solution was to read the incoming data from the socket, update the content length of the request, and make sure that the input filters would still allow to read the data.
I think the following features still need to be fixed:
1. If CometServlet.read return false, the adapter should call CometServlet.end, not CometServlet.error
2. If CometServlet.read throws an error, then the adapter should call CometServlet.error
3. When CometServlet.read returns false, don't close the socket, keep alive should still work and we should still be able to process more HTTP requests on that connection
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@414906
13f79535-47bb-0310-9956-
ffa450edef68
markt [Sun, 11 Jun 2006 21:53:53 +0000 (21:53 +0000)]
Port fix for bug 39769. Remove the classloader switching from unload. It was removed from load some time ago. Patch provided by David Gagnon.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@413540
13f79535-47bb-0310-9956-
ffa450edef68
markt [Fri, 9 Jun 2006 23:09:40 +0000 (23:09 +0000)]
Port fix for bug 39752 from 5.5.x.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@413189
13f79535-47bb-0310-9956-
ffa450edef68
markt [Fri, 9 Jun 2006 23:06:52 +0000 (23:06 +0000)]
Set line endings to native
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@413187
13f79535-47bb-0310-9956-
ffa450edef68
remm [Thu, 8 Jun 2006 15:35:56 +0000 (15:35 +0000)]
- Add the manager classes and a package renamed fileupload.
- I think there should be basic multipart handling in the core, although maybe the manager doesn't
belong here (so I would remove it later on).
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@412780
13f79535-47bb-0310-9956-
ffa450edef68
remm [Thu, 8 Jun 2006 15:00:12 +0000 (15:00 +0000)]
- While it wouldn't be a completely bad idea to switch to an executor, the black box behavior of an
executor makes it a bit bad to be used with a default lame implementation, while the fancy
implementations are more "big server" ready with far more overhead and complexity.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@412766
13f79535-47bb-0310-9956-
ffa450edef68
remm [Thu, 8 Jun 2006 14:50:07 +0000 (14:50 +0000)]
- Create clustered managers with the Catalina CL set as the context CL (as classloading may occur).
- Should fix 39699.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@412764
13f79535-47bb-0310-9956-
ffa450edef68
billbarker [Thu, 8 Jun 2006 05:06:37 +0000 (05:06 +0000)]
Add missing method to stop Gump from nagging
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@412661
13f79535-47bb-0310-9956-
ffa450edef68
remm [Sun, 4 Jun 2006 15:05:19 +0000 (15:05 +0000)]
- Remove usage of the CharChunk buffer (converters already use buffers). C2B converters could most
likely be optimized (since they should probably rely on the byte chunk that they are writing to).
This does not seem to reduce performance in a noticeable way, but I did not benchmark that much.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@411577
13f79535-47bb-0310-9956-
ffa450edef68
remm [Sun, 4 Jun 2006 15:01:39 +0000 (15:01 +0000)]
- With Comet support, it is necessary to optimize the amount of memory used by individual
processors. This removes most of the buffers that are being used, without reducing performance
in many cases.
- Note: I'm not sure the algorithm in InternalAprInputBuffer.nextRequest, which is used when
pipelining, is correct. It also could use free space in the buffer more efficiently when trimming
it.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@411576
13f79535-47bb-0310-9956-
ffa450edef68
remm [Tue, 30 May 2006 09:58:41 +0000 (09:58 +0000)]
- Add a brain dead executor.
- Submitted by Vincenc Beltran Querol.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@410234
13f79535-47bb-0310-9956-
ffa450edef68
remm [Mon, 29 May 2006 16:17:01 +0000 (16:17 +0000)]
- Port root webapp.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@410115
13f79535-47bb-0310-9956-
ffa450edef68
remm [Mon, 29 May 2006 16:02:14 +0000 (16:02 +0000)]
- Add trivial exclude.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@410114
13f79535-47bb-0310-9956-
ffa450edef68
remm [Mon, 29 May 2006 14:09:13 +0000 (14:09 +0000)]
- I had some problems when shutting down pollers which had active connections in them. I can't
reproduce any problem anymore, unfortunately, but I think it was because there was a poll going
on while the sockets in the poller were being destroyed, which could then lead to these sockets
being destroyed again. So I'm adding code to wait until the poll call is done before doing the
poller stop.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@410095
13f79535-47bb-0310-9956-
ffa450edef68
remm [Mon, 29 May 2006 11:51:34 +0000 (11:51 +0000)]
- Add examples webapp.
- New chat example, which doesn't work properly yet (I suck at HTML). For some reason, it works with
a telnet, but not with a browser, which doesn't do any rendering until the whole page is received.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@410080
13f79535-47bb-0310-9956-
ffa450edef68
remm [Fri, 26 May 2006 16:39:08 +0000 (16:39 +0000)]
- Some small comet fixes.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@409696
13f79535-47bb-0310-9956-
ffa450edef68
remm [Fri, 26 May 2006 16:38:24 +0000 (16:38 +0000)]
- Fix some bugs with annotation support.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@409695
13f79535-47bb-0310-9956-
ffa450edef68
billbarker [Thu, 25 May 2006 04:07:25 +0000 (04:07 +0000)]
Port the fix for MODELER-3 from [modeler] (minus some of the fluff :).
It's mostly non-critical path stuff, so it shouldn't be that much of a performance hit.
Also throw in some Generics cleanups.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@409298
13f79535-47bb-0310-9956-
ffa450edef68
billbarker [Wed, 24 May 2006 05:04:20 +0000 (05:04 +0000)]
Port RMI fix from 5.5
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@409072
13f79535-47bb-0310-9956-
ffa450edef68
remm [Mon, 22 May 2006 23:37:24 +0000 (23:37 +0000)]
- Use getDeclaredMethods/Fields here.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@408790
13f79535-47bb-0310-9956-
ffa450edef68
remm [Sat, 20 May 2006 00:04:55 +0000 (00:04 +0000)]
- Fix cut & paste bug, submitted by Stan Silvert.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@407933
13f79535-47bb-0310-9956-
ffa450edef68
remm [Sat, 20 May 2006 00:04:08 +0000 (00:04 +0000)]
- Some javadoc.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@407932
13f79535-47bb-0310-9956-
ffa450edef68
billbarker [Fri, 19 May 2006 07:33:35 +0000 (07:33 +0000)]
Suppress deprecation warnings on the implementation classes.
Sun's brain-dead compiler seems to require that I put these at Class level instead of method level. I'm more than happy to change it if they ever manage to pull their collective heads out of their collective a**s.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@407740
13f79535-47bb-0310-9956-
ffa450edef68
costin [Fri, 19 May 2006 00:57:15 +0000 (00:57 +0000)]
AFAIK mod_jk2 is deprecated - and I doubt anyone is using this. If they do - can be
reverted.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@407673
13f79535-47bb-0310-9956-
ffa450edef68
costin [Fri, 19 May 2006 00:56:28 +0000 (00:56 +0000)]
Downgrade to DynamicMBeans in method signatures - there is no need to use Model here,
the mbean server doesn't care.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@407672
13f79535-47bb-0310-9956-
ffa450edef68
remm [Fri, 19 May 2006 00:44:04 +0000 (00:44 +0000)]
- Add example read method.
- Return value for read errors (as an option compared with throwing an exception).
- Add some javadocs.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@407671
13f79535-47bb-0310-9956-
ffa450edef68
remm [Thu, 18 May 2006 18:29:07 +0000 (18:29 +0000)]
- Ok, it seems to work at least a little bit (hopefully, nobody tried it before this). Overall, the
changes are fairly limited.
- In the end, I prefer adding a new method in Adapter, although it is easy to change back.
- I'll try to add the examples webapp back, and add the obligatory chat servlet (so lame ...).
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@407605
13f79535-47bb-0310-9956-
ffa450edef68
remm [Wed, 17 May 2006 12:55:39 +0000 (12:55 +0000)]
- Start work on comet support. Note: it doesn't work yet, I think (I didn't test), and most of this
is very preliminary. It is relatively straightforward, though.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@407241
13f79535-47bb-0310-9956-
ffa450edef68
remm [Wed, 17 May 2006 12:51:41 +0000 (12:51 +0000)]
- Use Integer.valueOf.
- Update restricted list a bit.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@407240
13f79535-47bb-0310-9956-
ffa450edef68
mturk [Wed, 17 May 2006 06:33:41 +0000 (06:33 +0000)]
Use APR_UNSPEC for IPv6 and address=null. Backport from 5.5 branch.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@407176
13f79535-47bb-0310-9956-
ffa450edef68
mturk [Tue, 16 May 2006 07:14:46 +0000 (07:14 +0000)]
Use APR_UNSPEC only if the provided address
actually is the IPV6 address.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@406860
13f79535-47bb-0310-9956-
ffa450edef68
remm [Tue, 9 May 2006 14:05:23 +0000 (14:05 +0000)]
- Use the ignore annotation flag.
- It needs recompilation in case the value is changed. It could do without, but would need
additional code in the generated servlets (a field, read a servlet context param), so
it would generally be (even) more intrusive :(
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@405437
13f79535-47bb-0310-9956-
ffa450edef68
remm [Tue, 9 May 2006 14:02:01 +0000 (14:02 +0000)]
- Pass the ignore annotation flag to Jasper.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@405436
13f79535-47bb-0310-9956-
ffa450edef68
remm [Fri, 5 May 2006 13:50:29 +0000 (13:50 +0000)]
- Fix indentation.
- jspDestroy didn't need any modification (the instances are tag handler instances, not tag
instances).
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@400078
13f79535-47bb-0310-9956-
ffa450edef68
remm [Thu, 4 May 2006 14:39:23 +0000 (14:39 +0000)]
- Use separate build folders for the dependencies.
- Update to Eclipse 3.2 (RC 2 right now).
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@399714
13f79535-47bb-0310-9956-
ffa450edef68
billbarker [Thu, 4 May 2006 04:49:09 +0000 (04:49 +0000)]
Enable Annotation processing for Tags even when pooling is disabled.
Of course, this will be horrible slow at least until Jasper looks for metadata-complete.
Also style fixes on the tagPoolHandler Vector.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@399545
13f79535-47bb-0310-9956-
ffa450edef68
remm [Wed, 3 May 2006 20:26:35 +0000 (20:26 +0000)]
- Injection should occur before the setters (BTW, since simple tags are not pooled, performance
will be bad; most likely some sort of caching is needed).
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@399406
13f79535-47bb-0310-9956-
ffa450edef68
remm [Wed, 3 May 2006 09:11:13 +0000 (09:11 +0000)]
- Add resource injection for tags (listeners are being handled in the servlet container).
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@399216
13f79535-47bb-0310-9956-
ffa450edef68
remm [Wed, 3 May 2006 08:07:02 +0000 (08:07 +0000)]
- As suggested by Mladen, add a more robust mechanism for restricted servlets.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@399196
13f79535-47bb-0310-9956-
ffa450edef68
remm [Wed, 3 May 2006 06:21:27 +0000 (06:21 +0000)]
- Change some locations.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@399165
13f79535-47bb-0310-9956-
ffa450edef68
remm [Sat, 29 Apr 2006 00:23:12 +0000 (00:23 +0000)]
- Remove usage of TWA (otherwise, executor support cannot work).
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@398045
13f79535-47bb-0310-9956-
ffa450edef68
remm [Fri, 28 Apr 2006 13:22:08 +0000 (13:22 +0000)]
- Port (not tested yet) the APR AJP code to java.io. I don't think it will be used in Tomcat unless
people configure it explicitly.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@397895
13f79535-47bb-0310-9956-
ffa450edef68
remm [Fri, 28 Apr 2006 13:19:23 +0000 (13:19 +0000)]
- Harmonize a bit more (the java.io HTTP 1.1 is the template: in the comments for the methods,
"*" means this method should be common to all protocols, and "HTTP" means the method should be
common to all HTTP protocols).
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@397894
13f79535-47bb-0310-9956-
ffa450edef68
remm [Fri, 28 Apr 2006 13:07:54 +0000 (13:07 +0000)]
- Experiment with an endpoint superclass (which will only hold common fields, though).
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@397888
13f79535-47bb-0310-9956-
ffa450edef68
remm [Thu, 27 Apr 2006 13:33:39 +0000 (13:33 +0000)]
- Remove JSP related resources.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@397540
13f79535-47bb-0310-9956-
ffa450edef68
remm [Thu, 27 Apr 2006 13:30:58 +0000 (13:30 +0000)]
- Update to descriptors.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@397539
13f79535-47bb-0310-9956-
ffa450edef68
pero [Wed, 26 Apr 2006 06:10:53 +0000 (06:10 +0000)]
Fix that StandardSession#getLastAccessedTime() uses correct exception message
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@397098
13f79535-47bb-0310-9956-
ffa450edef68
remm [Mon, 24 Apr 2006 15:32:40 +0000 (15:32 +0000)]
- Refactor using the new java.io endpoint. Hopefully, I did not make any mistake.
- I will now test a bit, and will attempt to extract superclasses (most likely BaseEndpoint,
BaseProtocol, BaseHttpProtocol).
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@396579
13f79535-47bb-0310-9956-
ffa450edef68
billbarker [Mon, 24 Apr 2006 00:37:32 +0000 (00:37 +0000)]
Clean up the default algorithm handling, now that JSSE 1.0 is no longer supported.
At least now, you should be able to run SSL on a non-Sun JVM out of the box :).
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@396357
13f79535-47bb-0310-9956-
ffa450edef68
remm [Sun, 23 Apr 2006 21:37:32 +0000 (21:37 +0000)]
- Further sync the two endpoints.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@396324
13f79535-47bb-0310-9956-
ffa450edef68
remm [Sun, 23 Apr 2006 21:33:58 +0000 (21:33 +0000)]
- Port Peter's patch which prevents double incrementation of the expiredSessions stats flag.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@396323
13f79535-47bb-0310-9956-
ffa450edef68
remm [Sun, 23 Apr 2006 21:33:02 +0000 (21:33 +0000)]
- Add compile.debug flag.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@396322
13f79535-47bb-0310-9956-
ffa450edef68
remm [Sun, 23 Apr 2006 00:18:56 +0000 (00:18 +0000)]
- Add support for using an Executor (the idea in that case is to define one executor for the whole
server, with an appropriate queue, etc). By default, I think it is good to continue using the
dumb stack, though.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@396185
13f79535-47bb-0310-9956-
ffa450edef68
remm [Fri, 21 Apr 2006 14:39:26 +0000 (14:39 +0000)]
- Add the refactored java.io endpoint that I talked about earlier.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@395901
13f79535-47bb-0310-9956-
ffa450edef68
remm [Fri, 21 Apr 2006 11:04:05 +0000 (11:04 +0000)]
- Remove pre 1.5 compatibility code, which is not used anymore as the new APIs require and use
JDK 1.5+. I hope I didn't make any mistake merging the SSL code.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@395849
13f79535-47bb-0310-9956-
ffa450edef68
remm [Thu, 20 Apr 2006 22:01:33 +0000 (22:01 +0000)]
- Remove leftover useless code.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@395707
13f79535-47bb-0310-9956-
ffa450edef68
remm [Thu, 20 Apr 2006 12:46:25 +0000 (12:46 +0000)]
- Fix improper caching by checking the class definition.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@395575
13f79535-47bb-0310-9956-
ffa450edef68
remm [Wed, 19 Apr 2006 15:18:53 +0000 (15:18 +0000)]
- Add a Jasper server listener to setup the JspFactory before any component related to a webapp is
started.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@395266
13f79535-47bb-0310-9956-
ffa450edef68
remm [Wed, 19 Apr 2006 14:51:10 +0000 (14:51 +0000)]
- Add annotation processor to Jasper too (tags need injection too).
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@395258
13f79535-47bb-0310-9956-
ffa450edef68
billbarker [Tue, 18 Apr 2006 15:16:33 +0000 (15:16 +0000)]
And one more
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@394963
13f79535-47bb-0310-9956-
ffa450edef68
billbarker [Tue, 18 Apr 2006 02:07:25 +0000 (02:07 +0000)]
Fix typo
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@394824
13f79535-47bb-0310-9956-
ffa450edef68
remm [Fri, 14 Apr 2006 21:30:28 +0000 (21:30 +0000)]
- Port patches.
- Change to session: it doesn't make sense to me that getAttribute is a good place to
synchronously make a check for session expiration (of course, with accessCount, this is
not going to happen anyway, but still).
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@394202
13f79535-47bb-0310-9956-
ffa450edef68
remm [Thu, 13 Apr 2006 21:51:35 +0000 (21:51 +0000)]
- Port patches.
- verifyIfValid in Session.access seems useless.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@393953
13f79535-47bb-0310-9956-
ffa450edef68
remm [Thu, 13 Apr 2006 13:56:50 +0000 (13:56 +0000)]
- Add missing patch for 1.5 compatibility.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@393808
13f79535-47bb-0310-9956-
ffa450edef68
remm [Thu, 13 Apr 2006 13:54:07 +0000 (13:54 +0000)]
- Compatibility with Eclipse 3.2 (sort of, the flag doesn't mean the same thing, with the new one
doing some new unknown stuff).
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@393807
13f79535-47bb-0310-9956-
ffa450edef68
remm [Thu, 13 Apr 2006 11:18:26 +0000 (11:18 +0000)]
- Switch to ArrayList.
- private -> protected.
- Use a marker constant for full range, because null indicates an error or no content.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@393783
13f79535-47bb-0310-9956-
ffa450edef68
remm [Wed, 12 Apr 2006 16:01:42 +0000 (16:01 +0000)]
- Add the usual download target (including building JDT and DBCP).
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@393491
13f79535-47bb-0310-9956-
ffa450edef68
remm [Wed, 12 Apr 2006 13:34:17 +0000 (13:34 +0000)]
- Update JAR packaging.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@393458
13f79535-47bb-0310-9956-
ffa450edef68
remm [Wed, 12 Apr 2006 13:32:02 +0000 (13:32 +0000)]
- Add resource injection for all annotations that are supposed to be supported by the web tier.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@393457
13f79535-47bb-0310-9956-
ffa450edef68
remm [Wed, 12 Apr 2006 13:18:19 +0000 (13:18 +0000)]
- Update APIs and annotations.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@393454
13f79535-47bb-0310-9956-
ffa450edef68
remm [Wed, 12 Apr 2006 10:54:41 +0000 (10:54 +0000)]
- Improve the algorithm used when constructing classloaders, in particular to respect order.
- Submitted by Rainer Jung.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@393433
13f79535-47bb-0310-9956-
ffa450edef68
remm [Tue, 11 Apr 2006 15:36:04 +0000 (15:36 +0000)]
- Add a few naming related cleanups.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@393248
13f79535-47bb-0310-9956-
ffa450edef68
billbarker [Mon, 10 Apr 2006 02:01:18 +0000 (02:01 +0000)]
Realized that the previous patch was too Gump-centric
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@392875
13f79535-47bb-0310-9956-
ffa450edef68
billbarker [Mon, 10 Apr 2006 01:36:19 +0000 (01:36 +0000)]
Restore the ability to build with the Mail Resources
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@392872
13f79535-47bb-0310-9956-
ffa450edef68
remm [Sun, 9 Apr 2006 16:38:09 +0000 (16:38 +0000)]
- Add resource injection (note: most annotations are not supported, including web services,
JPA, EJB, etc), as well as PostCreate and PreDestroy.
- If I understand the spec correctly, if using metadata-complete = true, then even PostCreate and
PreDestroy must be ignored.
- Not tested yet (but it doesn't break when not using annotations).
- Based on a patch submitted by Fabien Carrion.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@392775
13f79535-47bb-0310-9956-
ffa450edef68
remm [Sat, 8 Apr 2006 00:12:36 +0000 (00:12 +0000)]
- Add default value, submitted by Bill Barker.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@392461
13f79535-47bb-0310-9956-
ffa450edef68
remm [Thu, 6 Apr 2006 23:47:05 +0000 (23:47 +0000)]
- Add web.xml style annotations (run as, roles declarations, etc).
- Note: commented out EJB and web services (similarly, the Persistence* annotations were not there).
- Submitted by Fabien Carrion.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@392123
13f79535-47bb-0310-9956-
ffa450edef68
remm [Thu, 6 Apr 2006 23:44:36 +0000 (23:44 +0000)]
- I don't know if this field is legitimate or not, but it's used by the rest of the patch. I'll
check it.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@392122
13f79535-47bb-0310-9956-
ffa450edef68
remm [Thu, 6 Apr 2006 14:29:14 +0000 (14:29 +0000)]
- Add annotations JAR.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@391995
13f79535-47bb-0310-9956-
ffa450edef68
remm [Thu, 6 Apr 2006 14:13:54 +0000 (14:13 +0000)]
- Add "support" (note: not in NamingContextListener yet) for service-ref (after all, there's support
for all other elements, so ...).
- Submitted by Fabien Carrion.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@391991
13f79535-47bb-0310-9956-
ffa450edef68
remm [Thu, 6 Apr 2006 14:09:45 +0000 (14:09 +0000)]
- Add common annotations interfaces.
- The latest docs seem to indicate that it's Declare*s*Roles.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@391990
13f79535-47bb-0310-9956-
ffa450edef68
remm [Tue, 4 Apr 2006 22:34:09 +0000 (22:34 +0000)]
- Add support for multiple servlet and filter mappings.
- Fix a bug I found by accident where application listeners are not reinitialized when reloading.
- That's all folks, all the useful Servlet 2.5 features are done. Now the annotations ... (sigh)
- Reuse the ignoreAnnotations field name from the patch submitted by Fabien Carrion.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@391432
13f79535-47bb-0310-9956-
ffa450edef68
remm [Tue, 4 Apr 2006 17:19:42 +0000 (17:19 +0000)]
- Update poweredby.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@391370
13f79535-47bb-0310-9956-
ffa450edef68
remm [Tue, 4 Apr 2006 00:03:50 +0000 (00:03 +0000)]
- Add new method (dummy).
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@391185
13f79535-47bb-0310-9956-
ffa450edef68
remm [Tue, 4 Apr 2006 00:03:14 +0000 (00:03 +0000)]
- Add support for the new "*" special URL pattern for filters.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@391184
13f79535-47bb-0310-9956-
ffa450edef68
remm [Tue, 4 Apr 2006 00:01:51 +0000 (00:01 +0000)]
- Slightly updated behavior for setCharEnc, and allow setting a session cookie from an included
resource in some cases.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@391183
13f79535-47bb-0310-9956-
ffa450edef68
remm [Tue, 4 Apr 2006 00:00:33 +0000 (00:00 +0000)]
- Add getContextPath.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@391182
13f79535-47bb-0310-9956-
ffa450edef68
remm [Thu, 30 Mar 2006 17:42:06 +0000 (17:42 +0000)]
- Copy the XML descriptors.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@390189
13f79535-47bb-0310-9956-
ffa450edef68
remm [Thu, 30 Mar 2006 17:41:19 +0000 (17:41 +0000)]
- Revert fix for 38113, which doesn't seem to be a bug, and appears to be causing regressions.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@390188
13f79535-47bb-0310-9956-
ffa450edef68
remm [Thu, 30 Mar 2006 15:10:13 +0000 (15:10 +0000)]
- Standardize on the digester (which is apparently a bit faster than using DOM). This way, digester
now handles all XML parsing in Catalina.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@390157
13f79535-47bb-0310-9956-
ffa450edef68
remm [Thu, 30 Mar 2006 15:08:31 +0000 (15:08 +0000)]
- Clean up a bit.
- For some reason, trying to recycle a static digester doesn't improve performance.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@390155
13f79535-47bb-0310-9956-
ffa450edef68
remm [Thu, 30 Mar 2006 13:32:04 +0000 (13:32 +0000)]
- Move output so that Eclipse doesn't pollute the useful classes folder with his junk.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@390124
13f79535-47bb-0310-9956-
ffa450edef68
remm [Thu, 30 Mar 2006 13:27:59 +0000 (13:27 +0000)]
- Remove modeler.
- Fix CRLF.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@390120
13f79535-47bb-0310-9956-
ffa450edef68
remm [Thu, 30 Mar 2006 10:00:57 +0000 (10:00 +0000)]
- Add missing patch (I didn't update from sources before merging).
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@390055
13f79535-47bb-0310-9956-
ffa450edef68
remm [Thu, 30 Mar 2006 00:55:22 +0000 (00:55 +0000)]
- Reduce the number of JARs.
- Is it me, or are the JARs magically smaller ? There must be something related to JDK 1.5.
- bootstrap.jar is really needed.
- Import modeler. I think there are some serious possibilities to enhance XML processing,
as everything (or almost everything, as I don't think the modeler does at the moment)
goes through digester.
- I suppose the webapps could be added now.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@389946
13f79535-47bb-0310-9956-
ffa450edef68
remm [Wed, 29 Mar 2006 14:39:52 +0000 (14:39 +0000)]
- Fixes according to the directory structure.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@389806
13f79535-47bb-0310-9956-
ffa450edef68
remm [Wed, 29 Mar 2006 14:00:01 +0000 (14:00 +0000)]
- Clear obsolete content.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@389796
13f79535-47bb-0310-9956-
ffa450edef68
remm [Wed, 29 Mar 2006 13:58:04 +0000 (13:58 +0000)]
- Add the usual set of JARs.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@389795
13f79535-47bb-0310-9956-
ffa450edef68
costin [Tue, 28 Mar 2006 16:55:00 +0000 (16:55 +0000)]
A minimal set of files to debug and launch tomcat inside eclipse.
server.xml is based on server-minimal.jar
I assume the 'real' config files will be in the /res or in some /share directory,
so it should be possible to leave /conf for ide debugging.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@389541
13f79535-47bb-0310-9956-
ffa450edef68
costin [Tue, 28 Mar 2006 16:53:21 +0000 (16:53 +0000)]
Small fixes and adjustments to build.xml.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@389540
13f79535-47bb-0310-9956-
ffa450edef68