Re: fail_on_status question

2010-06-05 Thread Rainer Jung
On 05.06.2010 00:53, Mohit Anchlia wrote: On Thu, Jun 3, 2010 at 4:30 PM, Mohit Anchliamohitanch...@gmail.com wrote: In our present environment we have a WS and APP server. When request comes in, WS sends it to APP server using mod_jk and then APP server inserts it into JMS queue. So

Re: R: RE: Re: intermittent SocketException on startup tomcat 5.5.28 and under JBOSS 4.2.3GA

2010-06-05 Thread Rainer Jung
On 05.06.2010 09:23, Pid * wrote: On 5 Jun 2010, at 04:33, ago...@libero.itago...@libero.it wrote: Hi I m very tired because the intermittent socket close exception reappear. We now use tomcat 5.5.28 on win2003 ED SO and jdk 1.6.16. The error that occours is: 4-giu-2010

Re: fail_on_status question

2010-06-06 Thread Rainer Jung
On 06.06.2010 03:52, Mohit Anchlia wrote: On Sat, Jun 5, 2010 at 2:02 AM, Rainer Jungrainer.j...@kippdata.de wrote: On 04.06.2010 01:30, Mohit Anchlia wrote: In our present environment we have a WS and APP server. When request comes in, WS sends it to APP server using mod_jk and then APP

Re: mod_jk problem - 1457: All tomcat instances failed, no more workers left (attempt=1, retry=1)

2010-06-07 Thread Rainer Jung
On 07.06.2010 20:22, Mangold, Daniel wrote: Hello to all, I have a problem with mod_jk (hope this is the right place form my problem). Used servers and versions: - Apache 2.2.15 (Win32) - mod_jk/1.2.30 - Apache Tomcat/6.0.20 using AJP/1.3 - jdk1.5.0_12 Problem description: I enter the

Re: mod_jk problem - 1457: All tomcat instances failed, no more workers left (attempt=1, retry=1)

2010-06-08 Thread Rainer Jung
On 08.06.2010 16:45, Mangold, Daniel wrote: On 07.06.2010 20:22, Mangold, Daniel wrote: First: sorry, it looks like at least half of my previous mail was truncated for whatever reason. The attachment did not go through as well. And it's true, the pasted log file above is not complete. However,

Re: Tomcat deletes default web.xml [Tomcat version 6.0.14]

2010-06-08 Thread Rainer Jung
On 08.06.2010 11:37, Mark Thomas wrote: On 08/06/2010 10:22, Jitendra G wrote: Hi, We are using Tomcat 6.0.14 and we found that sometimes if Tomcat is restarted few number of times it deletes the default web.xml under “../Tomcat/apache-tomcat-6.0.14/conf” directory. Sometimes this issue also

Re: Question on IE zones with Mod_jk

2010-06-09 Thread Rainer Jung
On 09.06.2010 11:18, André Warnier wrote: Robin Diederen wrote: Hi Andre, Thanks for the tip. What should I be looking for when analyzing this communication? You should be examining the detail of the requests/responses between bnrowser and server, to see if your assumptions are correct about

Re: Question to post to the list

2010-06-09 Thread Rainer Jung
On 09.06.2010 12:33, Pid wrote: On 09/06/2010 11:08, Gregor Schneider wrote: Pid, I believe the problem here is that Fiona tried to use File=$\{logs\}/stdout.log However, this will only work if an environment-variable logs is defined - which is IMHO no default configuration. Yep. You

Re: mod_jk stability issues

2010-06-11 Thread Rainer Jung
On 11.06.2010 16:28, LES wrote: Well, your suggested changes worked...until today. It was absolutely rock solid. Then, the last two days, with no load I started receiving errno=110 again. It didn't last all day, only a couple of hours yesterday and a couple today. I have added a socket

Re: mod_jk stability issues

2010-06-11 Thread Rainer Jung
On 11.06.2010 20:06, LES wrote: I only added socket_timeout in after looking at the included file in 1.2.30. I was hoping that there was something in that file that I was missing. I attached the log files that you asked for. Looking through them, I don't see any notable increases in response

Re: ISAPI log question regarding authentication

2010-06-11 Thread Rainer Jung
On 11.06.2010 23:21, Savoy, Melinda wrote: I am working in my local Eclipse development environment on a Windows XP box. (As stated in a previous post, I was able to get authentication working in the Windows 2003 environment after talking to a MS IIS engineer) I just got off of a phone call

Re: RewriteRule rewrites, but mod_jk persists with old URI

