Re: mod_jk ping_timeout revisit

2009-04-17 Thread Rainer Jung
On 17.04.2009 01:30, Anthony J. Biacco wrote: On 16.04.2009 01:49, Anthony J. Biacco wrote: worker.template.socket_timeout=10 I'm not very much in favor of the socket_timeout, but well, if you think you need it. Just for the sake of completeness, please check, whether having no

Re: [SECURITY] CVE-2008-5519: Apache Tomcat mod_jk information disclosure vulnerability

2009-04-17 Thread Rainer Jung
Hi, the problem is not fixed in httpd 2.2.11. It will be fixed in 2.2.12. A source patch is available under the URL http://www.apache.org/dist/httpd/patches/apply_to_2.2.11/ I assume, that you don't build yourself, because most Windows httpd users start with a binary download. There is no

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

2009-04-17 Thread Rainer Jung
On 17.04.2009 16:55, Scott Bradshaw wrote: Markus, Is the header name called Authentication ? If so, we had this exact same issue a few years ago. The length of this HTTP header was too long for mod_jk to process and the request was getting dropped. I think you might be able to configure

Re: JK 1.2.28 - load balancer worker fails on startup with one worker down ?

2009-04-17 Thread Rainer Jung
On 17.04.2009 18:02, André Warnier wrote: To my knowledge, the only case where the DNS would fail to provide an IP address of a correctly-written FQDN name, is if you have some configuration where your hosts register themselves under some variable IP address when they startup. But that would

Re: JK 1.2.28 - load balancer worker fails on startup with one worker down ?

2009-04-17 Thread Rainer Jung
, Rainer On Apr 17, 2009, at 10:16 AM, Rainer Jung wrote: On 17.04.2009 18:02, André Warnier wrote: To my knowledge, the only case where the DNS would fail to provide an IP address of a correctly-written FQDN name, is if you have some configuration where your hosts register themselves under some

Re: What Tomcat presentations / demos / discussions do you want to see at ApacheCon US 2009?

2009-04-16 Thread Rainer Jung
On 16.04.2009 12:44, Mark Thomas wrote: Gregor Schneider wrote: - Concerning how often questions regarding mod_jk are showing up in the list: mod_jk - HowTo / Best practices Any takers for presenting this? Not sure, whether this is too specific for ApacheCon, but yes, if there is interest, I

Re: JK 1.2.28 - load balancer worker fails on startup with one worker down ?

2009-04-16 Thread Rainer Jung
On 16.04.2009 17:55, Scott Bradshaw wrote: Still continuing to guess.. This is about efficiency. If mod_jk had to do a DNS lookup each time it wants to send a packet to a backend Tomcat (or at least each time it wants to create a new connection to a backend Tomcat), that would be very

Re: mod_jk ping_timeout revisit

2009-04-16 Thread Rainer Jung
Hi Anthony, On 16.04.2009 01:49, Anthony J. Biacco wrote: A month or so ago I posted that I was having problems with mod_jk (1.2.27) getting a pong response back from tomcat (6.0.18) in responses to a ping. Apache is 2.2.11 with worker mpm. I have a little more information now and am hoping

Re: Help with mod_jk and Apache 2.2

2009-04-15 Thread Rainer Jung
Hi André, +1 to your forthcoming documentation contributions. Great explanation. Regards, Rainer - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: mod_jk Problem

2009-04-15 Thread Rainer Jung
On 15.04.2009 08:19, Munkhbold.B wrote: Hi I have a problem with tomcat connector mod_jk. From time to time the connector completely hangs apache. Tomcat alone is still alive, but apache no longer replies to requests, and I need to restart both In mod_jk logs file I have a

Re: RewriteRule inside JkMount location

2009-04-11 Thread Rainer Jung
Only one little addition below: On 11.04.2009 14:19, André Warnier wrote: J Channel wrote: [...] Hi. Let me jump in here for a while. First, I think it would be clearer (and certainly more efficient), to move your Rewrite rules away from a .htaccess file in docroot, and just put them

Re: Contributing to Tomcat docs, short version

2009-04-10 Thread Rainer Jung
Hi André, seems you have adventurous holidays ;) On 10.04.2009 18:27, André Warnier wrote: Re: http://tomcat.apache.org/connectors-doc/miscellaneous/doccontrib.html Warning to potential contributors : The deceptively innocent line C:\build\svn checkout

Re: Contributing to Tomcat docs, long version

