Ðavîd Låndïs wrote:
...
Incidentally, does anyone know what exception is supposed to be thrown
when a user cancels the attachment download?
I am bit out of my depth here, but presumably when the user does that,
the browser closes its (reading) side of the socket. Whatever process is
at the
Hi all,
I work on JavaMelody and I can speak about the question of jconsole or
javamelody for Tomcat monitoring.
The main differences between jconsole and javamelody is IMHO that jconsole will
be used occasionally in QA or production for a few minutes or a few hours,
whereas javamelody will be
On 21/05/2010 03:08, Ðavîd Låndïs wrote:
On Thu, May 20, 2010 at 9:51 PM, Caldarale, Charles R
chuck.caldar...@unisys.com wrote:
From: Ðavîd Låndïs [mailto:dlan...@gmail.com]
Subject: Re: user cancels download attachment
I will try to debug deeper down into the platform.
What connector are
Hi,
The Tomcat webserver 6.0.20 we are using has run out of memory.
Got the following message in the Catalina.out file:
less /opt/jakarta/tomcat/logs/catalina.out
...
java.lang.OutOfMemoryError: Java heap space
at java.util.Properties$LineReader.init(Properties.java:389)
at
On 21/05/2010 11:57, kent.anders...@tieto.com wrote:
Hi,
The Tomcat webserver 6.0.20 we are using has run out of memory.
Got the following message in the Catalina.out file:
less /opt/jakarta/tomcat/logs/catalina.out
...
java.lang.OutOfMemoryError: Java heap space
at
Pid wrote:
...
jmap -heap pid
Mmmm. Is the above the /real/ explanation of your so-called crystal
ball ? I've always been quite sceptical about it. But now we know the
trick. People, have you noticed ? He does that every time. That's how
he knows all that stuff.
On Fri, May 21, 2010 at 9:33 AM, ever...@free.fr wrote:
Hi all,
I work on JavaMelody and I can speak about the question of jconsole or
javamelody for Tomcat monitoring.
The main differences between jconsole and javamelody is IMHO that jconsole
will
be used occasionally in QA or
Hi,
We are running Jakarta Tomcat Servlet/JSP Engine 6.0.20 on Solaris 2.10.
We have -Xmx128M, is that to small?
Best Regards
/Kent
-Original Message-
From: Pid [mailto:p...@pidster.com]
Sent: den 21 maj 2010 13:20
To: Tomcat Users List
Subject: Re: Tomcat 6.0.20 is running out of
On 21/05/2010 12:57, kent.anders...@tieto.com wrote:
Hi,
We are running Jakarta Tomcat Servlet/JSP Engine 6.0.20 on Solaris 2.10.
We have -Xmx128M, is that to small?
Maybe. :)
What did the jmap -heap command produce?
p
Best Regards
/Kent
-Original Message-
From: Pid
On 21/05/2010 12:37, André Warnier wrote:
Pid wrote:
...
jmap -heap pid
Mmmm. Is the above the /real/ explanation of your so-called crystal
ball ? I've always been quite sceptical about it. But now we know the
trick. People, have you noticed ? He does that every time. That's how
he
Hi,
This is what jmap -heap pid gives:
using thread-local object allocation.
Mark Sweep Compact GC
Heap Configuration:
MinHeapFreeRatio = 40
MaxHeapFreeRatio = 70
MaxHeapSize = 134217728 (128.0MB)
NewSize = 2228224 (2.125MB)
MaxNewSize = 4294901760
Pid wrote:
On 21/05/2010 12:57, kent.anders...@tieto.com wrote:
Hi,
We are running Jakarta Tomcat Servlet/JSP Engine 6.0.20
on Solaris 2.10.
That may have been a 16-bit version.
We have -Xmx128M, is that to small?
in which case this would be no mean feat.
Ive got the same problem - did anyone figure out what is happening and why
tomcat is caching files behind symlinks?
Epithemeus wrote:
Thanks Mark.
I went through the documentation but the problem persists. I am using
Tomcat 6.0 and have tried including cachingAllowed=false in
On 21/05/2010 13:25, kent.anders...@tieto.com wrote:
Hi,
This is what jmap -heap pid gives:
using thread-local object allocation.
Mark Sweep Compact GC
Heap Configuration:
MinHeapFreeRatio = 40
MaxHeapFreeRatio = 70
MaxHeapSize = 134217728 (128.0MB)
NewSize
On 21/05/2010 15:22, haveaguess wrote:
Ive got the same problem - did anyone figure out what is happening and why
tomcat is caching files behind symlinks?
This thread is 9 months old.
You might consider starting a new thread, be specific about your
versions platform.
p
Epithemeus
Hi,
I have a few quesations i want to ask about jessionid in tomcat.
1. In our web based application which runs on HTTPS, we have observed that
the jsessionid is being appended to the URL. On close examination, we have
observed that this is being added by tomcat to the url (Handled by the
Hi,
I have a few quesations i want to ask about jessionid in tomcat.
1. In our web based application which runs on HTTPS, we have observed that
the jsessionid is being appended to the URL. On close examination, we have
observed that this is being added by tomcat to the url (Handled by the
Richard, there are two ways of maitaining sessions:
1) Using cookies (generally Tomcat's preferred way);
2) Using URL rewriting (generally Tomcat's less preferred way, used where a
client has turned off cookies).
There are no other ways of sending session IDs that are supported by all Web
From: Richard Nduka [mailto:richies4...@gmail.com]
Subject: jsessionid problem
I have a few quesations i want to ask about jessionid in tomcat.
Thanks for asking twice - two minutes apart. A tad impatient, are we?
Also too impatient to mention the Tomcat version, JVM you're using, platform
On 21 May 2010 16:16, Caldarale, Charles R chuck.caldar...@unisys.comwrote:
From: Richard Nduka [mailto:richies4...@gmail.com]
Subject: jsessionid problem
I have a few quesations i want to ask about jessionid in tomcat.
Thanks for asking twice - two minutes apart. A tad impatient, are
Hi Chuck/Peter,
Thanks guys for your mail.
First of all, we are not fronting tomcat with any other web server or
application server apart from the proxy server (Squid) that seats in front
of tomcat.
Secondly, we have not disabled cookies. In our context, we have cookies set
to true and cookie
From: Richard Nduka [mailto:richies4...@gmail.com]
Subject: Re: jsessionid problem
First of all, we are not fronting tomcat with any other web server or
application server apart from the proxy server (Squid) that seats in
front of tomcat.
Are you using clustering?
Secondly, we have not
Thanks again for your reply.
1. We are not using clustering.
2. I have checked in the locations mentioned and more and cannot see
anywhere that cookies is disabled.
3. However what surprises me is the fact that if i change the port to use
HTTP (8080) then no jsessionid is appended in the URL
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Dale,
On 5/20/2010 6:40 PM, André Warnier wrote:
Dale Ogilvie wrote:
...
A free gift can vary greatly in it's final value, depending on it's
actual usefulness and how many hidden costs it brings with it.
I think that now you are *really*
It is a direct request. Typically, it happens for the first time when a user
enters the application url in a browser and the login page appears with the
jsessionid appended in the url.
Thanks.
On Fri, May 21, 2010 at 5:05 PM, Pid p...@pidster.com wrote:
On 21/05/2010 16:59, Caldarale, Charles
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Ðavîd,
On 5/20/2010 10:08 PM, Ðavîd Låndïs wrote:
OK I'll investigate a little more at work tomorrow. I'm hoping the
issue isn't that Tomcat is swallowing the exceptions somewhere.
Tomcat is very unlikely to swallow such exceptions.
On 21/05/2010 17:09, Richard Nduka wrote:
It is a direct request. Typically, it happens for the first time when a user
enters the application url in a browser and the login page appears with the
jsessionid appended in the url.
That is expected. Tomcat doesn't know if the browser supports
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
André,
On 5/20/2010 5:16 PM, André Warnier wrote:
Christopher Schultz wrote:
...
I wonder if a patch could be written for the DefaultServlet to do
something like this: if compression has been enabled on the Connector,
the request is for file
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Richard,
On 5/21/2010 11:45 AM, Richard Nduka wrote:
Secondly, we have not disabled cookies. In our context, we have cookies set
to true and cookie is enabled in the browser. For some reason, tomcat still
re-writes the URL and includes the
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Richard,
On 5/21/2010 12:07 PM, Richard Nduka wrote:
Thanks again for your reply.
1. We are not using clustering.
2. I have checked in the locations mentioned and more and cannot see
anywhere that cookies is disabled.
3. However what
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Kent,
On 5/21/2010 6:57 AM, kent.anders...@tieto.com wrote:
java.lang.OutOfMemoryError: Java heap space
[...]
at java.util.ResourceBundle.getBundle(ResourceBundle.java:715)
at
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Kent,
On 5/21/2010 8:25 AM, kent.anders...@tieto.com wrote:
Heap Configuration:
MinHeapFreeRatio = 40
MaxHeapFreeRatio = 70
MaxHeapSize = 134217728 (128.0MB)
NewSize = 2228224 (2.125MB)
MaxNewSize = 4294901760
From: Christopher Schultz [mailto:ch...@christopherschultz.net]
Subject: Re: Tomcat 6.0.20 is running out of memory
MaxHeap=128MiB and MaxNewSize=4GiB? That doesn't look right
to me.
It's fine. Newer JVMs automatically set MaxNewSize to a nearly infinite value.
(In other words, it's not
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
André,
On 5/21/2010 8:27 AM, André Warnier wrote:
Pid wrote:
On 21/05/2010 12:57, kent.anders...@tieto.com wrote:
Hi,
We are running Jakarta Tomcat Servlet/JSP Engine 6.0.20
on Solaris 2.10.
That may have been a 16-bit version.
Heh. I
Hi Chris,
Thanks for this suggestion. Just to be sure I'm understanding correctly,
the procedure would be
1. Add an error-page element to my xml doc that will be visited whenever an
exception is generated from my JSP or servlet.
2. Configure valve to output a stack trace and the original
Hi Chris,
Thanks for your mail. Actually we were analysing our proxy server logs and
saw that a lot of URLs with jsessionid appended were being cached and this
even includes static files. We saw request for static files like images and
.js files being appended with jsessionid. So i think it
Hi gurus,
my problem here is that i'm trying to understnad a servlet code that makes
tomcat to send the
Set-Cookie: JSESSIONID=8BCB60D6F6B9394B4ABD2FDD007BDB39; Path=/store
header.
Now the code is something like:
public class FrontController extends HttpServlet {
public void init()
Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Dale,
On 5/20/2010 6:40 PM, André Warnier wrote:
Dale Ogilvie wrote:
...
A free gift can vary greatly in it's final value, depending on it's
actual usefulness and how many hidden costs it brings with it.
I think
Thanks for the reply Charles.
It's a CentOS 5.4 system with Sun JDK 1.5 and tomcat-5.5.28 version. Tomcat
was not installed using CentOS package manager, but it is a core binary
package downloaded from tomcat project site.
I downloaded a fresh copy of tomcat package and took a diff of it against
From: André Warnier [mailto:a...@ice-sa.com]
Subject: Re: set-cookie
// Store products in the ServletContext
getServletContext().setAttribute(products, products);
Presumably, if you store something in the context, it is because you
want to retrieve it later (or else, what's
From: banto [mailto:banto...@gmail.com]
Subject: set-cookie
Now the code is something like:
public class FrontController extends HttpServlet {
public void init() throws ServletException {
HashMap products = new HashMap();
Product p = new Product(1,
From: Johan Martinez [mailto:jmart...@gmail.com]
Subject: Re: newbie logging question: JULI or log4j or both?
Tomcat was not installed using CentOS package manager, but it
is a core binary package downloaded from tomcat project site.
Good; that means we don't have to guess what any
Thanks for following up Charles.
I have one more question about catalina.* logs.
I made some changes in my webapps config (snippet below) and I got logs in
catalina.out as well as in a file specified by FileAppender. The problem
seems to be because of my wrong config where I used CONSOLE
43 matches
Mail list logo