On 02/08/2011 02:11, Christopher Schultz wrote:
public HTMLEncoder() { mapChar2HTMLEntity= new HashMap(); int
longueur = characters.length;
for (int i = 0; i longueur; i++) mapChar2HTMLEntity.put(new
Character(characters[i]), entities[i]); }
So you have Character - String (entity
: 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 = {
'á','ú','ó
-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 = {
'á','ú','ó','é','í','ñ','Á','Ú','Ó','É','Í','°','ü' }; private final
Julio 2011 12:35:56
Asunto: Re: Problem with threads in stage Service (Tomcat 7.0.14)
most likely you have GC running all the time
http-bio-80-exec-107 daemon prio=10 tid=0x2aaab31ea000 nid=0x47b2
runnable [0x436ab000]
java.lang.Thread.State: RUNNABLE
Pid wrote:
On 28/07/2011 20:07, 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();
resultado = htmlEncoder.encode(resultado);
Is 'htmlEncoder' a static field, an instance
On 29/07/2011 08:41, André Warnier wrote:
Pid wrote:
On 28/07/2011 20:07, 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();
resultado = htmlEncoder.encode(resultado);
Is
On 28.07.2011 21:20, Filip Hanik - Dev Lists wrote:
that's an academic exercise for you, in the meantime, add in this option
to your startup options
-XX:-DisableExplicitGC
I think Filip wanted to suggest -XX:+DisableExplicitGC
The plus or minus after the colon decides whether the switch is
);
}
}
return sb;
}
}
- Mensaje original -
De: Rainer Jung rainer.j...@kippdata.de
Para: users@tomcat.apache.org
Enviados: Viernes, 29 de Julio 2011 5:05:37
Asunto: Re: Problem with threads in stage Service (Tomcat 7.0.14)
On 28.07.2011 21:20, Filip Hanik - Dev Lists wrote:
that's an academic
Alejandro Henao González wrote:
ummm...
The option -XX:-DisableExplicitGC not solves the problem, may be with the +DisableExplicitGC, i will try it.
ummm..
A mystery for me is : since you have the source, why do you not just comment
out the
system.gc();
line, and see what your Tomcat is
: 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
Alejandro Henao González wrote:
I'm not sure that the problem is this.
And, many JSPs have this line.
Well, that would certainly multiply the problem, wouldn't it ?
Do you have any idea what these system.gc() were meant to achieve ?
Anyway, nothing that find and grep and a good text editor
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
On 28/07/2011 16:09, Alejandro Henao González wrote:
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
-
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
most likely you have GC running all the time
http-bio-80-exec-107 daemon prio=10 tid=0x2aaab31ea000 nid=0x47b2
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
Lists devli...@hanik.com
Para: Tomcat Users List users@tomcat.apache.org
Enviados: Jueves, 28 de Julio 2011 12:35:56
Asunto: Re: Problem with threads in stage Service (Tomcat 7.0.14)
most likely you have GC running all the time
http-bio-80-exec-107 daemon prio=10 tid=0x2aaab31ea000 nid=0x47b2
Asunto: Re: Problem with threads in stage Service (Tomcat 7.0.14)
most likely you have GC running all the time
http-bio-80-exec-107 daemon prio=10 tid=0x2aaab31ea000 nid=0x47b2
runnable [0x436ab000]
java.lang.Thread.State: RUNNABLE
at java.util.HashMap.get(HashMap.java:303
Ok. i will trie with this option.
- Mensaje original -
De: Filip Hanik - Dev Lists devli...@hanik.com
Para: Tomcat Users List users@tomcat.apache.org
Enviados: Jueves, 28 de Julio 2011 14:20:26
Asunto: Re: Problem with threads in stage Service (Tomcat 7.0.14)
that's an academic exercise
18 matches
Mail list logo