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 worker.pub-app02.t

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 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 s

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 downlo

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: 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 fi

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: 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 a

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: 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 Jung 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. You'll nee

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 worker.Lo

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 getRemo

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 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 t

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 otherwis

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 w

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: 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 Jung wrote: On 18.06.2010 11:04, Felix Schumacher wrote: On Thu, 17 Jun 2010 19:32:36 +0400, Konstantin Kolinko wrote: 2010/6/17 Felix Schumacher: apache httpd thinks it would be better to append a

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 wrote: 2010/6/17 Felix Schumacher: For the moment I have written a filter, which sets a default encoding, as soon as Response.setContentType(String type) is called and type.startsWith("text/"

Re: Application stops responding, jk worker in error state

2010-06-18 Thread Rainer Jung
On 18.06.2010 07:19, Neil Aggarwal wrote: Hello: I have Tomcat 6.0.26 running behind Apache and am using the JK Connector to communicate between them. My application stops responding on occasion. I added the jk status page to the web server and checked it when the application becomes non-respo

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 cha

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 n

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/16: 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 Definitions" looks wrong; i

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 happ

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é Warnier: In other words, it appears to receive the URI "/mir/search.jsp", try to map it to a worker, succeed, but then forw

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é Warnier: 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 the original

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 w

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 ti

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 timeo

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 see

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: 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: 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: 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 appropri

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 Jung 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 server inserts it into JMS

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.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 7.48.35 Date and

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 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 server inserts it into JMS queue. So essentially APP server is also d

Re: fail_on_status question

2010-06-05 Thread Rainer Jung
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 server inserts it into JMS queue. So essentially APP server is also dependent on JMS server which runs on the same box. My

Re: tomcat and log4j version - any dependency issues?

2010-06-01 Thread Rainer Jung
On 02.06.2010 00:15, Johan Martinez wrote: Thanks for sharing this info. I was considering 1.3 version for better management - purging log files before certain date, log4j 1.3 provides max. backup index option with DailyRollingFileAppender. I am also looking at logrotate and cronolog for this, b

Re: tomcat and log4j version - any dependency issues?

2010-06-01 Thread Rainer Jung
On 01.06.2010 23:07, Johan Martinez wrote: Hi, I am using Tomcat 5.5.28 with JDK 1.5 (and 1.6 on different machine). Right now I have log4j 1.2 version, but I would like use log4j 1.3+ now. Are there any dependency/support issues that I should consider? Citing from the Log4J homepage: === Ap

Re: tomcat memory question

2010-05-28 Thread Rainer Jung
On 28.05.2010 16:26, Caldarale, Charles R wrote: From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: tomcat memory question Check may (will?) correct me on this -1 for spelling I believe a full GC might be necessary to clear-out certain resources such as completed Th

Re: How can I get the user value in the request forwarded to my Tomcat in my Java app?

2010-05-28 Thread Rainer Jung
On 28.05.2010 13:43, Savoy, Melinda wrote: Sorry, I had to leave the office yesterday after I answered part of Ranier's question. When I inserted the<%request.getRemoteUser()%> in the index.jsp page where that is the only thing on my page, I saw in my browser this error: Error The SCMWeb In

Re: Tomcat died on "java.lang.OutOfMemoryError: requested 2147483664 bytes for Chunk::new. Out of swap space?" message

2010-05-28 Thread Rainer Jung
On 28.05.2010 05:12, Leon Kolchinsky wrote: Hello Jung, Thanks for your insights. Learning some new stuff about Java every day ;) I've read this nice blog - http://www.talkingtree.com/blog/index.cfm/2006/4/28/Understanding-HotSpot-in-Plain-English ( UNDERSTANDING HOTSPOT IN PLAIN ENGLISH

Re: How can I get the user value in the request forwarded to my Tomcat in my Java app?

2010-05-27 Thread Rainer Jung
On 27.05.2010 18:49, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Melinda, On 5/27/2010 11:19 AM, Savoy, Melinda wrote: Here is the AJP setting: ... and what about Rainer's other question. Did you give up on the older thread with the same problem? Just wo

Re: How can I get the user value in the request forwarded to my Tomcat in my Java app?

2010-05-27 Thread Rainer Jung
On 27.05.2010 16:42, Savoy, Melinda wrote: In my isapi.log I am getting the user value (indicated below in BOLD RED font) from IIS using the Tomcat connector and my understanding from others on this list is that I should be able to get at that user value by using the HttpServletRequest getRemo

