Hi Tomcat users,
Maybe I'm not googling with the right keywords, but I can't seem to
find a simple answer to this...
I have a standard Tomcat 6.0.10 installation (no Apache httpd front
end or anything). All the contents of the webapps directory have been
removed, and a single web app
Justin Morgan - Logic Sector wrote:
Hi Tomcat users,
Maybe I'm not googling with the right keywords, but I can't seem to find
a simple answer to this...
I have a standard Tomcat 6.0.10 installation (no Apache httpd front end
or anything). All the contents of the webapps directory have
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
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
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
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
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 Acc
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
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=updatemime=txtw=TESTatt=waNODE1=activate
and
http://localhost/jkmanager/?cmd=updatemime=txtw=TESTatt=waval1=activate
But did not activate a
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
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
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
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
Again replying to myself:
Rainer Jung schrieb:
Rainer Jung schrieb:
http://localhost/jkmanager/?cmd=updatemime=txtw=TESTatt=waval1=activate
The correct URL is:
http://localhost/jkstatus?cmd=updatemime=txtw=TESTatt=waval0=activ
The only difference is, that the number behind val starts at 0
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 Regards
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'm
- Original Message -
From: Justin Morgan - Logic Sector [EMAIL PROTECTED]
To: users@tomcat.apache.org
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
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 users@tomcat.apache.org
-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't
-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:
| 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
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
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
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
-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
-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
-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
|
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
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
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 users@tomcat.apache.org
Send reply to:
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,
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
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
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
[..]
| - 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:
[...]
| (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
-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
|
- Original Message -
From: Liang Xiao Zhu [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
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.
- Original Message -
From: maux [EMAIL PROTECTED]
To: users@tomcat.apache.org
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
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
Johnny Kewl escribió:
- Original Message - From: Liang Xiao Zhu
[EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
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
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 do you
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
| kind of get the
- Original Message -
From: Liang Xiao Zhu [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
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:
- Original Message -
From: Karthik Abram [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
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
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
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
-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(),
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 you
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
Johnny Kewl wrote:
- Original Message - From: Liang Xiao Zhu
[EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Wednesday, June 11, 2008 7:41 PM
Subject: Re: Response Time in Tomcat
Johnny Kewl escribió:
- Original Message - From: Liang Xiao Zhu
[EMAIL
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
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 or
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
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
| when the
-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
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.
57 matches
Mail list logo