2010-06-15 Thread Rainer Jung
On 15.06.2010 16:13, Tobias Crefeld wrote: Am Tue, 15 Jun 2010 15:04:01 +0200 schrieb André Warniera...@ice-sa.com: In other words, it appears to receive the URI /mir/search.jsp, try to map it to a worker, succeed, but then forwarding the request to Tomcat as /jsp/search.jsp anyway (which was

Re: RewriteRule rewrites, but mod_jk persists with old URI

2010-06-15 Thread Rainer Jung
On 15.06.2010 20:08, André Warnier wrote: Rainer Jung wrote: On 15.06.2010 16:13, Tobias Crefeld wrote: Am Tue, 15 Jun 2010 15:04:01 +0200 schrieb André Warniera...@ice-sa.com: In other words, it appears to receive the URI /mir/search.jsp, try to map it to a worker, succeed

Re: Tomcat unexpected shutdown on Solaris

2010-06-17 Thread Rainer Jung
On 17.06.2010 05:35, Caldarale, Charles R wrote: From: Marco Castillo [mailto:mabcasti...@vdkit.net] Subject: Tomcat unexpected shutdown on Solaris I have checked all the logs and there is no exception displayed, no error, nothing. I look for an error file from java, but there is no one. It

Re: Tomcat 6.0 documentation: is classloading description correct?

2010-06-17 Thread Rainer Jung
On 17.06.2010 16:37, Konstantin Kolinko wrote: 2010/6/16peter_f...@blm.gov: Looking at section 10 of the 6.0 user guide, which describes classloading, the text makes perfect sense and matches the way I understand things work. However the summary at the end of the section Class Loader

Re: Connector IIS7 Load balancing Issue (workers.properties)

2010-06-17 Thread Rainer Jung
On 17.06.2010 16:33, Luis Esquivel wrote: Hello, I have a situation where my IIS tomcat load balancing configuration between 2 nodes keeps switching in every single request from the same browser. The JSESSIONID changes every time I hit refresh on the browser because it switches between the 2

Re: Issues changing log4j levels for tomcat web apps

2010-06-17 Thread Rainer Jung
On 17.06.2010 19:44, Jeffrey Nguyen (jeffrngu) wrote: This question might be a little off topic, but I thought since it involved tomcat web apps, I figured someone might know the answer. I have Liferay EE 5.2.6 running on top of tomcat 6.0.26. Liferay has an admin GUI page to allows me to

Re: DefaultServlet and default character encoding

2010-06-18 Thread Rainer Jung
On 18.06.2010 11:04, Felix Schumacher wrote: On Thu, 17 Jun 2010 19:32:36 +0400, Konstantin Kolinko knst.koli...@gmail.com wrote: 2010/6/17 Felix Schumacherfelix.schumac...@internetallee.de: For the moment I have written a filter, which sets a default encoding, as soon as

Re: DefaultServlet and default character encoding

2010-06-18 Thread Rainer Jung
On 18.06.2010 13:50, Felix Schumacher wrote: On Fri, 18 Jun 2010 12:50:31 +0200, Rainer Jungrainer.j...@kippdata.de wrote: On 18.06.2010 11:04, Felix Schumacher wrote: On Thu, 17 Jun 2010 19:32:36 +0400, Konstantin Kolinko knst.koli...@gmail.com wrote: 2010/6/17 Felix

Re: Application stops responding, jk worker in error state

2010-06-18 Thread Rainer Jung
On 18.06.2010 22:44, Neil Aggarwal wrote: Rainer: If you are going to post part of your log file, please also do provide your mod_jk configuration and version information. I am using mod_jk 1.2.30 which I built from the source tarball. My application just locked up so I did a tail -f on the

Re: [SPAM] RE: Application stops responding, jk worker in error state

2010-06-19 Thread Rainer Jung
On 19.06.2010 03:46, Neil Aggarwal wrote: Rainer: Hmmm, errno 11 is often EAGAIN. What platform are you using (OS, version)? I am using CentOS 5.5 freshly installed, not an upgrade. I tried that as a fix to this problem. I wiped the server clean and reinstalled everything from scratch. It

Re: Still having problem retrieving user value from ISAPI Filter for authentication

2010-06-22 Thread Rainer Jung
On 22.06.2010 14:16, Savoy, Melinda wrote: Thanks Marc. I actually have that setting in my server.xml file as well. Actually I did follow your post last week thinking that would help me but the ISAPI filter is working properly as indicated in my log and IIS has authenticated the info

Re: Still having problem retrieving user value from ISAPI Filter for authentication

2010-06-22 Thread Rainer Jung
On 22.06.2010 16:18, Savoy, Melinda wrote: Thanks Pid. That is what I'm working on right now. I am in the middle of the Decoder part of the code again. My apologies to this list as I understood I could get that directly from the ISAPI filter as it would decrypt it for me, which it does per

Re: Still having problem retrieving user value from ISAPI Filter for authentication

2010-06-22 Thread Rainer Jung
On 22.06.2010 21:29, Savoy, Melinda wrote: That is definitely the preferred method and the reason for going to the Tomcat Connector for this authentication process. However, even with the most simple implementation of my index.jsp and web.xml file I cannot get the getRemoteUser() to work. I

Re: Still having problem retrieving user value from ISAPI Filter for authentication

2010-06-22 Thread Rainer Jung
On 22.06.2010 21:59, Marc Boorshtein wrote: Unless you are going to authenticate via one of Tomcat's authentication methods; BASIC, FORM, etc, then getRemoteUser() is going to return null. You'll need to add a security constraint, login-config and security-role to your web.xml to test

Re: Setting Up AJP Workers as a Failover

2010-06-22 Thread Rainer Jung
On 23.06.2010 01:12, David Fisher wrote: Hi All, I've got myself in a situation where I need a stopgap quick fix - until we can respond correctly. I have the following workers file: # define the worker list worker.list=LoadBalancer # Define the LB worker worker.LoadBalancer.type=lb

Re: Still having problem retrieving user value from ISAPI Filter for authentication

2010-06-23 Thread Rainer Jung
On 23.06.2010 09:51, Pid wrote: On 23 Jun 2010, at 02:40, Rainer Jungrainer.j...@kippdata.de wrote: On 22.06.2010 21:59, Marc Boorshtein wrote: Unless you are going to authenticate via one of Tomcat's authentication methods; BASIC, FORM, etc, then getRemoteUser() is going to return null.

Re: Still having problem retrieving user value from ISAPI Filter for authentication

2010-06-23 Thread Rainer Jung
On 23.06.2010 16:58, Savoy, Melinda wrote: In my ISAPI log it shows: [Wed Jun 23 09:50:59.568 2010] [5024:6028] [debug] jk_isapi_plugin.c (3108): Service protocol=HTTP/1.1 method=GET host=127.0.0.1 addr=127.0.0.1 name=localhost port=80 auth=NTLM user=TEXAS\SavoyM uri=/index.jsp The value of

Re: Tomcat current thread count

2010-06-25 Thread Rainer Jung
On 25.06.2010 11:22, Mick Knutson wrote: TIME_WAIT is fine. Not an issue. That just means they are ready to take requests. CALL_WAIT is not good, if they stick around. If this is an OOM error, then have you started this server and attached javaVisualVM onto it to see what the threads and memory

Re: Tomcat current thread count

2010-06-25 Thread Rainer Jung
On 25.06.2010 17:51, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Özgür, On 6/25/2010 11:39 AM, Ozgur Ozdemircili wrote: Thanks for the useful link. I have gotten a thread dump using kill -3 . You can find it in the attached file. It looks like almost everything

Re: questions on documentation for configuring AJP connector

2010-06-29 Thread Rainer Jung
On 28.06.2010 22:06, Rumpa Giri wrote: We are trying to upgrade to the latest connector. While going through the worker properties variables to set we have few questions regarding the following - Please do also grab the source tarball. In version 1.2.30 it contains an example configuration

Re: connector configuration values - need help to review

2010-06-29 Thread Rainer Jung
In addition to the comments in your other discussion thread. On 28.06.2010 23:23, Rumpa Giri wrote: Worker.properties ps=\ # ps=/ Remove, doesn't mean anything. worker.list=loadbalancer worker.template.type=ajp13 worker.template.lbfactor=1

Re: ISAPI Redirector Help

2010-06-30 Thread Rainer Jung
On 30.06.2010 01:48, George Sexton wrote: I'm trying to get the ISAPI redirector working on IIS 7.0 running under Windows Server Data Center 64-bit. When I make a request, I get served the isapi_redirector.dll. Here's the detailed information. IIS is running in 32 bit mode. I have

Re: Hello and Tomcat issues with sticky sessions

2010-06-30 Thread Rainer Jung
On 30.06.2010 13:10, Gabriel Tabares wrote: have you also set de directive in de workers.properties I suggested? in your case that should look like worker.pub-app01.domain=pub-app01 etc My apologies, I am doing 10 things at the time and missed that bit. I now have made the change and it

Re: Apache Tomcat 5.5 and labels.properties

2010-06-30 Thread Rainer Jung
On 30.06.2010 15:43, Pid wrote: On 30/06/2010 14:13, Michael Rodov wrote: this is the link, but its not 100% sure since it depends on the installed directories C:\Program Files\Apache Software Foundation\Tomcat 5.5.26\work\Catalina\localhost\sm711\loader\*com\hp\ov\cwc\web* So the clue there

Re: Hello and Tomcat issues with sticky sessions

2010-06-30 Thread Rainer Jung
On 30.06.2010 16:18, János Löbb wrote: workers.properties --- ps=/ worker.list=pub-app01, pub-app02, pub-app03, pub-app04, pub-app05, pub-lb worker.pub-app01.type=ajp13 worker.pub-app01.host=app01 worker.pub-app01.port=8009 worker.pub-app01.socket_keepalive=1

Re: ISAPI Redirector Help

2010-06-30 Thread Rainer Jung
On 30.06.2010 16:57, George Sexton wrote: I'm using IIS 7.0 so that step would not apply. Sure? The docs talk about version 6 because that was the last time they were updated. Rainer - To unsubscribe, e-mail:

Re: [OT] Using httpd's mod_rewrite with mod_jk

2010-07-01 Thread Rainer Jung
On 30.06.2010 19:00, Christopher Schultz wrote: Slightly off-topic, but relevant. On our development servers, I'm trying to enforce a rule that all our users have the most up-to-date web browser available (yeah, it's an uphill battle, I know... just go with it). I decided to use mod_rewrite to

