Re: APR is not working

2009-06-05 Thread Rainer Jung
On 05.06.2009 15:40, Mohamedin wrote: Dear everybody, I am trying to install APR for tomcat 6.0.18 on debian I did the following: apt-get install libapr1-dev libssl-dev cd tomcat-native-1.1.16-src/jni/native ./configure --with-apr=/usr/bin/apr-1-config

Re: tomcat-connectors mod_jk.dsp file will not load in Visual Studio 2005

2009-06-05 Thread Rainer Jung
On 05.06.2009 16:43, Andy Wang wrote: Mladen, Rainer, Thanks for pointing out the crlf thing, I discovered that myself last night and was going to update this thread this morning but you beat me to it. :) I just automatically, use the tarballs since I'm normally a Unix guy. I figure this

Re: concurrent connections with mod_jk/apache/tomcat

2009-06-05 Thread Rainer Jung
On 05.06.2009 22:04, Christopher Schultz wrote: Chuck, On 6/5/2009 1:17 PM, Caldarale, Charles R wrote: From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: concurrent connections with mod_jk/apache/tomcat The only time when a browser would fire off simultaneous requests, is if

Re: concurrent connections with mod_jk/apache/tomcat

2009-06-05 Thread Rainer Jung
On 05.06.2009 23:34, Jason Joseph wrote: Rainer Jung wrote: On 05.06.2009 22:04, Christopher Schultz wrote: Chuck, On 6/5/2009 1:17 PM, Caldarale, Charles R wrote: From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: concurrent connections with mod_jk/apache/tomcat The only

Re: concurrent connections with mod_jk/apache/tomcat

2009-06-05 Thread Rainer Jung
On 06.06.2009 01:35, Jason Joseph wrote: Rainer Jung wrote: JkOptions +FlushHeader +FlushPackets in order to make the flush also effective for httpd. Just realized I didn't disable caching before I did that last test, heres the image with caching disabled. http://207.7.102.90

Re: concurrent connections with mod_jk/apache/tomcat

2009-06-05 Thread Rainer Jung
On 06.06.2009 02:05, Rainer Jung wrote: On 06.06.2009 01:35, Jason Joseph wrote: Rainer Jung wrote: JkOptions +FlushHeader +FlushPackets in order to make the flush also effective for httpd. Just realized I didn't disable caching before I did that last test, heres the image

Re: ISAPI issues

2009-06-02 Thread Rainer Jung
On 02.06.2009 19:42, dljohnson69 wrote: I have a Tomcat install that is working okay but going through the isapi_redirect it gets a bad gateway error. The isapi.log has errors that says it cannot connect to tomcat, tomcat is down or refused connection. Any ideas?? Bad gateway plus log

Re: jk Status not showing errors

2009-06-02 Thread Rainer Jung
20672, 1001 NR Amsterdam Office: +31 20 880 41 16 Mobile: +31 6 13 14 26 31 Fax: +31 20 880 41 02 Read our blog: Intelligent Supply Management - Your advantage -Original Message- From: Rainer Jung [mailto:rainer.j...@kippdata.de] Sent: Saturday, May 30, 2009 2:46 PM To: Tomcat

Re: jk Status not showing errors

2009-06-02 Thread Rainer Jung
On 02.06.2009 21:40, Matthew Laird wrote: I'm not seeing anything like that. I just took both Tomcats down, I instantly get the 503 from Apache when I try to load the application. Assuming that there is no mod_proxy in the game. When there is a 503, you will have [error] log lines in the JK

Re: ISAPI issues

2009-06-02 Thread Rainer Jung
I assume you are using the latest version 1.2.28. That makes things easier to discuss. On 02.06.2009 21:53, dljohnson69 wrote: Cool, maybe you can help more than the log files then. Are you referring to the configuration of the workers.properties and/or the uriworkermap files or is there

Re: jk Status not showing errors

2009-06-02 Thread Rainer Jung
On 02.06.2009 21:46, Matthew Laird wrote: Rainer Jung wrote: Assuming that you did refresh the jkstatus display: what is your test client? The fact that you see OK/IDLE, but all requests go to the other node indicates, that you are using requests with associated session, so the balancer

Re: ISAPI issues

2009-06-02 Thread Rainer Jung
lbps resp. lbws behind the equal sign in the lines of uriworkermap.properties you want to be mapped to ps resp. ws. Regards, Rainer Rainer Jung-3 wrote: I assume you are using the latest version 1.2.28. That makes things easier to discuss. On 02.06.2009 21:53, dljohnson69 wrote: Cool, maybe

Re: Apache, Tomcat, Mod_JK Configurations

2009-06-01 Thread Rainer Jung
On 01.06.2009 18:30, CrystalCracker wrote: Ok.. adding some info to mod jk logs and doing some thread and heap dumps, I figured that, during peak traffic hours, the garbage collection gets more frequest and takes longer. This slows down the overall system and the threads start piling up.