Re: Question on workers.properties file

2010-05-27 Thread Rainer Jung
CMIS virtual website included in IIS in order to retrieve the user id that I am suppose to be getting from IIS? What will my URL be now since I was using http://localhost/SCMIS/index.jsp Thanks again. -Original Message- From: Rainer Jung [mailto:rainer.j...@kippdata.de] Sent: Wednesday,

Re: apache 2 + tomcat 6 virtualhost question

2010-05-27 Thread Rainer Jung
On 27.05.2010 05:11, Caldarale, Charles R wrote: From: Bithost Ltda. [mailto:bithost.ch...@gmail.com] Subject: Re: apache 2 + tomcat 6 virtualhost question Well it seems that such is for only one domain, and i will be deploying more than one, thats why i cant use ROOT Then declare multiple el

Re: Question on workers.properties file

2010-05-26 Thread Rainer Jung
On 26.05.2010 19:53, Savoy, Melinda wrote: Ranier - thanks for the reply. 1. I just tried this again, but I set all 3 (Default Website, jakarta virtual website and SCMIS virtual website) to Windows Authentication checked and Anonymous access unchecked and I was prompted with a login dialog bo

Re: Question on workers.properties file

2010-05-26 Thread Rainer Jung
On 26.05.2010 18:30, Savoy, Melinda wrote: Trying again to see if I can respond to Andre's question regarding what my directory structure is in order to help me determine where I've gone wrong in my setup and why I'm not getting the auth and user values in the request that is being forwarded t

Re: Tomcat died on "java.lang.OutOfMemoryError: requested 2147483664 bytes for Chunk::new. Out of swap space?" message

2010-05-26 Thread Rainer Jung
On 26.05.2010 16:38, Rainer Jung wrote: On 26.05.2010 14:49, Caldarale, Charles R wrote: From: Leon Kolchinsky [mailto:lkolc...@gmail.com] Subject: Tomcat died on "java.lang.OutOfMemoryError: requested 2147483664 bytes for Chunk::new. Out of swap space?" message Yesterday I've

Re: Tomcat died on "java.lang.OutOfMemoryError: requested 2147483664 bytes for Chunk::new. Out of swap space?" message

2010-05-26 Thread Rainer Jung
On 26.05.2010 14:49, Caldarale, Charles R wrote: From: Leon Kolchinsky [mailto:lkolc...@gmail.com] Subject: Tomcat died on "java.lang.OutOfMemoryError: requested 2147483664 bytes for Chunk::new. Out of swap space?" message Yesterday I've got this error in catalina.out and Tomcat died (I'm attach

Re: Tomcat died on "java.lang.OutOfMemoryError: requested 2147483664 bytes for Chunk::new. Out of swap space?" message

2010-05-26 Thread Rainer Jung
On 26.05.2010 11:48, Pid wrote: On 26/05/2010 04:08, Leon Kolchinsky wrote: Hello I've installed Tomcat 6.0.26 and running Confluence software on it. I think that maximum 2 concurrent users using this application in at this stage (testing now). Yesterday I've got this error in catalina.out an

Re: JK Status "URI Mappings" empty

2010-05-26 Thread Rainer Jung
On 25.05.2010 23:16, Bob Jewell wrote: mod_jk 1.2.28, apache 2.2.3 (-43.el5) When viewing status in the JK Status Manager, our list of URI Mappings displays all the mappings accurately, but the statistical/informational values are all empty. Server URI Match Type Source Reply Time

Re: Too many open files

2010-05-25 Thread Rainer Jung
On 25.05.2010 11:54, André Warnier wrote: pri...@samea.de wrote: Hello, I have a problem with my little CORBA-Servlet. Allways I get this error: java.net.SocketException: Too many open files sun.nio.ch.Net.socket0(Native Method) sun.nio.ch.Net.socket(Net.java:97) sun.nio.ch.SocketChannelImpl.(

Re: Question on workers.properties file

2010-05-25 Thread Rainer Jung
On 25.05.2010 13:44, André Warnier wrote: Savoy, Melinda wrote: Ranier, I do not want the user to get prompted at all. I need this to work as a single sign-on (seamless to the user). Is that not possible? I had tested where when I got the prompt then I got the Domain\User name but I am needing

Re: mod_jk stability issues

2010-05-25 Thread Rainer Jung
On 25.05.2010 14:48, LES wrote: I can't believe I missed the millisecond thing. :) No problem, it's our fault not using consistent time units. The latest 1.2.30 has a useful default configuration in the src tarball. But yours looks good too. Regards, Rainer ---

Re: Question on workers.properties file

2010-05-25 Thread Rainer Jung
On 25.05.2010 12:22, Savoy, Melinda wrote: Ranier, in^^ :) I do not want the user to get prompted at all. I need this to work as a single sign-on (seamless to the user). Is that not possible? I had tested where when I got the prompt then I got the Domain\User name but I am needing t