Re: JK connector and extra characters showing up

2010-07-01 Thread Rainer Jung
On 01.07.2010 03:00, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, On 6/30/2010 3:32 PM, David Brown wrote: Problem: Extra characters showing up in some content delivered from tomcat. I believe they are from the JK connector when it breaks up the content

Re: using Servlet Filter to rewrite domain of JSESSIONID cookie?

2010-07-01 Thread Rainer Jung
On 01.07.2010 03:26, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Nikita, On 6/30/2010 6:20 PM, Nikita Tovstoles wrote: I'd like to make session cookie domain-wide, and ignore subdomains - in Tomcat 6. You could use the emptySessionPath=true setting in

Re: [OT] Using httpd's mod_rewrite with mod_jk

2010-07-02 Thread Rainer Jung
On 02.07.2010 02:37, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rainer, On 7/1/2010 4:54 AM, Rainer Jung wrote: Usually mod_rewrite is perfectly compatible with mod_jk. I must confess, that I'm not 100% sure about the case, where you try to rewrite a request

Re: Mod_jk: Uri * is invalid. Uri must start with /

2010-07-02 Thread Rainer Jung
On 02.07.2010 14:50, Matteo Turra wrote: I have Apache/2.2.14 (Unix) and mod_jk/1.2.28 with a Tomcat 6.0.20 farm in load balancing. In the mod_jk.log I get a line like this each second. [warn] map_uri_to_worker_ext::jk_uri_worker_map.c (962): Uri * is invalid. Uri must start with / I checked

