When starting up Tomcat, I would like to do a System.exit() if an exception
of any kind is thrown. Is there a way to configure this? We are using a
large number of frameworks (Spring, Hibernate, log4j) and I want the
developers to pay attention right away if there is something wrong and to
get
I agree that many have experienced the jsessionid on URLs accessed by bots,
perhaps it happens in a Struts environment or some other environment.
In certain set-ups (only JSPs, no servlets, no MVC - session is removed and
created freshly on each JSP page) the jsessionid doesn't appear on URLs
a
> From: Christopher Schultz [mailto:[EMAIL PROTECTED]
> Subject: Re: OutOfMemoryError (but not really out of memory?)
> cause tomcatprocessesto hang
>
> The collector itself requires the creation of Java objects on
> the heap.
Not really. The generational HotSpot collector does reserve a port
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chuck,
Caldarale, Charles R wrote:
>> In fact, this is often when OOMs occur, since the JVM is trying
>> hard to avoid the OOM in the first place.
>
> Uhhh - no. The JVM will not return an OOME until the GC is completely
> finished and the request s
> From: Sharon French [mailto:[EMAIL PROTECTED]
> Subject: RE: OutOfMemoryError (but not really out of memory?)
> cause tomcatprocesses to hang
>
> Nope - no stack trace :(.
> http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4753347
> seems to indicate that this was missed in the 1.5.0 rele
> You should have stack traces to go with the OOME reports; where do these
show the execution to be?
Nope - no stack trace :(.
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4753347 seems to indicate
that this was missed in the 1.5.0 release and came in with 1.5.1.
> It should be in 1.5; 1
We've seen errors where individual queries are improperly bounded or
unbounded allowing requests to attempt to retrieve unreasonable amounts of
data. A single request like this can take an otherwise stable system and
throw it into all sorts of bad behaviors and error conditions.
To assist with t
> From: Sharon French [mailto:[EMAIL PROTECTED]
> Subject: RE: OutOfMemoryError (but not really out of memory?)
> cause tomcatprocesses to hang
>
> I'm assuming that whomever was sucking up the memory has
> either given it back or died off - right?
Not necessarily. The OOME could have been pre
> I assume the Xms value is set to the same value as Xmx?
> If not, at least earlier jdks tendered to through outofmemory
> during heap resize.
I will give this a shot. Thanks.
> The changes in Xmx values, did they had any impact on the duration
> of the servers "good state" under load?
Nope
> Uhhh - no. The JVM will not return an OOME until the GC
> is completely finished and the request still cannot be
> satisfied. Even with concurrent GC, failing allocation
> requests are suspended until a full GC has completed.
> The exception to the above is if a request is made that
> co
> From: Christopher Schultz [mailto:[EMAIL PROTECTED]
> Subject: Re: OutOfMemoryError (but not really out of memory?)
> cause tomcatprocesses to hang
>
> Sharon French wrote:
> > Is it possible that the initial OutOfMemory error occurs
> > when a large garbage collection is taking place and an
Hello Sharon,
just some thoughts
On 2/7/07, Sharon French <[EMAIL PROTECTED]> wrote:
---
Version Information:
---
Red Hat Linux: 2.4.
> You have quite a bit of memory in your 'Old Generation'. You need to
determine
> what you're allocating that isn't being released.
We have a fairly substantial amount of data that is loaded on startup and
remains for the duration. This probably accounts for part of the old-gen
usage.
I also
Sharon,
You have quite a bit of memory in your 'Old Generation'. You need to
determine what you're allocating that isn't being released.
How many sessions do you have active when the problem occurs? What is your
session timeout?
What are you putting into your sessions (how much is held by each
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Sharon,
Sharon French wrote:
> Is it possible that the initial OutOfMemory error occurs when a large
> garbage collection is taking place and an OutOfMemoryError is thrown
> before the memory can be reclaimed
Yes. In fact, this is often when OOMs occ
---
Version Information:
---
Red Hat Linux: 2.4.21-4.ELsmp #1 SMP i686 i686 i386 GNU/Linux
Apache: 2.0.54
mod_jk:
Hi Huges,
The standard Tomcat 5.5 policy file includes:
grant codeBase "file:${catalina.home}/common/-" {
permission java.security.AllPermission;
};
which grants permission to the common/endorsed jars.
It is possible for code to programmatically grant itself some
extra permissions, such
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Krishna,
Krishna Paparaju wrote:
> Where I can find list of all the installed modules for an Apache
> installation? Appreciate your help.
Note that this a mailing list for Apache Tomcat (Java application
server) and not Apache httpd (web server).
Yo
Hi,
Where I can find list of all the installed modules for an Apache
installation? Appreciate your help.
Thanks
Krishna
Hi Larry,
Thank you very much!
That was it. I'm not sure I understand well what the context of a
checkPermission is made of... hum... Is it that it uses the context from the
web apps to "checkPermission"...? But then why is checkPermission for my jar in
common/endorsed succeed for "getClassL
Has anyone gotten a custom ELResolver to work in Tomcat 6.0.x using the
existing ELResolver stack? In other words, not entering it into the
faces-config.xml, but adding it through the JspApplicationContext.
--
View this message in context:
http://www.nabble.com/Tomcat-6.0.x-Custom-ELResolver-tf
It is likely that some other class in your webapp is on the
stack when the permission check occurs and it causing the
check to fail. You could try ".../WEB-INF/-" to expand
the grant to the entire webapp and see what happens.
To diagnose this kind of exception, you can add the following
system pr
Hi
We're using connection pooling in tomcat 5.0.28. Everything works fine.
But if we stop the application in the manager console, the connections
stay open to the database, and so the corresponding datasource?! Ist
this to be expected?
Even more surprising is the fact that if we restart the web a
> I am running Tomcat 5.5.2 as a stand-alone server with 14 separate
> services. This is done to run 14 different sites but share 7 ssl
> certs. The problem I am having is when I run my script to bounce the
> tomcat server only the first 3 or 4 services get restarted. Does
> anyone happen to hav
Many thanks!
On 29/01/07, Bill Au <[EMAIL PROTECTED]> wrote:
If you are spawning threads from your servlet, make sure that they are
cleaned up when
the servlet is destroyed. Otherwise, you will have a thread leak. I have
ran into this problem
when the webapp is reloaded without restarting the
Hi,
For some audit requirements in my web application, I would to know for each
incoming HTTP/HTTPS request the time the HTTP and the HTTPS connectors
process them.
The requirement is to measure the processing time of each request and to store
them into a file with for each request an ID that u
Rashmi Rubdi wrote:
Google Analytics is Javascript based, it won't show bot activity.
I concur.
Further, if you've configured a new style xml sitemap with say hourly
update instructions then bots will be crawling all over your site with
much greater regularity.
Analytics & the javascript t
27 matches
Mail list logo