Re: User tracking/monitoring

2009-05-30 Thread Rainer Jung
On 29.05.2009 18:58, Tim Funk wrote: Add this to your footer? SESSION ID: ${pageContext.session.id} Beware though, that in some security sensitive contexts this is not adequate, e.g. if users print out or save pages and share those with others, session takeover is made much more simple (at

Re: Php, tomcat, mappings and authentication.

2009-05-30 Thread Rainer Jung
On 29.05.2009 23:01, André Warnier wrote: Or you can use a popular filter with more options: http://securityfilter.sourceforge.net/ Or, if you decide to do the PHP part and do it under Apache httpd, then you could do all the authentication at the Apache httpd level, and pass the

Re: jk Status not showing errors

2009-05-30 Thread Rainer Jung
On 29.05.2009 22:50, Matthew Laird wrote: Good afternoon, I've been trying to get the jkstatus component of mod_jk running, and I'm not quite sure what I'm doing wrong in trying to have it report dead Tomcat instances. I have two tomcat instances setup in a load balancer, as a test I've

Re: How does Prefork work?

2009-05-28 Thread Rainer Jung
On 28.05.2009 06:34, steve rieger wrote: I think you meant to post that to the httpd/apache list Yes, see: http://httpd.apache.org/lists.html#http-users --Original Message-- From: CrystalCracker To: users@tomcat.apache.org ReplyTo: Tomcat Users List Subject: How does Prefork work?

Re: Apache, Tomcat, Mod_JK Configurations

2009-05-28 Thread Rainer Jung
On 28.05.2009 00:25, CrystalCracker wrote: Apache 2.2 Tomcat 6 Mod_jk 1.2.21 All of them are running on the same box. I have at any given time around 300 active sessions using the site, and upto 450 at max. Each user on average logs on to the site for around 15 minutes, and the calls

Re: Load balancer (proxy?) problem.

2009-05-28 Thread Rainer Jung
On 28.05.2009 01:42, Bill Davidson wrote: André Warnier wrote: Bill Davidson wrote: ... Our application switches between them [HTTP or HTTPS] based upon whether there is sensitive data in the page or not. So I guess that if you did not do that, you would not be having this issue. Feasible

Re: Tomcat 6 - not started AJP/NIO on CentOS

2009-05-28 Thread Rainer Jung
Please share your solution, so that other people looking for help do not need to ask the same question again. On 28.05.2009 06:41, Dmitriy Repin wrote: Dmitriy Repin wrote: Caldarale, Charles R wrote: Post the server.xml from your CentOS attempt so we can look at it. - Chuck Problem

Re: ProxyPass and client ip

2009-05-28 Thread Rainer Jung
On 28.05.2009 08:35, topcoder1 wrote: I have an servlet application that requires to be know what the user's ip address is. However since it has an apache http proxy sitting in front of it, the client's ip is always 127.0.0.1(localhost) when it reaches the servlet. How do I resolve this

Re: Apache, Tomcat, Mod_JK Configurations

2009-05-28 Thread Rainer Jung
On 28.05.2009 22:05, CrystalCracker wrote: The problem has always occured at the oddest hours for me to do a thread dump. I have done jmeter load test and tried to recreate the problem in test, but have never able. I will upgrade to the latest version and then play with the connection

Re: AJP connections just stop working

2009-05-27 Thread Rainer Jung
On 27.05.2009 09:31, Guy Cube wrote: Hello, We are also haveing exact same issue in our environment. We are using JBoss 4.2.3, Apache 2.2.11 with mod_proxy_ajp using ajp to connect between Apache and JBoss. It happens intermittently and when i happnes all AJP's TCP connections are stayed in

Re: Tomcat6 JNDI Realm

2009-05-26 Thread Rainer Jung
Have a look at http://www.jspwiki.org/wiki/ActiveDirectoryIntegration Regards, Rainer On 26.05.2009 12:16, Geofrey Rainey wrote: I'm trying to setup a tomcat6 realm to authenticate against an active directory server. I got a JDBC realm working okay with a MySQL database. I'm

Re: tomcat clusters

2009-05-26 Thread Rainer Jung
That's not the full configuration. It can't work. On 26.05.2009 17:16, Alberto Jesus La Rosa Agramonte wrote: worker.c1.port=8009 worker.c1.host=10.7.12.2 worker.c1.type=ajp13 worker.c1.lbfactor=1 2009/5/27 Rainer Jung rainer.j...@kippdata.de How did you configure your first cluster

Re: tomcat clusters

2009-05-26 Thread Rainer Jung
How did you configure your first cluster? On 26.05.2009 16:30, Alberto Jesus La Rosa Agramonte wrote: Hello, I need to set more than two tomcat clusters. How I can configure that in the workers.properties file on apache load balancer?

Re: tomcat cluster - redirect parameter

2009-05-26 Thread Rainer Jung
In general you do not need to set the redirect parameter. On 26.05.2009 16:41, Alberto Jesus La Rosa Agramonte wrote: Hi, If a don't set the redirect parameter on the workers.properties file, how work the load balancer??? - To

Re: tomcat clusters

2009-05-26 Thread Rainer Jung
Jung rainer.j...@kippdata.de That's not the full configuration. It can't work. On 26.05.2009 17:16, Alberto Jesus La Rosa Agramonte wrote: worker.c1.port=8009 worker.c1.host=10.7.12.2 worker.c1.type=ajp13 worker.c1.lbfactor=1 2009/5/27 Rainer Jung rainer.j...@kippdata.de How did you

Re: mod_jk status code and loadbalancer monitoring

2009-05-23 Thread Rainer Jung
On 23.05.2009 22:04, Martin Gainty wrote: in case anyone is following this thread d/l httpd-devel-2.0.50-1.i386.rpm from here http://archive.apache.org/dist/httpd/binaries/rpm/i386/ extract the contents by running this shell script #!/bin/sh rpm2cpio httpdd.rpm | cpio -idmv i now have

Re: Running out of tomcat threads - why many threads in RUNNABLEstage even with no activity

2009-05-22 Thread Rainer Jung
On 22.05.2009 03:54, Pantvaidya, Vishwajit wrote: -Original Message- From: Rainer Jung [mailto:rainer.j...@kippdata.de] Sent: Thursday, May 21, 2009 3:37 PM To: Tomcat Users List Subject: Re: Running out of tomcat threads - why many threads in RUNNABLEstage even with no activity

Re: mod_proxy, Tomcat and request URL

2009-05-22 Thread Rainer Jung
On 22.05.2009 04:31, Andre-John Mas wrote: On 21-May-2009, at 12:32, Rainer Jung wrote: On 20.05.2009 17:33, Markus Schönhaber wrote: Andre-John Mas: this is not the ideal setup, I don't have any control over this. At the same time I see that using mod_proxy, by way of ProxyPass, means

Re: AJP connections just stop working

2009-05-22 Thread Rainer Jung
On 22.05.2009 14:09, kvancamp wrote: One more question: With my HTTP port, I know I can always easily test it, via my browser or scripted using wget. Anybody know of a simple command-line utility like wget, that works with AJP? I think this would be a good tool to have, to help diagnose AJP

Re: NIO Connector: Too many open files

2009-05-22 Thread Rainer Jung
Hi Chris, On 22.05.2009 14:14, Christopher Schultz wrote: Rainer, On 5/21/2009 12:21 PM, Rainer Jung wrote: 2 remarks about all your stress testing efforts: A) TIME_WAIT When not doing HTTP Keep-Alive, under high load the size of the TCP hash table and the effectiveness of the system