Re: [OT] Using httpd's mod_rewrite with mod_jk

2010-07-03 Thread Rainer Jung
On 02.07.2010 22:02, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rainer, On 7/2/2010 10:13 AM, Rainer Jung wrote: On 02.07.2010 02:37, Christopher Schultz wrote: Okay, I changed my RewriteRule to this: RewriteRule .* /bad-browser.shtml [L,E=no-jk

Re: [OT] Using httpd's mod_rewrite with mod_jk

2010-07-03 Thread Rainer Jung
On 03.07.2010 14:08, Rainer Jung wrote: On 02.07.2010 22:02, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rainer, On 7/2/2010 10:13 AM, Rainer Jung wrote: On 02.07.2010 02:37, Christopher Schultz wrote: Okay, I changed my RewriteRule to this: RewriteRule

Re: Very slow HttpServletRequest.getLocalName()

2010-07-07 Thread Rainer Jung
On 07.07.2010 16:08, mmg wrote: Hello, I've recently deployed an application on our Linux staging server; a Tomcat 5.5.28 server on Java 1.5.0_09-b01. At some point, the application makes a call to request.getLocalName(). For some reason, this call takes a very long time (about 20 seconds!). I

Re: Very slow HttpServletRequest.getLocalName()

2010-07-07 Thread Rainer Jung
to change any existing code or similar of the webapp. Regards, Rainer Rainer Jung-3 wrote: On 07.07.2010 16:08, mmg wrote: Hello, I've recently deployed an application on our Linux staging server; a Tomcat 5.5.28 server on Java 1.5.0_09-b01. At some point, the application makes a call

Re: Error: Invalid or unreadable WAR file : error in opening zip file

2010-07-09 Thread Rainer Jung
On 09.07.2010 15:21, Fernando Morgenstern wrote: Hello, I'm running the following version of tomcat: Server version: Apache Tomcat/6.0-snapshot Server built: Nov 15 2009 11:02:53 Server number: 6.0.0.0 OS Name:Linux OS Version: 2.6.24-9-pve Architecture: i386 JVM Version:

Re: running tomcat behind an apache reverse proxy

2010-07-12 Thread Rainer Jung
On 12.07.2010 19:00, Mark Thomas wrote: On 12/07/2010 17:53, Tapas Mishra wrote: but the application is not generating URLs properly.I have not written so it is not possible for me to change any thing in it. The application is generating URLs like this: GET /library/skin/default/portal.css GET

Re: 404 with mod_jk

2010-07-13 Thread Rainer Jung
On 13.07.2010 23:17, Michael Powe wrote: Hello, I asked this question in the httpd list but no joy. I have set up tomcat 6 and IBM httpd server to proxy requests using mod_jk. IBM_HTTP_Server/6.0.2 Apache/2.0.47 (Unix) mod_jk/1.2.30 Server at localhost Port 80 I have followed all

Re: 404 with mod_jk

2010-07-14 Thread Rainer Jung
On 14.07.2010 04:57, Michael Powe wrote: Hello, Thank you for the reply. See below for comments. On Wed, Jul 14, 2010 at 12:37:05AM +0200, Rainer Jung wrote: On 13.07.2010 23:17, Michael Powe wrote: Hello, I asked this question in the httpd list but no joy. I have set up tomcat 6 and IBM

Re: 404 with mod_jk

2010-07-14 Thread Rainer Jung
On 14.07.2010 14:37, Konstantin Kolinko wrote: 2010/7/14 Michael Powemich...@trollope.org: VirtualHost localhost (...) #JkMount /host-manager ajp13 #JkMount /host-manager/* ajp13 JkMount /TlTaggerTest/*.jsp worker1 /VirtualHost The VirtualHost section was created by the

Re: i have a quick jk trace question

2010-07-14 Thread Rainer Jung
On 14.07.2010 16:50, fredk2 wrote: Hi, I am looking at a trace a friend made which raised my curiosity: [Mon Jul 12 17:49:13.534 2010] [3370:4160136960] [trace] ajp_read_into_msg_buff::jk_ajp_common.c (1188): enter [Mon Jul 12 17:49:13.534 2010] [3370:4160136960] [trace]

Re: No members active in cluster group

2010-07-15 Thread Rainer Jung
On 15.07.2010 10:08, Andrew Bruno wrote: Hello all, I am having problems in getting clustering to work in a windows server 2008 environment using tomcat 6.0.20 java 1.5 I get the No members active in cluster group message on both tomcats. The engine element on the first tomcat is: Engine

Re: 404 with mod_jk

2010-07-15 Thread Rainer Jung
On 13.07.2010 23:17, Michael Powe wrote: Hello, I asked this question in the httpd list but no joy. I have set up tomcat 6 and IBM httpd server to proxy requests using mod_jk. IBM_HTTP_Server/6.0.2 Apache/2.0.47 (Unix) mod_jk/1.2.30 Server at localhost Port 80 I have followed all

Re: Apache + Mod-jk + Jboss Problem

2010-07-15 Thread Rainer Jung
On 15.07.2010 15:23, Rocky Chak wrote: Hi, I have a application using Apache 2.2.15, Mod_jk and Jboss 4.2.1. Apache and Jboss Running fine till now. Suddenly there is an issue of slow browsing and later it stopped serving pages. We moved to backup server and now trying to fix this one. When

Re: [OT] Using httpd's mod_rewrite with mod_jk

2010-07-16 Thread Rainer Jung
On 04.07.2010 04:16, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rainer, On 7/3/2010 1:54 PM, Rainer Jung wrote: On 03.07.2010 14:08, Rainer Jung wrote: On 02.07.2010 22:02, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rainer, On 7

Re: Apache + Mod-jk + Jboss Problem

2010-07-16 Thread Rainer Jung
On 16.07.2010 12:55, Rocky Chak wrote: Hi, Thanks for the reply. Here are my answers. OS: RHEL 5 S/w: Apache 2.2.15, Mod_jk 1.2.x, Jboss 4.2.1GA - Yes, I am able to reproduce the situation ( actually this situation is consistent not going away) Can you reproduce without much other load?

Re: Apache + Mod-jk + Jboss Problem

2010-07-16 Thread Rainer Jung
. Rainer Jung-3 wrote: Checking the MAC addresses revealed, those packets were not coming rom the browser, but instead from some other network security device. Thi device decided the traffic was malicious and send a reset packet. The traffic was not going through the device, it simply sniffed

Re: using Apache as a front end for Tomcat

2010-07-20 Thread Rainer Jung
On 20.07.2010 15:30, André Warnier wrote: James Godrej wrote: On your blog http://myunster.com/blog/10.html at step number 8 you mentioned to create worker.properties there a variable is workers.tomcat_home and workers.java_home I think that both of these variables/properties have been

Re: Cluster session failover question

2010-07-22 Thread Rainer Jung
On 22.07.2010 16:19, Darren Kukulka wrote: Hi Tomcatters, Just a quick question regarding Apache Web Server load balancing down to Tomcat cluster. We have a number of 2-node Tomcat 6.0.20 clusters, all configured as peer to peer pairs, on the same subnet with no real network oddities mesh

Re: Connection Refused On Tomcat Server Shutdowns if...

2010-07-22 Thread Rainer Jung
On 22.07.2010 17:02, John A Parker wrote: Using apache-tomcat-6.0.28... We are encountering issue with catalina.sh stops IF we use a variable to set the SHUTDOWN port. e.g.: CATALINA_OPTS = ...-Dco.shutdown.port=8104 ... server.xml =... !- Server

Re: Connection Refused On Tomcat Server Shutdowns if...

2010-07-22 Thread Rainer Jung
On 22.07.2010 17:24, David Fisher wrote: If you look at catalina.sh you will see that stop does not include CATALINA_OPTS: $_RUNJAVA $JAVA_OPTS \ -Djava.endorsed.dirs=$JAVA_ENDORSED_DIRS -classpath $CLASSPATH \ -Dcatalina.base=$CATALINA_BASE \ -Dcatalina.home=$CATALINA_HOME \

Re: SSL, mod_proxy_ajp and AJP connectors query

2010-07-22 Thread Rainer Jung
On 22.07.2010 19:31, Brett Delle Grazie wrote: Hi, I'm using RHEL5.5 (Up-to-date) Apache httpd-2.2.3 (from RHEL) with mod_proxy/mod_proxy_ajp Tomcat 6.0.28 (binary distribution from apache). Tomcat native libs (1.1.20, compiled) I have a question regarding AJP connectors and SSL Our

Re: Tomcat AJP vs mod_jk's max_pool_size

2010-07-23 Thread Rainer Jung
On 23.07.2010 04:07, Imran Khan wrote: Hi, I am currently using apache tomcat 5.5 using mod_jk to connect with apache 2.2. I am curious to understand how the AJP 1.3 connector works. Basically I would like to know if maxThreads attribute has the same meaning with the AJP connector as it does

Re: Tomcat Shutting Down by Itself?

2010-07-23 Thread Rainer Jung
On 23.07.2010 19:43, Robinson, Eric wrote: We've observed tomcat5 shutting down seemingly by itself recently. This morning I saw this in the log: - Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED shutting down. Any way to tell why tomcat is shutting down? Maybe something from this recent

Re: SSL terminated at load balancer, Http11Processor sends ssl redirects to :80

2010-07-26 Thread Rainer Jung
On 26.07.2010 21:48, Leinartas, Michael wrote: So I have what appears to be an obscure issue which is a consequence of our architecture and am wondering if anyone's run into anything similar and if my proposed solution is valid. So here's the background of our setup: We run our tomcat by

Re: Tomcat Shutting Down by Itself?

2010-07-28 Thread Rainer Jung
On 28.07.2010 01:01, Robinson, Eric wrote: 2) Use System.getRuntime().addShutdownHook() to trigger your own thread when the JVM does decide to exit. Assuming the OP does not have easy access to the running application, would that mean adding another application which is launched at Tomcat

