Re: Supportability of Tomcat 9.0.90 and above with JDK 8

2024-10-17 Thread Rainer Jung
Am 17.10.24 um 08:27 schrieb Xavier, Joseph: Hi, I wanted to understand whether Tomcat 9.0.90 and above minor versions are supported with JDK 8? We have see compile issues when our JDK 8 environment tried to work with Tomcat 9.0.90. If the supportability is deprecated, is there any doc or publ

Re: mod_jk logging issue

2023-12-19 Thread Rainer Jung
Hi there, Am 19.12.23 um 18:05 schrieb EML: Hi - I'm running mod_jk with an Apache front-end, and I'm having an issue with the JkShmFile files. Every time Apache restarts mod_jk creates two new files (jk-runtime-status.PID and jk-runtime-status.PID.lock). These are never cleaned up; the log

Re: Errors after upgrading to Tomcat 9.0.90

2024-06-21 Thread Rainer Jung
Am 20.06.24 um 17:52 schrieb Christopher Schultz: Francesco, On 6/20/24 09:03, Francesco Chicchiriccò wrote: On 2024/06/20 12:18:15 Konstantin Kolinko wrote: чт, 20 июн. 2024 г. в 13:25, Francesco Chicchiriccò : Hi there, at Syncope we usually use the latest Tomcat versions to run a large c

Re: What causes "client errors" with mod_jk

2022-03-24 Thread Rainer Jung
Hi Chris, client errors in jk log are always errors occurring when mod_jk tries to write back what it got from the backend using web server APIs to the client of the web server (user, browser etc.). So they point to a problem between and including the web server and something in front of it.

Re: What causes "client errors" with mod_jk

2022-05-26 Thread Rainer Jung
ae->worker->name, r->method, r->req_uri, timestamp, r->r->request_time.tm_usec); Does anyone think this might be generally useful? I'll have a look at your other mail on this next. Best regards, Rainer Thanks, -chris On 3/25/22 08:37, Christopher Schultz

Re: What causes "client errors" with mod_jk

2022-05-26 Thread Rainer Jung
Hi Chris, Am 26.05.2022 um 21:49 schrieb Christopher Schultz: On 5/16/22 13:48, Christopher Schultz wrote: I see the place in the code where the error is generated, but I'm not familiar enough with the code to know how to add that kind of thing. The function in question (ajp_process_callback

Re: What causes "client errors" with mod_jk

2022-05-27 Thread Rainer Jung
Hi Chris, Am 27.05.2022 um 01:49 schrieb Christopher Schultz: On 5/26/22 17:25, Rainer Jung wrote: Am 26.05.2022 um 21:49 schrieb Christopher Schultz: Would you prefer to use mod_unique_id + unique-id-logging in mod_jk over just adding more request-level information to the mod_jk.log? I&#

Re: [mod_jk] Is it possible to set the value of a specific attribute via HTTP?

2023-06-29 Thread Rainer Jung
Hi Chris, Am 29.06.23 um 15:00 schrieb Christopher Schultz: All, I've been using mod_jk forever and have some tools[1][2] to check on the status of a worker and change its state using the status worker. One of the samples I check is the "errors" count and if it's above 0 then I report an er

mod_jk 1.2.16 release candidate: ready to test

2006-07-03 Thread Rainer Jung
Hi, version 1.2.16 of the Apache Tomcat mod_jk web server connector has been tagged. This version contains numerous bug fixes and some new improvements over our last release 1.2.15. Please test and share your experience. If no critical bugs will be found, we will have a formal release vote starti

Re: mod_jk failover and preferring localhost

2006-07-03 Thread Rainer Jung
We just now tagged 1.2.16. A release candidate is available. Please have a look at http://marc.theaimsgroup.com/?l=tomcat-dev&m=115194553720728&w=2 Test results are welcome. If no new problems will be found, the release vote will procees starting Friday. The final release will be announced on th

Re: mod_jk failover and preferring localhost

2006-07-03 Thread Rainer Jung
The new attribute distance will help you. It was first implemented for version 1.2.16, which is in the process of being released (see my other answer). Please test and let us know your results. thuss2 schrieb: > We have 10 web servers with Tomcat's running on them and a mod_jk > configuration to

Re: mod_jk Status Busy Number

2006-07-03 Thread Rainer Jung
This bug has been fixed in version 1.2.16. We just now tagged 1.2.16. A release candidate is available. Please have a look at http://marc.theaimsgroup.com/?l=tomcat-dev&m=115194553720728&w=2 Test results are welcome. If no new problems will be found, the release vote will procees starting Friday

Re: Apache Tomcat and Mod-jk

