remm [Fri, 7 Jul 2006 22:35:25 +0000 (22:35 +0000)]
- If there is a security manager, the map should be reset (otherwise, references could be kept).
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@420002
13f79535-47bb-0310-9956-
ffa450edef68
remm [Tue, 4 Jul 2006 15:43:28 +0000 (15:43 +0000)]
- Update to JDT 3.2 (I think TC 5.5 should be updated too).
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@419040
13f79535-47bb-0310-9956-
ffa450edef68
remm [Thu, 29 Jun 2006 11:37:30 +0000 (11:37 +0000)]
- Redo the session activity check (which prevents expiring a session if there is an extremely
long request and a short timeout) as optional, and using an atomic integer.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@418016
13f79535-47bb-0310-9956-
ffa450edef68
remm [Tue, 27 Jun 2006 13:48:36 +0000 (13:48 +0000)]
- As redoing the encoders and decoders won't happen immediately, save some memory by cleaning the
cache when starting a Comet request (which is supposed to last for a while).
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@417457
13f79535-47bb-0310-9956-
ffa450edef68
jfclere [Mon, 26 Jun 2006 18:25:51 +0000 (18:25 +0000)]
Change the compiler to the lastest version.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@417271
13f79535-47bb-0310-9956-
ffa450edef68
remm [Mon, 26 Jun 2006 17:48:32 +0000 (17:48 +0000)]
- Catch everything, as any unexpected exception would kill the server.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@417257
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Thu, 22 Jun 2006 22:02:23 +0000 (22:02 +0000)]
Dont do the not needed operations, if they are not needed.
Performance is just a tad under java.io, which is expected as we need to poll, as opposed to constantly wait for data.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@416481
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Thu, 22 Jun 2006 20:28:27 +0000 (20:28 +0000)]
Two fixes,
process timeouts last, no need to check a timeout on a valid read. hence we do it after we process the actual operations
Throw an IO exception if we reach end of stream so that the sockets can get properly closed down
Speed is the same for nio and io right now, nio seems just a tad faster without keep alives
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@416461
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Thu, 22 Jun 2006 19:59:39 +0000 (19:59 +0000)]
Catch the cancelled key exceptions and act appropriately
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@416456
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Thu, 22 Jun 2006 19:05:02 +0000 (19:05 +0000)]
Fix so that we don't do a busy read, instead we are properly doing a NIO poller wait
This way, we can achieve blocking read, without wasting CPU cycles.
Since we are using Java 5, I will be changing this implementation from using synchronized to using the Exchanger, this is also to avoid anyi locks that can happen. For example, in the current implementation the poller can call notify before we have had a chance to call wait
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@416444
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Thu, 22 Jun 2006 17:09:14 +0000 (17:09 +0000)]
must come up with a better sleep, this brings the nio connector up to the same speed as the io connector however, there is a risk for cpu contention on slow clients, fix will be coming
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@416423
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Thu, 22 Jun 2006 16:10:17 +0000 (16:10 +0000)]
Reverted last nights checkin, until I fix the line ending story, and this also makes the connector work again
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@416409
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Thu, 22 Jun 2006 16:03:32 +0000 (16:03 +0000)]
Reverted checkin, we can use a fully qualified class name inside of the protocol
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@416408
13f79535-47bb-0310-9956-
ffa450edef68
remm [Thu, 22 Jun 2006 10:11:41 +0000 (10:11 +0000)]
- Add new files.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@416314
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Thu, 22 Jun 2006 01:45:58 +0000 (01:45 +0000)]
Keep track of whether the socket is in use or not. The same can of course be done using
key.interestOps() as a socket in use would not be returning OP_READ
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@416193
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Thu, 22 Jun 2006 00:48:53 +0000 (00:48 +0000)]
Non blocking polling information.
This implementation in pure Java NIO is almost a mimic of the APR implementation. It blocks on read and write, but has non blocking polling capabilities. Currently the read/write blocking is "busy" blocking, but I will see if I can simply configure blocking for the socket and if that would still allow the poller to work as expected.
This makes it a suitable connector for comet style protocols and where APR is not desired or available.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@416187
13f79535-47bb-0310-9956-
ffa450edef68
remm [Wed, 21 Jun 2006 09:21:32 +0000 (09:21 +0000)]
- Fix annotation names.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@415948
13f79535-47bb-0310-9956-
ffa450edef68
costin [Tue, 20 Jun 2006 21:31:42 +0000 (21:31 +0000)]
Update the modeler with the sandbox version, using dynamic mbeans instead of model mbeans.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@415811
13f79535-47bb-0310-9956-
ffa450edef68
costin [Tue, 20 Jun 2006 20:46:23 +0000 (20:46 +0000)]
Add a quick comment.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@415797
13f79535-47bb-0310-9956-
ffa450edef68
costin [Tue, 20 Jun 2006 20:45:36 +0000 (20:45 +0000)]
Dead code, nobody seems to be using it.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@415796
13f79535-47bb-0310-9956-
ffa450edef68
costin [Tue, 20 Jun 2006 20:43:37 +0000 (20:43 +0000)]
Direct calls instead of introspection via JMX
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@415794
13f79535-47bb-0310-9956-
ffa450edef68
funkman [Tue, 20 Jun 2006 11:12:30 +0000 (11:12 +0000)]
Remove JMX warning message since java5 is required
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@415610
13f79535-47bb-0310-9956-
ffa450edef68
fhanik [Sat, 17 Jun 2006 00:12:20 +0000 (00:12 +0000)]
Revert, if Content-Length: <some large value> is an acceptable work around
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@414965
13f79535-47bb-0310-9956-
ffa450edef68
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