Re: Question on workers.properties file

2010-05-25 Thread Rainer Jung
On 25.05.2010 12:14, Rainer Jung wrote: On 25.05.2010 12:02, André Warnier wrote: Melinda, from one of your previous posts : In IIS I have the following: Default Web Site - Anonymous access checked and Integrated Windows authentication unchecked Jakarta - virtual web site and Anonymous

Re: Question on workers.properties file

2010-05-25 Thread Rainer Jung
On 25.05.2010 12:02, André Warnier wrote: Melinda, from one of your previous posts : In IIS I have the following: Default Web Site - Anonymous access checked and Integrated Windows authentication unchecked Jakarta - virtual web site and Anonymous access checked and Integrated Windows authentic

Re: mod_jk stability issues

2010-05-25 Thread Rainer Jung
On 24.05.2010 23:36, LES wrote: I am having some trouble keeping a mod_jk setup stable. At this point, I feel like I am too far into trial and error mode and would like some help figuring out how to identify the problem. My current setup involves, two linux (RHEL 5) server each running two tom

Re: thread deadlock issue in WebappClassLoader (Tomcat 6.0.26)

2010-05-24 Thread Rainer Jung
On 24.05.2010 14:08, PJ Fanning wrote: Hi, We've been seeing the occasional deadlock in WebappClassLoader and upgraded to Tomcat 6.0.26 because of https://issues.apache.org/bugzilla/show_bug.cgi?id=48694. The fix in 48694 does not seem to have gotten rid of the deadlock altogether. Could you

Re: Question on workers.properties file

2010-05-20 Thread Rainer Jung
Hi André, Melinda and everyone else, On 20.05.2010 14:31, André Warnier wrote: savoym wrote: I Rainer Jung is around, he may tell us if my assumptions are correct, that IIS+redirector also sends the IIS user-id to Tomcat, if there is any. If not, then tonight I might be able to send you a

Re: mod_jk session stickiness on failover

2010-05-19 Thread Rainer Jung
e emptySessionPath we got back a new cookie with the correct route. When I have it on I get no sessionId back at all. So the solution would be that the root-context and my application should have the same JSESSIONID (is it possible) or I can deploy my applicaiton in the root directory. /Johan

Re: Question on workers.properties file

2010-05-19 Thread Rainer Jung
vided buffer "buf", but that's all opaque to you. Check again for what I wrote below your original post. Regards, Rainer Thanks again. Rainer Jung-3 wrote: static int get_server_value(LPEXTENSION_CONTROL_BLOCK lpEcb, char *name, char *buf, DWORD

Re: Question on workers.properties file

