Re: access log and Apache server

2009-09-17 Thread Rainer Jung
On 17.09.2009 15:26, Tim Funk wrote: There is no way. But you can alter the format property to log the Via header which does have the ip address. (But it will also have more text in it too) The X-Forwarded-For request header should do it. mod_proxy sets it. If you use mod_proxy_ajp, then

Re: Need Help - Mod_jk/Apache - Mutiple Content issue

2009-09-16 Thread Rainer Jung
On 15.09.2009 14:50, balakarthik.baska...@wipro.com wrote: I tried with all the configuration that you defined and am still able to simulate the partial content when I make the code to sleep for a time greater than the time defined in the reply timeout. Yes, that's expected when using a

Re: Need Help - Mod_jk/Apache - Mutiple Content issue

2009-09-16 Thread Rainer Jung
On 15.09.2009 15:32, balakarthik.baska...@wipro.com wrote: Hi Rainer, The other possible configuration that I think probably we might be lacking/quite different is that we are loadbalancing the requests among 240 worker nodes each pointing to one app instance (all app instances available in

Re: 64-bit connector issues on W2K8 IIS7

2009-09-15 Thread Rainer Jung
On 15.09.2009 05:34, George Sexton wrote: Most likely, someone has configured IIS to run in 32-bit mode. I had this happen with a customer. They were using another app that required 32-bit mode for compatibility. If you do end up running the 32-bit Redirector, you need to put your registry

Re: Need Help - Mod_jk/Apache - Mutiple Content issue

2009-09-14 Thread Rainer Jung
On 14.09.2009 09:22, balakarthik.baska...@wipro.com wrote: - Will the access log contain an entry for each request that is seen in the jk log?I can see a corresponding entry in the accesslog for an entry in the jk log in my local setup.But I coulnt interpret the same from my prod log.I hope

Re: Need Help - Mod_jk/Apache - Mutiple Content issue

2009-09-14 Thread Rainer Jung
On 14.09.2009 11:33, balakarthik.baska...@wipro.com wrote: Thanks Rainer. Just Curious,did these settings helped to overcome the multiple content problem in your local setup? I never had a multiple content problem - maybe due to good configuration. Also,thanks for your pointer on the thread

Re: Need Help - Mod_jk/Apache - Mutiple Content issue

2009-09-14 Thread Rainer Jung
- see whether you still have problems and let us know if so The configurations will not help with Akamai eventually caching incomplete responses. If a backend doesn't send the full response, we can't fix it with configuration. Regards, Rainer -Original Message- From: Rainer Jung

Re: Need Help - Mod_jk/Apache - Mutiple Content issue

2009-09-14 Thread Rainer Jung
and tid. Regards, Rainer -Original Message- From: Rainer Jung [mailto:rainer.j...@kippdata.de] Sent: Monday, September 14, 2009 4:29 PM To: Tomcat Users List Subject: Re: Need Help - Mod_jk/Apache - Mutiple Content issue On 14.09.2009 12:02, balakarthik.baska...@wipro.com wrote

Re: Need Help - Mod_jk/Apache - Mutiple Content issue

2009-09-10 Thread Rainer Jung
make it to the list. You can try to post inline. Regards, Rainer -Original Message- From: Rainer Jung [mailto:rainer.j...@kippdata.de] Sent: Wednesday, September 09, 2009 11:39 PM To: users@tomcat.apache.org Subject: Re: Need Help - Mod_jk/Apache - Mutiple Content issue

Re: Need Help - Mod_jk/Apache - Mutiple Content issue

2009-09-10 Thread Rainer Jung
On 10.09.2009 14:46, balakarthik.baska...@wipro.com wrote: Hi Rainer, I did tried with a lot of combinations for the settings and can see that when recovery_options is set,no multiple content is seen and partial content is seen followed by an OK message when a huge chunk of data is written.

Re: Need Help - Mod_jk/Apache - Mutiple Content issue

2009-09-09 Thread Rainer Jung
Hi, On 09.09.2009 06:56, balakarthik.baska...@wipro.com wrote: Hi, In our production envt,we are making use of a configuration of Apache(2.2.10-1)+Mod_jk(1.2.27)+JBOSS(4.0.5)+ATG 2007.1. We are facing a problem where multiple content is being displayed to the customer.It was observed that

Re: very high CPU and load...

2009-09-09 Thread Rainer Jung
On 09.09.2009 19:44, keeplearning wrote: I have apache 2.2.3. Not sure how to find the tomcat version. We use mod_proxy_ajp connector. During the test, I see high CPU usage and load on both appservers. So, I don't think it's the issue of everything going to one appserver. With what i read

Re: Need Help - Mod_jk/Apache - Mutiple Content issue

2009-09-09 Thread Rainer Jung
of the general socket_timeout is not very nice. I would stick with a couple of the other timeouts. Regards, Rainer -Original Message- From: Rainer Jung [mailto:rainer.j...@kippdata.de] Sent: Wednesday, September 09, 2009 7:16 PM To: Tomcat Users List Subject: Re: Need Help - Mod_jk

Re: jkstatus - Error connecting to tomcat - ajp_process_callback write failed

2009-09-08 Thread Rainer Jung
the system generally more stable. Regards, Rainer Message du 07/09/09 11:43 De : Rainer Jung A : Tomcat Users List Copie à : Objet : Re: jkstatus - Error connecting to tomcat - ajp_process_callback write failed On 04.09.2009 11:42, mateo-jl wrote: Hello everybody, i got many errors

Re: mod_jk fails to forward request on high traffic

2009-09-08 Thread Rainer Jung
On 08.09.2009 17:49, Mark Thomas wrote: John Cherouvim wrote: Hello I have a website which during peak time (peak lasts around ~4 hours with 14 pageviews/sec, 140 http requests/sec) starts to drop pageview requests. My guess is that all of your Tomcat AJP threads are tied up with idle

Re: apache modjk issue

2009-09-08 Thread Rainer Jung
On 08.09.2009 17:48, sandeepkumarnimma wrote: we are using webseal,apache 2.0, mod_jk 1.2.18 and jboss 4.2.3 application server. we are facing an issue with a single application out of 36 applications configured in apache workers.properties file. we are receiving 500 internal error in

Re: jkstatus - Error connecting to tomcat - ajp_process_callback write failed

2009-09-07 Thread Rainer Jung
On 04.09.2009 11:42, mateo-jl wrote: Hello everybody, i got many errors about mod_jk but i don't know whether it's the good forum ... I have configured 4 tomcat identical servers reached by a front server apache through mod_jk. When I look at the jkstatus page, I can note a strange

Re: /context not working -- mod_jk error: no match for /server-status

2009-09-07 Thread Rainer Jung
reaching your web server from outside. Firewall, DNS, routing or similar stuff. Dennis Christopher On Sep 4, 2009, at 12:49 AM, Rainer Jung wrote: On 03.09.2009 20:24, Dennis Christopher wrote: Rainer, Trying your /sample/ I get the same result. The log appears to respond to that try

Re: mod jk - multiple applications, different server clusers, sticky sessions

2009-09-07 Thread Rainer Jung
Hi Chris, On 04.09.2009 16:29, Christopher Schultz wrote: Rainer, On 9/4/2009 12:52 AM, Rainer Jung wrote: On 03.09.2009 23:31, Christopher Schultz wrote: Whenever a client browses to webapps found on / and /foo, the requests to /foo will get TWO cookies, and confusion may occur (I'm

Re: mod_jk Tomcat AJP Connectivity problem

2009-09-07 Thread Rainer Jung
On 05.09.2009 11:02, Joseph2009 wrote: I am using Tomcat 5.5.20 and Apache 2.2 with Mod_jk 1.2.2.7 on Solaris 10 intel platform. Following is my configurations Tomcat port=8030 enableLookups=false redirectPort=8444 protocol=AJP/1.3

Re: /context not working -- mod_jk error: no match for /server-status

2009-09-03 Thread Rainer Jung
the entries are marked [debug]. 221 is process httpd with user _www. Dennis On Sep 3, 2009, at 1:26 PM, Rainer Jung wrote: On 03.09.2009 19:15, Dennis Christopher wrote: The problem is that I am trying to support simple references to my context without the tomcat port explicitly included

Re: mod jk - multiple applications, different server clusers, sticky sessions

2009-09-03 Thread Rainer Jung
On 03.09.2009 23:31, Christopher Schultz wrote: Rainer, On 9/3/2009 4:36 AM, Rainer Jung wrote: No. The stickyness doesn't magically track your clients. If the client sends a session information, and the session information contains a route tag (a suffix .nodeX, where nodeX is set

Re: /context not working -- mod_jk error: no match for /server-status

2009-09-03 Thread Rainer Jung
, 2009, at 2:05 PM, Rainer Jung wrote: On 27.08.2009 15:45, Dennis Christopher wrote: environment: Tomcat 6.0.18 under apache2 on Mac OS X Server 10.5 (Leopard). I am using a mod_jk connector with JBoss. I am having trouble getting context urls of the form website.my.com/myapplication honoured

Re: IIS isapi_redirect.dll chunked encoding option

2009-09-03 Thread Rainer Jung
On 02.09.2009 22:17, Andy Wang wrote: Rainer Jung wrote: Difficult to answer. My feeling is, that the code is fine and the original contributor Tim Whittington seemed to have used basically the same code for quite some time. On the other hand only having it in a separate binary will still

Re: redirect paramter in the jk_workers file

2009-09-03 Thread Rainer Jung
balancer if a node goes down, wait with failover for 20 seconds. In this case , can you please tell me wheather this is sutaible and how it works. Regards, Rainer -Original Message- From: Rainer Jung [mailto:rainer.j...@kippdata.de] Sent: Wednesday, September 02, 2009 11:28 PM

Re: mod jk - multiple applications, different server clusers, sticky sessions

2009-09-03 Thread Rainer Jung
On 02.09.2009 23:38, Jason Wright wrote: I've an interesting situation with our application clusters. I am running multiple applications for one of our websites. We don't share sessions between the different servers; we use sticky sessions instead. Session replication is difficult because of

Re: An unexpected error has been detected by Java Runtime Environment:

2009-09-03 Thread Rainer Jung
On 03.09.2009 11:42, Tsirkin Evgeny wrote: environment : Apache Tomcat/6.0.18 Solaris 9 64 bit jdk1.6.0_13 On one of the servers we are today getting constantly errors: An unexpected error has been detected by Java Runtime Environment. Here are some of those:

Re: /context not working -- mod_jk error: no match for /server-status

2009-09-03 Thread Rainer Jung
, Rainer Jung wrote: On 02.09.2009 21:45, Dennis Christopher wrote: Rainer, Thanks for the reply. I was confused in my orginal post: I am not using JBoss at all, only mod_jk. The file contents are as follows below. Apache has a hosts directory, but I'm not sure if the files matter

Re: /context not working -- mod_jk error: no match for /server-status

2009-09-03 Thread Rainer Jung
3, 2009, at 12:48 PM, Rainer Jung wrote: On 03.09.2009 15:34, Dennis Christopher wrote: Rainer, I am not sending /server-status explicitly. The mod_jk log which I excerpted earlier shows the processing of server-status before any context is asked for, apparently when Tomcat starts up

Re: redirect paramter in the jk_workers file

2009-09-02 Thread Rainer Jung
Your mailer uses a very unfriendly way of formatting your messages. So I do top posting. Yes, as you can read on http://tomcat.apache.org/connectors-doc/reference/workers.html the atribute redirect is supported since version 1.2.9. For a two node load balancer, you don't need it though. If you

Re: Error when build mod_jk with apache 2.2 under FreeBSD 7.2-STABLE 64bit?!

2009-09-02 Thread Rainer Jung
On 28.08.2009 05:39, James Chang wrote: Hi there, I try to buind mod_jk with apache 2.2 (also build from port tree but with worker mode) from porttree of FreeBSD but I it show me the following error messages:

Re: /context not working -- mod_jk error: no match for /server-status

2009-09-02 Thread Rainer Jung
On 27.08.2009 15:45, Dennis Christopher wrote: environment: Tomcat 6.0.18 under apache2 on Mac OS X Server 10.5 (Leopard). I am using a mod_jk connector with JBoss. I am having trouble getting context urls of the form website.my.com/myapplication honoured (or even localhost/myapplication).

Re: processing precedence for mod_jk config?

2009-09-02 Thread Rainer Jung
On 26.08.2009 15:57, Christopher Schultz wrote: Is this due to the new version of mod_jk and that's just how it behaves, or because I have a very open mapping for the mount directives, or something else I'm just not seeing. I don't believe there have been significant changes to the way

Re: mod_jk and jsessionid issue

2009-09-02 Thread Rainer Jung
On 26.08.2009 11:29, lmk wrote: It works using JkStripSession directive. Then either something is wrong with your JkMount (Apache not using it as you intended), or the URLs of the images are broken in the sense, that they are not beginning with /context/. To sum up the previous discussion: -

Re: Trying to configure mod_jk

2009-09-02 Thread Rainer Jung
On 26.08.2009 00:20, Troy Bull wrote: Greetings I have been trying to get this to work for hours and I am stuck. I am trying to configure mod_jk and it works to a point, that is up until the back end app does a redirect, the redirected url is passed all the way back to the browser, then

Re: possibility of runtime replication of jkstatus / mod_jk

2009-09-02 Thread Rainer Jung
On 19.08.2009 15:12, Markus Pohle wrote: Hi list members, I am Markus Pohle, new subscriber to this list and long time user of apache tomcat and tomcat connector (with apache httpd). I do have a question according to mod_jk and jkstatus for which I did not find any answer or solution,

Re: mod_jk, missing uri map

2009-09-02 Thread Rainer Jung
... or try JkMountCopy All On 13.08.2009 09:28, bazzaP wrote: I came across the same error in my mod_jk.log file. It turned out not to be a problem with my mod_jk configuration though...I had set the transport-guarantee in web.xml to CONFIDENTIAL, but forgotten to configure the server

Re: mod_jk mod_proxy configuration generator webapp

2009-09-02 Thread Rainer Jung
Very cool! On 07.08.2009 20:53, Samuel Mendenhall wrote: Here is a webapp I wrote recently: http://lbconfig.appspot.com/ to solve the annoying problem of hand writing an optimized configuration for mod_jk setup, which for me, I do a lot. This is by no means feature complete, and I welcome

Re: Tomcat behind Apache reverse proxy

2009-09-02 Thread Rainer Jung
On 11.08.2009 15:37, Rainer Frey wrote: On Tuesday 11 August 2009 10:40:48 Mark Thomas wrote: Rainer Frey wrote: With AJP, isn't that information also available in the protocol request and set automatically by the AJP connector? I believe so. I tried, and it works. Does it make sense to

Re: Tomcat over AJP with Apache in front SSL Issues

2009-09-02 Thread Rainer Jung
On 14.08.2009 06:53, matt617 wrote: I am using Apaches MOD SSL to do the certificate enforcement. It then uses the mod proxy to push the certificate info over AJP to my tomcat instance. tomcat does not have SSL enables at the container level but my application seems to pick up the

Re: Apache Server failover and session replication

2009-09-02 Thread Rainer Jung
On 02.09.2009 19:57, Sumedh Sakdeo wrote: Hello All, I have a setup with two tomcat instances(AB). I have configured an apache web server 2.2 for load balancing and fail over. Setup looks fine as per the configurations suggested. Let tomcat A be handling some request at sometime.

Re: [OT] Apache httpd prefork versus worker MPM

2009-09-02 Thread Rainer Jung
On 19.07.2009 20:46, James Abley wrote: James Abley wrote: This assumes that mod_jk is thread-safe and doesn't suffer from the known problems with non-thread-safe modules in worker MPM. Can anyone confirm that's true? Answering my own question; from the docs, it looks like mod_jk is built by

Re: IIS isapi_redirect.dll chunked encoding option

2009-09-02 Thread Rainer Jung
On 21.08.2009 20:51, Andy Wang wrote: What are the general thoughts on the stability of the enable_chunked_encoding option for the IIS isapi redirector for tomcat and IIS? We're running into a scenario where something is causing IIS to not send down the complete response. Haven't figured

Re: Jakarta Connector 1.2.28 with Windows Server 2008 32bit, IIS 7.0

2009-09-02 Thread Rainer Jung
What's your configuration? Anything in the log file of the redirector? You might also double check http://tomcat.apache.org/connectors-doc/webserver_howto/iis.html Regards, Rainer On 25.08.2009 13:46, Michael Wall wrote: From: Michael Wall mw...@nordicedge.se Date: Tue, Aug 25, 2009 at 1:05

Re: Client SSL certificate chain in Tomcat 6 when using AJP

2009-09-02 Thread Rainer Jung
On 31.08.2009 18:38, iam wrote: Bill, Thanks for your prompt response. I see that it will be available in Tomcat 6.0.21 onwards. Do you know when will it be available for download ? Also, does it resolve the 8k size limit on AJP connector or if there is a way around it ? We are using

Re: thread dumps catalina.out

2009-09-02 Thread Rainer Jung
On 02.09.2009 21:05, Jim Cox wrote: FWIW, I usually do a tail/tee on catalina.out in a term, then do the kill -QUIT tomcat PID from another term, then kill the tail/tee combo which leaves me with a reasonably clean thread dump. For example: Terminal A: prompt$ tail -f

Re: Can catalina-cluster from Tomcat 5.5 be used in Tomcat 6?

2009-09-02 Thread Rainer Jung
On 01.09.2009 20:16, Florian Kirchhoff wrote: I would like to know if it possible to use the legacy clustering module from Tomcat 5.5 in Tomcat 6. I remember seeing a separate project for this exact purpose but cannot find it anymore, does anyone know about this? To preempt any question

Re: reply timeout, connect_timeout and preprost_timeout values

2009-07-14 Thread Rainer Jung
On 14.07.2009 04:34, Madhuri Patwardhan wrote: Did you read the docs page about timeouts: http://tomcat.apache.org/connectors-doc/generic_howto/timeouts.html If you are very concerned about timeouts, use version 1.2.28, because it has an additional socket_connect_timeout. connect_timeout and

Re: reply timeout, connect_timeout and preprost_timeout values

2009-07-14 Thread Rainer Jung
. JK_LB_FIRST_NAME, JK_LB_LAST_NAME, JK_LB_LAST_ERRORS, JK_LB_LAST_BUSY, JK_LB_LAST_ACCESSED). Regards, Rainer --- On Tue, 7/14/09, Rainer Jung rainer.j...@kippdata.de wrote: From: Rainer Jung rainer.j...@kippdata.de Subject: Re: reply timeout, connect_timeout and preprost_timeout values

Re: Problem with apache tomcat while running load test

2009-07-13 Thread Rainer Jung
On 10.07.2009 07:31, Aneesha Pant wrote: We have configured 2 tomcats with 1 Apache on the same box, but during performance testing, we are continuously getting these errors in the mod_jk log Please help Since 111 on most OSes is connection refused, I am guessing you got OutOfmemoryError on

Re: request thread hanging

2009-07-13 Thread Rainer Jung
On 13.07.2009 02:28, Will Glass-Husain wrote: Thanks Christopher, I'll upgrade to the latest mod_jk and look at the timeout params. We'll see if that helps. Since you can easily reproduce, it would be a interesting and easy test, to deactivate the tcnative/APR connector and recheck, whether

Re: IIS ISAPI redirector help! Attempting to map URI always fail with invalid argument.

2009-07-13 Thread Rainer Jung
On 11.07.2009 00:41, Dan Ganny wrote: I am really desperate to need some help with a weird customer issue. The IIS ISAPI redirector log excerpt is posted below. The URI printed out in the log is '/24.220.76.4http://24.220.76.4/CCPROChat/CPChatRequest.jsp'. This is obviously invalid, I

Re: Any way that scheme and/or proxyPort attributes in server.xml can add significantly to processing time?

2009-07-13 Thread Rainer Jung
On 13.07.2009 06:51, Shaun Qualheim wrote: All -- Is there any way that scheme and/or proxyPort attributes in server.xml can add significantly to processing time? We're noticing that 2 identical servers, 1 that is straight http, and 1 that is behind an ssl offloader with scheme=https and

Re: Blocked threads in Tomcat web app

2009-07-13 Thread Rainer Jung
On 13.07.2009 10:12, Raphael Neve wrote: Hello all, I have a problem with a web application using Tomcat 5.5.27 under Fedora Linux and database Firebird 2.1. The application runs fine for a day or so, then I begin getting blocked threads. Eventually, the heap space runs out and the

Re: Blocked threads in Tomcat web app

2009-07-13 Thread Rainer Jung
On 13.07.2009 11:05, Raphael Neve wrote: Rainer Jung-3 wrote: TP-Processor16 owns lock at 0x73a71c40 and thus blocks TP12, TP5 and TP1. TP16 and TP2 both wait for lock 0x73a71dd0. The thread holding this lock is not in your dump. Since the lock is of type

Re: Blocked threads in Tomcat web app

2009-07-13 Thread Rainer Jung
On 13.07.2009 11:31, Raphael Neve wrote: Rainer Jung-3 wrote: [...] Yup, and the code run by the finalizer makes a network call (likely to the database), which seems to be a very bad pattern. Finalizers are not a great idea by themselves, but one needs to keep them as simple as possible

Re: How to use the error page config of Apache in tomcat?

2009-07-13 Thread Rainer Jung
On 13.07.2009 13:59, acastanheira2001 wrote: Hi, Apache has an internationalized error page system configured on errors.conf. I use apache and tomcat on the same machine, so I would like that tomcat use the same error page config. Any ideas? Thanks, Andre Likely not exactly what you

Re: Jakarta Connector 1.2.28 with Windows Server 2008 64bit, IIS 7.0 and Tomcat 6.0.18

2009-07-13 Thread Rainer Jung
On 13.07.2009 15:04, Simon Kulessa wrote: Hello, I am trying to configure IIS 7.0 and Tomcat 6.0.18 with the JK 1.2.28 Connector. OS is Windows Server 2008 64bit. I have followed the tutorial from http://www.iisadmin.co.uk/?p=72 but all i get is a 404 error. It seems that the

Re: mod_jk on Windows 2008 x64

2009-07-08 Thread Rainer Jung
On 07.07.2009 12:44, Alexander Diedler wrote: Hello, Yes, it is an AMD Opteron CPU with 64-Bit. I install the Apache Webserver in 32-bit Tomcat in 32 Bit, with 64-Bit tomcat6.exe Java JDK from Sun site in 64-bit Version mod_jk Binaries from the 32-bit folder of Tomcat FTP Server because

Re: Solaris 10 mod_jk problems...

2009-07-08 Thread Rainer Jung
On 08.07.2009 15:24, thekat wrote: Thanks for all the replies.. My build environment seems to be hosed.. so fixing that at the moment.. It seems that Solaris is the odd Duck out on a lot of stuff I do.. :-) I will post back my findings.. and I will probably post a guide on