Re: NIO Connector: Too many open files

2009-05-22 Thread Rainer Jung
Hi Chris, On 22.05.2009 14:29, Christopher Schultz wrote: $ jmap -heap 1430 Attaching to process ID 1430, please wait... Debugger attached successfully. Client compiler detected. JVM version is 11.3-b02 using thread-local object allocation. Mark Sweep Compact GC Heap Configuration:

Re: mod_jk status code and loadbalancer monitoring

2009-05-22 Thread Rainer Jung
Hi Lawrence, I will answer in a slightly different order below. On 22.05.2009 13:58, Lawrence Lamprecht wrote: I found a really old entry from way back in 2005. Reading through a trail of messages under the heading Adding working dynamically with mod_jk status What I would very much

Re: NIO Connector: Too many open files

2009-05-22 Thread Rainer Jung
On 22.05.2009 15:46, Christopher Schultz wrote: Rainer, On 5/22/2009 8:55 AM, Rainer Jung wrote: You could run a JSP including a call to System.gc(); Right. The JVM is out of file descriptors. I cannot deploy a new JSP onto the server without restarting it. ;) I mentioned this in my

Re: AJP connections just stop working

2009-05-22 Thread Rainer Jung
connections -Tony --- Manager, IT Operations Format Dynamics, Inc. 303-573-1800x27 abia...@formatdynamics.com http://www.formatdynamics.com -Original Message- From: Rainer Jung [mailto:rainer.j...@kippdata.de] Sent: Friday, May 22, 2009 6:42 AM To: Tomcat

Re: Running out of tomcat threads - why many threads in RUNNABLEstage even with no activity

2009-05-22 Thread Rainer Jung
On 22.05.2009 21:09, Pantvaidya, Vishwajit wrote: -Original Message- From: Rainer Jung [mailto:rainer.j...@kippdata.de] Sent: Friday, May 22, 2009 2:53 AM To: Tomcat Users List Subject: Re: Running out of tomcat threads - why many threads in RUNNABLEstage even with no activity My

Re: mod_jk status code and loadbalancer monitoring

