Re: Monitoring memory usage of JVM

2011-05-27 Thread André Warnier
Pid wrote: On 26/05/2011 21:50, André Warnier wrote: André Warnier wrote: Pid wrote: On 26/05/2011 20:16, Caldarale, Charles R wrote: From: André Warnier [mailto:a...@ice-sa.com] Subject: Monitoring memory usage of JVM I am thinking of a couple of command-line options for the JVM, to dump

Re: Monitoring memory usage of JVM

2011-05-27 Thread Mikolaj Rydzewski
On Fri, 27 May 2011 09:50:06 +0200, André Warnier wrote: Searching the WWW, I am finding (too) many interpretations of the output of -verbose:gc (or -verbosegc, none of them starting from exactly the format above. I can kind of guess what the above means, but where can I find an authoritative

Re: Issues with getRemoteAddress

2011-05-27 Thread Filippo Machi
Ciao Andrè, thanks for your answer! I really appreciate all the time you spend, thanks again. Please find my inline answers.. On Thu, May 26, 2011 at 7:12 PM, André Warnier a...@ice-sa.com wrote: Hi. First, tell us what precise version of Tomcat you are using (x.y.z format). we're using

Re: Tomcat 5.5.27, session lost, cookies

2011-05-27 Thread Filippo Machi
Ciao! Please read my comment inline.. On Fri, May 27, 2011 at 12:12 AM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Filippo, On 5/26/2011 10:50 AM, Filippo Machi wrote: One of our legacy (non java) server was used to put a blank

Missing requests on server - IIS - ISAPI redirect - Tomcat 6

2011-05-27 Thread Thomas Andraschko
Hi, we have a problem that some requests are missing on our application. As far we can see, the requests are arrived at IIS but not at Tomcat. Also we do not know if the request are processed by IIS but there were never problems with our ASP.Net application which runs directly on IIS. I also

Re: Issues with getRemoteAddress

2011-05-27 Thread André Warnier
Filippo Machi wrote: we're using tomcat 7.0.12 Ok. 1) You have serverA running Tomcat, and Tomcat listens on port 8080. The (network) IP address of serverA is : 85.214.x.x (apart from the loopback address 127.0.0.1) This Tomcat has some IP-based access Valve which : we have

Re: Issues with getRemoteAddress

2011-05-27 Thread Filippo Machi
On Fri, May 27, 2011 at 11:20 AM, André Warnier a...@ice-sa.com wrote: Filippo Machi wrote: we're using tomcat 7.0.12 Ok. 1) You have serverA running Tomcat, and Tomcat listens on port 8080. The (network) IP address of serverA is : 85.214.x.x (apart from the loopback

Re: Issues with getRemoteAddress

2011-05-27 Thread André Warnier
Filippo Machi wrote: On Fri, May 27, 2011 at 11:20 AM, André Warnier a...@ice-sa.com wrote: Filippo Machi wrote: we're using tomcat 7.0.12 Ok. 1) You have serverA running Tomcat, and Tomcat listens on port 8080. The (network) IP address of serverA is : 85.214.x.x (apart

Re: JkExtractSSL not sending SSL information to tomcat

2011-05-27 Thread Rainer Jung
On 25.05.2011 15:18, Christopher Schultz wrote: André, On 5/24/2011 7:13 PM, André Warnier wrote: Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Marc, On 5/24/2011 10:56 AM, Marc Boorshtein wrote: I've setup a pretty generic httpd(2.2.19)+mod_jk to tomcat 6 on

Re: Tomcat 5.5.27, session lost, cookies

2011-05-27 Thread Diego Ruotolo
Hi everybody ! Thanks to all of you for your replies. Unfortunately (or fortunately) I spent the whole morning trying to reproduce the problem but everything works fine today! @Filippo: Ciao! There are no strange or blank character on cookie value, it's just the JSESSIONID as is. It's a value

Log4j.properties settings in documentation

2011-05-27 Thread chris derham
All, I think that I have found a problem in the documentation for setting up log4j.properties at http://tomcat.apache.org/tomcat-7.0-doc/logging.html#Using_Log4j. The same text is on the tomcat 6.0 documentation. It specifies log4j.appender.CATALINA.conversionPattern = %d [%t] %-5p %c- %m%n

Weird problerm accessing request headers from tomcat

2011-05-27 Thread Martin Knoblauch
Hi, sorry for the crosspost, but I am not sure where to ask. I am trying to understand a weird problem accessing HTTP request headers from a jsf page. The setup is as follows: apache1 - apache2 - mod_jk - tomcat Apache1 is accessible from the Internet and forwards requests to my application

Re: Tomcat 5.5.27, session lost, cookies

2011-05-27 Thread Filippo Machi
On Fri, May 27, 2011 at 12:26 PM, Diego Ruotolo druot...@noemalife.comwrote: Hi everybody ! Thanks to all of you for your replies. Unfortunately (or fortunately) I spent the whole morning trying to reproduce the problem but everything works fine today! @Filippo: Ciao! There are no strange

Re: Tomcat 5.5.27, session lost, cookies

2011-05-27 Thread Diego Ruotolo
Il 27/05/2011 15.04, Filippo Machi ha scritto: @Filippo: Ciao! There are no strange or blank character on cookie value, it's just the JSESSIONID as is. It's a value generated by Tomcat, isn't it? Ciao Diego, I meant, maybe there's ANOTHER cookie in the incoming request that contains one or

RE: Weird problerm accessing request headers from tomcat

2011-05-27 Thread Martin Gainty
when your Apache2 is configured as reverse-proxy you are fowarding IP,RequestedHost and Proxy-Server specifically: When acting in a reverse-proxy mode (using the ProxyPass directive, for example), mod_proxy_http adds several request headers in order to pass information to the origin

Re: Weird problerm accessing request headers from tomcat

2011-05-27 Thread Martin Knoblauch
Hi Martin, the reverse proxy (gateway) in my case would be apache1 me thinks. apache2 definitely does not use mod_proxy/ProxyPass. It is just loadbalancing two tomcat instances using mod_jk. My problem is (maybe I was not clear) that apache2 does see the X-Forwarded-For, X-Forwarded-Host

Re: Weird problerm accessing request headers from tomcat

2011-05-27 Thread André Warnier
Hi. I believe that you are making the often-made confusion between environment values (or variables), and HTTP headers content. In particular, here : Apache1 inserts the following variables into the requests it forwards to Apache1 (I suppose you meant Apache2 here) No. It does not do

Piping tomcat logs to rsyslog

2011-05-27 Thread Eric Lorson
For internal security reasons I need to prevent our tomcat logs from writing to the webserver local disk. We set up a rsyslog server and want to pipe the log data directly to rsyslog. I am trying to work out how to configure tomcat to send all lpg data to STDOUT or named pipe and have the

Re: Piping tomcat logs to rsyslog

2011-05-27 Thread Mark Eggers
From: Eric Lorson elor...@planetmuzic.com To: users@tomcat.apache.org Cc: Sent: Friday, May 27, 2011 9:21 AM Subject: Piping tomcat logs to rsyslog For internal security reasons I need to prevent our tomcat logs from writing to the webserver local disk. We set up a rsyslog server and

access to Manager

2011-05-27 Thread abdelghni belfkih
hi guys, I can't access to the manager/html cuz i don't know how create a user login. Plz help me. -- Élève Ingénieur en TIC Option : *Informatique, Réseaux et Systèmes* Institut National des Postes et Télécommunication Mobile : +212672673731 E-mail : blfkih.i...@gmail.com

Re: access to Manager

2011-05-27 Thread Francis GALIEGUE
On Sat, May 28, 2011 at 00:27, abdelghni belfkih belfkih.i...@gmail.com wrote: hi guys, I can't access to the manager/html cuz i don't know how create a user login. Plz help me. [c'est dans la doc de base] This is in the base documentation of Tomcat. And anyway, I strongly recommend