Hello,
you should switch on GC logs and check whether the delays happen at
the Full GC Time.
You should also start with Xms = Xmx - both 6144 (why exactly 6144? :-) ).
-verbose:gc
-XX:+PrintGCTimeStamps
-XX:+PrintGCDetails
regards
Leon
On Tue, Dec 22, 2009 at 6:48 AM, DOrlov dor...@redaril.com
On Tue, Dec 22, 2009 at 9:10 AM, DOrlov dor...@redaril.com wrote:
Leon Rosenberg-3 wrote:
Hello,
you should switch on GC logs and check whether the delays happen at
the Full GC Time.
You should also start with Xms = Xmx - both 6144 (why exactly 6144? :-)
).
-verbose:gc
-XX
On Tue, Dec 15, 2009 at 11:01 PM, Caldarale, Charles R
chuck.caldar...@unisys.com wrote:
From: André Warnier [mailto:a...@ice-sa.com]
Subject: Re: [OT - question] Limit user sessions in tomcat
It would seem that there ought to be some low-level response-direction
socket flag that should be
You clearly need to teach A to handle unavailability of B. :-)
regards
Leon
On Thu, Dec 10, 2009 at 5:14 PM, Scot Hatt sh...@radiantblue.com wrote:
That is valid point but in my case I have no control over A.
So I was hoping this was a commonly seen issue but I guess not so I will
expand.
everything below is just my knowledge :-)
comments inlined
On Tue, Dec 1, 2009 at 2:01 PM, jkv j.kumara...@gmail.com wrote:
Hello,
Is using singleton patterns in Tomcat (in servlets programming and deploying
them in tomcat) a really bad idea?? I came accross many forum posts and
wikis that
On Tue, Nov 24, 2009 at 11:56 AM, TheGrailer ken...@gmail.com wrote:
And my Tomcat alone-friend thought I should go Varnish if I was to load
balance with 2 Tomcats or something like that, but that's a different story.
Not Apache2 anyway.
So one of your friends suggests httpd for static
On 23.11.2009, at 11:08, Looijmans, Mike mike.looijm...@oce.com
wrote:
Hello,
After hours of googling and browsing documentation, i came to the
conclusion that what i want is either so trivial that everybody
knows how to do it, or so complicated that no one ever tried it...
I want
How would you do it in a non-servlet environment?
Exactly the same works here too.
regards
Leon
On Tue, Nov 17, 2009 at 4:43 PM, David Balažic xerc...@gmail.com wrote:
Hi!
Does tomcat offer any mechanism for locking servlet executions?
So if one servlet does:
- get 10 EUR from account 1
On Mon, Nov 16, 2009 at 9:26 AM, Rainer Frey rainer.f...@inxmail.de wrote:
Hi,
I'm preparing a sample webapp for this list to illustrate a problem that I
have with JDBC driver loading in a servlet. Anyone who'd try this would need
to edit the jdbc connection data to test with a local DB. What
Hello Martin,
i think you are mixing up topics :-)
any advantages for returning JSON over plain text?
JSON is not as bloated as xml, but more flexible as property files,
has a validateable syntax and a set of standart parsers to use.
regards
Leon
On Sat, Oct 31, 2009 at 10:59 AM, André Warnier a...@ice-sa.com wrote:
Leon Rosenberg wrote:
They are saying: In the time java developers picks the gun, the php
developer runs away with the prey. And the c developer seems to be
thinking about best fitting boots.
The perl developer
On Fri, Oct 30, 2009 at 4:56 PM, Christopher Schultz
ch...@christopherschultz.net wrote:
Java is for big boys only, isn't it?
I've heard that recent (even several years old, now) versions of Java
VMs can match the speed of compiled C++ for many non-trivial uses.
But, can the Java compiler use
On Sun, Oct 4, 2009 at 1:00 AM, Eric B. ebe...@hotmail.com wrote:
Caldarale, Charles R chuck.caldar...@unisys.com wrote in message
news:99c8b2929b39c24493377ac7a121e21f84054c1...@usea-exch8.na.uis.unisys.com...
From: Rasmus Larsen [mailto:kolibria...@gmail.com]
Subject: Loading Jar files in a
On Sun, Oct 4, 2009 at 1:02 PM, Rasmus Larsen kolibria...@gmail.com wrote:
2009/10/4 Leon Rosenberg rosenberg.l...@googlemail.com:
On Sun, Oct 4, 2009 at 1:00 AM, Eric B. ebe...@hotmail.com wrote:
Caldarale, Charles R chuck.caldar...@unisys.com wrote in message
Back to the original post,
why
On Sun, Oct 4, 2009 at 4:23 PM, Caldarale, Charles R
chuck.caldar...@unisys.com wrote:
From: Leon Rosenberg [mailto:rosenberg.l...@googlemail.com]
Subject: Re: Loading Jar files in a particular order on Tomcat 6
No, you can just overwrite setclasspath.sh and put the 'first' jar
into the first
hello,
take the simpliest example from a java book.
this is one:
public class BasicTCPServer extends AbstractServer implements Runnable{
/**
* The port to listen on.
*/
private int port;
/**
* The listening socket.
*/
private
what you need is a performance monitoring tool :-)
like this one:
http://moskito.anotheria.net/moskitodemo/mui/mskShowAllProducers
here how to install:
http://infra.anotheria.net/confluence/display/MSK/HowTo+Embed+Moskito+WebUI+In+Your+Application
regards
Leon
P.S. and it measures in
On Tue, Sep 22, 2009 at 1:41 PM, Excelsior Java Team
j...@excelsior-usa.com wrote:
Please help us beta test Apache Tomcat support in the forthcoming Excelsior
JET 7.0 release.
Excelsior JET is a compliant Java SE 6 implementation (JVM) with an
ahead-of-time native code compiler. Version 7.0
On Tue, Sep 22, 2009 at 4:12 PM, André Warnier a...@ice-sa.com wrote:
Leon Rosenberg wrote:
...
As for preventing decompilation, how many people/companies are
actually delivering a war which they need to protect from decompiling?
How many people would install such a product, one they can't
9, 2009 at 9:07 PM, Caldarale, Charles R
chuck.caldar...@unisys.com wrote:
From: Leon Rosenberg [mailto:rosenberg.l...@googlemail.com]
Subject: bypassing a servlet mapping to /*
/net/java/dev/moskito/webui/jsp/Producers.jsp
now the request is processed by the servlet engine and is grabed
On Thu, Sep 10, 2009 at 2:56 PM, Caldarale, Charles R
chuck.caldar...@unisys.com wrote:
From: Leon Rosenberg [mailto:rosenberg.l...@googlemail.com]
Subject: Re: bypassing a servlet mapping to /*
But If I add only the path:
servlet-mapping
servlet-namejsp/servlet-name
url-pattern/net
Hi,
I have an ugly situation. I have to inject some code of mine into an
existing spring mvc webapp. The code is a filter which reacts on some
urls and forwards to a jsp for presentation. The application has a
spring dispatcher servlet foo which is mapped to /*.
My problem is following:
my
Hello,
This indeed sounds like you have problems with one of the spaces,
please add following option to the JAVA_OPTS (or whatever you are
using) to seubmit jvm parameters:
-XX:+PrintGCDetails
And, no tomcat's initial heap size don't default to 64Mb. The JVM
allocateds a heap dependent on your
Hello,
You may want to take a completely different approach.
1) If your session is lightweight (no really heavy objects) you could
store everything in cookies and go completely session and stateless.
This would solve most of the problems.
2) If 1. isn't applicable - persist the session to a
just a quick shot. Have you run your tomcat as root and what is your
kernel version?
If you don't run your tomcat as root and have a more or less uptodate
kernel without local root exploits, its highly unprobable that
you got hacked via tomcat.
Do you have anything that proves it anyway? :-)
the system actually gave you the answer:
Invalid maximum heap size: -Xmx=100m
Could not create the Java virtual machine.
If you are going to give the PermSpace 350M, you must have a lot of
memory, so giving half gb for heap won't heart:
JAVA_OPTS=$JAVA_OPTS -Xmx=512m -XX:MaxPermSize=350m
Hello Benjamin,
This sounds like an infinite loop - a bug in your application. This can happen
if you don't use synchronization properly, for example write and read
to/from Hashmap without synchronization from 2 parallel threads.
When you detect this behaviour again, create a full thread dump by
applications, that are shared among multiple applications, you'll
encounter it which each tomcat version.
However tomcat 5.0.28 indeed had a bug:
https://issues.apache.org/bugzilla/show_bug.cgi?id=36541
regards
Leon
Regards,
Benjamin
-Original Message-
From: Leon Rosenberg
So, it was a hoax? :-)
Leon
On Wed, Jul 22, 2009 at 3:30 PM, Konstantin
Kolinkoknst.koli...@gmail.com wrote:
2009/7/22 Rémy Maucherat remy.mauche...@gmail.com:
On Wed, Jul 22, 2009 at 2:37 PM, Mark Thomasma...@apache.org wrote:
You'll need to provide more details. Nothing stands out from the
On Wed, Jul 22, 2009 at 6:15 PM, El Tonnoel.to...@m-plify.net wrote:
Tomcat monitoring for the Poor Man...
Here's my approach:
The Tomcat application generates counter/gauge information about the JVM
state as well about business values, possibly using a separate thread.
These are written
Also I'm not sure whether you may want to do it, but configureme
(https://configureme.dev.java.net) allows you to configure 200
instances of your app in one war file). You specify configurations for
specific environments (and, most notably, configuraiton deltas), and
set the environment in the
Hi,
I understand that its utterly off-topic, but i just can't find
anything on the topic, is anybody using rmi anyway?
Here's the problem, I have two server machines A and B. On each
machine some RMIServices are running.
Lets say that A1 and A2 are running on A and B1 and B2 on B.
Now A1 and A2
Most likely an 'M' at the end of the number (-Xmx2048M) or your 32bit
OS or 32 bit java?
regards
Leon
On Thu, Jun 25, 2009 at 8:17 AM, Habib Rahmanha...@altechindia.com wrote:
Hi all,
Im trying to increase the Heap Size in Tomcat using CATALINA_OPTS = -Xms512
-Xmx1024 in catalina.bat file ,
is 32 bit OS .
-Original Message-
From: Leon Rosenberg [mailto:rosenberg.l...@googlemail.com]
Sent: Thursday, June 25, 2009 11:47 AM
To: Tomcat Users List
Subject: Re: Regarding Java Heap Size
Most likely an 'M' at the end of the number (-Xmx2048M) or your 32bit OS or
32 bit java
The latest version of tomcat is 6.0.20 and its about one month old.
http://tomcat.apache.org/download-60.cgi#6.0.20
enjoy :-)
Leon
On Wed, Jun 24, 2009 at 10:06 AM, Niki Diulgerovndiulge...@imx.fr wrote:
Hello there,
recently I'm reading in the security news channels that there are
Administrator
E-mail: ndiulge...@imx.fr
Telephone : +33 4 89 87 77 77
Fax : +33 4 89 87 77 00
Web: http://www.codix-france.com
Leon Rosenberg wrote:
The latest version of tomcat is 6.0.20 and its about one month old.
http://tomcat.apache.org/download-60.cgi#6.0.20
enjoy :-)
Leon
On Wed
A bit of advice...
Its much less risky and complicated to take the last 6.0.x version,
namely 6.0.20, instead of building what will become
your unique personal tomcat version r-something.
If your car is broken, do you buy a new one from a vendor, or do you
buy a do it yourself manual and
On Mon, Jun 15, 2009 at 4:39 PM, Caldarale, Charles
Rchuck.caldar...@unisys.com wrote:
From: Sid Sidney [mailto:pvcsv...@yahoo.com]
Subject: Re: using static helper classes within servlets
On a modern JVM, the synchronized block around the retrieval of the reference
will not cost much.
Hello,
On Sun, Jun 14, 2009 at 7:01 PM, Jonathan
Mastjhmast.develo...@gmail.com wrote:
I've not done anything with EJBs and I'm not sure what exactly you mean by
static properties. I have however dealt with reducing instantiations in
servlets. I simply created a BeanBag class with static
actually no. 1.5 added many language features. 1.6 added
administration and management features (and override annotation for
interfaces).
The jump 1.4.2 - 1.5 will be exactly the same as 1.4.2 - 1.6.
Btw, to reply to your initial post, the memory management is really
really really better in 1.5
On Sat, Jun 6, 2009 at 4:19 AM, Chetan Chhedachetan_chh...@yahoo.com wrote:
All,
What are you using for production monitoring and alerting for JVM apache
based applications? I am referring to proactively monitoring and alerting of
apache utilization(workers, requests etc), tomcat
On Mon, Jun 1, 2009 at 1:37 PM, Robert Koberg r...@koberg.com wrote:
On Jun 1, 2009, at 7:12 AM, Tim Funk wrote:
The key is making sure you have the ability to log how long differnt
things take. (And the ability to turn them on or off) Otherwise you are
flying blind.
I think you can
On Mon, Jun 1, 2009 at 2:12 PM, Robert Koberg r...@koberg.com wrote:
No. It is not in the chain, well, not in the runtime chain/pipeline. It is
generated before you even put it on the live server.
-Rob
I am not judging your solution, just saying that there are not general
rules except for
On Tue, May 12, 2009 at 6:27 AM, Caldarale, Charles R
chuck.caldar...@unisys.com wrote:
From: David Kerber [mailto:dcker...@verizon.net]
Subject: Re: Performance with many small requests
Incrementing a counter can't be much of a synchronization bottleneck,
and if I switch to an AtomicInteger,
On Fri, May 1, 2009 at 6:01 PM, Christopher Schultz
ch...@christopherschultz.net wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Amusingly enough, the way Tomcat serves static content as quickly as
httpd does is by... using the same code used by httpd.
no. unless you assume that http
On Fri, May 1, 2009 at 6:25 PM, Pid p...@pidster.com wrote:
Leon Rosenberg wrote:
On Fri, May 1, 2009 at 6:01 PM, Christopher Schultz
ch...@christopherschultz.net wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Amusingly enough, the way Tomcat serves static content as quickly
On Thu, Apr 30, 2009 at 9:58 PM, Christopher Schultz
ch...@christopherschultz.net wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Leon,
On 4/27/2009 1:59 PM, Leon Rosenberg wrote:
On Mon, Apr 27, 2009 at 6:46 PM, Robin Wilson rwil...@kingsisle.com wrote:
The apache servers can sit
Hello,
we are at the moment migrating to new configuration framework
(http://configureme.dev.java.net) which is working with plain json
files reading them from classpath.
We don't want the configuration files to be part of application
anymore. Instead we want them to be located under
On Mon, Apr 27, 2009 at 10:59 AM, Caldarale, Charles R
chuck.caldar...@unisys.com wrote:
From: Leon Rosenberg [mailto:rosenberg.l...@googlemail.com]
Subject: adding files to classpath
Is there any other possibility to add something to the classpath
without screwing up my tomcat installation
On Mon, Apr 27, 2009 at 11:19 AM, Leon Rosenberg
rosenberg.l...@googlemail.com wrote:
On Mon, Apr 27, 2009 at 10:59 AM, Caldarale, Charles R
This is one of those rare instances where you actually could extend the
Tomcat classpath with a reference to your config directory, as long as you
I'm sorry, I can't shut up my mouth on this, but you are telling myths :-)
On Mon, Apr 27, 2009 at 6:46 PM, Robin Wilson rwil...@kingsisle.com wrote:
I can't answer for others - but one of the big values in a 'production'
environment is to separate concerns. The apache servers can sit in a
On Mon, Apr 27, 2009 at 9:21 PM, André Warnier a...@ice-sa.com wrote:
Leon Rosenberg wrote:
I'm sorry, I can't shut up my mouth on this, but you are telling myths :-)
And anyway, you just all forget this Java nonsense, and use Perl, as Real
Programmers do.
That's just kidding of course
On Mon, Apr 27, 2009 at 11:06 PM, Caldarale, Charles R
chuck.caldar...@unisys.com wrote:
From: Leon Rosenberg [mailto:rosenberg.l...@googlemail.com]
Subject: Re: adding files to classpath
Why should I restart tomcat to change the config in this case?
If you're using
--
Robin D. Wilson
Director of Web Development
KingsIsle Entertainment, Inc.
WORK: 512-623-5913
CELL: 512-426-3929
www.KingsIsle.com
-Original Message-
From: Leon Rosenberg [mailto:rosenberg.l...@googlemail.com]
Sent: Monday, April 27, 2009 3:41 PM
To: Tomcat Users List; a...@ice-sa.com
I hope you guys plan to visit munich or any other germany city soon :-)
Leon
On Sat, Apr 25, 2009 at 11:01 PM, Mark Thomas ma...@apache.org wrote:
Caldarale, Charles R wrote:
From: Mark Thomas [mailto:ma...@apache.org]
Subject: Re: Tomcat users meetup in London
So, how does the Thursday or
On Mon, Apr 20, 2009 at 10:17 AM, Liraz Siri li...@turnkeylinux.org wrote:
Christopher Schultz wrote:
If your goal was a minimal set of components, why did you choose to
include Apache httpd + mod_jk, neither of which are required to run Tomcat.
You're right Chris, you don't _need_ Apache,
On Mon, Apr 20, 2009 at 9:29 AM, Paolo Gambetti
gambetti.pa...@gmail.com wrote:
I have this problem. If in my web application running in Tomcat there is a
java thread running when i stop Tomcat with shutdown.bat or shutdown.sh
tomcat process doesn't end and i have to kill it manually. How can i
2009/4/20 Markus Schönhaber tomcat-us...@list-post.mks-mail.de:
Leon Rosenberg:
tomcat standalone performs better in most setups (yes, yes sendfile
myth is there too, but the performance measurements shows that tomcats
plain old java connector performs better)
Which performance measurements
On Sun, Mar 22, 2009 at 11:18 AM, Gregor Schneider
rc4...@googlemail.com wrote:
Martin,
On Sat, Mar 21, 2009 at 9:50 PM, Martin Gainty mgai...@hotmail.com wrote:
test driven means if I create a component as a developer I need to install a
JUnit testcase that will test the requisite function
On Sat, Mar 21, 2009 at 12:02 PM, André Warnier a...@ice-sa.com wrote:
Peter Crowther wrote:
[...]
I'm also particularly amused by the topmost set of bars in figure 2, given
how proud the perl-ites are of their RE library and performance ;-).
You didn't expect for a minute that this would
not that i'm interested, but do you actually find people who have
expertise in text search engines such
as Lucene or FAST who have customized these systems and deployed them on
a large-scale. Also preferred are candidates with experience in
applying NLP and Machine Learning to solving
On Wed, Mar 11, 2009 at 1:56 AM, Caldarale, Charles R
chuck.caldar...@unisys.com wrote:
It's impossible to prevent at least some objects from eventually migrating to
the OldGen, since anything that persists long enough will end up there after
some number of minor GCs.
But by choosing a
On Tue, Mar 10, 2009 at 3:41 PM, Christopher Schultz
ch...@christopherschultz.net wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Taylan,
On 3/5/2009 5:11 AM, Taylan Develioglu wrote:
I always hold this as a ground rule:
Increase heapsize as much as possible as long as:
My rule has
what a glorious example of self cozenage.
Why do you assume that tomcat works is not included in the tomcat
problems result?
+tomcat +problems -works - 1,830,000 results.
+tomcat -problems +works - 227,000
227/(227+1830) - 11% Reliability ... :-)
of course this statement is as un-serious as
just a question, if you are behind a loadbalancer, why wouldn't your
just run it as non-root user on a non-privelleged port without jsvc?
regards
Leon
On Thu, Feb 26, 2009 at 3:31 AM, B.V. Prasad hi...@yahoo.com wrote:
I am running Tomcat 6 on a group of Linux servers behind a loadbalancer.
On Thu, Jan 29, 2009 at 9:34 PM, Christopher Schultz
ch...@christopherschultz.net wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
All,
I often hear folks on the list mentioning that since the APR library is
the same as that which runs under Apache httpd, the performance of the
two
On Wed, Jan 28, 2009 at 10:42 AM, Pieter Temmerman
ptemmerman@sadiel.es wrote:
Have you found any java.lang.Thread.State: RUNNABLE threads? They are
usually more interesting if it comes to a high cpu :-)
These are the RUNNABLE threads on Tomcat 6:
RMI TCP Connection(42)-173.x.x.x -
How best can I find the troubled thread on a running production system?
kill -QUIT id_of_the_tomcat_process
the thread dump will be printed into the catalina.out
Its best to restart the server after the thread dump, but since it's
handing anyway...
also include the heap info: jmap -heap pid
I omit the whole quoting to save traffic for clarity.
Do I understand you correctly, that after you killed the first tomcat
(in my understanding the one which fires soap requests, tomcat 5) than
all the RUNNABLE threads in the second tomcat (the one that answers
soap, tomcat 6 with xfire) went
Have you found any java.lang.Thread.State: RUNNABLE threads? They are
usually more interesting if it comes to a high cpu :-)
Also, as David posted, what is the HEAP usage? it's usually at the end
of the dump.
regards
Leon
On Mon, Jan 26, 2009 at 5:37 PM, Pieter Temmerman
On Fri, Jan 23, 2009 at 11:45 AM, Chris Wareham
cware...@visitlondon.com wrote:
By it's very definition (see Codd or Date), an RDBMS should be capable
of performing joins with good performance. MySQL often struggles to do
so thanks to the poor optimiser, so you had to implement what should be
On Fri, Jan 23, 2009 at 12:36 PM, Chris Wareham
cware...@visitlondon.com wrote:
Leon Rosenberg wrote:
On Fri, Jan 23, 2009 at 11:45 AM, Chris Wareham
cware...@visitlondon.com wrote:
By it's very definition (see Codd or Date), an RDBMS should be capable
of performing joins with good
On Fri, Jan 23, 2009 at 12:59 PM, Chris Wareham
cware...@visitlondon.com wrote:
Reread my last message, and take a look at the internals of any half
decent RDBMS. Frequently accessed data will get cached in memory, and
the cost of many joins will be less than the cost of a hash table lookup
well,
monitoring tomcat itself:
lambdaprobe
java-monitor
monitoring the webapp in tomcat
moskito
jamon
regards
Leon
On Wed, Jan 21, 2009 at 5:02 AM, Zaki Akhmad zakiakh...@gmail.com wrote:
Hello,
I am deploying my web application on Tomcat. How do I monitor the
tomcat performance?
1. If
On Thu, Jan 15, 2009 at 4:40 PM, Christopher Schultz
ch...@christopherschultz.net wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Leon,
Leon Rosenberg wrote:
The last thing I can imagine is that the request somehow gets
redirected or forwarded infinitely during processing
A small update on the matter:
I've managed to track it down, but the details are rather application
specific, so I don't want to bore you, but the scenario looks as
follows:
- something posts a rather normal looking request to an url that is
yet supported but obsolete (should be actually served
it would probably be much easier to make this job a separate cron
process on one machine, or if it _must_ be in tomcat (why?) tie it to
an ip adress or server name, so the task just checks that it can only
run on tomcat1 or tomcat 10, or whatever...
Otherwise you'll need to check logs on all
Hello Rusty,
On Sun, Jan 11, 2009 at 6:10 PM, Rusty Wright rusty.wri...@gmail.com wrote:
The reason making it a web app appeals to me is that then I can have it log
to a database, and I can tweak its configuration via a web page. And I can
have a checkbox, disable/enable so I can turn it off
Hi,
I was recently hunting what I thought to be a memory leak in our
application. What happens is that the Old Gen Space is running full at
once and then tomcat freezes
because java is busy with Full GC all the time. I've managed to create
a memory dump shortly before the crash and the top5
Hi,
i'm performing a jmap -histo:live on a tomcat which froze because of
full (8GB) old space gen, and my top 10 looks like:
num #instances #bytes class name
--
1: 19268009 2655683368 [C
2: 17410092 1392807360
add following to your catalina.sh
export JAVA_OPTS=-mx256M -ms256M -XX:MaxPermSize=256m
or, on windows, in catalina.bat
JAVA_OPTS=-mx256M -ms256M -XX:MaxPermSize=256m
The values are only an example, the PermSize is optional if you have
many classes/jsps.
regards
Leon
On Tue, Dec 30, 2008 at
On Mon, Dec 22, 2008 at 7:05 PM, Chris Stewart cstewart...@gmail.com wrote:
We've been running into some issues lately with our Tomcat 6 instances where
performance will slow to a crawl. Unfortunately, no error messages are
present in the logs and we really don't know why this is happening.
tomcat is a web server for it serves http requests.
tomcat is a servlet container according to the servlet spec.
there is no such thing as web container.
regards
Leon
On Wed, Dec 10, 2008 at 1:19 PM, Thangavel Sankaranarayanan
[EMAIL PROTECTED] wrote:
Hi
I have a doubt which is breaking my
Hi,
I think either me or StandardSession.java are missing some
synchronization knowledge :-)
/**
* We are currently processing a session expiration, so bypass
* certain IllegalStateException tests. NOTE: This value is not
* included in the serialized version of this object.
On Mon, Dec 8, 2008 at 9:36 PM, Caldarale, Charles R
[EMAIL PROTECTED] wrote:
From: Leon Rosenberg [mailto:[EMAIL PROTECTED]
Subject: request for enlightening - StandardSession and expiring flag
Correct me if I'm wrong, but if two threads come in simultaneously
into this method, wouldn't
On Fri, Dec 5, 2008 at 9:50 AM, Oliver Schoett
[EMAIL PROTECTED] wrote:
Martin Gainty wrote:
so the solution is put all updates/inserts to the arraylist into a
synchronized method?
You must synchronize all read and write methods, because nothing may run in
parallel with a write method, and
On Fri, Dec 5, 2008 at 12:37 PM, Oliver Schoett
[EMAIL PROTECTED] wrote:
Leon Rosenberg wrote:
On Fri, Dec 5, 2008 at 9:50 AM, Oliver Schoett
[EMAIL PROTECTED] wrote:
Martin Gainty wrote:
so the solution is put all updates/inserts to the arraylist into a
synchronized method?
You
On Fri, Dec 5, 2008 at 3:45 PM, Oliver Schoett
[EMAIL PROTECTED] wrote:
Leon Rosenberg wrote:
You should consider using synchronized lists :-) (for example Vector).
Does not help :-) If you do not put sync. brackets around
Check some property (e. g., size());
Do something according
Hello Tim,
there is no easy and direct way to do it. What you can do is to create
a SessionListener
(http://java.sun.com/javaee/5/docs/api/javax/servlet/http/HttpSessionListener.html),
register it as listener in the web.xml and store references to the
sessions upon creation somewhere (read map).
Hello Tuan,
On Thu, Dec 4, 2008 at 6:05 PM, Tuan Quan [EMAIL PROTECTED] wrote:
Dear all;
What is the advantage of setting both values to the same number?
In case your server is short on memory it will try to increase the
amount of used memory from start to max. In case the load is really
heavy
Would you mind creating and sending us a Thread Dump?
Regards
Leon
On Thu, Dec 4, 2008 at 8:25 PM, Robert J Morman
[EMAIL PROTECTED] wrote:
Good afternoon.
We have a problem with our production tomcat server in that the CPU will
climb after a restart from 1-2% to 100%. The rate of climb
Schumacher
[EMAIL PROTECTED] wrote:
Hi Leon,
Thanks for the info. So, if I simply wanted to tell TC to invalidate all
sessions is there something easier I could do?
Tim
Leon Rosenberg wrote:
Hello Tim,
there is no easy and direct way to do it. What you can do is to create
a SessionListener
On Wed, Dec 3, 2008 at 11:17 PM, kpalania [EMAIL PROTECTED] wrote:
I am trying to access a REST service from within an application deployed in
Tomcat but, however, this call seems to fail:
PostMethod method = new PostMethod(http://...;);
I am able to call the same service using PostMethod
Hi,
we have recently had some hangups of tomcat (5.5.20 on 1.6.05 on linux
2.6.18). The tomcats just stoped replying (all connections timeouted),
but the strange thing was, that
we were unable to create a thread dump (kill -QUIT pid was just
ignored by the jvm).
The machines were idling, no high
its very weird indeed. We had acted proactively on a tomcat which
started to show same symptoms (cpu load going higher (35%) but users
going down (means it replies slower than the other machines and the lb
gives less traffic to it) and after checking the logs, sent the QUIT
signal which worked
hi,
there are many occasions.
1. if there is no memory left (-Xmx)
2. if there is no perm gen space left (for example to many jsps)
3. if there is not enough space in the current heap and no time to
enlarge the heap (xms xmx)
4. if a new thread couldn't be created
5-10 whatever the jvm vendor
http://images.google.de/images?q=tomcat%20architectureie=utf-8oe=utf-8rls=org.mozilla:en-US:officialclient=firefox-aum=1sa=Ntab=wi
depends on your desired detail grade.
regards
Leon
On Wed, Nov 26, 2008 at 11:21 AM, Kees Jan Koster [EMAIL PROTECTED] wrote:
Dear All,
I am looking for a good
I think the question you wanna ask yourself first is,
do you want to monitor tomcat or do you want to monitor your application?
regards
Leon
On Wed, Nov 19, 2008 at 3:18 PM, Kees Jan Koster [EMAIL PROTECTED] wrote:
Dear Chris,
I am setting up a monitoring system for Tomcat servers and I am
is there a demo available on the java-monitor.com? sofar i only find a
php forum :-)
Leon
On Wed, Nov 19, 2008 at 3:31 PM, Kees Jan Koster [EMAIL PROTECTED] wrote:
Dear Leon,
I think the question you wanna ask yourself first is,
do you want to monitor tomcat or do you want to monitor your
well, downloaded, installed, started, klicked, ... deleted...
you should announce that your war is SENDING DATA to the central
server in LARGE letters :-)
which users are you targeting? No one i know (and i'm in the webapp
business for about 10 years) will ever going to use this stuff, since
its
201 - 300 of 779 matches
Mail list logo