2009-05-22 Thread Rainer Jung
: Rainer Jung [mailto:rainer.j...@kippdata.de] Sent: Friday, May 22, 2009 3:10 PM To: Tomcat Users List Subject: Re: mod_jk status code and loadbalancer monitoring Hi Lawrence, I will answer in a slightly different order below. On 22.05.2009 13:58, Lawrence Lamprecht wrote: I found

Re: Running out of tomcat threads - why many threads in RUNNABLE stage even with no activity

2009-05-21 Thread Rainer Jung
Trying to add some info below. On 21.05.2009 05:09, Caldarale, Charles R wrote: From: Pantvaidya, Vishwajit [mailto:vpant...@selectica.com] Subject: RE: Running out of tomcat threads - why many threads in RUNNABLEstage even with no activity So socket_keepalive is already 1. So does this mean

Re: Processes are not showing in the JConsole

2009-05-21 Thread Rainer Jung
On 21.05.2009 14:57, Caldarale, Charles R wrote: From: Anamika raj [mailto:rajnam...@gmail.com] Subject: Processes are not showing in the JConsole the process which i want to monitor on JConsole not showing in the JConsole window. Welcome to the wonderful world of Windows security. At

Re: AJP connections just stop working

2009-05-21 Thread Rainer Jung
I looked at the dumps. Comments inline. On 18.05.2009 20:33, kvancamp wrote: My problem seems to be most similar to this post. We are having intermittent problems with the JBoss/Tomcat AJP 1.3 connector hanging. From searching the JBoss and Tomcat user forums, other issues that are similar

Re: NIO Connector: Too many open files

2009-05-21 Thread Rainer Jung
On 21.05.2009 17:55, Christopher Schultz wrote: All, I've been testing the performance of various Tomcat configurations against Apache httpd and my serious tests are not completing for the NIO connector because the server is running out of files: May 20, 2009 2:35:55 AM

Re: NIO Connector: Too many open files

2009-05-21 Thread Rainer Jung
2 remarks about all your stress testing efforts: A) TIME_WAIT When not doing HTTP Keep-Alive, under high load the size of the TCP hash table and the effectiveness of the system to lookp up TCP connections can limit the throughput you can reach. More precisely, depending on the excat way of

Re: mod_proxy, Tomcat and request URL

2009-05-21 Thread Rainer Jung
On 20.05.2009 17:33, Markus Schönhaber wrote: Andre-John Mas: this is not the ideal setup, I don't have any control over this. At the same time I see that using mod_proxy, by way of ProxyPass, means that the Tomcat server does not know what hostname was used to access the Apache

Re: Making Apache httpd fallback to local file after receiving 404 from backend Tomcat?

2009-05-21 Thread Rainer Jung
On 20.05.2009 10:52, Imner, Andreas wrote: Hi all I'm setting up a website using Apache webserver 2.2.11 / mod_jk 1.2.28 (Windows Server 2000) that connects to two backend Apache Tomcat 6.0.18 server (Windows Server 2003) with load balancing. The webserver also uses mod_proxy to

Re: Request entity too large when using SSO (IIS Integrated Windows authentication -Tomcat )

2009-05-21 Thread Rainer Jung
On 20.05.2009 07:20, pappu wrote: Chuck, --- If by Tomcat 5 you really mean Tomcat 5.0, please be aware that 5.0 has not been supported for quite some time. You do need to move up. --- Yes I do mean Tomcat 5.0. The reason why we are having this

Re: Running out of tomcat threads - why many threads in RUNNABLE stage even with no activity

2009-05-21 Thread Rainer Jung
On 21.05.2009 20:59, Pantvaidya, Vishwajit wrote: 3) I think I already indicated that you do not want to look at entries in TIME_WAIT state. This state is special and not related to any threads [Pantvaidya, Vishwajit] My netstat o/p had FIN_WAIT and CLOSE_WAIT, but not TIMED_WAIT. Did some

Re: Running out of tomcat threads - why many threads in RUNNABLEstage even with no activity

2009-05-21 Thread Rainer Jung
On 22.05.2009 00:19, Pantvaidya, Vishwajit wrote: [Pantvaidya, Vishwajit] I will set - cachesize=1 (doc says jk will autoset this value only for worker-mpm and we use httpd 2.0 prefork) You don't have to: JK will discover this number for the Apache web server automatically and set the pool

Re: How to get thread dump on Tomcat 6 (windows)

2009-05-20 Thread Rainer Jung
On 20.05.2009 18:37, madhu sudhan bandari wrote: Hi Chris, I have installed JDK1.6 only..is jconsole solves my problem?.. As Chris pointed out correctly, jstack *is* part of a recent version of the JDK 1.6. If you really have the JDK 1.6.0, then there is a jstack.exe in the bin folder. We

Re: Running out of tomcat threads - why many threads in RUNNABLE stage even with no activity

2009-05-20 Thread Rainer Jung
On 20.05.2009 19:47, Caldarale, Charles R wrote: From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Subject: RE: Running out of tomcat threads - why many threads inRUNNABLEstage even with no activity - Setting connectionTimeout in server.xml seems to have resolved the issue Only

