Arbitrary headers

2007-11-06 Thread Gustavo Noronha
Hello, I want to have the HTTP server of Tomcat add arbitrary headers to every response. As an example, I'd like every request to have in its response, for instance: X-MyOwnHeader = lala Something like Apache HTTPD's mod_headers. Is there a way to do that? Thanks, -- Gustavo Nor

Re: Enabling JMX and jconsole in Tomcat 5.5

2006-05-08 Thread Gustavo Noronha
2006/5/8, David Goodenough <[EMAIL PROTECTED]>: On Monday 08 May 2006 14:51, Gustavo Noronha wrote: > 2006/5/8, Tim Lucia <[EMAIL PROTECTED]>: > > I have the following settings in my (Windows) service configuration on > > the Java tab (ONE PER LINE!) > > &

Re: Enabling JMX and jconsole in Tomcat 5.5

2006-05-08 Thread Gustavo Noronha
=false -Dcom.sun.management.jmxremote.authenticate=false I have similar settings in $CATALINA_HOME/bin/setenv.sh. Is this supposed to work on Tomcat 5.0? I searched the docs and only found stuff related to JMX on the 5.5 docs. Thanks, -- Gustavo Noronha Silva Coordenação de Segurança e Sustentação Ministério do Desenvolvimento

Re: Crashing Tomcat 4.1 on Debain

2006-05-08 Thread Gustavo Noronha
f I found a solution besides installilng the package (maybe removing some references to the test apps from some .xml) Maybe that's your problem, maybe not, do try installing the package. See ya, -- Gustavo Noronha Silva Coordenação de Segurança e Sustentação Ministério do Desenvolvimento Social - Brasil

Re: can't access database after timcat idle for several hours

2006-04-28 Thread Gustavo Noronha
that would make some traffic round-trip between the servers. We had problems with a stateful firewall droping ESTABILISHED (!) connections after some time of idleness. See you, -- Gustavo Noronha Silva Coordenação de Segurança e Sustentação Ministério do Desenvolvimento Social - Brasil

Re: Java process segfaulting and using 100% CPU

2006-04-27 Thread Gustavo Noronha
2006/4/20, Gustavo Noronha <[EMAIL PROTECTED]>: > > Like I said in a previous email, I know about dumping thread information, > but I am unnable to identify what thread is using up the CPU cycles. What I > did to try to fix this problem is setting up some different c3p0 > c

Re: Java process segfaulting and using 100% CPU

2006-04-20 Thread Gustavo Noronha
e this. Of > course you won't get the dump in the console where you ran kill it. it > will probably be in catalina.out Sure; but do you know a way of relating one of the dumped threads with the PID given by top, so I can figure out what thread is eating CPU? Thanks, -- Gustavo Noronh

Re: Java process segfaulting and using 100% CPU

2006-04-20 Thread Gustavo Noronha
s.java:137) at org.hibernate.event.def.FlushVisitor.processCollection( FlushVisitor.java:37) Thanks, -- Gustavo Noronha Silva Coordenação de Segurança e Sustentação Ministério do Desenvolvimento Social - Brasil

Re: Java process segfaulting and using 100% CPU

2006-04-20 Thread Gustavo Noronha
be work-arounding the problem with a c3p0 configuration when in fact the application is misbehaving with the connections, for instance. Thanks, -- Gustavo Noronha Silva Coordenação de Segurança e Sustentação Ministério do Desenvolvimento Social - Brasil

Re: Java process segfaulting and using 100% CPU

2006-04-19 Thread Gustavo Noronha
any other way of identifying what thread is the culprit? I have played with the kill -3 feature, but didn't get very far investigating the output. =( Thanks! -- Gustavo Noronha Silva Coordenação de Segurança e Sustentação Ministério do Desenvolvimento Social - Brasil

Java process segfaulting and using 100% CPU

2006-04-19 Thread Gustavo Noronha
ay be faulty here: if our application, our tomcat configuration, mainly hibernate's and c3p0's, or if it's something deeper on Java or the OS... Any hints on where to investigate, and how to solve this symptom? Thanks, -- Gustavo Noronha Silva Coordenação de Segurança e Sustentação Ministério do Desenvolvimento Social - Brasil