2006-07-03 Thread Rainer Jung
The bug concerning the high busy values has been fixed in version 1.2.16. The "V" value is an internal counter, on which the decision concerning the load balancing is based. In 1.2.15 it is normal, that you see nagative values. For 1.2.16 this behaviour has been changed, so you should see only posi

Re: "Busy" in jkmanager

2006-07-03 Thread Rainer Jung
Busy=number of parallel requests being processed for a worker at that point of time. If worker.yourloadbalanceworker.method=B, this loadbalancer will send a request always to its balanced worker with the lowest busy count. A bug in mod_jk 1.2.15 leads to the wrong display of very high busy counte

Re: V Load Balancer Value

2006-07-04 Thread Rainer Jung
The "V" value is an internal counter, on which the decision concerning the load balancing is based. In 1.2.15 it is normal, that you see negative values. For 1.2.16 this behaviour has been changed, so you should see only positive "V" values and the worker with the lowest one gets the next request.

Re: "Busy" in jkmanager

2006-07-04 Thread Rainer Jung
Request = HTTP Request in progress Load balancing only uses Busy counter when the "method" attribute of the lb worker is set to "B" in workers.properties. In this case the lb worker always routes a request to the worker with smallest Busy counter at the times the request has been received. If the

Re: AW: XML Fileupload > 8k with mod_jk

2006-07-04 Thread Rainer Jung
Hi Thilko, please report your findings also in the case, when the problem does not appear with 5.5.15. Rainer Thilko Richter schrieb: > Hi Martina, > > Thanks for the quick answer! > > I use Tomcat 5.5.15. > > In my servlet I use request.getInputStream() and write the received data > into a b

Re: 'Update Worker' button with mod_jk 1.2.16

2006-07-05 Thread Rainer Jung
Can you reproduce the problem easily? What's your configuration, and what kind of update did you try? What output appears in the mod_jk log file fpr JkLogLevel trace? Rainer Mladen Turk wrote: Mohan2005 wrote: Dear All: The 'Udate Worker' button does not respond after installing mod_jk 1.2

Re: "Busy" in jkmanager