Re: Session ID changes when a node goes down

2010-07-31 Thread Rainer Jung
On 31.07.2010 15:06, Mark Thomas wrote: On 31/07/2010 13:58, Oscar Segarra Rey wrote: Hi, We are developing a web application wich uses session listeners and such kind of stuff in order to control which users are loged in every time. Nevertheless we have experienced a developement problem due

Re: Rewrite URLs inside HTML pages?

2010-08-02 Thread Rainer Jung
On 02.08.2010 06:31, Leon Kolchinsky wrote: Hello, I've configured Tomcat (apache-tomcat-5.5.26) to run behind Apache Http (v.2.2.3 ) using mod_jk. We have 2 of those Tomcat servers running on different machines. We also configured load balancer (CISCO CSM) which we want to use for SSL

Re: Rewrite URLs inside HTML pages?

2010-08-02 Thread Rainer Jung
Hi Felix, hope you are doing well! On 02.08.2010 11:46, Felix Schumacher wrote: Hi Rainer, On Mon, 02 Aug 2010 10:00:57 +0200, Rainer Jungrainer.j...@kippdata.de wrote: On 02.08.2010 06:31, Leon Kolchinsky wrote: Hello, I've configured Tomcat (apache-tomcat-5.5.26) to run behind Apache Http

Re: Rewrite URLs inside HTML pages?