Re: Running out of tomcat threads - why many threads in RUNNABLEstage even with no activity

2009-05-20 Thread Rainer Jung
On 20.05.2009 00:53, Pantvaidya, Vishwajit wrote: -Original Message- From: Rainer Jung [mailto:rainer.j...@kippdata.de] Sent: Monday, May 18, 2009 11:10 PM To: Tomcat Users List Subject: Re: Running out of tomcat threads - why many threads in RUNNABLEstage even with no activity

Re: Running out of tomcat threads - why many threads in RUNNABLEstage even with no activity

2009-05-19 Thread Rainer Jung
On 19.05.2009 02:54, Caldarale, Charles R wrote: From: Pantvaidya, Vishwajit [mailto:vpant...@selectica.com] Subject: RE: Running out of tomcat threads - why many threads in RUNNABLEstage even with no activity Ok - so then the question is when does tomcat transition the thread from

Re: Trouble building tcnative

2009-05-18 Thread Rainer Jung
On 18.05.2009 18:03, Juha Laiho wrote: Christopher Schultz wrote: I've never built tcnative before, but I'm no stranger to the standard UNIX source package build process. I'm having a bit of difficulty building this. ... ...and this is where things fall apart for me. Here's the output of

Re: Trouble building tcnative

2009-05-18 Thread Rainer Jung
On 18.05.2009 19:38, Martin Gainty wrote: dl/l tomcat-native-1.1.16-win32-src from http://tomcat.apache.org/download-native.cgi Cannot open include file: 'apr.h': No such file or directory? also i did'nt see makefile ? Assuming yoiu're asking about Windows build? It's not yet documented, but

Re: Running out of tomcat threads - why many threads in RUNNABLE stage even with no activity

2009-05-18 Thread Rainer Jung
On 13.05.2009 23:28, Pantvaidya, Vishwajit wrote: My setup is tomcat 5.5.17 + mod_jk 1.2.15 + httpd 2.2.2. I am using AJP1.3. Every 2-3 days with no major load, tomcat throws the error: SEVERE: All threads (200) are currently busy, waiting... I have been monitoring my tomcat TP-Processor

Re: Running out of tomcat threads - why many threads in RUNNABLE stage even with no activity

2009-05-18 Thread Rainer Jung
On 14.05.2009 20:29, Pantvaidya, Vishwajit wrote: I set connectionTimeout in server.xml to 60 and now the RUNNABLE threads go back to WAITING stage after that time. But our other servers which are running the same configuration, same webapp and do not have connectionTimeout set in

Re: Problems configuring mod_jk

2009-05-18 Thread Rainer Jung
Hi Gregor, On 18.05.2009 20:07, Gregor Schneider wrote: Hi guys, I'm about to update an old Tomcat-instance (5.5.quite_old) to the latest 5.5, also I'm about to update an outdated mod_jk to the latest version. The old config of mod_jk had quite some depricated directions included, so I

Re: AJP connections just stop working

2009-05-18 Thread Rainer Jung
On 18.05.2009 20:33, kvancamp wrote: My problem seems to be most similar to this post. We are having intermittent problems with the JBoss/Tomcat AJP 1.3 connector hanging. From searching the JBoss and Tomcat user forums, other issues that are similar to mine are:

Re: Tomcat not closing threads

2009-05-18 Thread Rainer Jung
On 18.05.2009 16:43, Chetan Chheda wrote: Our network team is already engaged and looking into this. We had several instances of tomcats locking up today. I have attached one such thread dump here .. Can some of you pls take a look and point me into the right direction? There are 149

Re: Tomcat not closing threads

2009-05-18 Thread Rainer Jung
On 18.05.2009 20:03, Chetan Chheda wrote: HTTPd.conf : Timeout 300 KeepAlive On MaxKeepAliveRequests 100 KeepAliveTimeout 30 HTTP Keep-Alive is nice to achieve lower latency, but it will drive up the number of httpd threads you need. 100 requests and 20 seconds is for most use cases to

Re: Problems configuring mod_jk

2009-05-18 Thread Rainer Jung
On 18.05.2009 21:51, Gregor Schneider wrote: Hi Rainer, On Mon, May 18, 2009 at 9:35 PM, Rainer Jung rainer.j...@kippdata.de wrote: The error means: you told mod_jk to use it, but you forgot to define it. All vhost-definitions within Apache are alike when it comes to the jk-specs, thus I'm

Re: Running out of tomcat threads - why many threads in RUNNABLE stage even with no activity

2009-05-18 Thread Rainer Jung
Yes, those two look like waiting for next request on an existing connection from the web server to Tomcat and sitting idle in the pool, waiting for a new connection to handle. On 18.05.2009 22:44, Pantvaidya, Vishwajit wrote: [Pantvaidya, Vishwajit] Here are figures from 3 of the servers which

