: Re: Problem with threads in stage Service (Tomcat 7.0.14)
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Alejandro,
On 7/29/2011 11:55 AM, Alejandro Henao González wrote:
public class HTMLEncoder { private static Map mapChar2HTMLEntity;
private final static char [] characters = {
'á','ú','ó
ummm...
The option -XX:-DisableExplicitGC not solves the problem, may be with the
+DisableExplicitGC, i will try it.
The method HTMLEncoder.encode is static and uses a HashMap static. this is the
class.
public class HTMLEncoder {
private static Map mapChar2HTMLEntity;
private final static
: Tomcat Users List users@tomcat.apache.org
Enviados: Viernes, 29 de Julio 2011 12:36:21
Asunto: Re: Problem with threads in stage Service (Tomcat 7.0.14)
Alejandro Henao González wrote:
ummm...
The option -XX:-DisableExplicitGC not solves the problem, may be with the
+DisableExplicitGC, i
Good day.
I have the following problem with my tomcat.
Sometimes, some threads are keep in service stage for a long time (really never
exit from this stage), this causes that tomcat uses a hight percentage of the
CPU (100 % of 2 or 3 cores) thus the webapp executes very slow.
I have a
-
De: Pid p...@pidster.com
Para: Tomcat Users List users@tomcat.apache.org
Enviados: Jueves, 28 de Julio 2011 10:44:37
Asunto: Re: Problem with threads in stage Service (Tomcat 7.0.14)
On 28/07/2011 16:09, Alejandro Henao González wrote:
Good day.
I have the following problem with my
runnable [0x436ab000]
java.lang.Thread.State: RUNNABLE
at java.util.HashMap.get(HashMap.java:303)
at sae.HTMLEncoder.encode(HTMLEncoder.java:46)
this should not be a stage where you're stuck, unless you have a loop problem.
On 7/28/2011 9:09 AM, Alejandro Henao González wrote:
Good
for you, in the meantime, add in this option to
your startup options
-XX:-DisableExplicitGC
Filip
On 7/28/2011 1:07 PM, Alejandro Henao González wrote:
I dont believe that have GC running all the time, but the GC is called in the
above line to HTMLEncoder.encode. as follows.
System.gc