2010-08-03 Thread Rainer Jung
Did you notice, that our expectation is you won't need any page rewriting when using JkHTTPSIndicator? Regards, Rainer On 03.08.2010 08:45, Leon Kolchinsky wrote: Thanks for your help Rainer/Felix, I've tested several options including mod_substitute and mod_sed and it seems that

Re: Tomcat 6.0.18/ IIS 6.0 /SSL

2010-08-04 Thread Rainer Jung
On 04.08.2010 18:07, Hansel, Jason T CTR SPAWARSYSCEN-ATLANTIC, 55E00 wrote: I am trying to get Tomcat and IIS configured on my secure web server (SSL) so that I can access my deployed web application via https and NOT over http. Connection to non-SSL works, but I cannot have that connection

Re: Tomcat 6.0.18/ IIS 6.0 /SSL

2010-08-04 Thread Rainer Jung
show up after you solved your worker configuration problem. Until now your IIS doesn't even talk to Tomcat. Regards, Rainer -Original Message- From: Rainer Jung [mailto:rainer.j...@kippdata.de] Sent: Wednesday, August 04, 2010 1:38 PM To: Tomcat Users List Subject: Re: Tomcat 6.0.18

Re: Tomcat 6.0.18/ IIS 6.0 /SSL

2010-08-04 Thread Rainer Jung
-Original Message- From: Rainer Jung [mailto:rainer.j...@kippdata.de] Sent: Wednesday, August 04, 2010 3:40 PM To: Tomcat Users List Subject: Re: Tomcat 6.0.18/ IIS 6.0 /SSL On 04.08.2010 20:58, Hansel, Jason T CTR SPAWARSYSCEN-ATLANTIC, 55E00 wrote: Jung, I'm still getting the errors. Why

Re: Tomcat 6 does not respond or freeze after startup

2010-08-05 Thread Rainer Jung
On 04.08.2010 22:54, T. Gau wrote: Hello, I have executed 'netstat -anopb tcp' with the following result: TCP 0.0.0.0:8009 0.0.0.0:0 LISTENING 3436 [java.exe] TCP 0.0.0.0:8080 0.0.0.0:0 LISTENING 3436 [java.exe] TCP 127.0.0.1:8005 0.0.0.0:0 LISTENING 3436 [java.exe] I could not find another