2010-05-18 Thread Rainer Jung
static int get_server_value(LPEXTENSION_CONTROL_BLOCK lpEcb, char *name, char *buf, DWORD bufsz) { DWORD sz = bufsz; buf[0] = '\0'; if (!lpEcb->GetServerVariable(lpEcb->ConnID, name, buf, (LPDWORD) &sz)) return JK_

Re: mod_jk session stickiness on failover

2010-05-18 Thread Rainer Jung
On 18.05.2010 12:35, JohnRiley wrote: Hi, We are load balancing 3 non-clustered tomcat 6.0 servers with the mod_jk connector in apache 2.0. We have sticky sessions enabled and it works fine until one of the servers goes down. What happens then is that it start round-robin between the other two

Re: best practice for resources folder

2010-05-18 Thread Rainer Jung
On 17.05.2010 22:44, Thad Humphries wrote: Rainer, I wasn't aware of this library, but it looks very handy. Currently I a properties file in my WAR file. Being able to make changes to an external file with fallback to this one would be good. My questions where one might put that external file

Re: best practice for resources folder

2010-05-17 Thread Rainer Jung
On 17.05.2010 18:05, Rainer Jung wrote: On 17.05.2010 17:14, Juergen Weber wrote: Hi, this seems to be a FAQ, but I could not find a solution for Tomcat 6: We want to keep property files out of war files. Where should we put the property files to access them from the web app via

Re: best practice for resources folder

2010-05-17 Thread Rainer Jung
On 17.05.2010 17:14, Juergen Weber wrote: Hi, this seems to be a FAQ, but I could not find a solution for Tomcat 6: We want to keep property files out of war files. Where should we put the property files to access them from the web app via Class.getResourceAsStream() ? For JBoss one would simpl

Re: JkMount and Apache Rewrite

2010-05-17 Thread Rainer Jung
On 26.04.2010 13:56, Philip Hunt (Straker Software) wrote: Hi, I have the following config, to pass requests through Apache to Tomcat using AJP: RewriteEngine on RewriteRule ^/abc - [L,PT] RewriteRule (.*) /abc$1 [L,PT] JkMount /abc/* node1 This works, to the point that requests to http://sit

Re: mod_jk file not found

2010-05-17 Thread Rainer Jung
On 16.05.2010 22:15, Markus Mehrwald wrote: Am 2010-05-16 21:11, schrieb André Warnier: Markus Mehrwald wrote: I did not find the actual problem but I can live with this script not delivered by apache. Maybe this is because the js is inside a jar file? I have to admit that in my previous anal

Re: mod_jk reply_timeout and error state

2010-04-21 Thread Rainer Jung
Hi Sean, On 20.04.2010 08:04, Sean GAO wrote: According to online documentation (http://tomcat.apache.org/connectors-doc/generic_howto/timeouts.html): Long Garbage Collection pauses on the backend do not make a good fit with some timeouts. Try to optimise your Java memory and GC settings. -

Re: mod_jk question about socket_timeout

2010-04-16 Thread Rainer Jung
On 16.04.2010 11:20, Philip Wigg wrote: Recent versions of mod_jk allow a very fine-grained response timeout configuration, so that you can e.g. set a general response timeout to 20 seconds and a longer timeout like 60 seconds for special URLs you expect to take longer like report generation. Th

Re: mod_jk question about socket_timeout

2010-04-15 Thread Rainer Jung
On 15.04.2010 13:22, Philip Wigg wrote: Hi, I'm using mod_jk 2.2.27 to connect via AJP to a JBoss backend. The problem is that a reporting application takes a couple of minutes to run a report but mod_jk seems to be closing the connection to the back-end and the user receives a 502 Bad Gateway e

Re: isapi_redirect 1.2.30

2010-04-08 Thread Rainer Jung
URL, it seems like something that SHOULD work when it's NOT a servlet URL. Does this make any sense? Should I file a bug report? Thank you for your help! Warm regards, Jordan Michaels Vivio Technologies http://www.viviotech.net/ Open BlueDragon Steering Committee Railo Community Distribu

Re: mod_jk: confirming JKStripSession setting

2010-04-06 Thread Rainer Jung
On 06.04.2010 17:02, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, On 4/6/2010 10:49 AM, Christopher Schultz wrote: 98.218.200.175 - - [06/Apr/2010:14:46:52 +] "GET /context/;jsessionid=FA8E3DA6A38E3CF07370658FA759A454/images/help_widget.gif HTTP/1.1" So,

Re: isapi_redirect 1.2.30

2010-04-06 Thread Rainer Jung
On 05.04.2010 18:35, Jordan Michaels wrote: Okay, I will try that. I have the properties log level currently set to "debug". I'll try trace and see if it can provide more information there (I didn't realize trace had more information then debug). Trace adds log lines for entering and leaving fu

Re: isapi_redirect 1.2.30

2010-04-03 Thread Rainer Jung
On 03.04.2010 01:03, Jordan Michaels wrote: Hello! I'm attempting to debug a cookie problem with the IIS7, using a default document, and the Tomcat connector. I can see where firefox is sending cookie information in the request headers to IIS, and I can see where the isapi_connector is passing

Re: mod_jk behaviour during failure

2010-04-03 Thread Rainer Jung
On 31.03.2010 23:33, Mohit Anchlia wrote: On Wed, Mar 31, 2010 at 2:27 PM, Rainer Jung wrote: Which version? If 1.2.28 or newer, look for error_escalation_time in Actually I am on 1.2.27 so can't use error escalation time. Is there any other way I can do it? I am seeing real odd beha

Re: mod_jk: confirming JKStripSession setting

2010-04-03 Thread Rainer Jung
Hi Chris, On 01.04.2010 00:21, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Today, doing some testing, I found that an link on a page was in some instances resulting in a broken-image icon but the symptom disappeared on a page REFRESH: classic signs of a ";jsessionid

Re: mod_jk behaviour during failure

2010-03-31 Thread Rainer Jung
Which version? If 1.2.28 or newer, look for error_escalation_time in http://tomcat.apache.org/connectors-doc/reference/workers.html Read the description and try setting it to "0". Regards, Rainer On 31.03.2010 23:09, Mohit Anchlia wrote: I am seeing weird behaviour here. What I am seeing

Re: [ANN] New Tomcat Committer: Keiichi Fujino (kfujino)

2010-03-31 Thread Rainer Jung
Welcome! Have Fun :) On 31.03.2010 21:29, Filip Hanik - Dev Lists wrote: On behalf of the Tomcat committers I am pleased to announce that Keiichi Fujino (kfujino) has been voted in as a new Tomcat committer. Please join me in welcoming him. Regards, Filip

Re: Problem redirecting requests from IIS to Tomcat by isapi_redirect.dll

2010-03-14 Thread Rainer Jung
On 14.03.2010 13:25, André Warnier wrote: mirkocal wrote: Hi, I'm trying to redirect requests from IIS 6 to Tomcat 6. I've followed the instructions reported in the official Tomcat documentation: http://tomcat.apache.org/connectors-doc/webserver_howto/iis.html http://tomcat.apache.org/connectors

Re: IIS Tomcat Connector ISAPI 1.2.27 cannot connect to running Tomcat 5.5 Instances

2010-03-06 Thread Rainer Jung
On 06.03.2010 14:02, Wilmer Tan wrote: Hi, I need help desperately. Our IIS Web Server crashed and since recovery, IIS could no longer connect to Tomcat correctly. The Browser Displays "Service Temporarily Unavailable!" jakarta/ISAPI/isapi_redirect. IIS is working and Tomcat Instances are all ru

Re: isapi_redirect-1.2.30 - problem with dynamic images.

2010-03-05 Thread Rainer Jung
On 05.03.2010 17:28, André Warnier wrote: David Bolsover wrote: I'm not sure I'm any further along with this... If I take this first URL (from Tomcat port 8080) and paste into my browser address bar, I get the expected image. http://localhost:8080/Yosemite/faces/a4j/s/3_3_3.CR1org.ajax4jsf.res

Re: isapi_redirect-1.2.30 - problem with dynamic images.

2010-03-05 Thread Rainer Jung
On 05.03.2010 17:28, André Warnier wrote: David Bolsover wrote: I'm not sure I'm any further along with this... If I take this first URL (from Tomcat port 8080) and paste into my browser address bar, I get the expected image. http://localhost:8080/Yosemite/faces/a4j/s/3_3_3.CR1org.ajax4jsf.res

Re: isapi_redirect-1.2.30 - problem with dynamic images.

2010-03-05 Thread Rainer Jung
On 05.03.2010 15:04, Pid wrote: On 05/03/2010 12:56, Pid wrote: On 05/03/2010 10:02, David Bolsover wrote: Pid bad - windows 7 32bit good server 2008 64bit The provided isapi.log doesn't contain any of the two image requests. There is no request in it which contains "UserResource" as

Re: Tomcat on Ubuntu 8.04 VPS and presumably multiple socket problems

2010-01-30 Thread Rainer Jung
On 30.01.2010 17:41, fatzopilot wrote: 2nd issue: mod_jk does not work. I think I replayed multiple instructions to set it up multiple times but in all cases it finally says "Could not find a worker for worker name=myWorker" Solved by using the procedure described here (till item 11): http://ub

Re: [/jakarta/isapi_redirect.dll] is not a servlet url

2010-01-30 Thread Rainer Jung
On 07.12.2009 16:40, magillagorilla wrote: Yes, my worker files are in the path I have specified in the registry. I am confused by this as well. I don't know where that worker name is coming from. The workers.minimal settings I posted are the ones I am using. If indeed the redirector is looking

Re: mod_jk codepage in header values

2010-01-30 Thread Rainer Jung
On 29.01.2010 22:20, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mirko, On 1/29/2010 4:02 AM, Mirko Solic wrote: Secondly i try to define JkEnvVar directive for non existent environment variable and i added also default value with some no ISO-8859-1 characters. My

Re: When running under high load (via load generating tools), Tomcat 6.0.20 stops expiring sessions until the load subsides; causing thrashing on Garbage Collection

2010-01-09 Thread Rainer Jung
On 09.01.2010 12:13, Mark Thomas wrote: On 08/01/2010 23:07, Robin Wilson wrote: OK, I made the following changes (1 at a time) to 'server.xml', and retested: No discernable difference was noted on the retest (NOTE: I have measured the sessions vs. the number of 'threads requesting page

Re: High Load examples?

2010-01-08 Thread Rainer Jung
On 07.01.2010 12:24, Alexander Skwar wrote: Right now, we're using Bea WebLogic as our application server. We'd like to change to Tomcat 6. Now the creator of the application being run on the App Server said, that Tomcat works very well under low usage / low load situations. But if there are "man

Re: mod_jk: The worker pick order/scope when sticky_session=false and clusters are grouped by worker.domain

2010-01-05 Thread Rainer Jung
On 05.01.2010 09:44, LiuYan 刘研 wrote: I'm currently learning Tomcat clustering these days. I setup 4 Tomcat-6.0.22 instances in Windows XP: server1, server2, server3, server4 cluster1: server1& server2 (228.0.0.4:45564) cluster2: server3& server4 (228.0.0.4:45566) Apache/2.2.14(win32) is the

Re: TomCat 6 performance issues

2009-12-22 Thread Rainer Jung
On 22.12.2009 13:26, DOrlov wrote: Rainer Jung-3 wrote: You can add "%D" to the pattern for the omcat access log, which will output the response time in milliseconds how Tomcat determined it. Already done for most cases values are 0,1,2 ms Max value which I ever find in the l

Re: TomCat 6 performance issues

2009-12-22 Thread Rainer Jung
On 22.12.2009 13:13, DOrlov wrote: Pid Ster wrote: Looks OK. When you say the response takes 5s, how are you measuring this? Is it sustained, or is it occasional? Is the server heavily loaded at the time - and again how are you measuring that? What else could be happening? E.g. sending

Re: TomCat 6 performance issues

2009-12-22 Thread Rainer Jung
On 22.12.2009 12:58, Pid wrote: On 22/12/2009 11:34, DOrlov wrote: Pid Ster wrote: Any chance you can upgrade to the most recent Tomcat? How much total physical RAM do you have? Examine the heap "jmap -heap", and post the results. I have 8Gb RAM on the machine. PS Old Generation 4

Re: submitting more patches

2009-12-20 Thread Rainer Jung
On 20.12.2009 21:24, André Warnier wrote: Mark Thomas wrote: ... If I recall correctly you are using Tortoise SVN. If you generate the patch from the root of the svn checkout, you will get all of the patches in a single file. You can then attach that to a new bugzilla entry. You do recall cor

Re: Using RemoteAddressValve with an Apache mod_proxy_balancer

2009-12-20 Thread Rainer Jung
On 20.12.2009 21:00, André Warnier wrote: Mark Thomas wrote: ... This is one of those times where the solution will depend on the protocol you are using. The AJP connectors will report the client's IP address so you need an alternative solution. Using the "request.secret" attribute is probably

Re: Using RemoteAddressValve with an Apache mod_proxy_balancer

2009-12-17 Thread Rainer Jung
On 17.12.2009 10:02, André Warnier wrote: Martin B. Smith wrote: On 12/16/2009 11:01 PM, Bill Barker wrote: "André Warnier" wrote in message news:4b294eb6.4090...@ice-sa.com... Martin B. Smith wrote: Howdy! I'm trying to ensure that only specific instances of Apache are allowed to proxy req

Re: Could not init service for worker=jkstatus

2009-12-16 Thread Rainer Jung
ready fix your comments" means in terms of configuration. Double check you JkOptions as described in my previous mails. Regards, Rainer Rainer Jung escribió: On 16.12.2009 12:52, Rainer Jung wrote: = Vhost Settings #MOD JK JkOpti

<    1   2   3   4   5   6   7   8   9   10   >