2009-04-10 Thread Rainer Jung
On 10.04.2009 19:54, André Warnier wrote: The person who wrote that page (I won't cite his name but I think his initials may be RJ) has this nice comment right after that line : See http://svn.eu.apache.org/viewvc/tomcat/connectors/trunk/jk/xdocs/miscellaneous/doccontrib.xml for a history of

Re: Contributing to Tomcat docs, long version

2009-04-10 Thread Rainer Jung
Hi André, On 10.04.2009 20:15, André Warnier wrote: Rainer Jung wrote: On 10.04.2009 19:54, André Warnier wrote: The person who wrote that page (I won't cite his name but I think his initials may be RJ) has this nice comment right after that line : See http://svn.eu.apache.org/viewvc

Re: RewriteRule inside JkMount location

2009-04-10 Thread Rainer Jung
On 10.04.2009 21:41, J Channel wrote: Hi!Apache 2.2.11, mod_jk 1.2.28 httpd.conf: LoadModule jk_module modules/mod_jk.so JkOptions +ForwardURICompat JkMount /app/* balancer LoadModule rewrite_module modules/mod_rewrite.so DocumentRoot /var/www/public_html .htaccess in docroot:

Re: RewriteRule inside JkMount location

2009-04-10 Thread Rainer Jung
On 10.04.2009 23:24, J Channel wrote: 2009/4/11 Rainer Jung rainer.j...@kippdata.de On 10.04.2009 21:41, J Channel wrote: Hi!Apache 2.2.11, mod_jk 1.2.28 httpd.conf: LoadModule jk_module modules/mod_jk.so JkOptions +ForwardURICompat JkMount /app/* balancer LoadModule rewrite_module

Re: how mod_jk load balancer auto recover node?

2009-04-09 Thread Rainer Jung
On 09.04.2009 04:02, WenDong Zhang wrote: Hi all, I'm using httpd 2.2 mod_jk as the load balancer server. There 2 tomcat nodes under the cluster. After run a long time, the tomcat node need to restart (because I found that the system resource's usage is too high, the cpu usage is almost

Re: Tomcat 6 Cluster with Apache 2.2.9 issues

2009-04-08 Thread Rainer Jung
On 08.04.2009 23:23, nohacks wrote: thanks for the reply. I updated my workers.properties file to worker.list=loadbalancer still get this in my mod_jk.log. [Wed Apr 08 17:21:46.840 2009] [29811:3075569408] [warn] jk_map_validate_property::jk_map.c (410): The attribute

Re: CLOSE_WAIT and what to do about it

2009-04-08 Thread Rainer Jung
Hi André, I didn't fully read all responses, so I hope i don't repeat to much (or worse contradict statements contained in other replies). On 08.04.2009 12:32, André Warnier wrote: Like the original poster, I am seeing on my systems a fair number of sockets apparently stuck for a long time in

Re: apache/tomcat communication issues (502 response)

2009-04-08 Thread Rainer Jung
On 08.04.2009 08:23, feedly team wrote: We are running apache and tomcat on the same machine (using the http connector) and logging requests in both. Occasionally (maybe 1% of requests) we see 502 response in the apache log spread fairly evenly throughout the day. these requests don't appear

Re: tomcat, mod_jk, and apache

2009-04-08 Thread Rainer Jung
On 08.04.2009 20:39, André Warnier wrote: Jordan Michaels wrote: Another possibility is having a single source for your host setup, with some kind of script/program to generate both the httpd and Tomcat config files from that. (That could turn out to be a marketable product.) The

Re: tomcat process memory

2009-04-08 Thread Rainer Jung
On 08.04.2009 16:25, Andrew Hole wrote: I'm using Your Kit Java Profiler: PID USER PR NI VIRT RES SHR S %CPU %MEMTIME+ COMMAND 32121 tomcat25 0 1649m 962m 15m S 76 24.3 23:00.14 java At this moment I've 501 heap allocated memory and 146 non-heap. The total

Re: Tomcats stops on Apache restart

2009-04-07 Thread Rainer Jung
think it was ksh on Solaris at that time). Regards, Rainer Groeten Leon -- Leon Brouwers System Engineer GX open for business t: +31(0)24 - 388 82 61 f: +31(0)24 - 388 86 21 e: le...@gx.nl KvK: 10044410 -Original Message- From: Rainer Jung [mailto:rainer.j...@kippdata.de

Re: Sun Webserver connector problem - nsapi_redirector

2009-04-07 Thread Rainer Jung
the leading space in front of the content lines of the element Object name=jknsapi in obj.conf. That should do the trick. Now that I found it, I remember that happened to some other user one or two years ago. Will add to the docs. Have fun! Rainer Rainer Jung-3 wrote: On 02.04.2009 21:47, dmitriz

Re: Sun Webserver connector problem - nsapi_redirector

2009-04-07 Thread Rainer Jung
On 07.04.2009 21:21, Rainer Jung wrote: Will add to the docs. Done. Rainer - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Tomcats stops on Apache restart

2009-04-06 Thread Rainer Jung
On 01.04.2009 09:46, Leon Brouwers wrote: Hello, We have a large number of tomcats (5.5.26) on serveral servers. These tomcats communicate with a apache httpd on the same server using mod_jk (1.2.26). They all work fine until I restart apache httpd. Then randomly and certainly not all the

Re: ajp_read_header: ajp_ilink_receive failed

2009-04-06 Thread Rainer Jung
On 07.04.2009 00:08, Christopher Schultz wrote: On 4/6/2009 5:51 PM, John Oliver wrote: RHEL 5.2, httpd-2.2.3-11.el5_1.3, tomcat5-5.5.23-0jpp.7.el5_2.1 2.2.3 is pretty old... any chance of upgrading to 2.2.11? You're nearly 3 years out of sync with the state-of-the-art. ++1 mod_proxy_ajp

Re: nsapi_redirector with Sun Java System Web Server 7.0?

2009-04-06 Thread Rainer Jung
On 03.04.2009 21:01, Andy Wang wrote: Has anyone used the nsapi redirectory to connect SJSWS 7.0 with Tomcat? I noted that the documentation all still refers to 6.0, but the README on the binaries page is somewhat encouraging: # nsapi_redirector-1.2.28-sjsws6.1sp11.so is for Sun Java System

Re: Sun Webserver connector problem - nsapi_redirector

2009-04-06 Thread Rainer Jung
On 02.04.2009 21:47, dmitriz wrote: I'm attaching log and config files here. Thanks. I compared with my test setup. I'm not sure whether the following changes are relevant, but you can try: - magnus.conf: I have the two Init lines related to jk as the first Init lines, directly after the

Re: ajp_read_header: ajp_ilink_receive failed

2009-04-06 Thread Rainer Jung
On 07.04.2009 01:01, John Oliver wrote: On Tue, Apr 07, 2009 at 12:40:42AM +0200, Rainer Jung wrote: [Sun Mar 29 04:05:33 2009] [error] ajp_read_header: ajp_ilink_receive failed [Sun Mar 29 04:05:33 2009] [error] (120006)APR does not understand this error code: proxy: read response failed

Re: mod_jk : recovery_options

2009-03-31 Thread Rainer Jung
On 30.03.2009 22:24, Jorge Medina wrote: I did not get any response to my questions, but from previous messages (posted by Rainer Jung) I believe that using the default values for retry and recovery_options may produce the unexpected result I was having. I changed the recovery_options on my

[ANN] Apache Tomcat JK 1.2.28 Web Server Connector released

2009-03-27 Thread Rainer Jung
The Apache Tomcat team is pleased to announce the immediate availability of version 1.2.28 of the Apache Tomcat Connectors. It contains connectors, which allow a web server such as the Apache HTTP Server, Microsoft IIS and Sun Web Server to act as a front end to the Tomcat web application

Re: Training classes for Apache web server and Tomcat

2009-03-26 Thread Rainer Jung
On 25.03.2009 22:25, Jhary wrote: I am looking for good comprehensive training courses for installing, configuring and managing the Apache web server and the Tomcat server. Do you know of such classes being offered anywhere? See: http://wiki.apache.org/tomcat/SupportAndTraining Regards,

Re: mod_jk and failover

2009-03-26 Thread Rainer Jung
On 26.03.2009 12:59, Nuno Manuel Martins wrote: Hi All, First the versions I am using: Tomcat 6.0.16 JRE 1.6.0_06 Mod_jk 1.2.25 Now for the problem we are experiencing: We are making some tests to use in production the TomCat Cluster with JK_Mod and are using the 1 Apache with mod_jk and 2

Re: Setting Tomcat System Properies **without** -D on Command Line

2009-03-25 Thread Rainer Jung
On 25.03.2009 18:54, Mike Reidy wrote: Hello, I would like to be able to configure system properties at Tomcat start-up *without* adding them to the startup command line, for example you might add -Dxx.yyy.zzz=123 to the command line to add a system property called xxx.yyy.zzz with a value of

Re: reversed proxy stopped working with tomcat cluster

2009-03-25 Thread Rainer Jung
On 20.03.2009 18:48, János Löbb wrote: Hi, I have two real machines. One of them is a Windows XP running Apache 2.2.10 + mod_jk /release date of 10/30/2008/ + Tomcat 6.0.16. The other one is a Mac with OSX 10.5.6 with Apache 2.2.9 + mod_jk 1.2.26 and Tomcat 6.0.16. The XP machine runs one

Re: Slightly OT: Who is attending the Tomcat courses on Monday Tuesday

2009-03-21 Thread Rainer Jung
On 22.03.2009 00:37, Pieter Temmerman wrote: Hi List, Just wondering, anyone from the list who is attending the Tomcat training? I'm flying to Amsterdam tomorrow, in case somebody is in for some beers, just let me know! :) I'll be there the whole week, but not attending the Tomcat training.

Re: AJP Response Header

2009-03-20 Thread Rainer Jung
On 20.03.2009 09:11, Siddharth Shah wrote: I am using a web resource through NATing I have nated 1.1.1.1: to 2.2.2.2:80, Now when I make http requests to 1.1.1.1:, I can able to access to resources over 2.2.2.2:80 In response.sendRedirct, response send to 1:1:1:1 with 80 poet (Nated IP

Re: mod_jk through a firewall (yes, I RTFM)

2009-03-19 Thread Rainer Jung
On 19.03.2009 14:02, Jeff Fulmer wrote: I'm having difficulty with failover testing. When a tomcat server goes away due to networking issues, the site become effectively unusable. Here's the architecture: = apache1tomcat1 LB FW = apache2tomcat2 If I stop

Re: Submitting Website Patches

2009-03-17 Thread Rainer Jung
[Mark was faster, but since I already wrote this I'll send anyhow] Hi Chris, On 17.03.2009 14:37, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tomcat committers, What is the best way to submit a patch for the Tomcat website docs -- like ones that are linked-to

Re: Throttling in mod_jk - Is it possible ?

2009-03-17 Thread Rainer Jung
On 17.03.2009 19:11, Mohit Anchlia wrote: mod_jk 1.2.25 - Is there a way to throttle traffic in apache. Something where we mention if requests on particular URL exceeded 'x' number then return 'y' message? Since Apache is modular, there are other modules, that allowe throttling. Most of them

Re: Problems with LoadBalancing

2009-03-13 Thread Rainer Jung
On 13.03.2009 10:54, Toni Menendez Lopez wrote: Here is the trace with the error, from mod_jk.log with DEBUG mode, but I suspect where is the error... The thing is that I have 2 workers working one for JBOSS (MCDP) and one for TOMCAT(izonetv), and the thing is that in the call I do redirect

Re: Problems with LoadBalancing

2009-03-13 Thread Rainer Jung
On 13.03.2009 14:08, Toni Menendez Lopez wrote: The behaviour is the one that I explained in the first mail, that when I stop one of the servers, I ahve very huge delays to respond to the requests of the session that were managed by this server. OK. After reading documentation I think that

Re: Apache/mod_jk serves random files from tomcat

2009-03-13 Thread Rainer Jung
On 13.03.2009 17:50, SQ wrote: Rainer Jung-3 wrote: Just to make sure, we are talking about the same kind of observation: could you please describe independently, how the observed problem looks like in your case? In development, the developers are getting other people pages. So user1

Re: Apache/mod_jk serves random files from tomcat

2009-03-13 Thread Rainer Jung
On 13.03.2009 18:14, Rainer Jung wrote: Not sure the answer to that. Both were installed by other people, who either don't recall their orgins, or are no longer employed here. I'm working on building the 1.2.27 from source right now. We're x86, not sparc, by the way. OK. For Solaris x86 we

Re: mod_proxy_balancer and session affinity

2009-03-12 Thread Rainer Jung
On 12.03.2009 10:43, Andrew Hole wrote: Hi guys! I can't find any documentation regarding session affinity using mod_proxy_balancer (http protocol). Anyone have or know where i cand find it? Look for route and stickysession on the page http://httpd.apache.org/docs/2.2/mod/mod_proxy.html

Re: Apache/mod_jk serves random files from tomcat

2009-03-12 Thread Rainer Jung
On 12.03.2009 16:42, SQ wrote: Good to see others are seeing the same problem that’s been driving us crazy and is slowly become a very serious issue. Admittedly, my knowledge on this whole area is limited, but I’ll try my best to provide as much info as possible to help solve the problem. Here

Re: Problems with LoadBalancing

2009-03-12 Thread Rainer Jung
On 12.03.2009 17:45, Toni Menendez Lopez wrote: Rainer, May be my problem is due to the fact I have the line : #worker.izonetv.sticky_session_force=1 commented. The reason is that if I uncomment this line I have this error in Apache : [Thu Mar 12 17:31:37 2009][23548:6496] [error]

Re: request.getRemoteAddr() vs. request.getHeader(REMOTE_ADDR)

2009-03-11 Thread Rainer Jung
On 10.03.2009 23:10, André Warnier wrote: Rainer Jung wrote: [...] 2) getRemoteAddr() gives you the address of the system, which opened the connection. In case of an AJP connector, this is not true, because AJP is meant to be used for reverse proxies. So here you get the address of the system

Re: Problems with LoadBalancing

2009-03-11 Thread Rainer Jung
On 11.03.2009 14:03, Toni Menendez Lopez wrote: Hello everybody, I have following architecture : 2 Server with Apache and Tomcat Versions : APACHE - httpd -v Server version: Apache/2.0.52 Server built: May 24 2006 11:45:06 TOMCAT - ./version.sh Using JRE_HOME:

Re: Need Hellp With Tomcat 6 / Apache 2.2 Cluster Problem

2009-03-11 Thread Rainer Jung
On 11.03.2009 16:28, Alston, Brian (US SSA) wrote: Filip I was under the assumption, from my reading, that load balancing was a component of clustering. At least that's how the O'Reilly book makes me feel. I added the option to the end of the line and it now looks like this:

Re: request.getRemoteAddr() vs. request.getHeader(REMOTE_ADDR)

2009-03-11 Thread Rainer Jung
On 11.03.2009 21:51, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 2) getRemoteAddr() gives you the address of the system, which opened the connection. In case of an AJP connector, this is not true, because AJP is meant to be used for reverse proxies. So here you get

Re: Apache/mod_jk serves random files from tomcat

2009-03-11 Thread Rainer Jung
On 11.03.2009 20:19, LukeK wrote: Rainer Jung-3 wrote: did you find out in the meantime, whether you were using the tcnative (aka APR) connector? I was certainly using libtcnative, and removed it at the start of the month. I haven't seen enough to definitively say that it solved the problem

Re: request.getRemoteAddr() vs. request.getHeader(REMOTE_ADDR)

2009-03-11 Thread Rainer Jung
On 11.03.2009 22:22, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rainer, On 3/11/2009 5:06 PM, Rainer Jung wrote: No, because [mod_jk] tries to act transparent by default, so it passes the original client/server situation to Tomcat and Tomcat patches it's client

Re: request.getRemoteAddr() vs. request.getHeader(REMOTE_ADDR)

2009-03-11 Thread Rainer Jung
On 11.03.2009 23:52, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rainer, On 3/11/2009 6:45 PM, Rainer Jung wrote: On 11.03.2009 22:22, Christopher Schultz wrote: Your previous message seems to say that mod_jk will provide the IP address of the server running

Re: request.getRemoteAddr() vs. request.getHeader(REMOTE_ADDR)

2009-03-10 Thread Rainer Jung
On 10.03.2009 17:02, André Warnier wrote: Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, On 3/6/2009 2:03 PM, Mark Thomas wrote: Bing Zheng wrote: The tomcat server (version 5.5.23) is behind a load balancer. If I use request.getRemoteAddr(), it returns the

Re: Apache/mod_jk serves random files from tomcat

2009-03-10 Thread Rainer Jung
Hi Yuval, did you find out in the meantime, whether you were using the tcnative (aka APR) connector? Regards, Rainer On 19.02.2009 11:34, Yuval Perlov wrote: Just the swapping responses has me concerned. Thank you so much for the rest of your responses we will put them to good use once we

Re: Mod_JK 1.2.25 Incorrect Object Returned

2009-03-10 Thread Rainer Jung
On 10.03.2009 16:57, a...@apics.co.uk wrote: Hi All, I hope this is the correct list to post the following issue to, apologies if it isn't. I am currently supporting a number of Apache 2.0.59 server with Mod_JK 1.2.25, connecting to a jboss backend. Most of the time the system runs without

Apache Tomcat Connectors snapshot 1.2.28-dev-752124 available for testing.

2009-03-10 Thread Rainer Jung
Hi all, version 1.2.28 of mod_jk is approaching its release. A code snapshot (revision 752124) is available at: http://tomcat.apache.org/dev/dist/tomcat-connectors/jk/source/jk-1.2.28-dev/ Please join us in ensuring the quality of the forthcoming release by testing this snapshot. The source

Re: mod_jk not working as expected - is there a bug??

2009-03-10 Thread Rainer Jung
Hi, On 10.03.2009 19:47, Mohit Anchlia wrote: I am currently testing this. Hoping this will help us achieve 0 customer impact when we upgrade our system. Is it possible for mod_jk to check 2 ports to determine if that worker should be out of service? For eg: if 8010 is down but 8009 port is up

Re: Max Number of users

2009-03-09 Thread Rainer Jung
On 09.03.2009 10:24, Gregor Schneider wrote: And no, Tomcat is not reliable at all, it's more kinda toy for bored developers such as me. :) - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional

Re: Tomcat Clustering trouble when starting up under high load

2009-03-09 Thread Rainer Jung
On 09.03.2009 09:24, Mikel Ibiricu wrote: So, It works OK but when starting up one of the nodes with over 500 sessions alive in the other, it doesn't replicate anything. We assume that it would not be able to replicate everything... but why it does either replicate everything or nothing? If it's

Re: mod_jk and 304

2009-03-09 Thread Rainer Jung
On 09.03.2009 18:07, Anthony J. Biacco wrote: Download the latest, configure, make, make install, check for new/deprecated directives in the jk docs, modify configs accordingly, reload apache. +1 Rainer - To unsubscribe,

Re: How to set Java Memory heap size on Linux?

2009-03-09 Thread Rainer Jung
On 09.03.2009 19:30, Caldarale, Charles R wrote: From: dOE [mailto:doep...@gmail.com] Subject: Re: How to set Java Memory heap size on Linux? What is the syntax of the setenv.sh script? It's whatever syntax your shell supports. The export command is often needed for Linux shells. The

Re: [OT] RE: Max Number of users

2009-03-09 Thread Rainer Jung
On 10.03.2009 00:05, Caldarale, Charles R wrote: From: Gregor Schneider [mailto:rc4...@googlemail.com] Subject: Re: [OT] RE: Max Number of users I'll provide my business-card in Amsterdam so that you believe me that it's *not* Jeppesen Kölnische Rückversicherungs-Gesellschaft AG, part of Gen

Re: JkMount a different location

2009-03-02 Thread Rainer Jung
On 02.03.2009 03:21, Andres Riancho wrote: List, I've search the Tomcat FAQ, but I haven't been able to find any answers, so... here is my question... I have a JSP application deployed in Tomcat inside the /abc/ directory; and I want to be able to access it from *two different locations*

Re: Jk disable worker on status

2009-03-02 Thread Rainer Jung
On 02.03.2009 15:55, mturra wrote: I have a tomcat farm behind an apache httpd cluster, each apache http server have a jk connector connected to three tomcat. Each tomcat have a max active session limit (let's say 10). I configured a load balanced worker with three worker. I would like to

Re: Mod_jk problem

2009-03-02 Thread Rainer Jung
On 02.03.2009 16:57, Partha Goswami wrote: Yes.. This is not an answer for an or question :( There is a second item, that seems to be broken: # Where to put jk logsJkLogFile /var/log/httpd/mod_jk.log In case Apache doesn't start with mod_jk, you should find an error either in your Apache

Re: mod_jk not working as expected - is there a bug??

2009-03-02 Thread Rainer Jung
On 02.03.2009 20:28, Mohit Anchlia wrote: I will change the JkLogLevel and post the results. I have a question though: Does prepost_timeout also detect if it received http code such as 503 from app server. prepost_timeout activates Cping/Cpong before each request. mod_jk will send a tiny test

Re: Apache - Tomcat connection problem

2009-02-26 Thread Rainer Jung
On 26.02.2009 22:35, Daryl Stultz wrote: It appears my last post didn't make it through some virus scanner (Antigen for Exchange found Body of Message infected with Exceeded Realtime Timeout virus.) Apologies if it made it to the list. On Tue, Feb 24, 2009 at 7:40 PM, Rainer

Re: mod_jk not working as expected - is there a bug??

2009-02-25 Thread Rainer Jung
On 25.02.2009 02:47, Mohit Anchlia wrote: In httpd conf I just see JkMount and no other directive. I searched for Jk. There should be others as well, for instance JkWorkersFile to point to your workers.properties. The names of the directives are case insensitive, they can also be in files

Re: mod_jk

2009-02-25 Thread Rainer Jung
On 25.02.2009 03:12, ilndinesh wrote: But if you have only one Tomcat to send requests to, then all this tells you is that this Tomcat is not responding. So now what do you do ? In this case, I want apache to treat the request as DECLINED by mod_jk, so that if we put some static content in

Re: mod_jk not working as expected - is there a bug??

2009-02-25 Thread Rainer Jung
On 25.02.2009 16:50, János Löbb wrote: I am not sure the stickiness should be attached to the tc worker. I would rather do it for the the real workers level, that is at appfe[1234]. Consider also worker.appfe[1234].sticky_session_force = False for each appfe[1234] worker. The page

Re: mod_jk not working as expected - is there a bug??

2009-02-25 Thread Rainer Jung
On 25.02.2009 17:10, Mohit Anchlia wrote: you are right there is a mod-jk.conf. So given my workers.properties file what should I change so that mod_jk detects that app server is down before attempting to send the request. Shouldn't retries in workers.properties try to connect to some other app

Re: mod_jk

2009-02-24 Thread Rainer Jung
On 24.02.2009 19:18, Mohit Anchlia wrote: We have Web Servers talking to Jboss App Servers over mod_jk. When we do our patch or upgrade of software we do it in rolling fashion so that there is 0 customer impact. But it looks like mod_jk load balancer on Web server doesn't detect it as soon as

Re: Apache - Tomcat connection problem

2009-02-24 Thread Rainer Jung
On 24.02.2009 21:50, Daryl Stultz wrote: I'm running Tomcat 5.5.17 behind Apache 2.2.2. I am connecting with a Tomcat AJP connector like so: Connector port=8009 enableLookups=false redirectPort=8443 protocol=AJP/1.3 / and Apache ProxyPass like so: ProxyPass /myapp

Re: apache tomcat connector header size

2009-02-24 Thread Rainer Jung
On 19.02.2009 21:54, eric tse wrote: which Apache/Tomcat connector are you talking about ? isapi_redirect.dll (1.2.14.0) The official site is http://tomcat.apache.org/connectors-doc/ what versions of Apache, Tomcat, and the connector ? Proxy on IIS6 windows 2K3, tomcat backend (6.0.18) on

Re: Apache - Tomcat connection problem

2009-02-24 Thread Rainer Jung
On 24.02.2009 23:31, Daryl Stultz wrote: Tomcat AJP connector defaults to 200 for maxThreads. The site has 20 Defaults? I think no, and you haven't configured 200 in your abive config snippet. See Christopher's response. Do you know of the implementation being different than the docs? No,

Re: mod_jk not working as expected - is there a bug??

2009-02-24 Thread Rainer Jung
On 25.02.2009 00:00, Mohit Anchlia wrote: Reposting: Apache Server - 2.2 Tomcat server 6 Jboss - 4.2 We have Web Servers talking to Jboss App Servers over mod_jk. When we do our patch or upgrade of software we do it in rolling fashion so that there is 0 customer impact. But it looks like

Re: Cannot find workers

2009-02-20 Thread Rainer Jung
On 19.02.2009 23:49, Wesley Schwengle wrote: On 19.02.09 14:37 Wesley Schwengle wrote: Could not find worker with name 'w_coinmi' in uri map post processing. workers.list=w_coinmi, w_testme The correct syntax is worker.list. The error is gone.. *bangs head against a wall* Yeah, since the

Re: mod_jk pool/thread/configure questions

2009-02-20 Thread Rainer Jung
On 19.02.2009 19:39, Caldarale, Charles R wrote: From: Rainer Jung [mailto:rainer.j...@kippdata.de] Subject: Re: mod_jk pool/thread/configure questions Try maxSpareThreads and minSpareThreads. Do those still work without an Executor? There are no get/set methods for those attributes

Re: mod_jk pool/thread/configure questions

2009-02-20 Thread Rainer Jung
On 19.02.2009 19:17, Anthony J. Biacco wrote: the max of 400 and stay there until tomcat is restarted. Is there a way to resolve this? And more importantly, should I resolve it? Is there any major memory/CPU inplications to it keeping its threads at the max? Do a thread dump kill -QUIT. It

Re: mod_jk

2009-02-19 Thread Rainer Jung
On 18.02.2009 01:40, Mohit Anchlia wrote: Is there a way to verify if mod_jk is load balancing properly among given live servers As pointed out by others, you can use the status worker. You can also add access logs to the backends, and check, how much traffic each of those accumulates.

Re: AJP13 Connector and JKOptions

2009-02-19 Thread Rainer Jung
On 19.02.2009 05:35, Pete Helgren wrote: What do the URL's look like? Here is an example. If I right click and get the properties on the missing image, I see this (well I'd add a more real looking URL but the this mailing list has rejected my last 9 attempts as spam...):

Re: mod_jk pool/thread/configure questions

2009-02-19 Thread Rainer Jung
On 18.02.2009 19:14, Anthony J. Biacco wrote: 1. I'm running with ThreadsPerChild at 25 and MaxClients at 500. So, I understand this to mean my connection pool minimum size will be a total of 13. (25+1/2). Yes, per Apache httpd process! And then that this will be divided between my 4 tomcat

Re: AJP13 Connector and JKOptions

2009-02-19 Thread Rainer Jung
or a context path problem. I had the impression you had either a server name or a port problem. Then the ROOT context will not help. Regards, Rainer Pete Rainer Jung wrote: On 19.02.2009 05:35, Pete Helgren wrote: What do the URL's look like? Here is an example. If I right click and get

Re: Slightly OT: ApacheCon Europe 2009

2009-02-10 Thread Rainer Jung
On 30.01.2009 15:15, Gregor Schneider wrote: I'm just wondering if anyone of this list will be joining the ApacheCon in Amsterdam this year? If so, maybe we could set up kid of a userlist-meeting and see the faces behind those posts? I'll be there Sunday to Friday. I'll be also at the

Re: Deadlock situation detected/avoided with jk_log_lock

2009-02-07 Thread Rainer Jung
libraries. Rainer Jung-3 wrote: On 06.02.2009 18:13, fredk2 wrote: I was doing some stress test (with apache ab, 100 users, 100K requests) to compare an Apache prefork and worker mpm. The test url is a simple hello servlet on Tomcat 6.0.x via mod_jk. On my Sparc Solaris 10 server with only

Re: Fun with the JVM crashing.

2009-02-07 Thread Rainer Jung
On 06.02.2009 02:37, Bill Davidson wrote: I've submitted this to Sun a few times. No response. I was hoping someone here might have an idea of what to look for. Tomcat 6.0.18 RedHat 5.2Server Sun JVM # # An unexpected error has been detected by Java Runtime Environment: # # SIGSEGV (0xb) at

Re: proxy: AJP: failed to make connection to backend

2009-02-07 Thread Rainer Jung
On 27.01.2009 21:24, Jim Goodspeed wrote: I am seeing the following error in my HTTP Apache error_log. I think this is OK (I assume the timeout has expired and that it will create a new connection when it is needed), but I wanted a second opinion. We are having a problem with some dropped

Re: AJP vs HTTP connectors?

2009-02-07 Thread Rainer Jung
On 02.02.2009 21:20, Eric B. wrote: I was listening to a webinar on spring source by Filip Hanik Mark Thomas regarding tuning Tomcat for production in which they indicate that the Http connector is recommended vs an AJP connector (http://www.springsource.com/node/555). My question, then

Re: [Tomcat] [daemon] java.lang.OutOfMemoryError unable to create new native thread

2009-02-06 Thread Rainer Jung
On 03.02.2009 16:31, Steve Cohen wrote: We have an application that runs under Tomcat under RHEL 5.0 and is launched by a jsvc daemon. It chugs along seemingly fine on several servers, yet yesterday crashed on one of them with the above exception seemingly without experiencing any kind of

Re: Problem with mod_jk and Tomcat Native Connectors on Solaris

2009-02-06 Thread Rainer Jung
On 02.02.2009 20:01, Jorge Medina wrote: I am having problems with the mod_jk module 1.2.26 and Tomcat Native connectors running in Solaris 10. The problem occurs in both processors x86 (64-bit) and sparc (64-bit). (The problem does not occur on RedHat EL5 64-bit). On the mod_jk

Re: Error in building mod_jk for Apache 2.2.x and Tomcat 4.x

2009-02-06 Thread Rainer Jung
On 03.02.2009 13:29, Shweta Parakh -X (shparakh - Infosys at Cisco) wrote: I am trying to build mod_jk for Apache 2.2.11 and Tomcat 4.1.39 on Solaris platform 1. Downloaded mod_jk (version 1.2.27) source from http://tomcat.apache.org/download-connectors.cgi and is kept in

Re: And how about this mod_jk.log ?

2009-02-06 Thread Rainer Jung
On 06.02.2009 14:46, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, André Warnier wrote: Because the first part of this test had to be done by a non-specialist customer on a workstation to which I did not have access, I ended up writing a simple Perl script

Re: Limit connections to tomcat via mod_jk

2009-02-06 Thread Rainer Jung
On 04.02.2009 14:13, ben short wrote: Hi, We have Apache Httpd 2.4.4 in front of Tomcat 6.0.13 and are using mod_jk to talk between them. Apache Httpd is using prefork configured to allow 256 processes. Tomcat also has 256 threads available. When a user requests a page one call to the Tomcat

Re: mod_jk

2009-02-06 Thread Rainer Jung
On 06.02.2009 00:34, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mohit, Mohit Anchlia wrote: 1. Does apache read worker.properties dynamically? So if I change worker.property would it be dynamically read by mod_jk. mod_jk will not reload the workers.properties

Re: Deadlock situation detected/avoided with jk_log_lock

2009-02-06 Thread Rainer Jung
On 06.02.2009 18:13, fredk2 wrote: I was doing some stress test (with apache ab, 100 users, 100K requests) to compare an Apache prefork and worker mpm. The test url is a simple hello servlet on Tomcat 6.0.x via mod_jk. On my Sparc Solaris 10 server with only the Apache set to worker mpm I see

Re: mod_jk

2009-02-06 Thread Rainer Jung
On 06.02.2009 18:23, André Warnier wrote: gerhardus.geldenh...@gta-travel.com wrote: 1) As far as I know, no, mod_jk does not read workers.properties dynamically. 2) Yes and no, it will not send a request unless communication has been established with the worker, it may happen that the worker

Re: does this mod_jk.log look healthy?

2009-01-28 Thread Rainer Jung
On 28.01.2009 12:00, Arne Riecken wrote: Thanks for Your answer. There are at least two (watchdog) ajp requests through the web server to the workers every minute, and as i wrote, the ajp connection_pool_timeout ist 600, connectionTimeout in Tomcats server.xml is accordingly 60. So I cannot

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