Re: mod_jk: question regarding log-format

2009-05-15 Thread Rainer Jung
On 15.05.2009 18:18, Christopher Schultz wrote: Gregor, On 5/15/2009 11:59 AM, Gregor Schneider wrote: however, in the docs (http://tomcat.apache.org/connectors-doc/reference/printer/apache.html) i can't find what %a and %b mean. Read more closely: The Tomcat Connector module date

Re: Peformance on socket reads

2009-05-14 Thread Rainer Jung
On 14.05.2009 14:34, David kerber wrote: This post is a follow-on to my performance with many small requests thread from a couple days ago. I have been watching my app, and taking thread dumps when things seem to be running a bit slower than I would like. Right now, the biggest bottleneck

Re: Tomcat GC threads

2009-05-14 Thread Rainer Jung
On 14.05.2009 15:29, Chetan Chheda wrote: We are using -XX:+UseParNewGC option in our Tomcat JVMs with -XX:ParallelGCThreads=16 on a 6 CPU system. What is the real impact of having a higher number of GC threads than the number of CPUs? With the 2 tomcat JVMs running on the box, would you

Re: tomcat close_wait state and proxy error when connecting to my web application

2009-05-13 Thread Rainer Jung
On 12.05.2009 23:26, orahi001 wrote: Hi, I have apache web server running on one box as a proxy server tomcat running on another box. The apache server connects to application server (tomcat) via proxy passthru parameter. The server running tomcat was recently rebooted. When it came

Re: Preventing OutOfMemoryError: Java heap space

2009-05-13 Thread Rainer Jung
On 13.05.2009 08:07, Peter Crowther wrote: From: André Warnier [...@ice-sa.com] would it not be easier to catch the OOM exception and then return a sorry, server overloaded page to the browser ? At that point, it's too late. A thread, somewhere in the system, tried to allocate some memory

Re: Confused by mpm/mod_jk

2009-05-12 Thread Rainer Jung
On 12.05.2009 02:09, Bill Davidson wrote: The 150 threads do not make a good fit to your MaxClients of 256. If your Apache is mainly forwarding requests to Tomcat, then it doesn't make much sense to allow 256 parallel connections to Apace, but only 150 on the backend. That will result in some

Re: Analyzing Tomcat related VM crash?

2009-05-12 Thread Rainer Jung
On 12.05.2009 01:13, Andre-John Mas wrote: I have added the details to the end of this e-mail. # SIGSEGV (0xb) at pc=0x06546578, pid=7456, tid=2349013936 Current thread (0x08060800): GCTaskThread [stack: 0x8bfb1000,0x8c032000] [id=7459] Other Threads: 0x8bd97800 VMThread [stack:

Re: IIS tomcat connector plugin fail to reverse proxy.

2009-05-12 Thread Rainer Jung
On 12.05.2009 01:40, eric tse wrote: I am trying to use the IIS tomcat connector to act like a reverse proxy If I hit the IIS at /MWGAT it will forward the tomcat with /GAT However I fail to do this In the documentation

Re: problems with mod_proxy (apache 2.2.9) and tomcat ajp connector (6.0.18)

2009-05-12 Thread Rainer Jung
On 12.05.2009 15:20, Michael Biebl wrote: 2009/5/12 André Warnier a...@ice-sa.com: Michael Biebl wrote: Hi, first of all, I'd like to say hi, as I'm new to the list. I hope you can help me with the following problem I have. I run a stock Debian lenny installation with apache 2.2.9 and

Re: IE + Flash + mod_jk issue

2009-05-12 Thread Rainer Jung
On 12.05.2009 22:33, Stephen More wrote: I have a flash application ( Macromedia Breeze Presentation ) that is working fine when I access it directly from tomcat's port 8080. When I access it through apache using mod_jk, IE loads some of the flash files, but not all. The problem is only

Re: Confused by mpm/mod_jk

2009-05-11 Thread Rainer Jung
Hi Bill, On 11.05.2009 23:15, Bill Davidson wrote: I'm trying to understand mpm_worker MaxCLients and it's relationship with mod_jk connection_pool_size. Here's what I've got at the moment: OS: Red Hat 5.2 Server httpd: 2.2.11 tomcat-connector: 1.2.28 tomcat: 6.0.18 Java: 1.6.0_13

Re: IIS Redirect Issue

2009-05-10 Thread Rainer Jung
On 10.05.2009 12:43, Maze, Jeffrey S. wrote: It's running on IIS6 and Win2k3 Server. I downloaded version .15 through .28 and will try different versions and see if it still occurs. If it is coming from the redirector, I would expect to see heavy continuing log activity once you switch the log

Re: Connector Issue - Tomcat 6.0/IIS 6.0

2009-05-08 Thread Rainer Jung
Rainer Jung-3 wrote: Your log snippet indicates, that the request was successfully forwarded to Tomcat and Tomcat returned with 404. Since you left out to much from the log, we can't say for sure, whether thew request in the redirector log is the same, as the 200 request in the IIS

Re: Connector Issue - Tomcat 6.0/IIS 6.0

2009-05-07 Thread Rainer Jung
Your log snippet indicates, that the request was successfully forwarded to Tomcat and Tomcat returned with 404. Since you left out to much from the log, we can't say for sure, whether thew request in the redirector log is the same, as the 200 request in the IIS log. If you can provide access to

Re: I have a problem with Apache, Tomcat

2009-05-06 Thread Rainer Jung
On 05.05.2009 22:17, nohacks wrote: 1) Which component should respond to this request, Apache or Tomcat? Tomcat should answer all. I am not using Apache to server any Static content. OK, and I assume you actually checked, that it *is* Tomcat that produces the answer in the 404 case. I