Re: mod_jk on Windows 2008 x64

2009-07-07 Thread Rainer Jung
On 07.07.2009 10:07, Alexander Diedler wrote: Hi, I do several installations in the past with success for Windows 2003 and mod_jk with Apache Webserver, but now i am stopping at a Windows 2008 Server. The Apache Webserver don´t start during I add the lines for JkMount, JKLogfile, and

Re: Sticky session and ModJK Load Balancer

2009-07-06 Thread Rainer Jung
On 06.07.2009 20:27, Emilio Recio wrote: Mark Thomas wrote: Emilio Recio wrote: Hi, i have installed Apache 2.2 and two Tomcat 6 whit load balancing in cluster mode using mod_jk module and setting sticky session in TRUE, and memory replication. I was testing my project and work perfect.

Re: Session replication without Apache

2009-07-06 Thread Rainer Jung
On 06.07.2009 20:33, Manu_SF wrote: Hi, I have a working prototype tomcat cluster with 2 worker nodes connected to Apache webserver as the Loadbalancer with mod_jk connectors. The session replication works like a charm with these 2 nodes. However, my ultimate goal is to deploy it over a

Re: mod_jk 1.2.28 connection pooling not working

2009-07-03 Thread Rainer Jung
On 03.07.2009 19:21, Brain Stormer wrote: Well, I have the following parameters.. tomcat-maxThreads=512 httpd-MaxClients=600 http-ThreadsPerChild=60 httpd-connection_pool_size=60 And after adjusting all parameters still no pools created, only 2 to 4 threads have the ESTABLISHED