Re: Rewrite URLs inside HTML pages?

2010-08-05 Thread Rainer Jung
Comments inline On 05.08.2010 03:30, Leon Kolchinsky wrote: Hi, Hmm. Interesting. Of course I'd like to make it work with simple configuration or/and with JkHTTPSIndicator. I'm just not clear on how to make this simple configuration. As I've said there is no SSL handling on the server side.

Re: Tomcat 6.0.18/ IIS 6.0 /SSL

2010-08-05 Thread Rainer Jung
See inline On 05.08.2010 15:15, Hansel, Jason T CTR SPAWARSYSCEN-ATLANTIC, 55E00 wrote: Rainer, Thanks again for being patient with me. I've seen some different behavior this morning. When I am trying to access my page, I get Service Temporary Unavailable, which is better than what I was

Re: Tomcat 6 does not respond or freeze after startup

2010-08-06 Thread Rainer Jung
On 05.08.2010 22:52, T. Gau wrote: Hello, @Thread dumps: I attached some current thread.Directly after startup and after Tomcat stops responding. Sorry, no idea here. Nothing obvious wrong in those dumps. Regards, Rainer -

Re: Tomcat 6.0.18/ IIS 6.0 /SSL

2010-08-06 Thread Rainer Jung
Just in case you didn't yet realize: the changelog is public: http://tomcat.apache.org/tomcat-6.0-doc/changelog.html 6.0.29 has only 5 changes that were relevant for the changelog. Three of them link to an issue that can be viewed publicly, one is a pure enhancement, and the one fix without a

Re: Rewrite URLs inside HTML pages?

2010-08-11 Thread Rainer Jung
On 09.08.2010 03:28, Leon Kolchinsky wrote: On Thu, Aug 5, 2010 at 18:26, Rainer Jungrainer.j...@kippdata.de wrote: On 05.08.2010 03:30, Leon Kolchinsky wrote: # JkRequestLogFormat set the request format JkRequestLogFormat %w %V %T Unrelated: Don't like the JkRequestFormat. Instead

Re: 2 POST requests to underlying Server

2010-08-11 Thread Rainer Jung
On 10.08.2010 09:38, Karthik Nanjangude wrote: Hi Spec Java 1.5 O/s : Linux APP Server: JBOSS4.2.1 (Tomcat built with) HTTP Server : apache_2.2.11 [ With out SSL ] Mod library: mod_jk-1.2.28-httpd-2.2.X.so LB 1 Apache : 1 JBOSS:Port of application Question :

Re: Socket 24 is not connected any more (errno=-1)

2010-08-12 Thread Rainer Jung
On 12.08.2010 10:45, HANDE CANORUÇ wrote: I am using mod jk in order to connect tomcat and glassfish 3.1. In the mod_jk log file I am getting these errors; [info] ajp_send_request::jk_ajp_common.c (1178): Socket 24 is not connected any more (errno=-1) [info]

Re: excluding some path from tomcat

2010-08-12 Thread Rainer Jung
On 12.08.2010 15:59, Angelo Chen wrote: Hi, I use Apache web server 2.2 in front of tomcat, it works well with Apache's default proxy module, however, I can't exclude some path from it: ProxyPass / http://localhost:8080/ ProxyPass /static ! ProxyPassReverse / http://localhost:8080/

Re: excluding some path from tomcat

2010-08-12 Thread Rainer Jung
On 12.08.2010 20:21, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Angelo, On 8/12/2010 9:59 AM, Angelo Chen wrote: I use Apache web server 2.2 in front of tomcat, it works well with Apache's default proxy module, however, I can't exclude some path from it:

Re: JNDI: LDAPv3 with StartTLS

2010-08-15 Thread Rainer Jung
Hi Igor, On 15.08.2010 16:14, Igor Galić wrote: Hi folks, I'm running Hudson in Tomcat 6.0.29 on Debian/Squeeze/amd64 with i.ga...@pheme /opt/tomcat6 % java -version java version 1.6.0_18 OpenJDK Runtime Environment (IcedTea6 1.8) (6b18-1.8-1) OpenJDK 64-Bit Server VM (build 14.0-b16, mixed

Re: How can i tell how much of allocated heap is being used?

2010-08-19 Thread Rainer Jung
On 18.08.2010 20:41, laredotornado wrote: Hi, I'm using Tomcat 6.0.26, Java 1.6 on Linux kernel 2.6.18-164.11.1.el5. I'm trying to figure out if there if we can figure out how much of our allocated heap memory is actually being used. Grateful for any thoughts you might have, - Dave Caution

Re: Tomcat sessions issue?