Re: what is mod_jk parameter connection_pool_timeout in mod_proxy / mod_proxy_ajp / apache httpd?

2009-05-06 Thread Rainer Jung
from x.x.x.x:8009 (x.x.x.x) 2009/4/27 Rainer Jung rainer.j...@kippdata.de Because I use mpm-prefork as mentioned, default smax=max=1. Does it make sense to set smax to 0 to get a ttl for the one and only connection? I would say yes, it does make sense. So zero connections will be created

Re: what is mod_jk parameter connection_pool_timeout in mod_proxy / mod_proxy_ajp / apache httpd?

2009-05-06 Thread Rainer Jung
incompatibilities. It might be somewaht more tedious to find out how to do this exactly, than to build mod_jk, because for mod_jk the build is always done against an already installed Apache httpd. Regards, Rainer 2009/5/6 Rainer Jung rainer.j...@kippdata.de Not 100% sure, whether this is part

Re: jk-to-tomcat multiple retries

2009-05-06 Thread Rainer Jung
Thanks for letting us know. On 06.05.2009 19:32, Dmitry Beransky wrote: We were finally allowed to upgrade to Tomcat 5.5.27 and that seemed to have done away with the symptoms (I'm reluctant so say that upgrading fixed the problem, since I don't even know what it was in the first place ;-)

Re: I have a problem with Apache, Tomcat