[Fwd: FIXED: Re: No cookies using proxypass* from apache 2]

2009-07-02 Thread Rainer Jung
Subject: FIXED: Re: No cookies using proxypass* from apache 2 Date: Thu, 2 Jul 2009 07:30:48 -0500 From: Robert Schmid rsch...@raptor.net To: Rainer Jung rainer.j...@kippdata.de For reasons I can't explain, all my mail back to the list is being rejected as spam. Could you forward this to list so

Re: Partial fix was Re: No cookies using proxypass* from apache 2

2009-07-01 Thread Rainer Jung
On 01.07.2009 19:03, Robert Schmid wrote: I have solved part of the problem. Apple installs a virtual host configuration file called _any_80_.conf in the sites directory. That file interferes with ProxyPass directives in other virtual host configs. So #1 below is fixed. Still no

Re: Help with Layer 7 LB and Tomcat

2009-06-25 Thread Rainer Jung
Hi, On 25.06.2009 02:36, Vinicius Carvalho wrote: Hello there! We are adding a new server to our park, and now we are going to use LB for both machines. We are using an Alteon 180e layer 7 switch to perform LB. So far everything was fine. But we decided to let the router do all the SSL part

Re: mod_jk MAX WORKERS

2009-06-25 Thread Rainer Jung
On 25.06.2009 08:46, Mladen Turk wrote: Fletcher Cocquyt wrote: Hi, we have noticed when we get close to 150 workers/2000bytes defined in our worker.list - mod_jk 1.2.20 starts to break (could not find worker for worker name=xyz) Anyone know what the limits are on 1.2.28 in terms of

