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
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
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
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.
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
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
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
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
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
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
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
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
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
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
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.
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
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
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
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[
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
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
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
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
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
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
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
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
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
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
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.
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
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
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
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
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
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
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
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
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
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
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
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
> 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
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
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
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
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
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
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
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
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'
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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.
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
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
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
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
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
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
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
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
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
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
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
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.
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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 - 100 of 2111 matches
Mail list logo