2009-05-05 Thread Rainer Jung
On 05.05.2009 16:12, nohacks wrote: Hi Guys, Thanks for your feedback with this issue. This has been making me crazy for such a long time. I have put this in last night and tested. VirtualHost *:80 JkMount /*.jsp loadbalancer JkMount /*.jsf loadbalancer

Re: get Mod_jk precedence over mod_rewrite in Apache2

2009-05-05 Thread Rainer Jung
On 05.05.2009 14:38, christophe.dumo...@ifma.fr wrote: Hello to the list, Here is my context : My apache2 server must provide a default access (http://servername/*) to a default (Tomcat) webapps ROOT, so I configure mod_jk in apache2 like this : JkMount / * /home/tomcat/webapps/ROOT, this

Re: get Mod_jk precedence over mod_rewrite in Apache2

2009-05-05 Thread Rainer Jung
On 05.05.2009 16:13, André Warnier wrote: christophe.dumo...@ifma.fr wrote: ... Suggestion : instead of using the JkMount/JkUnMount way of configuring your forwarded URLs, use the way described here : http://tomcat.apache.org/connectors-doc/reference/apache.html in the section : Using

Re: Tomcat over AJP with Apache in front SSL Issues

2009-05-04 Thread Rainer Jung
On 04.05.2009 03:27, matt617 wrote: when using apache 2.2, tomcat 5.5.20 on top of java 1.5.10+ using Apache with Mod_SSL and Mod_Proxy to connect the Incoming http session through AJP to Tomcat my browser repeatidly prompts me for a ceritficate. 3 times at the beginning, then about 3 times

Re: I have a problem with Apache, Tomcat

2009-05-04 Thread Rainer Jung
On 04.05.2009 19:50, André Warnier wrote: Hi Chris too, and hi nohacks. I was not quite convinced by Chris's explanation, so I tested this by myself. Apache httpd 2.2.3 mod_jk 1.2.18 (quite old) Tomcat 5.5.27 In my case, URI's starting with /starweb are being redirected to Tomcat by

Re: IIS 6 Tomcat Connector isapi_redirect-1.2.28.dll not being called 404 2 1260 error

2009-05-03 Thread Rainer Jung
On 01.05.2009 22:46, FOREBACK Dianne wrote: I cannot get IIS 6 to use the Tomcat connector to redirect requests. I followed the directions in http://tomcat.apache.org/connectors-doc/webserver_howto/iis.html configuring the registry by hand. This should be a relatively simple task but I am

Re: jk-to-tomcat multiple retries

2009-05-02 Thread Rainer Jung
On 01.05.2009 18:19, Dmitry Beransky wrote: We have the strangest problem started happening to us a few weeks ago (after several years of running pretty much the same configuration). 1. The problem is only happening in the production environment. We cannot reproduce it on staging, which as

Re: Need help on Custom Accesslog

2009-05-02 Thread Rainer Jung
On 01.05.2009 22:55, Vijay wrote: Hi, I wanted to send a application message like Application specific GUID to the accesslogs, the GUID is generated by our system and it is not general or available in the request or the response So i was wondering if there is any way where we can send

Re: what is mod_jk parameter connection_pool_timeout in mod_proxy / mod_proxy_ajp / apache httpd?

2009-04-27 Thread Rainer Jung
are) - are there other systems influencing idle connections between the web server and the backend (like a firewall dropping idle connections) Regards, Rainer 2009/4/26 Rainer Jung rainer.j...@kippdata.de Look for ttl on page http://httpd.apache.org/docs/2.2/mod/mod_proxy.html

Re: what is mod_jk parameter connection_pool_timeout in mod_proxy / mod_proxy_ajp / apache httpd?

2009-04-26 Thread Rainer Jung
On 26.04.2009 03:05, Arne Riecken wrote: Hello, in the past I used mod_jk with workers with connection_pool_timeout=600 and tomcat ajp connector with corresponding connectionTimeout=60 as recommended. Now I additionally want to use mod_proxy_ajp with apache 2.2.9. Where in apache

Re: mod_jk, not sure if an issue

2009-04-25 Thread Rainer Jung
sending cping from Apache to Tomcat overa previously established connection, and EPIPE should indicate a remote socket/connection close (or maybe reset?). Maybe Tomcat has a default connectTimeout? Not sure at the moment. Regards, Rainer Rainer Jung wrote: Hi André, On 22.04.2009 18:29, André

Re: Load balancing and sticky sessions

2009-04-24 Thread Rainer Jung
On 24.04.2009 09:29, Tom Cooper wrote: Ben Stringer wrote: Hi all, I have two servers, each running 5 instances of Tomcat and apache. I need to do load balancing between them with sticky sessions. The load balancing seems to work but not the sticky sessions. I am using mod_ajp. I see that

Re: isapi redirector question

2009-04-24 Thread Rainer Jung
On 24.04.2009 13:28, danny.van-denst...@shell.com wrote: IIS - isapi redirector - Tomcat Versions: OS Windows 2003 enterprise edition x64 SP2 (2X dual-core ADM Opteron 2218 processor) IIS6.0 x64 Tomcat5.5.exe version 2.0.4.0 X64 isapi_redirect-1.2.27.dll (via tomcat site x64) Java

Re: isapi redirector question

2009-04-24 Thread Rainer Jung
On 24.04.2009 15:26, danny.van-denst...@shell.com wrote: Tomcat is running fine (working) and IIS is running fine (working) Steps taken to install isapi redirect: · Go to the 'bin folder' of the Tomcat installation and add isapi_redirect-1.2.27.dll,install4iis.js · Go to the

Re: mod_jk, not sure if an issue

2009-04-24 Thread Rainer Jung
Hi André, On 22.04.2009 18:29, André Warnier wrote: As (maybe) part of another issue which I am still trying to track down with the concerned network people (client write errors, Sample 2 below), Before commenting Sample 1: Although we generally respond to the client errors topic with Users

Re: Apache HTTP before Tomcat

2009-04-23 Thread Rainer Jung
On 23.04.2009 16:13, Bart Ophelders wrote: Hi, If I put an Apache HTTP server in front of Tomcat, will this influence performance? Thanks in advance! Latency goes up somewhere in the two digit millisecond range. Whether that matters depends on your use cases. For real life applications

Re: windows 2k3 / Tomcat 6 / IIS configuration - randomlylosing sessions

2009-04-22 Thread Rainer Jung
On 22.04.2009 06:44, Caldarale, Charles R wrote: From: Menachem Husarsky [mailto:husar...@hotmail.com] Subject: Re: Re: windows 2k3 / Tomcat 6 / IIS configuration - randomlylosing sessions Do you have any suggestions for me for how to debug this in a finer more controlled fashion? Have

Re: Directed Load Balancing with Sticky Sessions

2009-04-21 Thread Rainer Jung
On 21.04.2009 07:48, Mike Duffy wrote: I've read through the load balancing info in the docs: Using Apache HTTP Server 2.x with mod_proxy What I would like to do is have users sign in on one server and then, based on geographic characteristics, redirect them to another server. If I

Re: R: Apache / Tomcat Load Balanced mode

2009-04-21 Thread Rainer Jung
On 21.04.2009 09:06, Leandro Dardini wrote: -Messaggio originale- Da: Karthik Nanjangude [mailto:karthik.nanjang...@xius-bcgi.com] Inviato: martedì 21 aprile 2009 7.34 A: Tomcat Users List Oggetto: Apache / Tomcat Load Balanced mode Hi Would the same work with Apache / Tomcat

<    4   5   6   7   8   9   10   11   12   13   >