Re: Help with Layer 7 LB and Tomcat

2009-06-25 Thread Rainer Jung
On 25.06.2009 14:06, Vinicius Carvalho wrote: Thanks Rainer, I've already set up clusters using apache + mod_jk (mod_proxy) with and without ssl. The problem now is just the Alteon LB, which is not my area, so I was looking for some advices on setting up with a layer 7 swtich. Did you

Re: compiling mod_jk1.2.28 with apache2.2.9 on windows 2003 server help needed.

2009-06-25 Thread Rainer Jung
Hi, On 25.06.2009 14:08, Ashwin K wrote: Hi , I have followed the instruction said in here Building mod_jk for Apache on Windows NT/2K/XP at this official tomcat site http://tomcat.apache.org/connectors-doc/webserver_howto/apache.html. Basically the step i did was 1) download and

Re: Apache mod_jk SetEnvIf negative look ahead not working

2009-06-23 Thread Rainer Jung
Hi, On 22.06.2009 06:10, as2 wrote: Hi, I am trying to add a rule .. some thing like this LocationMatch /app/ SetHandler jakarta-servlet SetEnvIf REQUEST_URI \.(jsp|htm?)$ JK_WORKER_NAME=default SetEnvIf REQUEST_URI ^(/app/dir/([^/]*)/(?!jsp)) no-jk /LocationMatch I am