2006-07-05 Thread Rainer Jung
Mohan2005 wrote: Specifies what method load balancer is using for electing best worker. If method is set to R[equest] balancer will use number of requests to find the best worker. If set to T[raffic] balancer will use the network traffic between JK and Tomcat to find the best worker. If set to B[

Reminder: mod_jk 1.2.16 release candidate: please test

2006-07-05 Thread Rainer Jung
Hi, as a reminder: I will summarize test feedback for mod_jk 1.2.16 late friday, and provided positive test results the Apache Tomcat project will proceed to vote on the final release. Until now only about 10 downloads happened, so we need more users to participate! To ensure a quality release fo

Re: 'Update Worker' button with mod_jk 1.2.16

2006-07-05 Thread Rainer Jung
Hello, I think you found a real bug. Could you please try the following patch: Index: jk_status.c === --- jk_status.c (revision 418136) +++ jk_status.c (working copy) @@ -755,13 +755,9 @@ i = status_bool("wd", s->query_strin

Re: 'Update Worker' button with mod_jk 1.2.16

2006-07-05 Thread Rainer Jung
Several people now tried it and the code is much cleaner, so chances are very good, that the busy part is correct now. Of course, the version is not finally released now, so the user base of it is still pretty small. If this is so important for you, you should neverthelese use some script to regul

Re: Jakarta Connector 1.2.14 with Apache 2 under Solaris 8

2006-07-06 Thread Rainer Jung
Hi, Lopez Jarillo, Cesar schrieb: > Hello all, > > > I'm installing mod_jk.so version 1.2.14 on Apache 2.0.55 (Solaris 8 OS). I've > compiled the source code You should definitely not use 1.2.14. For example have a look at http://issues.apache.org/bugzilla/show_bug.cgi?id=36525 If you need t

Re: URGENT HELP NEEDED: mod_jk loadbalancing issues

2006-07-08 Thread Rainer Jung
Hello, if you would give detailed information about your problems, we could advise you, whether it is known, and whether it has been fixed in some version. The latest release is 1.2.15, we tried to produce a 1.2.16 release, that but it has now been withdrawn because of a regression bug. Another r

Re: Problem with mod_jk and multiple workers.

2006-07-11 Thread Rainer Jung
It might not be the reason for your problems, but you should not start this with an apache version that old. If you want to use mod_jk, consider first updating to apache 2.0.58 or something close to it. Is your JkWorkersFile readable for the apache user? I never noticed such behaviour, so no other

Re: mod_jk 1.2.16 release candidate: ready to test

2006-07-11 Thread Rainer Jung
team is planning > to release > 1.2.17. > > Regards, > Edmon > > On 7/11/06, Brian Munroe <[EMAIL PROTECTED]> wrote: >> On 7/3/06, Rainer Jung <[EMAIL PROTECTED]> wrote: >> >> > >> > version 1.2.16 of the Apache Tomcat mod_jk web ser

Next try: mod_jk 1.2.17 release candidate ready to test

2006-07-11 Thread Rainer Jung
Hi, thanks to everyone who tested 1.2.16. Unfortunately we had one regression bug in the status worker (hanging update request because of double locking). For full results please see: http://marc.theaimsgroup.com/?l=tomcat-dev&m=115234851210076&w=2 Today version 1.2.17 of the Apache Tomcat mod_j

Re: problems getting jkstatus to work in mod_jk

2006-07-14 Thread Rainer Jung
Which platform are you using? You can increase JkLogLevel to trace and then check the log during startup of apache. Maybe something is wrong with the permissions on the shared memory file which is being used by the status worker. Could you post the log of startup+request for jkstatus? About omit

Re: problems getting jkstatus to work in mod_jk

2006-07-18 Thread Rainer Jung
You already posted the same question 4 days ago. I replied and got no answer from you. Here is my original reply. Which platform are you using? You can increase JkLogLevel to trace and then check the log during startup of apache. Maybe something is wrong with the permissions on the shared memor

Yet another try: mod_jk 1.2.18 release candidate ready to test

2006-07-19 Thread Rainer Jung
Hi, thanks to everyone who tested 1.2.17. We had one bug related to special types used in the networking code. Furthermore there was one request for enhancement we included in the next version 1.2.18. Today this version 1.2.18 of the Apache Tomcat mod_jk web server connector has been tagged.

Re: Yet another try: mod_jk 1.2.18 release candidate ready to test

2006-07-20 Thread Rainer Jung
Whops: we had some hassle with the files and it looks like the docs has been unintentionally erased by myself. It's there on the source web server now, thanks for the information. It might take an hour or two to replicate to the public web server. If you need it earlier: the docs are included

Re: Load Balance not working for mod_jk???

2006-07-21 Thread Rainer Jung
When you are starting or restarting Apache it should log a line similar to the following: [Sat Jul 22 07:59:41 2006] [notice] Apache/2.0.58 (Unix) DAV/2 mod_jk/1.2.15 configured -- resuming normal operations It includes the mod_jk version (mod_jk/1.2.15). The same should be found via myserv

Re: Load Balance not working for mod_jk???

2006-07-24 Thread Rainer Jung
stomLog logs/access_log common > > # > # If you would like to have separate agent and referer logfiles, uncomment > # the following directives. > # > #CustomLog logs/referer_log referer > #CustomLog logs/agent_log agent > > # > # For a single logfile with access, age

Re: Load Balance not working for mod_jk???

2006-07-24 Thread Rainer Jung
on is 1.2.15 to be found at http://tomcat.apache.org/download-connectors.cgi Rainer Patrick Wang schrieb: > You are Right, the Strings things work great, which shows the version of the > mod_jk 1.2.6. > > Pat > > -Original Message----- > From: Rainer Jung [mailto:[EMAIL

Re: Possible conflict between the build.xml and the mx4j-3.0.1.tar.gz

2006-07-24 Thread Rainer Jung
Hi, I'm right now building from subversion head of 5.5 and I don't get the error, although the URLs look exactly the same:: Rao Jianguo schrieb: > downloadgz: > [get] Getting: > http://switch.dl.sourceforge.net/sourceforge/mx4j/mx4j-3.0.1.tar.gz > [get] To: /export/data0/user/TOMCAT/usr

Re: were there any major issues with 1.2.17??

2006-07-24 Thread Rainer Jung
mod_jk 1.2.17 had a subtle build problem e.g. on AS400 platform. There is no known problem on Linux. Glad to hear it also worked for you, but you should nevertheless take the next opportunity and move to the official release. 1.2.17 will never be officially released. Furthermore 1.2.18 added a new

Re: mod-jk loadbalancing: "Tomcat is down or refused connection. No response has been sent to the client (yet)"

2006-07-25 Thread Rainer Jung
Hi Michael, Michael Huettermann schrieb: > The whole system is on my desktop: > Apache/2.0.55 (Win32) mod_jk/1.2.17 when using Apache 2 depending on the used MPM the worker cachesize should not be "1": > worker.node1.cachesize=1 > #worker.node2.cachesize=1 If your MPM is "prefork", then "1" is

[ANN] Apache Tomcat mod_jk 1.2.18 Web Server Connector released

2006-07-27 Thread Rainer Jung
The Apache Tomcat team is pleased to announce the immediate availability of version 1.2.18 of the Apache Tomcat mod_jk web server connector. mod_jk is a connector which allows a web server such as Apache HTTPD to act as a front end to the Tomcat web application server. This version contains severa

Re: Tomcat and Sun's Application server

2006-07-28 Thread Rainer Jung
Tomcat will not load any webapp jar containing javax.servlet.Servlet or javax.servlet.jsp.JspPage. I would suggest to remove package javax.servlet from your j2ee.jar. Furthermore trouble is to be expected, if you try to load classes java.* from webapp jars. I guess you don't use the security manag

Re: connectionTimeout and reusing Tomcat threads

2006-07-28 Thread Rainer Jung
I know this sounds very general, but 1.2.10 is quite antique. First update to 1.2.18, try again and if your problem is still reproducible, post your config (workers.properties and Jk* from httpd.conf) and relevant parts of the mod_jk-Logfile with LogLevel trace. Also try to relate tcp connection i

Re: Problems with IE6, AJP1.3, Apache httpd and tomcat

2006-07-28 Thread Rainer Jung
You should download the most recent release jk-1.2.18 under http://www.apache.org/dist/tomcat/tomcat-connectors/jk/binaries/ Concerning 1.2 vs. 1.3: There are AJP protocol version 1.2 and 1.3. Tomcat and mod_jk support both, but 1.2 has been deprecated a long time ago. This is independant of the

Re: clustering problem

2006-07-31 Thread Rainer Jung
Have a look at our new version mod_jk 1.2.18, especially at the worker attribute "distance". This should be used in combination with an lb worker. It enables you to define preferences. If you want to route to different tomcats for probing, configure jvmRoute on the Tomcats (most likely you already

Re: mod_jk load balancer questions

2006-08-02 Thread Rainer Jung
> example: > localhost/abc.html;jsessionid=afsdfasdf?test=abc > or > localhost/abc.html?;jsessionid=adsfasdf&test=abc > > which of the above is correct? The first one. Rainer - To start a new topic, e-mail: users@tomcat.apache

Re: Problem compiling mod_jk 1.2.18 with Apache 1.3.27

2006-08-05 Thread Rainer Jung
Thanks for this information! We introduced piped logs to mod_jk in 1.2.18. Unfortunately I used an API call into Apache, that has only been introduced with 1.3.28 (3 years ago). Your version 1.3.27 was the last one that doesn't have ap_popenf_ex(). I'll check, if I can work around that proble

Re: Problem compiling mod_jk 1.2.18 with Apache 1.3.27

2006-08-05 Thread Rainer Jung
Could you please try the following patch to native/apache-1.3/mod_jk.c, that should also work with older apache versions: === --- mod_jk.c(revision 423615) +++ mod_jk.c(working copy) @@ -2039,8 +2039,13 @@ } else i

Re: mod_jk connection_pool_size property

2006-08-05 Thread Rainer Jung
Since you are using Apache 1.3: By theory setting the value to > 1 should not be necessary. To understand what's going on: could you increase JkLogLevel to trace and send us parts of the output around a request producing a 503 error? Java Rab wrote: I have setup load balancing between Apache

Re: Mod_jk load balacing algorithm

2006-08-07 Thread Rainer Jung
mod_jk neither supports round-robin, nor random load-balancing. Currently you can choose between three algorithms: method=B (busyness): choose the worker with the lowwest number of requests currently in processing. method=R (requests): choose the worker that did the lowest number of requests

Re: Load balancing question

2006-08-07 Thread Rainer Jung
Hi, first of all I assume you are using version 1.2.18 of mod_jk? Otherwise please update. Sharma, Siddharth schrieb: > We have a 12 (tomcat 5.5.16) instance cluster on 4 physical machines running > redhat linux. There is an Apache installed on each machine (4 mod_jks). Each > mod_jk's worker.pro

Re: Mod_jk load balacing algorithm

2006-08-07 Thread Rainer Jung
Hi, Mohan Wickramasinghe schrieb: > Hello > > We are using the "new" Busyness method with 1.2.18 > We have also using 'sticky sessions'. > > Clarification on > "> As soon as there will be real load, behaviour will differ." > > We have 9 nodes on 3 identitical servers with identical settings, lb

Re: Mod_jk load balacing algorithm

2006-08-08 Thread Rainer Jung
Hi, Mohan2005 schrieb: > Hello > > Thaks. We will enable loggin to find this, but since its a production setup > will it affect performance ? The numbers suggest, that you've got 210.000 * 12(instances) / 21 (days) = 120.000 requests/day So depending on the time distribution, this should boild

Re: tomcat JSP Servlet Apache JK2

2006-08-08 Thread Rainer Jung
jk2 has been deprecated quite some time ago. You might find some help for it on this list, but you should seriously consider migrating to mod_jk. The module mod_jk (*not* mod_jk2) is still being actively developed and most features of mod_jk2 have been backported to mod_jk in the meantime. I'

Re: Mod_jk load balacing algorithm

2006-08-08 Thread Rainer Jung
Mohan2005 wrote: On the 'P' option which was recommended by Mladen Turk some time ago when we had issues (share memory locking) with a older version of mod_jk ( <1.2.15), we have left it as it is. There definitely were issues concerning optimistic locking around 1.2.15, but we expect them to b

Re: tomcat JSP Servlet Apache JK2

2006-08-08 Thread Rainer Jung
jeusdi wrote: If there is no choice can I use mod_jk in Apache2? I say it because I perform "aptitude install mod_jk" in my ubuntu Brezzy and it downloads apache1.3, but I want use Apache2 with mod_jk. Can I use mod_jk with Apache2? Uaaah. mod_jk 1.2 works with Apache 1.3, 2.0 and 2.2. The diff

Re: Mod_jk balancing, session problem

2006-08-08 Thread Rainer Jung
Artur wrote: Hello, We have environment with Apache (2.2.0) + Tomcat (5.5.17) connected via mod_jk (1.2.18). Further tomcat makes some queries to databese through Tuxedo services (BEA). Everything works fine until heavy load when something stops responding (Service not available). We think it is

Re: mod_jk log level and logging issues

2006-08-09 Thread Rainer Jung
Hi, thanks for the feedback. Good info! fredk2 schrieb: > issue 1: > > > With mod_jk 1.2.15 i set my jk log level: > > JkLogFile logs/mod_jk.log > #JkLogLevel info > JkRequestLogFormat "%w %V %U %s %T %B %H %m" > > While switching to 1.2.18 I read in the fine manual that t

Re: Mod_jk balancing, session problem

2006-08-09 Thread Rainer Jung
Hi, Artur schrieb: >> - does it happen in times, when you get errors in the mod_jk-log? Does >> it happen at all times, or do you have peaks at special times? >> >> I can't figure it out, when this happens, but there isn't any special >> moment I can observe. >> It happens randomly. There isn't

Re: mod_jk validate failed / factory failed error

2006-09-02 Thread Rainer Jung
I can load your workers.properties configuration using 1.2.18 (but I Used Apache 2 and Solaris). The validate method code says, that either there should be a message of level "error" before the first one you copied to your mail (and that one will give us a better indication about what's wrong), or

Re: Clustering with mod_jk

2006-09-02 Thread Rainer Jung
You should try 1.2.18 and depending on your time frame update to 1.2.19 once it's being released this month. We improved load balancing code and with 1.2.19 also the observability of what's happening. Try the alternative method B (Busyness) for the load balancer in 1.2.18. The default method tri

Re: Migration from jk2 to jk, problems with uri context

2006-09-02 Thread Rainer Jung
What about changing worker.worker1.mount=/foo/* foo to worker.worker1.mount=/foo/* /foo Regards, Rainer james edwards schrieb: > I am moving to jk (1.2.18) from jk2 & am having problems with the > workers.properties file. I have separate apache and tomcat servers. Here is > my working jk2 (wo

Re: Log analysis with Apache, mod_jk and 2 Tomcat instances

2006-09-13 Thread Rainer Jung
Marc Richards wrote: Also you can configure Apache to log the value of the session cookie (if you're using session cookies -- LogFormat "%{JSESSIONID}C..."), which includes the lb route so that you even know which instance of Tomcat took the request. ... and finally once we release the next mod

Re: Large Data Post Problem

2006-09-16 Thread Rainer Jung
I tried with mod_jk 1.2.18 and Apache 2.0.58. No problems, this should work. Although I doubt it's a problem in the mod_jk version, maybe you should upgrade. Did you set maxPostSize on the tomcat connector to some small size? The default is 2MB. Regards, Rainer James Grady schrieb: > I am runni

mod_jk 1.2.19 release candidate: ready to test

2006-09-16 Thread Rainer Jung
Hi, version 1.2.19 of the Apache Tomcat mod_jk web server connector has been tagged. This version contains numerous bug fixes and some new improvements over our last release 1.2.18. Please test and share your experience. Your feedback helped us a lot during the previous release, so we hope there w

Looking for mod_jk status worker doc contributor

2006-09-17 Thread Rainer Jung
Hi, I'm looking for a community member, who is willing to write a little documentation about the status worker of mod_jk. We added a lot of new information to it in the most recent release (candidate) 1.2.19 and I think it would be worth writing a couple of lines about it. I can help in answering

mod_jk worker mappings and jsessionid

2006-09-17 Thread Rainer Jung
Hi, in the last weeks, there were some discussions, about how to make mod_jk automatically map requests which are url encoded (;jsessionid=). Although in most cases it would be better to have a clear url structure which you can use with JkMount, I understand that sometimes it will be convenie

Re: Large Data Post Problem

2006-09-18 Thread Rainer Jung
l > upload with no problems. I believe this means that there probably isn't > incorrectly encoded data. > I'll keep looking and will respond again if I an find the problem. > Thanks for the help. > > James > > On Sat, 16 Sep 2006 17:44:23 +0200 > Rainer Ju

Re: LATEST mod_jk.dll

2006-09-20 Thread Rainer Jung
If you are willing to use the latest 1.2.19: http://tomcat.apache.org/dev/dist/tomcat-connectors/jk/binaries/ This one is not yet officially released. The release vote will start tomorrow, but until now no problems have beend found. So I'm confident, that it will get official in very few days.

Reminder: Preparation for mod_jk release vote

2006-09-20 Thread Rainer Jung
Hi, I shortly want to remind everyone, that our release vote for mod_jk 1.2.19 will start tomorrow. So all users still have some time to give us positive or negative feedback on the release candidate. Until now, no issues have been found. You can find 1.2.19 under: http://tomcat.apache.org

[ANN] Apache Tomcat mod_jk 1.2.19 Web Server Connector released

2006-09-23 Thread Rainer Jung
The Apache Tomcat team is pleased to announce the immediate availability of version 1.2.19 of the Apache Tomcat mod_jk web server connector. mod_jk is a connector which allows a web server such as Apache HTTPD to act as a front end to the Tomcat web application server. This version contains sever

[ANN] Apache Tomcat mod_jk 1.2.19 Web Server Connector released

2006-09-23 Thread Rainer Jung
The Apache Tomcat team is pleased to announce the immediate availability of version 1.2.19 of the Apache Tomcat mod_jk web server connector. mod_jk is a connector which allows a web server such as Apache HTTPD to act as a front end to the Tomcat web application server. This version contains sever

Re: Mod_jk : increase maxfilesize for download

2006-09-24 Thread Rainer Jung
This is not an expected behaviour. Any errors on the mod_jk or the tomcat side? What are your mod_jk settings (Jk* ind httpd.conf and workers.properties), what are your AJP13 connector settings on the tomcat side? Regards, Rainer Jean-Bernard BRIAND wrote: Hello, Thanks for your respawn

Re: mod_jk 1.2.19 worker reference inherentance question

2006-09-28 Thread Rainer Jung
Yes :) You can use it to inherit properties via multiple steps. But be careful, it doesn't check for loops! To make sure before I answered, I did a little check with a slightly enhanced configuration: # Make config observable worker.list=status worker.status.type=status worker.status.mount=/jkst

Re: IIS 6.0 with JK 1.2.19

2006-10-03 Thread Rainer Jung
I'm not sure about the iis redirect, but in general mod_jk only permitts patterns with a leading slash "/". So please try "/*.jsp". Regards, Rainer Fisher, Mitchell L schrieb: > There is no problem with the missing arrow. > http://support.microsoft.com/kb/317204/en-us says: > > "In Internet Inf

Re: HTTP redirect problem - fully qualified host name - tomcat 5.5.9 / mod-jk / Load balancing

2006-10-14 Thread Rainer Jung
Hi, if apache has the right idea, which hostname has been adressed and you use mod_jk, usually you get the right redirects. If apache doesn't know, because of ssl offloading or load balancers hiding the correct information, you can set attributes on the tomcat side in server.xml to the connector e

Re: IIS6.0 with JBoss4.0.3sp1 using mod jk 1.2.19

2006-10-18 Thread Rainer Jung
Maybe I missed something, but I didn't see a worker.list in the configuration. Mladen Turk wrote: VikasSharma-ATG, Noida wrote: That's it, there's nothing after these lines when I access my application. No errors, just the debug lines. I've checked isapi_redirect.dll has execute and write pe

Re: Dead links on Tomcat Connectors page

2006-10-18 Thread Rainer Jung
Thanks for the info. The docs are not in good shape, eventually there will be more broken links. I fixed the links in the Installation section be referring to the new docs in HowTos. Should be synced to the main web site in an hour or so and will be included in the next release. Rainer JWM schr

Re: volume transferred statistcis

2005-11-11 Thread Rainer Jung
Hi, hava a look at tomcat's MBeans (via /manager/jmxproxy?qry=*:* or with Java 1.5 jconsole). There is number of requests and bytes for the GlobalRequestProcessor and also for any servlet. Rainer > Hi, > > Is it possible to obtain statistics about volume > transferred in a webapp ? > or just obt

Re: mod_jk error -60

2006-03-29 Thread Rainer Jung
In case of an error this line will print errno as a negative number. More precisely: #if defined(WIN32) || (defined(NETWARE) && defined(__NOVELL_LIBC__)) ... errno = WSAGetLastError() - WSABASEERR; ... #endif ... do some read from network ... return (errno > 0) ? -err

Re: mod_jk error -60

2006-03-29 Thread Rainer Jung
I don't know, how correct it is, but the following table looks helpful: http://www.ioplex.com/~miallen/errcmp.html It says, that 60 is a time out (ETIMEDOUT) on FreeBSD 5.2.1, OSX 10.3.8 and OSF1. Rainer Jung wrote: In case of an error this line will print errno as a negative number.

Re: mod_jk Connector: version question

2006-04-03 Thread Rainer Jung
1.2.15 ist current stable for linux also. The page is wrong. I don't know where the binaries come from, so unfortunately at the moment there seems to be no binary download. If you build yourself, take 1.2.15 sources. Paul Smith wrote: I notice here: http://www.apache.org/dist/tomcat/tomcat-con

Re: tomcat users file

2006-04-03 Thread Rainer Jung
During startup, tomcat reads tomcat-users.xml and then immediately writes it out again as tomcat-users.xml.new and afterwards renames tomcat-users.xml.new to tomcat-users.xml (I don't know who invented that ...). So either: - the runtime user has write access to the directory tomcat-users.xml is

Re: [OT] Better JSP Performance with Opteron

2006-04-03 Thread Rainer Jung
Using large pages to eliminate TLB misses has nothing to do with the size of the objects. From the view of the operating system java heap is just a huge and continuous chunk of memory. Anything what's inside is managed by the JVM. But whenever the JVM needs to access an adress it needs to make

Re: [OT] Better JSP Performance with Opteron

2006-04-03 Thread Rainer Jung
10 x86 too. Under Linux there seems to be perfctr patches (see: http://www.rz.rwth-aachen.de/computing/events/2006/sunhpc_2006/05_Smith.ppt) Opteron has a lot of performance counters. You will find the ones supported by cpustat on http://opensolaris.org/os/community/observability/hardware

Re: High CPU with tomcat 5.5.7

2006-04-08 Thread Rainer Jung
If it really was 10 decimal (10 from prstat) and the prstat and your Java Thread Dump are from the same process, then it was a native thread, because I didn't find a nid=0xa. If you want to find out, what that native thread is doing, give your process a "pstack", write it to some file and look

Re: 5.5.15 and JDK 1.4.2_08 to 5.5.16 andJDK 1.5.0_06 yields an extra question mark for all requests

2006-04-08 Thread Rainer Jung
TC 5.5.16 problem: http://issues.apache.org/bugzilla/show_bug.cgi?id=38113 Should be fixes in 5.5.17 (not yet realeased). Scott Dunbar wrote: Hello, I recently tried to upgrade from Tomcat 5.5.15 with the 1.4 compatibility libraries and 1.4.2_08 to 5.5.16 without the compatibility libraries

Re: Help with mod_jk.so errno=13

2006-04-11 Thread Rainer Jung
I assume the line break was done by the mailer, so the path in the original log messages is /var/log/jk-runtime-status It tries to open such a file, so the user under which apache runs needs to have full access to /var/log and to /var/log/jk-runtime-status. Did you check the ownerships and p

Re: Apache Tomcat Bundle

2006-04-11 Thread Rainer Jung
or: http://incubator.apache.org/projects/lokahi.html resp. as long as this site is pretty empty: http://tmcg2.sourceforge.net/TMCg2_WhitePaper.pdf Peter Rossbach wrote: Nice plan, we talk about this last week at developer list. I thing good starting points are http://centaurus.sourceforge.ne

Re: apr_pool_get_parent

2006-04-12 Thread Rainer Jung
Not the solution, but two hints: - mod_jk2 is deprecated. Only mod_jk is being actively developped. You should switch from mod_jk2 to mod_jk. - The symbol that's reported is part of libapr which is needed for apache2. So I assume you are using Apache httpd 2 and you should check, where you c

Re: Build mod_jk from CVS

2006-04-12 Thread Rainer Jung
On a unix type platform: run buildconf.sh included in HEAD. It will produce configure. Then use configure and make as usual. buildconf.sh is a short shell script using autoconf/automake/... so you will need these tools installed. Webmaster wrote: Hi, Can somebody point me out how to build m

Re: Performance issue with Tomcat 5.0

2006-04-13 Thread Rainer Jung
Use the tool of your choice (depending on your platform) to find out, which threads are using the cpu time. The do a Java Thread Dump and have a look at it. For *nix use ps (or prstat on Solaris) to find out about the threads. Use kill -QUIT to write a thread dump to STDOUT (which you should

Re: Performance issue with Tomcat 5.0

2006-04-13 Thread Rainer Jung
All tomcat internal threads seem to be safe, I can see no unusual state for them. There are three threads in stacks coming from the package com.hedgeflex.core.common.event.* and another three coming from Fiorano. You should have a look at these, but they are not really good ones for a tomcat

Re: JK Sticky Session Handling with Load Balancing

2006-04-18 Thread Rainer Jung
Hi, 1) If you want to use a mod_jk lb worker with sticky sessions, you need three ingrediants: a) configured lb worker with sticky_session (default is 1=on) and a corresponding JkMount to this lb worker b) tomcat instances with unique jvmRoute settings in server.xml (the jvmRoute gives eac

Re: JK Sticky Session Handling with Load Balancing

2006-04-18 Thread Rainer Jung
domain: you don't need the domain attribute. Domai has the following purpose: Once you start replicating sessions between tomcats and you build up a huge group of tomcat instances and break it up into smaller groups which replicate, then you can use domain to tell lb, between which tomcat instance

Re: CATALINA_BASE and multiple instances

2006-04-19 Thread Rainer Jung
No help for Win services from me, but: you can configure the tomcat classloaders via catalina.properties. Look for the entries named common.loader etc. There you will find the reason, why the common loader finds code in CATALINA_HOME/common/lib/*.jar, but not in the analogous CATALINA_BASE dir

Re: Disable KeepAlive on AJP connector?

2006-05-23 Thread Rainer Jung
I assume you put an Apache in front of your AJP connector? Then you need to disable HTTP Keep-Alive in the Apache configuration. AJP 13 will always use persistent connections between Apache and Tomcat. The workers.properties attribute socket_keepalive has no relation to HTTP Keep-Alive. The optio

Re: FW: modJK with and without load balancer

2006-05-25 Thread Rainer Jung
Eliminating the lb will give a slight performance improvement, using the lb will give you a subtle management improvement (being able to stop the worker in jkstatus). Different is also the way errors are handled (lb takes workers offline after errors for a minute, direct workers will be tried

Re: FW: modJK errors

2006-05-25 Thread Rainer Jung
Errno 131 means "Connection reset by peer" for Solaris. Any IP influencing components between Apache und Tomcat? Firewalls? Is Tomcat stil listening on 151.116.4.77:8009 (check via netstat -an) You could try to sniff network traffic on both sides (Apache and Tomcat) and check, whether connect

Re: mod_jk broken pipe

2006-10-18 Thread Rainer Jung
The broken pipe error generally means, that the client (browser/ab) closed the connection before tomcat finished sending it's response. Most often this happens, when an answer takes longer, than users expect/tolerate and the users pressed refresh, stop etc. Possibly also, if you use a short respon

Re: mod_jk broken pipe

2006-10-18 Thread Rainer Jung
Hi Martin, Martin Kautz schrieb: > Rainer, > > Thank you, but I'd like to know a bit more. Is there a way to avoid > "pipes get > broken"? Even if this issue does not affect the user's expirience I'd > like to get rid of that log file pollution. > I forgot to mention that the issue only applies t

Re: problem after mod_jk update

2006-10-23 Thread Rainer Jung
Hi Torsten, you could try the FlushPakets JkOption from http://tomcat.apache.org/connectors-doc/config/apache.html Please let us know, if this helps. If not, please open a bugzilla ticket and include your config and a simple test case. Regards, Rainer Torsten R. schrieb: > hi, > > i used tom

Re: Question with the Apache/Tomcat interface...

2006-10-25 Thread Rainer Jung
What is your platform and what is errno 13 on your platform? Can you confirm, that tomcat listens on the port your worker p2 is configured for (using netstat -n or a similar tool)? Can you connect to the ip and port specified with p2 from your apache machine with telnet? Regards, Rainer K

  1   2   3   4   5   6   7   8   9   10   >