Bill Barker wrote:
>This is correct. TC 3.2.4 never set the "secure" flag on that cookie,
>and TC 3.3.2 would only set it if you enabled an option in server.xml.
>This feature of TC is only on TC 4.0 and higher.
Thank you for confirming that.
-
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
André,
André Warnier wrote:
| Regarding your questions about why I am concerned about knowing if the
| session-id that is supplied in the JSESSIONID cookie matches the
| session-id of the real current session :
|
| Imagine that a first browser reques
"Christopher Schultz" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> |
> | - the behaviour of browsers versus secure/non-secure cookies is not new,
> | and neither is the fact that Tomcat generates a secure JSESSIONID cookie
> | w
In general, yes, your application has to be able to handle dropped
sessions and session attributes. That's a consequence of the way the
web works. A user could bookmark any page and return to it weeks
later.
You can't control the timing or order of web page requests. If a
servlet finds some vital
> From: André Warnier [mailto:[EMAIL PROTECTED]
> Subject: Re: Moving from a very old Tomcat to a new Tomcat.
> The servlet now calls sess = request.getSession().
Better if the servlet were to call request.getSession(false) and check the
result for null. If not null, then either authentication
Hi Chris.
First I repeat my thanks for taking the time to educate this
Tomcat-amateur programmer.
Second, I do take your point about the ultimate need, for one who really
wants to understand the details, of reading the Servlet Specification.
I have tried before, and found many parts to be dry
Johnny Kewl wrote:
- Original Message - From: "Liang Xiao Zhu"
<[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Wednesday, June 11, 2008 7:41 PM
Subject: Re: Response Time in Tomcat
Johnny Kewl escribió:
- Original Message - From: "Liang Xiao Zhu"
<[EMAIL PROTECTED]>
T
Johnny Kewl wrote:
On 6/11/08, Christopher Schultz <[EMAIL PROTECTED]> wrote:
maux wrote:
[...]
Let's see if I got this right, and if I can show off a bit.
Maux,
faltan unos datos a esa gente para contestar, pero lo estan intentando
de toda forma.
1) Imaginan que el applet no es tuyo y no
> From: mopont [mailto:[EMAIL PROTECTED]
> Subject: Tomcat problems with large number of contexts in webapps
>
> we gave to tomcat -Xms 512m -Xmx1024m of memory, but we have
> a "OutofMemory" even before reaching that limit.
Need details here. What JDK are you using? If it's a HotSpot JVM, are y
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
André,
André Warnier wrote:
| Christopher Schultz wrote:
|>
|> [request.getSession(true)] has been called, just not by /your/ code
at this point.
|
| Aha ! So there can be hidden, I would even say occult, calls to
| HttpServletRequest.getSession(), t
Hello everyone!
I use tomcat since version 4, and in all of this time I always used to work
with small number of contexts in the webapps.
Nowadays I'm in working with a e-learning application, so we customize the
same version of our application to our clients. The fact is that the
increasing num
Christopher Schultz wrote:
[...] lots of smart things which I duly note but omit here
Tomcat knows that it uses the session to store authentication
information, so Tomcat itself will create the session and add the cookie
to the response at this point.
| The user authenticates, the authenticat
- Original Message -
From: "Karthik Abram" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Wednesday, June 11, 2008 8:36 PM
Subject: Re: Something like a filter
Don't think a ServletContextListener gets anything but context
initialize() and destroy() calls.
Look at the original qu
- Original Message -
From: "Liang Xiao Zhu" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Wednesday, June 11, 2008 7:41 PM
Subject: Re: Response Time in Tomcat
Johnny Kewl escribió:
- Original Message - From: "Liang Xiao Zhu"
<[EMAIL PROTECTED]>
To: "Tomcat Users Lis
" I was afraid of missing a new technological trend again."
+1
On 6/11/08, André Warnier <[EMAIL PROTECTED]> wrote:
>
>
> Christopher Schultz wrote:
> >
> > André,
> >
> > André Warnier wrote:
> > | OMGWTFBBQ?!
> > |
> > | Would someone care to explain the last 3 letters of the above ? I can
>
Don't think a ServletContextListener gets anything but context
initialize() and destroy() calls.
On 6/11/08, Christopher Schultz <[EMAIL PROTECTED]> wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Maux,
>
> maux wrote:
> | I need to execute it before an application executes.
>
> What
Johnny Kewl escribió:
- Original Message - From: "Liang Xiao Zhu"
<[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Wednesday, June 11, 2008 4:33 PM
Subject: Response Time in Tomcat
Hi,
I am monitoring Tomcat 6 Performance and I want to get the Response
Time of the incoming Reque
Christopher Schultz wrote:
Yes, but the OP didn't say whether no changes were made to the original
code (or configuration) when moving between Tomcat versions.
Until the change to the login servlet for the cookie, there were no changes
to the app's code. It's even still being compiled against
- Original Message -
From: "maux" <[EMAIL PROTECTED]>
To:
Sent: Wednesday, June 04, 2008 4:20 PM
Subject: Something like a filter
Hi,
I would like to know if there is something that I can configure to an
application that force the application to execute that thing before it
execu
- Original Message -
From: "Liang Xiao Zhu" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Wednesday, June 11, 2008 4:33 PM
Subject: Response Time in Tomcat
Hi,
I am monitoring Tomcat 6 Performance and I want to get the Response Time
of the incoming Request. And I would like to
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
André,
André Warnier wrote:
| I'm possibly nitpicking, but still trying to get a full crash-proof
| explanation :
No problem. Sometimes it's fun to beat dead horses ;)
| A servlet context consists of a servlet (code), and a context descriptor
| (we
Christopher Schultz wrote:
[...]
| (And, as a secondary question, what does one exactly put in it then, so
| that it still matches the "session key" ? Or can you just put something
| arbitrary in it, and Tomcat will use whatever is there to identify the
| session data store ?)
The cookie must
[..]
| - how exactly does one "override" the Tomcat-generated JSESSIONID
| cookie? Just by overwriting it after Tomcat created it anyway ?
Yes.
| (And, as a secondary question, what does one exactly put in it then, so
| that it still matches the "session key" ? Or can you just put something
Christopher Schultz wrote:
André,
André Warnier wrote:
| OMGWTFBBQ?!
|
| Would someone care to explain the last 3 letters of the above ? I can
| kind of get the rest, but the last 3 puzzle me. ;-)
GIYF: http://www.urbandictionary.com/define.php?term=omgwtfbbq
TYVMFTI.
I was afraid of mis
Hi,
I am monitoring Tomcat 6 Performance and I want to get the Response Time
of the incoming Request. And I would like to know what the differents
between requestProcessingTime and processingTime, and also I would like
to know the unit of these attributes. And the other problem I noticed
that
Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Liang,
Liang Xiao Zhu wrote:
| I would like to know if there is some way which I can monitoring of the
| memory usage through of Tomcat. I mean, I have currently running a
| Tomcat 6 server, and through that I want to kn
Thanks for your answer!!!
Christopher Schultz escribió:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Liang,
Liang Xiao Zhu wrote:
| I would like to know if there is some way which I can monitoring of the
| memory usage through of Tomcat. I mean, I have currently running a
| Tomcat 6 server, a
Date sent: Wed, 11 Jun 2008 09:51:03 -0400
From: Christopher Schultz <[EMAIL PROTECTED]>
Subject:Re: OT: Fedora Core 8 viability (was Re: Problem in
starting tomcat)
To: Tomcat Users List
Send reply to: Tomcat Users List
Can anyone help me?
Liang Xiao Zhu escribió:
Hi,
I would like to know if there is some way which I can monitoring of
the memory usage through of Tomcat. I mean, I have currently running a
Tomcat 6 server, and through that I want to know not only the memory
usage of JVM also the memory usage
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
André,
André Warnier wrote:
| Is there some kind of general source of information, or registry or
| repository, where one could find [...] a list of already-developed
add-on modules for Tomcat?
Not really. Most of the Tomcat-specific stuff actually
> From: karthikn [mailto:[EMAIL PROTECTED]
> Subject: JMX / jconsole for TOMCAT6.0.14
>
> set CATALINA_OPTS="-Dcom.sun.management.jmxremote
>-Dcom.sun.management.jmxremote.port=8999
>-Dcom.sun.management.jmxremote.ssl=false
>-Dcom.sun.mana
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Liang,
Liang Xiao Zhu wrote:
| I would like to know if there is some way which I can monitoring of the
| memory usage through of Tomcat. I mean, I have currently running a
| Tomcat 6 server, and through that I want to know not only the memory
| usage
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Vyravan,
Vyravan Ramanathan wrote:
| Am getting the following exception after uploading the war file to the
server running tomcat 5.0.27, am trying to retrive some data's from
database and trying to set that in the form bean and trying to retrive
in
Hi
For JMX / jconsole for TOMCAT6.0.14 with following in catalina.sh
export JAVA_HOME=/opt/java6
echo JAVA_HOME = $JAVA_HOME
set CATALINA_OPTS="-Dcom.sun.management.jmxremote
-Dcom.sun.management.jmxremote.port=8999
-Dcom.sun.management.jmxremote.ssl=fals
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Steve,
Steve Ochani wrote:
| On 10 Jun 2008 at 17:20, Christopher Schultz wrote:
|> What leads you to that conclusion [that Fedora Core is inappropriate
for production use]?
|
| 1. When Fedora project was started I remember reading that it was
almost
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jörg,
Jörg Fröber wrote:
| I'm sorry, I can't provide a simple test jsp. There are quite a lot
| includes and method-calls in this jsp.
It is very difficult to develop a fix without something that
demonstrates the problem.
Can you copy your JSP to
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
André,
André Warnier wrote:
| OMGWTFBBQ?!
|
| Would someone care to explain the last 3 letters of the above ? I can
| kind of get the rest, but the last 3 puzzle me. ;-)
GIYF: http://www.urbandictionary.com/define.php?term=omgwtfbbq
- -chris
---
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Maux,
maux wrote:
| I need to execute it before an application executes.
What do you mean "before an application executes"? Do you mean that you
need something to run before any requests are processed? Then you want
to use a ServletContextListener.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
André,
André Warnier wrote:
| From the thread (or two threads), I gather that :
| - originally, the problem was stated as "losing the cookie/session",
| after moving to a more recent Tomcat version, without any other
| changes
Yes, but the OP didn'
Date sent: Wed, 11 Jun 2008 09:42:45 +0200
From: André Warnier <[EMAIL PROTECTED]>
Subject:Off-topic uestion Re: It¡¯s amazing, apache
make TC performance decrease dramatically.
To: Tomcat Users List
Send reply to:
- Original Message -
From: "Justin Morgan - Logic Sector" <[EMAIL PROTECTED]>
To:
Sent: Wednesday, June 11, 2008 8:02 AM
Subject: Basic question on requiring a login
Hi Tomcat users,
Maybe I'm not googling with the right keywords, but I can't seem to find
a simple answer to this.
Am 10.06.2008, 16:52 Uhr, schrieb Rémy Maucherat
<[EMAIL PROTECTED]>:
On Tue, Jun 10, 2008 at 4:17 PM, Jörg Fröber <[EMAIL PROTECTED]>
wrote:
An explizit call of response.flushBuffer() seems to have solved the
problem.
So it could indeed be worth it if you provide a test JSP.
Rémy
I
Yes :-)
That works like a beauty.
Thanks a lot again.
I will document this.
Regards
Mohan
Mohan2005 wrote:
>
> Hello All;
>
> Can you please tell me the maximum number of nodes a JkManager can handle
> without any issues ?
>
> Assume a Quad-Core large memory system.
>
> Thanks and R
Again replying to myself:
Rainer Jung schrieb:
Rainer Jung schrieb:
http://localhost/jkmanager/?cmd=update&mime=txt&w=TEST&att=wa&val1=activate
The correct URL is:
http://localhost/jkstatus?cmd=update&mime=txt&w=TEST&att=wa&val0=activ
The only difference is, that the number behind "val" sta
Rainer Jung schrieb:
http://localhost/jkmanager/?cmd=update&mime=txt&w=TEST&att=wa&val1=activate
What's the difference betwen this, and what you get, when you do it via
the GUI? It is so much easier to get the right URL by simply doing it
once via the GUI.
You can check the URLs used in th
Hi.
May I take the opportunity and ride on the question below, to ask :
Is there some kind of general source of information, or registry or
repository, where one could find the answer to the question below, but
also get a list of already-developed add-on modules for Tomcat ?
I mean, when I need
Mohan2005 schrieb:
Hello Rainer
I am using mod_jk 1.2.25
And I assume val1 is the name of the node (NODE1 in this case)
No, val1 ist the value for the first member of the load balancer, val2
for the second and so on. So it is meant as is.
so I tried both
http://localhost/jkmanager/?cmd=u
Hi,
I would like to know if there is some way which I can monitoring of the
memory usage through of Tomcat. I mean, I have currently running a
Tomcat 6 server, and through that I want to know not only the memory
usage of JVM also the memory usage of the system.
Thanks in advance
---
Hi All,
Am getting the following exception after uploading the war file to the server
running tomcat 5.0.27, am trying to retrive some data's from database and
trying to set that in the form bean and trying to retrive in the JSP, but am
getting this error in linux server not in my localho
Hello Rainer
I am using mod_jk 1.2.25
And I assume val1 is the name of the node (NODE1 in this case)
so I tried both
http://localhost/jkmanager/?cmd=update&mime=txt&w=TEST&att=wa&NODE1=activate
and
http://localhost/jkmanager/?cmd=update&mime=txt&w=TEST&att=wa&val1=activate
But did not activ
Thanks, Mark.
On looking closer at the source of the message I found my problem,
it was my error.
The error message was as follows:
Line: 478
Char: 7
Error: Access is denied
Code: 0
URL: http://192.168.1.100:8080/process_login.jsp
Just to help others to resolve the problem.
I've encountered the above error after deployment of new version of
webapp on Tomcat 5.5 running under Apache 2.0/mod_jk.
After some investigation, I've found out the reason:
the context name of the webapp was misspelled.
So, mod_jk is configured to re
Mohan2005 schrieb:
Hello Again;
I tried the following, did not take effect;
What am I doing wrong here please;
My jkmanager shows this for the Loadbalancer "TEST" and it has only one node
called "NODE1"
NameTypeHostAddrAct State D F M
V Ac
This has been a long thread, and somewhere along the line I must have
gotten lost.
There are two areas that puzzle me, and I would be grateful if someone
could enlighten me for future reference.
Feel free to blast me away if I ask any stupid questions below.
I am neither a Java nor a Tomcat spec
Hi,
I have checked the code but still find it a little bit hard to come with
something all by myself. I was wondering (although I am afraid I already know
the answer) is there any book that explains how tomcat (6.0) internally works
and explains how connectors can be developed for it? I tried
Dear All
FYI
I was able to get JVM information except for CPU information using MUNIN
regards
Mohan
Mohan2005 wrote:
>
> Hello All;
>
> I can get the JVM memory information using the following SNMP commands.
>
> /usr/bin/snmpwalk -c public -v 2c 172.10.1.11:3000
> .1.3.6.1.4.1.42.2.145.3
OMGWTFBBQ?!
Would someone care to explain the last 3 letters of the above ? I can
kind of get the rest, but the last 3 puzzle me. ;-)
Christopher Schultz wrote:
[...]
-
To start a new topic, e-mail: users@tomcat.apache.org
T
57 matches
Mail list logo