Re: Tomcat 6 not working with Apache 1.3.37 on Debian

2009-06-23 Thread Rainer Jung
On 23.06.2009 14:57, zvince wrote: I found an error in my Apache configuration : IfModule jk_module is wrong. IfModule mod_jk.c is correct. IfModule !mod_jk.c is what we need to load the module. The ! means that the directives will be executed if the module is not in the modules list. so,

Re: mod_jk does not recognize extension

2009-06-18 Thread Rainer Jung
Hi Chris, On 17.06.2009 19:15, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rainer, On 6/17/2009 3:45 AM, Rainer Jung wrote: Thanks, added as r785498 in a slightly different wording. Will be part of 1.2.29. Does that mean that the website has to wait

Re: mod_jk does not recognize extension

2009-06-17 Thread Rainer Jung
On 17.06.2009 00:09, Christopher Schultz wrote: Rainer, On 6/16/2009 1:05 PM, Rainer Jung wrote: Would you mind to provide some sentences or corrections for specific docs pages? How about adding: Rule extensions were added in mod_jk 1.2.17. If you would like to use rule (mount

Re: mod_jk does not recognize extension

2009-06-16 Thread Rainer Jung
On Fri, Jun 12, 2009 at 10:24 AM, Tsirkin Evgeny tsir...@gmail.com wrote: On Fri, Jun 12, 2009 at 1:25 AM, Rainer Jung rainer.j...@kippdata.dewrote: On 11.06.2009 14:26, Tsirkin Evgeny wrote: Hi list! I have mod_jk 1.2.26 configured and working fine. However i want to set a special

Re: chunked encoding

2009-06-13 Thread Rainer Jung
On 12.06.2009 17:48, Anthony J. Biacco wrote: Rainer Jung: On 12.06.2009 10:43, Markus Schönhaber wrote: No, it's not strange at all. If the length of the response body is not known when the response headers are sent, you obviously can't add a Content-Length header. That has nothing to do

Re: chunked encoding

2009-06-13 Thread Rainer Jung
On 13.06.2009 14:51, Rainer Jung wrote: On 12.06.2009 17:48, Anthony J. Biacco wrote: Rainer Jung: On 12.06.2009 10:43, Markus Schönhaber wrote: No, it's not strange at all. If the length of the response body is not known when the response headers are sent, you obviously can't add

Re: chunked encoding

2009-06-12 Thread Rainer Jung
On 12.06.2009 10:43, Markus Schönhaber wrote: Anthony J. Biacco: Hence the idea about downgrading to http 1.0. But that doesn't get me the content length header still (which in itself is strange), No, it's not strange at all. If the length of the response body is not known when the

Re: Consequences of Reusing Clustered JSESSIONID

2009-06-12 Thread Rainer Jung
On 12.06.2009 02:57, Filip Hanik - Dev Lists wrote: Rainer Jung wrote: On 10.06.2009 22:57, Filip Hanik - Dev Lists wrote: this is because apache a2 only has routes for td201 and td202... but not td101... therefore it doesn't know how to handle td101. why don't you setup all four

Re: Thread dump on Tomcat 5.5.20 running as a service

2009-06-12 Thread Rainer Jung
On 12.06.2009 15:00, Mark Thomas wrote: omairkhawaja wrote: My question is though: is it guaranteed that the version of procrun that ships with tomcat6 is completely compatible with tomcat 5.5.20? Yes. The same binaries work with all Tomcat versions. We just change the file name to reflect

Re: Tomcat maxThreads Issue

2009-06-11 Thread Rainer Jung
On 10.06.2009 21:25, Caldarale, Charles R wrote: From: Jones, Keven [mailto:keven.jo...@ncr.com] Subject: RE: Tomcat maxThreads Issue Connector port=8011 enableLookups=false protocol=AJP/1.3 redirectPort=8443 maxThreads=400 connectionTimeout=2/ The syntax is ok, but I'd have to look

Re: Tomcat maxThreads Issue

2009-06-11 Thread Rainer Jung
On 10.06.2009 18:26, Jones, Keven wrote: FYI, I'm just the linux admin as the applicatons group/developer and coder is not making any headway into resolving this. This is a mobility application (ie. Mobile banking, so you go to your iphone and go to your bank.mobi..)not that it matter but

Re: Consequences of Reusing Clustered JSESSIONID

2009-06-11 Thread Rainer Jung
On 10.06.2009 22:57, Filip Hanik - Dev Lists wrote: this is because apache a2 only has routes for td201 and td202... but not td101... therefore it doesn't know how to handle td101. why don't you setup all four routes for a1 and a2. then use the mod_proxy_balancer lbset variable to set a

Re: mod_jk does not recognize extension

2009-06-11 Thread Rainer Jung
On 11.06.2009 14:26, Tsirkin Evgeny wrote: Hi list! I have mod_jk 1.2.26 configured and working fine. However i want to set a special reply_timeout for a special url , i am getting strange errors in log and the rule is ignored . Once i add this line:

Re: Tomcat maxThreads Issue

2009-06-11 Thread Rainer Jung
connector, so the problem (exhausted connector thread pool) was already over. Regards, Rainer -Original Message- From: Rainer Jung rainer.j...@kippdata.de Sent: Thursday, June 11, 2009 6:08 PM To: Tomcat Users List users@tomcat.apache.org Subject: Re: Tomcat maxThreads Issue

Re: Periodic slow response to initial call to HttpServletRequest.getParameter()

2009-06-11 Thread Rainer Jung
On 12.06.2009 00:22, Brian Harper wrote: I've been trying to locate the source of an issue we've encountered periodically, and am hoping to find some enlightenment here. The issue is that we're seeing periodic slow responses - in some cases as long as 30-40 seconds for servlet requests that

Re: Apache Tomcat connection question

2009-06-10 Thread Rainer Jung
On 10.06.2009 06:00, R Ravichandran wrote: Hello, This is an urgent request. Any feedback is really appreciated. I have two web applications (let us call main app., and helper app.) running on Tomcat with an Apache server in from of Tomcat. Both Apache and Tomcat are running on the same

Re: setenv.sh - how to set system properties to values containingspaces

2009-06-10 Thread Rainer Jung
On 10.06.2009 15:09, Bap wrote: Hi André, The solution you have suggested just introduces a new variable, but with exactly the same characteristics of the existing CATALINA_OPTS variable (unless I am missing something.) The issue is, that even when the CATALINA_OPTS value looks like it is

Re: Apache Tomcat connection question

2009-06-10 Thread Rainer Jung
. http://tomcat.apache.org/tomcat-6.0-doc/virtual-hosting-howto.html On Wed, Jun 10, 2009 at 12:58 AM, Rainer Jung rainer.j...@kippdata.dewrote: On 10.06.2009 06:00, R Ravichandran wrote: Hello, This is an urgent request. Any feedback is really appreciated. I have two web applications (let

Re: setenv.sh - how to set system properties to values containing spaces

2009-06-10 Thread Rainer Jung
On 10.06.2009 15:47, André Warnier wrote: Sorry, I mistook CATALINA_OPTS for JAVA_OPTS, but Bap wrote: Hi André, The solution you have suggested just introduces a new variable, but with exactly the same characteristics of the existing CATALINA_OPTS variable (unless I am missing

Re: how to force tomcat to make a single istance of a servlet

2009-06-09 Thread Rainer Jung
On 08.06.2009 19:57, syed shah wrote: Hi Christopher, I want to do this cause i am handling the synchronization myself and infact i am using innodb so i dont want multiple instance of the servlet, although i can handle multiple threads in there. OK, then do not use SingleThreadModel,

Re: URL Auth Apache 2.2.11 + Tomcat 6.0.16

2009-06-09 Thread Rainer Jung
On 08.06.2009 21:49, Alexander Diedler wrote: Hi, Since we modify our server to use mod_jk to serve sites there is an error with a Tomcat Action, that requires a HTML Auth. If we open the URL http://www.bla.de/?action=Import in a Browser, there is a Auth-Dialog to fill in Username and

Re: org.apache.tomcat.sendfile.support attribute returned via getAttribute() but name not returned via getAttributeNames()

2009-06-09 Thread Rainer Jung
On 08.06.2009 22:15, Chris Markle wrote: Folks, Going to try this again since I got no reply to my first inquiry. I'd like to log a bug report along the lines of request getAttributeNames method does not return all request attributes (e.g., org.apache.tomcat.sendfile.support). Either that

Re: Application Clustering

2009-06-08 Thread Rainer Jung
On 08.06.2009 13:22, Darren Kukulka wrote: Hi Everyone, I've got a general query around application clustering in Tomcat. We've got several clusters of Tomcat 6.0.18, each consisting of 2-3 nodes per cluster. The setup is fairly straightforward and we're using the 'based on

Re: mod_jk and stiky_sessions that are not stiky

2009-06-08 Thread Rainer Jung
On 08.06.2009 15:54, Marco Sarti wrote: mod_jk/1.2.23 Hello, I'm trying to configure a cluster using stiky_session. This is the relevant part of configuration: ### worker.node1_partition1.port=8009 worker.node1_partition1.host=172.16.130.110 worker.node1_partition1.type=ajp13

Re: concurrent connections with mod_jk/apache/tomcat

2009-06-07 Thread Rainer Jung
On 07.06.2009 18:46, Jason Joseph wrote: The previously send log files show, that those .png requests are not forwarded to Tomcat. So what is actually answering them? Apache web server directly? Did you put them into the DocumentRoot? That should be much faster, than what you see. Andre -

Re: ISAPI incorrect function

2009-06-05 Thread Rainer Jung
On 04.06.2009 16:42, dljohnson69 wrote: I now have a simple workers.properties and uri file with the latest 1.2.28 redirector but no matter what I try I only get incorrect function returned to the browser. 1st error in log is [error] jk_shm_calculate_size::jk_shm.c (120): Could not get member

Re: ISAPI incorrect function

2009-06-05 Thread Rainer Jung
On 04.06.2009 19:27, dljohnson69 wrote: The isapi.log is the only one I know of (maybe the same)let me know if the name of any other logs you think would help. Here is the error part of the isapi.log [Thu Jun 04 10:32:59.985 2009] [4272:4316] [info]

Re: ISAPI incorrect function

2009-06-05 Thread Rainer Jung
On 04.06.2009 23:59, dljohnson69 wrote: Yes, tomcat is running. The IIS was shutdown by me on that log reference. Latest log, server.xml and worker.properties here. workers.properties worker.list=wlb worker.wlb.type=ajp13 worker.wlb.host=localhost worker.wlb.port=8010

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

2009-06-05 Thread Rainer Jung
On 04.06.2009 01:33, Andy Wang wrote: Hi all, I was able to get mod_jk building fine using Makefile.vc, but couldn't get the .dsp file loaded into Visual Studio 2005. Anyone know if there's a trick to this, or should I just not care (it does build and seem to work fine with the Makefile).

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