remm2003/07/07 23:27:09
Modified:.build.xml
Log:
- Exclude generated source in the JSP examples.
Revision ChangesPath
1.139 +3 -1 jakarta-tomcat-5/build.xml
Index: build.xml
===
remm2003/07/07 23:28:02
Modified:catalina/src/share/org/apache/catalina/session
ManagerBase.java PersistentManagerBase.java
StandardManager.java StandardSession.java
Log:
- Remove session recycling.
Revision ChangesPath
remm2003/07/07 23:30:45
Modified:modules/cluster/src/share/org/apache/catalina/cluster/session
SimpleTcpReplicationManager.java
Log:
- Remove session recycling, as well as the comments criticizing session
recycling.
Revision ChangesPath
remm2003/07/07 23:32:53
Modified:webapps/admin/WEB-INF/classes/org/apache/webapp/admin
ApplicationServlet.java
Log:
- Feel free to veto, but I believe a well behaved application should not
fork a thread for something like doing its init stuff (even if
-//I personally believe the VM does a much better job pooling
object instances
-//than the synchronized penalty gives us
Now, if we could only convince the Jasper developers of this ... ;-).
This message is intended only for the use of the person(s) listed above as the
Bill Barker wrote:
Now, if we could only convince the Jasper developers of this ... ;-).
Tag pooling is definitely not the same situation and use case as session
pooling. Tag pooling *is* useful in many cases.
Remy
-
To
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, July 07, 2003 11:32 PM
Subject: cvs commit:
jakarta-tomcat-catalina/webapps/admin/WEB-INF/classes/org/apache/webapp/admi
n ApplicationServlet.java
remm2003/07/07 23:32:53
Modified:
- Original Message -
From: Remy Maucherat [EMAIL PROTECTED]
To: Tomcat Developers List [EMAIL PROTECTED]
Sent: Tuesday, July 08, 2003 12:11 AM
Subject: Re: cvs commit:
jakarta-tomcat-catalina/modules/cluster/src/share/org/apache/catalina/cluste
r/session SimpleTcpReplicationManager.java
Hello All,
A simple one? I have my session defined in a servlet thus:
HttpSession session = req.getSession();
session.setAttribute(userSession, h); // (h = HashMap)
how or where do define session parameters such as expiry? I would
ideally like my session to die when I call a
See the servlet specification from java.sun.com.
In particular, session expiration can be set in web.xml.
sessions can also be expired programmatically via its invalidate() method.
Please followup with tomcat-user if you have more questions. This forum is
for changing the internals of tomcat.
This email is autogenerated from the output from:
http://cvs.apache.org/builds/gump/2003-07-08/jakarta-tomcat-jk-native.html
Buildfile: build.xml
init:
[echo] /home/rubys
[mkdir]
The question is: Why turn a hashmap into an array just to take its
length when you already have a method that returns the number of
sessions? This will make the life of people who write session managers
that DON'T store all the active sessions in memory easier.
--- HTMLManagerServlet.java
I am implementing a JdbcSessionManager for dealing with non-sticky
clusters. We wish to use the DB to store all of our session data when
it is not in use. Thanks to Craig's help I was able to figure out how
to do the updating of the session data in an InstanceEventListener that
catches the
I agree that session recycling can be a security problem but am concerned
that removing recycling will significantly increase GC overhead. I would
like to see some before and after GC data from testing where 1000's of sessions
get used per hour. Testing with different versions of the JVM would
Hello,
I'm trying to find the port that the current connector is running on
from inside the UserConfig object. The UserConfig object is final, so
I'm modifying the class directly. Unfortunately, I haven't been able to
trace back to a reference to a connector.
Is there a good way to obtain the
Remy Maucherat wrote:
Bill Barker wrote:
Now, if we could only convince the Jasper developers of this ... ;-).
Tag pooling is definitely not the same situation and use case as session
pooling. Tag pooling *is* useful in many cases.
There are a number of things to consider when evaluating the
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15661.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15661.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18467.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4091.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
Another thing to consider when evaluating object pooling is the expected
lifetime of the objects. On modern JVMs with generational memory stores,
objects with a short lifespan (say the duration of a single HTTP request)
will probably never leave the nursery. Pooling these kinds of objects
The optimal solution would be the ability to enable/disable each type of
object pooling with a config parameter so that tomcat admins can tune Tomcat
to perform best for their OS/JVM.
Like you can currently do with Jasper and JSP tag pooling.
Regards,
Glenn
Marc Saegesser wrote:
Another thing
Glenn Nielsen wrote:
Remy Maucherat wrote:
There are a number of things to consider when evaluating the performance of
object pooling.
The performance hit of obtaining/recycling an object can be greater than
instantiating a new object, it depends on the JVM.
But you also have to consider the
Developers,
Forgive the post to the developer list but I honestly feel that my question(s)
are detailed enought to be of interest to the development community for Tomcat and
have thus far remained largely unaddressed by the tomcat-user community. Please also
forgive the length of the
Marc Saegesser wrote:
Another thing to consider when evaluating object pooling is the expected
lifetime of the objects. On modern JVMs with generational memory stores,
objects with a short lifespan (say the duration of a single HTTP request)
will probably never leave the nursery. Pooling these
Peter Lin wrote:
I second remy's summary. from first hand experience with JSP with 200 tags,
tag pooling provide significant performance improvement. From what I saw in
OptimizeIt, with jasper1 and 200+ tags per page, garbage collection was happening
frequently and full GC was occuring way too
:\myclasses\Repository\Enhydra\XMLC_DSF_2003-05-19-2\xmlc\examples\tomcat\build
Using CATALINA_HOME: C:\Java\Apache\Jakarta\tomcat-5-20030708
Using CATALINA_TMPDIR:
D:\myclasses\Repository\Enhydra\XMLC_DSF_2003-05-19-2\xmlc\examples\tomcat\build\temp
Using JAVA_HOME: C:\j2sdk1.4.1_02
I agree that the MimeHeaders example is not really an example of an object
pool. I used it because it was a recent example that I found where avoiding
GC at all costs was the wrong approach. Keep in mind, the utils stuff that
I'm talking about is from TC3.2. I haven't looked at the latest TC
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21419.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
remm2003/07/08 15:53:38
Modified:jasper2/src/share/org/apache/jasper/compiler
DefaultErrorHandler.java
jasper2/src/share/org/apache/jasper/resources
messages.properties
Log:
- Add decent error message when JAVAC
funkman 2003/07/08 16:12:51
Modified:catalina/src/share/org/apache/catalina/mbeans
mbeans-descriptors.xml
catalina/src/share/org/apache/catalina/valves
AccessLogValve.java
Added:
I hope to remove the following (2) pages from the FAQ and move them to the Wiki:
How do I http://jakarta.apache.org/tomcat/faq/howto.html
and
Other resources http://jakarta.apache.org/tomcat/faq/links.html
It seems these 2 pages may change more often and may be better suited to
community
the run-tomcat batch script looks like...
@echo off
set CATALINA_HOME=C:\Java\Apache\Jakarta\tomcat-5-20030708
set
CATALINA_BASE=D:\myclasses\Repository\Enhydra\XMLC_DSF_2003-05-19-2\xmlc\examples\tomcat\build
rem remove the log files
del /Q %CATALINA_BASE%\logs\*
%CATALINA_HOME%\bin\catalina.bat
33 matches
Mail list logo