Nino, Ricky typed the following on 09:50 13/02/2003 +0800
Just recently I have installed Tomcat in my PC and I was able to
successfully run all the JSP and ServLets examples.
But when I tried to create a very simple html (will simply display a 'hellow
world text') and saved it into C:\Program
Jindong Li typed the following on 15:22 10/02/2003 -0500
In our case I think all threads started by our web application are cleaned
up properly...the delay we're experiencing seems to be within 40 second
which is acceptable otherwise...but the thing is that our users are used to
the way TC401
Michael E. Locasto typed the following on 08:00 PM 6/18/2002 -0400
I've done a bit of thinking and came up with a mechanism that might
solve both issues of wasted memory and lost users. It involves
persistent storage of retired sessions, so if this is actually how
LRUMap or the session Manager
[EMAIL PROTECTED] typed the following on 05:22 PM 6/12/2002 -0400
PROPOSAL: When Session Max reached, throw out oldest session
...
1. When the maximum number of sessions is reached, change
StandardManager from throwing an IllegalStateException exception, to
expiring the Least Recently Used
[EMAIL PROTECTED] typed the following on 07:22 PM 1/31/2002 +0100
I have special requirements to my session container and want to write my
own implementation.
The problem is that I don't know which classes must be changed or replaced.
I hope someone can help me.
Assuming you're using 4.x, check
Roland typed the following on 11:06 AM 1/3/2002 -0200
I'm concerned about encrypting the Browser--Container path. The problem
with my particular approach is, that I will send a Sha-1 hash from the
browser to the container.
...
The means, that the Realm will only
receive a hash of the
+0
Craig R. McClanahan typed the following on 01:23 PM 9/4/2001 -0700
Well, it's just about that time ... the Servlet 2.3 and JSP 1.2
specifications are going final soon (they are being voted on in the Java
Community Process as we speak). Therefore, I've just submitted an initial
draft of a
Craig R. McClanahan typed the following on 12:40 PM 8/9/2001 -0700
Now that I think about it though, any time a session is used in a request,
its
lastAccessedTime will be updated, so the session must be considered dirty.
So worrying about tracking attributes isn't necessary: the session only
Pier P. Fumagalli typed the following on 10:59 PM 8/8/2001 +0100
There are others that, from time to time, pop around on this mailing list,
but I never saw one commit coming from them (although I have only a 6-months
old archive, I would repropose this further on in the future, when some of
them
Craig R. McClanahan typed the following on 12:57 PM 8/8/2001 -0700
Another possibility would be to flag the session is dirty when getAttribute()
is called - it would result in unnecessary saves since it assumes the
attribute
was modified even when it wasn't, but it would be safer.
Someone
Jim Seach typed the following on 04:29 PM 8/7/2001 -0700
Selected setXXX methods in StandardSession will set the dirty bit to
true indicating that Session data has changed and it needs to be
saved
in the next save cycle by PersistentManager.
But what happens if in one servlet you put an
+1
GOMEZ Henri typed the following on 09:30 AM 6/1/2001 +0200
I would like to propose Mike Anderson as a new committer.
He found many subtils bugs in mod_jk and since he's
working on Netware platforms, it will a great help
to improve connectors on this OS.
Vote please
-
Henri Gomez
+1
Craig R. McClanahan typed the following on 07:21 PM 5/7/2001 -0700
Now that the Proposed Final Draft 2 versions of the Servlet 2.3 and JSP
1.2 specs have been published (with Tomcat 4.0 updated to support the
latest changes), and a ton of bug fixes have been made, I would like to
propose that
[EMAIL PROTECTED] typed the following on 03:37 AM 5/8/2001 +
Make it possible to disable DNS lookups of the remote host name, for
Tomcat used stand-alone, even when the web app calls
request.getRemoteHost(). Lookups are enabled by default -- disable them
by modifying the Connector
Bip Thelin typed the following on 04:06 PM 5/6/2001 -0700
We also need to answer the question of the request life cycle: the
DistributedManager needs to know when a request begins and ends.
At the beginning, it must lock the session to prevent other Catalina
instances from using it in
Craig R. McClanahan typed the following on 11:18 AM 5/7/2001 -0700
An interesting question is, how do you detect when a session has been
changed? Obviously, you can detect setAttribute/removeAttribute, but
what about changes to the *internal* state of the attributes themselves
that the session
Bip Thelin typed the following on 12:01 PM 4/20/2001 -0700
We've had some issues with the background threads, expiration and stuff so I
migrated some of the common stuff into a StoreBase and had JDBCStore and
FileStore
extend it and have the opportunity to implement it's own processexpires and
[EMAIL PROTECTED] typed the following on 07:27 PM 4/17/2001 +
craigmcc01/04/17 12:27:20
Restore the ability to save and reload active sessions across a web app
restart. This was broken by the refactoring of the load() and unload() calls
that was recently done in the session
Bip Thelin typed the following on 12:53 PM 4/16/2001 -0700
the processexpires() in PersistentManagerBase is looking for current
sessions then swaping them
in and checking if they're valid, if so continue else invalidate.
Hmm, it shouldn't be doing this, it should only be checking the
sessions
Bip Thelin typed the following on 03:57 PM 4/13/2001 -0700
- Would it be possible to parameterize the SQL statements used to
access the database? The idea would be that we can adapt to different
table and column names (like JDBCRealm does on the authentication side).
...
I would like to
Jon Stevens typed the following on 06:50 PM 4/10/2001 -0700
Craig, does this mean you (finally) aren't using tabs anymore? :-)
So, are spaces kosher? The Sun coding standards document (which is the
official Jakarta guideline?) says either is OK, but the mixed tabs and spaces
format I've found
[EMAIL PROTECTED] typed the following on 09:11 AM 4/12/2001 -0700
Changing a file from 09 ( TAB ) to spaces ( or reverse ) is _bad_, it is
(IMHO) lack of respect for the people who wrote the original code.
I take your point about respect for the people who wrote the original code,
(and the
Since the commit message was too big for qmail, anyone interested
can check it manually.
Delivered-To: [EMAIL PROTECTED]
Delivered-To: [EMAIL PROTECTED]
Delivered-To: [EMAIL PROTECTED]
Date: 12 Apr 2001 18:19:02 -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: failure notice
Hi.
Bip Thelin typed the following on 02:35 PM 4/5/2001 -0700
This is a minor change so you can specify the store to use within server.xml.
Thanks Bip, I've applied these patches. I also added a check in PersistentManager's
start() method to check whether Store is null, since this is the default if
Kevin Jones typed the following on 10:07 AM 3/31/2001 +0100
How do I enable the persistence manager in Beta 2. There's no entry in the
server.xml file, and I couldn't see anything in the docs.
It's currently an unofficial feature, so undocumented. Put the following
into your
Jone Lin typed the following on 03:35 PM 3/28/2001 -0800
No, we're much earlier in the development cycle than that - we haven't
implemented any distributed session support at all. The work we're doing
on PersistentManager is groundwork for distributed sessions. This work
is 90% finished, so
Bip Thelin typed the following on 10:46 AM 3/28/2001 -0800
I couldn't find anything about how to add the PersistenManager in server.xml
or in the manuals, however, after backtracking the maillist I found a "patch"
by Kief that seems to have been forgotten, I'll cat it to the end of this mail.
Craig R. McClanahan typed the following on 07:05 PM 3/27/2001 -0800
Kief, a while back (when the work on PersistentManager was going on), the
need for a little refactoring work on Manager vs. StandardManager would be
useful. Have you thought any more about what we should do here?
Yes, in fact I
Bip Thelin typed the following on 05:07 PM 3/27/2001 -0800
Kief Morris wrote:
Excellent! Let us know if you need any help.
I will, BTW how is the work on distributed sessions coming along?
Is it possible to distribute sessions over x number of machines and
that if one goes down you could go
Craig R. McClanahan typed the following on 01:23 PM 3/28/2001 -0800
It's been quite a while since beta 1 and the viewing public anxiously
awaits a new release :-)
It was asked that we hold off for a bit. Would doing the release this
Friday meet everyone's preferences? If so, I will go ahead
Craig R. McClanahan typed the following on 08:32 PM 3/19/2001 -0800
- Clip and Return This Portion -
+1 [ ] I support the proposed release, and will work to support it
+0 [ ] I support the proposed release, but cannot work on it
at this time
-0 [ ] I do
Craig R. McClanahan typed the following on 08:52 PM 3/19/2001 -0800
So where does that leave us in the mean time? I propose that we continue
to innovate new features in succeeding beta releases of Tomcat 4.0
(treating them essentially the way that "milestone" releases get treated
in many
Marc Saegesser typed the following on 09:21 AM 2/11/2001 -0600
- Please return this portion with your vote -
Tomcat 3.2.2 Release Plan Ballot:
[X] +1 I am in favor of this plan and will help
[ ] +0I am in favor of this plan, but am unable to help
[ ] -0I am not in
I'm trying to commit a patch for Tomcat 3.2.2 to fix bug #504, but
I'm getting told off for insufficient karma. I'm pretty sure I've got my
SSL tunnels working, maybe I don't have commit privs on the
jakarta-tomcat project??
Access denied: Insufficient Karma
Craig R. McClanahan typed the following on 12:52 PM 2/10/2001 -0800
This was discussed by the expert group for servlet 2.3, and Kief's
understanding is what we came up with. In addition, that is what Section 7.6
says in 2.3 PFD (emphasis is added):
The getLastAccessedTime method of the
Murthy Gorty typed the following on 09:59 AM 2/9/2001 -0800
I noticed a problem with session timeouts in Tomcat3.2.1
The background thread that recycles sessions based on timeouts uses
Session.getLastAccessedTime().
The session object itself has two variables
lastAccessedTime and
I still haven't figured out how to get Catalina's server.xml processing to
handle a new tag for Store, and would also like to do it for Session so
different implementations of the Session interface can be configured.
Adding attributes to the Manager tag works auto-magically, which
is very slick.
I'm looking at a bit of refactoring of the Session and Manager code
before I get into more serious stuff. The objective of this round of
refactoring is to remove dependencies on StandardSession and
ManagerBase, and instead have code deal with these using the
Session and Manager interfaces. The
[EMAIL PROTECTED] typed the following on 02:07 PM 2/6/2001 -0800
( +2 if he also ports them to tomcat 3.3 or makes them independent of
the container architecture - i.e. general purpose utils for
serialization/deserialization with a simple adapter for each server :-)
Sure, the 3.3 code could
Craig R. McClanahan typed the following on 04:40 PM 2/5/2001 -0800
(1) Session Save/Restore Across App Restarts
Currently, StandardManager saves and restores sessions across app
restarts (i.e. autoreload if turned on, or normal shutdown and
startup). It should be modified to use the new
Craig R. McClanahan typed the following on 09:16 AM 2/6/2001 -0800
Kief has recently proposed improvements to the session management code
in Tomcat 4, and wants to continue helping out. I hereby propose him as
a committer on the Tomcat project. Votes, please?
Thanks for the support everyone,
[EMAIL PROTECTED] typed the following on 09:44 AM 2/6/2001 -0800
Kief has recently proposed improvements to the session management code
in Tomcat 4, and wants to continue helping out. I hereby propose him as
a committer on the Tomcat project. Votes, please?
+1
( +2 if he also ports them to
Howdy folks, I've been on the road for a few days. What's the status of
the 4.0/4.1 merge? Are we ready for the new branch to work on session
persistence stuff? Anything I can do to help things along if not?
Kief
-
To
Morrison, John typed the following on 08:52 AM 1/23/2001 +
Rather than removing the TC4.1 cvs would it not be better to alias it back
to the TC4.0 repository and not broadcast that it exists? This will keep
those who checked out the source from having to move back to 4.0.
-0, I've got both
Craig R. McClanahan typed the following on 04:51 PM 1/22/2001 -0800
Therefore, I would like to propose "unfreezing" the 4.0 codebase, and
opening it
again to new development, with some of the major items listed below. The
revised release plan for Tomcat 4.0 Beta 2 would then become:
+1
Craig R. McClanahan typed the following on 04:51 PM 1/22/2001 -0800
* Integrate the changes for persistent session storage, as well as
session passivation and activation, proposed by Kief Morris. This
will initially be checked into a temporary branch for experimentation,
but will likely
Jayesh typed the following on 10:55 AM 1/21/2001 -0800
Anybody implemented load balancing and failsafety on tomcat stand alone?
I've started some work on session persistence, which works with
a single-instance application, which should lead into sharing
sessions between instances of a
Craig R. McClanahan typed the following on 10:09 PM 1/19/2001 -0800
How about if we create a branch of 4.0, and I check in these changes on that
branch? If things work out well, we can merge back to the main branch --
otherwise, wel'll have learned what needs to be done to add this functionality
Craig R. McClanahan typed the following on 02:00 PM 1/19/2001 -0800
THE PROPOSAL:
For each Servlet API interface that represents an internal Catalina object
exposed to an application object, create a new
org.apache.catalina.facade.XFacade class according to the following basic
pattern:
*
Jayesh typed the following on 08:00 AM 1/17/2001 -0800
I need to do some work when tomcat session gets timed out. Could anyone of
you suggest how I can do it.
With servlet 2.2 (Tomcat 3.x) you should make sure one of the attributes you're
adding to the session implements
Scott Christley typed the following on 10:54 AM 1/17/2001 -0800
I must apologize first by saying that I originally found this bug with
Jserv not Tomcat, but those of you who are familiar with Tomcat
internals can probably tell fairly quickly if this would still be an
issue.
It could potentially
Craig R. McClanahan typed the following on 03:44 PM 1/14/2001 -0800
"Christopher K. St. John" wrote:
If your server implements session swapping or distribution (as we are
currently
developing in the 4.1 repository), it is pretty much guaranteed that
different
session object instances
Craig R. McClanahan typed the following on 11:42 AM 1/15/2001 -0800
- If it is OK, should the container send activation/passivation events when a
session is being serialized (or whatever) for replication purposes?
The following comment is in the Javadocs at the top of
Jon Stevens typed the following on 11:50 AM 1/15/2001 -0800
Right, but I (and others) are still here and myself (and others) are still
in a responsible position for supporting this software. Therefore, I'm most
concerned with a developer who makes a huge number of changes and then
announces that
I typed the following on 03:10 PM 1/15/2001 -0500
If Manager.releaseSession() method is implemented (I don't really like that
method name though), then StandardSession.expire() and invalidate() should
call it, and maybe some other places.
Doh, actually the locking would probably be implemented
Jon Stevens typed the following on 12:36 PM 1/15/2001 -0800
Costin's choice is his choice. If he doesn't want to stick around, it won't
be because of me (or at least I don't think I can understand that as an
argument...maybe my fault, maybe not), it will be because of the fact that
the project
Craig R. McClanahan typed the following on 09:06 PM 1/13/2001 -0800
The information that is presented in the Server Configuration section is all up
to date AFAIKT, but several sections are not yet written. With this, as with
the rest of the docs (and the code, of course :-), feel free to suggest
ina.Store;
import org.apache.catalina.util.LifecycleSupport;
/**
* Implementation of the bManager/b interface that makes use of
* a Store to swap active Sessions to disk. It can be configured to
* achieve several different goals:
*
* liPersist sessions across restarts of the Co
This is the first of two sets of patches relating to sessions. The following
set will be my proposed session persistence package, while these are more
general and should be considered independently.
ManagerBase.java
- Fixed a bug where recycled sessions
Jon Stevens typed the following on 12:16 PM 12/29/2000 -0800
on 12/29/2000 6:59 AM, "Matthew Dornquast" [EMAIL PROTECTED] wrote:
Anyway, use this method, and you've got lean mean serialized objects that
take up the least amount of space possible and have the lowest overhead to
Craig R. McClanahan typed the following on 09:35 AM 12/27/2000 -0800
* Create another level of nesting inside Manager called Store. This is
probably better, because you can now configure the properties of the
Store implementation using Store attributes.
I haven't had much luck getting
orry about it.
Kief
---
Kief Morris
Director of Technology
bitBull Ltd. http://www.bitBull.com
phone +44 020 7598 9938
fax +44 020 7460 4081
String getInfo();
+
+
+/**
+ * Return the Manager instance associated with this Store.
+ */
+public Manager getManager();
/**
@@ -167,5 +172,11 @@
*/
public void save(Session session) throws IOException;
+/**
+ * Set the Manager associated with this Store.
+ *
+ * @param manager The Manager which will use this Store.
+ */
+public void setManager(Manager manager);
}
---
Kief Morris
Director of Technology
bitBull Ltd. http://www.bitBull.com
phone +44 020 7598 9938
fax +44 020 7460 4081
I don't see anybody assigned to tackling the Catalina 4.0 FileStore
implementation, or the Manager implementation for swapping active
sessions to disk, so I've started messing around with this. If anyone
else is interested in working on this (or already working on this) speak
up!
So far I'm
I'll post shortly.
Kief
---
Kief Morris
Director of Technology
bitBull Ltd. http://www.bitBull.com
phone +44 020 7598 9938
fax +44 020 7460 4081
to devote to implementing it,
especially to create sample distribution implementations which will be crucial
to making sure it really works, since I'm between gigs.
Kief
---
Kief Morris
Director of Technology
bitBull Ltd. http://www.bitBull.com
phone +44 020 7598 9938
fax +44 020 7460 4081
Jon Stevens typed the following on 09:44 14/12/2000 -0800
on 12/14/2000 2:40 AM, "Kief Morris" [EMAIL PROTECTED] wrote:
I'd like to suggest that the mailing list page
http://jakarta.apache.org/site/mail.html
should be modified so tomcat-users appears before tomcat-dev.
Please send
I'd like to suggest that the mailing list page http://jakarta.apache.org/site/mail.html
should be modified so tomcat-users appears before tomcat-dev.
I suspect many people with usage related questions jump on tomcat-dev to post
because it's the first list under Tomcat, and "The Tomcat
Stuart Roebuck typed the following on 16:41 14/12/2000 +
On Thursday, December 14, 2000, at 09:44 AM, Pier P. Fumagalli wrote:
Someone (me! :) proposed to do as they do in XML land with the Xerces
project. They distribute a simple "xerces-tools..." JAR containing all
libraries required
When the Jasper code gets the setter method for tag properties, it doesn't
check to see whether the m variable is null until after attempting to use its
getParameterTypes() method, which throws an uninformative NullPointerException.
I simply moved the null check immediately after the variable m
Hans Bergsten typed the following on 19:17 10/12/2000 -0800
But maybe I'm missing something. Are you saying the whole SSI processing
should be done as an interceptor instead of as a servlet?
Is this something that could be done as a Servlet 2.3 Filter, and so be
completely
container
Hello,
I tried to submit this to BugRat, but got a ServletException:
java.lang.NoClassDefFoundError: javax/activation/DataSource at
org.gjt.bugrat.servlet.BugRatReport.processReportPOST(Compiled Code)
Anyway,
I ran into a little problem with Tomcat 3.2 final: it's so much a bug as an
72 matches
Mail list logo