2010-08-19 Thread Rainer Jung
To add the obvious: Use your browser to have a look at your JSESSIONID cookies (and any other cookies of the same name used by both apps) after loging in to LifeRay and after loging in to Alfresco. Write down domain and path properties and see whether they conflict (whether one of the cookies

Re: JNDI: LDAPv3 with StartTLS

2010-08-19 Thread Rainer Jung
On 18.08.2010 22:45, Igor Galić wrote: org.apache.catalina.realm.JNDIRealm.getUserByPattern(JNDIRealm.java:1269) This means, that you specified userPattern='...' in your realm configuration. And you since your pattern looks like '(uid={0})(...)' it is probably wrong. You have specified

Re: Tomcat sessions issue?

2010-08-19 Thread Rainer Jung
On 19.08.2010 09:25, Pid wrote: On 19/08/2010 04:50, Christopher Schultz wrote: Robin, On 8/18/2010 5:57 PM, Robin Diederen wrote: That's interesting to say the least. I agree with André's assessment: you have a cookie collision. See below for hints for removing the conflict. Without

Re: JNDI: LDAPv3 with StartTLS

2010-08-19 Thread Rainer Jung
On 19.08.2010 18:55, Igor Galić wrote: Use it as you like. As Rainer has hinted, the apache wiki would be a good place for documentation :) Excellent. Thank you very much, will do that. URL: http://wiki.apache.org/tomcat/ :)

Re: Apache reverse proxy to tomcat application server

2010-08-19 Thread Rainer Jung
On 19.08.2010 20:27, li...@cgi-net.ch wrote: Hi List, I'm running mod_jk on a apache 2.2.14 connecting to a second host, running tomcat 5 server with a third party application. This application is configured to display some company internal information when accessing the page directly without

Re: Apache reverse proxy to tomcat application server

2010-08-19 Thread Rainer Jung
On 19.08.2010 21:17, li...@cgi-net.ch wrote: On Thu, 19 Aug 2010 20:57:57 +0200, Rainer Jungrainer.j...@kippdata.de wrote: On 19.08.2010 20:27, li...@cgi-net.ch wrote: Hi List, I'm running mod_jk on a apache 2.2.14 connecting to a second host, running tomcat 5 server with a third party

Re: logging from a filter

2010-08-20 Thread Rainer Jung
On 20.08.2010 11:43, David Goodenough wrote: How do I write log entries from a Filter. In a servlet there is a log method but as a filter only implements Filter that is obviously not an option. The init() of the filter is called with a FilterConfig argument, from which you get a

Re: Tomcat Version Numbers

2010-08-25 Thread Rainer Jung
On 25.08.2010 20:57, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 8/25/2010 11:15 AM, Caldarale, Charles R wrote: From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: Tomcat Version Numbers why not have a tag progression that

Re: pick load

2010-08-26 Thread Rainer Jung
On 26.08.2010 03:28, Alexandre Chapellon wrote: Hello, I'm quite new to tomcat and have an old webapps running on tomcat 4.1 and jvm 1.4.2 with apach2.2 in front ofthem (using modjk). I'm trying to get ready for a comming pick load I will have to face. I Try to do some benchmark using ab and

Re: Access StandardContext in WebappClassLoader

2010-08-26 Thread Rainer Jung
On 26.08.2010 17:24, Chefo wrote: Hi again and thanks for the quick responses. What bothers me in the WebappClassLoader is the fact that before it checks its repositories (lib folder and classes) and asks its parent class loader, it will first attempt to load a class from the system class

Re: pick load

2010-08-26 Thread Rainer Jung
On 26.08.2010 21:00, Alexandre Chapellon wrote: Le jeudi 26 août 2010 à 09:25 +0200, Rainer Jung a écrit : On 26.08.2010 03:28, Alexandre Chapellon wrote: Hello, I'm quite new to tomcat and have an old webapps running on tomcat 4.1 and jvm 1.4.2 with apach2.2 in front ofthem (using modjk

Re: Is there a better way to disable JSESSIONID in the URLs?

2010-08-27 Thread Rainer Jung
On 26.08.2010 23:29, Wesley Acheson wrote: On Sat, Aug 21, 2010 at 12:12 PM, Pidp...@pidster.com wrote: On 20/08/2010 22:40, Wesley Acheson wrote: I'm a bit lost with this thread. Are people suggesting I should submit a patch. I really wouldn't know where to begin looking. That's where the

Re: Tomcat load balancing question x problem

2010-08-27 Thread Rainer Jung
On 27.08.2010 14:17, Thiago Locatelli da Silva wrote: Hello list! :) Here at work I was asked to give a try on load balancing two tomcat servers running tomcat 6.0.29. The problem is that I was given only two servers to do this, what gave me only one option: run the apache in one of these

Re: Tomcat load balancing question x problem

2010-08-27 Thread Rainer Jung
the solution was? Upgrading Apache, using the backend server URLs in ProxyPassReverse, something else? Regards, Rainer Rainer Jung escreveu: On 27.08.2010 14:17, Thiago Locatelli da Silva wrote: Hello list! :) Here at work I was asked to give a try on load balancing two tomcat servers running

<    11   12   13   14   15   16   17   18   19   20   >