kohanm schrieb:
Hi,
my case is Case 1:
can you give me an example for Redirect or RedirectMatch
Simplest case:
Redirect /oldapp http://myserver/newapp
More details at
http://httpd.apache.org/docs/2.2/mod/mod_alias.html#redirect
Regards,
Rainer
thanks,
MK
Caldarale, Charles R
kohanm schrieb:
Thanks Rainer,
The probelm here is that after redirecting, the URL shows the oldapp's
name but I want the url shows the newapp name.
Then it is not case 1 and you need to pick another case.
MK
On 7/24/08, Rainer Jung [EMAIL PROTECTED] wrote:
kohanm schrieb:
Hi,
my case
though. It e.g. contains a stack of the thread were the crash
happened.
Regards,
Rainer
Rainer Jung-3 wrote:
dave.smith schrieb:
Yesterday, I upgraded our dev environment to mod_jk 1.2.26, which
couldn't
have been easier. It will probably take me a couple of days before I can
get this done
Peter Gallagher wrote:
IIS is configured with isapi_redirect-1.2.26.dll and is redirecting
requests to Tomcat successfully. However when attempting to download
a Web Start application the ISAPI redirector appears to randomly
introduce huge delays (15mins+) between TCP requests. I am unsure how
Peter Gallagher wrote:
If you can reproduce easily and it is not a heavy traffic application.
Increase log level to debug until it happens again and make the log
available plus the information, between which timestamps you think there
is such a delay.
Below is an excerpt from the ISAPI
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) ? -errno
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.
More
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:
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
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
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/cpc/
Leon
On 4/3/06, Rainer Jung [EMAIL
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
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
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
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
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
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
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
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
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
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
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
Hi Mao (or Ni or Chen?),
your environment seems *very* outdated. Please update to Tomcat 4.1.34
und mod_jk 1.2.19. If the problem still shows up, please post relevant
parts of your configs (Apache and tomcat side) and check via netstat, if
tomcat still listens on the Ajp13 port.
Regards,
Rainer
It was not knwon (at least not to me) before your mail, but you are
right. We changed URL case sensitivity for mod_jk 1.2.19, because URLs
should be case sensitive, but we missed one place.
Could you please open a bug in bugzilla,
since we saw TCP connection
is in SYN_SENT on client side (Apache)?
Thanks again,
Mao
- Original Message
From: Rainer Jung [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Tuesday, October 31, 2006 2:51:40 PM
Subject: Re: Tomcat Ajp13 Connector hang
Hi James,
I committed a patch for the problem. If you are able to compile the
plugin, you can check out the file from subversion, or apply the
following patch to version 1.2.19. Check for split mail lines in the patch.
Regards,
Rainer
Index: native/common/jk_map.c
Hi Gary,
from my understanding of the code mod_proxy(_balancer) at the moment is
not able to do that. There are status settings disable and stopped
one can set, but at the moment disbled and stopped behave the same. I
didn't really try, but I derive that from looking at the code. This
holds true
Hi Durk,
the flushing has been changed in May 2005 around the time of version
1.2.13 or 1.2.14. Previously there were a lot of calls to ap_rflush()
during the writing of responses. Because that produced many problems
(not only log messages) concerning performance and memory requirements,
these
Apart from the changes in suggested deployment strategies and ressourec
definitions there's something to be careful:
Upgrading to TC 5.5 and upgrading from Java 1.4 to Java 5 are two
different things. As long as you do only the first, chances are good,
that you get the webapp to run without code
-able application be able to run on 5.5.20.
Thanks,
Glen
Rainer Jung wrote:
Apart from the changes in suggested deployment strategies and ressourec
definitions there's something to be careful:
Upgrading to TC 5.5 and upgrading from Java 1.4 to Java 5 are two
different things. As long
I also know a couple of instances which ran under high load for a couple
of months. Usually though the frequency for changes in the apps are
higher than that.
Be careful: I would avoid hot deployment in critical production.
Also: It's not totally unusual for apps to have memory leaks. So minotor
Concerning my experience: no stability issues with either 1.4.2 or 1.5,
as long as you stick to a reasonably new patch level (not the one, which
might be only a week old, but the newest one older than a month should
be perfect).
Dima Retov schrieb:
Thanks Dave.
What version of JVM have you
... for the quotes simply use the predefined xml entity:
quot;
Maurice Yarrow schrieb:
Hello, again, Tomcat community:
I found the answer to my own question below:
Use:
pattern=%{X-Forwarded-for}i %l %u %t %r %s %b
in the access log valve config.
Only thing: I would like to
Hi Dan,
if mod_jk doesn't detect the error status of the tomcat instance,
because tomcat still sends valid http requests, you can set the worker
to disabled (no new sessions) or even stopped (no more requests).
By the way: I'm in Munich (W-JAX conference).
Regards,
Rainer
Dan Ackerson
Good question (we need to add the distinction lb/usual worker) to the
docs page for the advanced worker parameters.
The answer is: Number 2.
Regards,
Rainer
Dan Carwin schrieb:
Is reply_timeout designed to be set...
1. only for the loadbalancing worker.
2. for every worker except the
I'm not sure, what kind of problem you have. Putting two identical
patterns for different workers into uriworkermap.properties will not
result in a well understood (or documented) behaviour.
Nevertheless
http://issues.apache.org/bugzilla/show_bug.cgi?id=40855
might be interesting to read.
... and also:
strings ./native/apache-2.0/mod_jk.so|grep mod_jk/
mod_jk/1.2.19
mod_jk/1.2.19
I didn't check with 1.2.15, but at least for 1.2.19 this is a solaris
build for Apache 2.2 and your method works. Maybe your file is corrupt?
Regards,
Rainer
Mladen Turk schrieb:
Fan, Tony wrote:
I
Hi,
Sharma, Siddharth schrieb:
Hi
We have a cluster of Linux (RedHat) machines each housing an apache, 4
tomcat instances and 4 other jvms that run our custom servers.
Each tomcat has a corresponding custom server that it delegates requests to.
In other words, there is one to one
From the docs about DisableReuse: Using this option will have a strong
performance penalty for Apache and Tomcat. Use this only as a last
resort in case of unfixable network problems..
Concerning the original queation: I don't see any clean and direct way
of doing that.
What's possible though is
With mod_jk you get that for free (and a lot more), but you have to
learn a bit about its configuration etc.
If you want to stick to mod_proxy, you need to investigate the
attributes proxyName, proxyPort and scheme in the docs for the
connectors and then set them inside server.xml.
in the configuration
or something.
This sort of sucks for me because my coding will not be straightforward and
I will have to maintain the mapping of worker name and id.
-Original Message-
From: Rainer Jung [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 07, 2006 3:58 PM
To: Tomcat Users
You made a mistake when trying to post your workers.properties. You
posted the httpd.conf twice. Please post worker.properties.
The error situation looks strange. I would like to know, if you can
successfully send the same request to tomcats http conector. Even if you
don't want to use that
is provided.
id value seems to be a positional index of the worker in the configuration
or something.
This sort of sucks for me because my coding will not be straightforward and
I will have to maintain the mapping of worker name and id.
-Original Message-
From: Rainer Jung
Rainer
I currently have 1.2.15.
Do I need to install all the interim releases or 1.2.19 is all encompassing?
Thanks
Sidd
Ref:
http://www.nabble.com/Load-balancing-mark-down-question-t2590766.html
-Original Message-
From: Rainer Jung [mailto:[EMAIL PROTECTED]
Sent: Wednesday
I'll have a look into it.
Henk Fictorie schrieb:
Hi,
Since recently the name of the worker isn't necessary the same as the
jvmRoute of the connected Tomcat instance. You can specify:
worker.foo.jvm_route=bar
In the mod_jk logging these two names are used both, which causes some
It's looking for LogFactory in main of Bootstrap. Have a look to learn
at the manifest of the bootstrap.jar to learn about the dependencies.
Regards,
Rainer
Stephan Schöffel wrote:
hi there
i'm trying to alter the bootstrap.java class to fit my needs. i got the
source of 5.5.20. now i
Inside the jar. Google for jar manifest will give you a link like:
http://java.sun.com/j2se/1.4.2/docs/guide/jar/jar.html
Jars and manifest are a general notation with java, they are not special
for tomcat.
Stephan Schöffel wrote:
where can i find the manifest of bootstrap.jar?
It's
Hi,
Martin Hochreiter schrieb:
Hi!
I have some problems with Tomcat JK Connector and Apache Virtual hosts.
Apache should only give requests of one virtual host to the jk
connector, but
it handles all requests over to the jk connector, no matter what host.
I didn't try your config, but
Have a look at:
http://yourserver:yourport/manager/jmxproxy?qry=*:*
to find out about the available monitoring info. Once you find the beans
you are interested in, you can make the query *:* more precise.
Tim Lucia schrieb:
Let me now ask my own question about this -- Lambda Probe is a great
Martin Hochreiter schrieb:
Rainer Jung schrieb:
Hi,
Martin Hochreiter schrieb:
Hi!
I have some problems with Tomcat JK Connector and Apache Virtual
hosts.
Apache should only give requests of one virtual host to the jk
connector, but
it handles all requests over to the jk connector
Hi Gilberto,
automatic reloading of JkMountFile after changes happens only every 60
seconds. More precisely, if a request comes in later than 60 seconds
after the last check, mod_jk updates it's last check time and looks for
the modification time of the file. If this is more trecent, than the
Hi Lars,
Lars Nielsen Lind schrieb:
I have tried with mod_jk but can't make it work. I get this err msg in
mod_jk.log:
[Wed Nov 15 00:32:34 2006] [16667:10448] [error]
ajp_validate::jk_ajp_common.c (1931): can't resolve tomcat address
localhost
mod_jk can not resolve the host name
Can you reproduce the problem? This would help a lot.
Henk Fictorie schrieb:
Solutions?:
- will adding 'JkOptions +FlushPackets' to the apache config help?
If the pain is big enough for you, you could try, but it will also come
with a performance penalty.
- can I somehow disable sending the
... and if your question is about getting correct redirects when tomcat
doesn't know the name of a reverse proxy that's being used from the
clients perspective:
You need to investigate the
attributes proxyName, proxyPort and scheme in the docs for the
connectors and then set them inside
[EMAIL PROTECTED] schrieb:
On Wed, Nov 15, 2006 at 12:22:02AM +0100, Lars Nielsen Lind wrote:
Everything I have read says that mod_jk will not work with 2.2. What
little information is available says use the proxy modules.
There is no known problem concerniong usage of mod_jk in combination
to see were the modification
time is stored so that I can manually inspect it.
Thanks for your help.
Gilberto
Rainer Jung wrote:
Hi Gilberto,
automatic reloading of JkMountFile after changes happens only every 60
seconds. More precisely, if a request comes in later than 60 seconds
Ah sorry, I didn't notice Mladen's changes when I wrote my answer a
minute ago. So yes, could you please try with his patch (build
1.2.20-dev) and try again and if the problem persists, open a bugzilla
as described.
Mladen Turk schrieb:
Gilberto E. Espinoza wrote:
I changed the file tonight
Hi,
I tried to reproduce. It looks like the mapping actually works, but the
logger is not correctly initialized for the virtual server.
Could you please confirm, that the mappings you enter to the virtual
servers work, and the problem is only the misleading log lines?
Regards,
Rainer
Chris
Hi Marx,
I didn't go into the details, but I find it normal, that Directory
directives don't apply to mod_jk. The module simply forwards URLs and
not requests mapped to a file system. So using it together with Location
seems natural to me (and you can argue, if this is more secure or less
,
Rainer
[EMAIL PROTECTED] wrote:
On Wed, Nov 15, 2006 at 11:25:20PM +0100, Rainer Jung wrote:
[EMAIL PROTECTED] schrieb:
On Wed, Nov 15, 2006 at 12:22:02AM +0100, Lars Nielsen Lind wrote:
Everything I have read says that mod_jk will not work with 2.2. What
little information
Henk Fictorie wrote:
The problem reproduces itself automagically, but not at the moment I
want.
Well ...
I think I will snoop the traffic with Tomcat during one hour or so (appr. 1
Gig of data, on a different filesystem). Using editcap to divide the
capturefile in reasonable sized parts.
, because this component is supposed to implement the
balancing. At this point the user usually hasn't read the code to find
out, that the configs are in fact handled by mod_proxy itself :)
Regards,
Rainer
Jim Jagielski wrote:
On Nov 15, 2006, at 5:42 PM, Caldarale, Charles R wrote:
From: Rainer
Please give details on your mod_jk version and concerning your
configuration (mod_jk config inside httpd.conf and workers.properties).
Errno 2 looks line not such file or directory. So does
/etc/apache2/logs/jk-runtime-status exist as a file and is the apache
user allowed to write into it. Does
No solution, but:
1) Enable Tomcats access log to check, whether the request contains the
path parameter (validate your hypotheses)
2) Send a request like it should look like from the same browser, but
not via the applet, instead directly via the address bar and check the
access log again.
3)
.port=8009
worker.ajp13.host=localhost
worker.ajp13.type=ajp13
worker.ajp13.lbfactor=1
#worker.ajp13.connection_pool_size
worker.loadbalancer.type=lb
worker.loadbalancer.balance_workers=ajp12, ajp13
worker.inprocess.type=jni
On 17/11/06, Rainer Jung [EMAIL PROTECTED] wrote
worker.ajp13.host=localhost
worker.ajp13.type=ajp13
worker.ajp13.lbfactor=1
#worker.ajp13.connection_pool_size
worker.loadbalancer.type=lb
worker.loadbalancer.balance_workers=ajp12, ajp13
worker.inprocess.type=jni
On 17/11/06, Rainer Jung [EMAIL PROTECTED] wrote:
Please
www.scandinaviadesign.it 24.124384
[Sat Nov 18 22:08:36 2006] [27825:7072] [info] jk_handler::mod_jk.c
(2056): Aborting connection for worker=ajp13
Thanks again!!!
Enrico
On 18/11/06, Rainer Jung [EMAIL PROTECTED] wrote:
Adding to my own comments: I think I found a problem. So one more
question:
Do you
Hi Jeff,
jwboring schrieb:
private static void logFull(Log loghelper, int currentThreadCount,
int maxThreads) {
if( logfull ) {
log.error(sm.getString(threadpool.busy,
new Integer(currentThreadCount),
, with trace enabled, the second with trace
enabled.
Thanks again!!!
Enrico
On 18/11/06, Rainer Jung [EMAIL PROTECTED] wrote:
Hi Enrico,
would you be so kind and answer some of the questions in my previous
mails, before we proceed to further questions from your side :)
Regards
/tomcat5/conf/workers2.properties
JkLogFile /var/log/jk.log
JkLogLevel emerg
JkLogLevel error
/IfModule
and i call in the vhost tomcat like that Jkmount /* ajp14
OS : FreeBSD
it s mod_jk 1.2.15
thx
- Original Message - From: Rainer Jung [EMAIL PROTECTED]
To: Tomcat Users
Hi Henk, do you have a simple app to reproduce the problem?
Rainer Jung schrieb:
Hi Henk,
I'll try to find the reason. Would it be easy for you to repeat the test
with a very raw client? If the URL is easy you could e.g. telnet to the
APACHE port and simply write
GET /myurlRETURN
RETURN
Please post your mod_jk config (Webserver part, eg. Jk* directoves in
httpd.conf, workers.properties, other relevant config and the connector
element of the AJP connector in your timcat's server.xml). Also give us
the version numbers of apache, tomcat, mod_jk and your OS. Finally: is
there
Usually the term heap is used for the sum of the new space, one of the
two semi spaces (both usually around a couple of MB) and tenured. The
size of each of these can be viewed e.g. with jconsole, which comes with
your JVM.
Additional memory is used for perm (class data), which should generally
' or a 'Transfer-Encoding: chunked'
is send, could this be delaying sending the response to the browser?
regards Henk Fictorie
Rainer Jung-3 wrote:
Henk Fictorie wrote:
I think I will snoop the traffic with Tomcat during one hour or so (appr.
1
Gig of data, on a different filesystem
I assume you would be better served by MINA (mina.apache.org), which is
a more general connector framework. No higher level services though.
[EMAIL PROTECTED] wrote:
Hi
I am not in for particularly using HTTP, i was merely thinking of using a
GenericServlet instead.
Besides this I have read
operation attempt=1
- Original Message - From: Rainer Jung
[EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Tuesday, November 21, 2006 8:24 PM
Subject: Re: tomcat stop working for some minute regulary
Thanks for the info.
I would suggest:
Increase JkLogLevel to info
Hi Ben,
before you integrate your apache into Solaris SMF (service management
facility) you should first check, if apache does really work.
So begin by using the usual apachectl script and once you debugged your
configuration and the functionality looks good, you can use SMF to
reliably
/libexec/mod_jk.so is garbled - perhaps this is not an
Apache module DSO?
[ Nov 22 20:31:44 Method start exited with status 1 ]
So your module file is either corrupt, or for the wrong version of
apache (1.3, 2.0, 2.2).
On 11/22/06, Rainer Jung [EMAIL PROTECTED] wrote:
Hi Ben,
before you
the mod_deflate filter.
regards Henk Fictorie
Rainer Jung-3 wrote:
Hi Henk, do you have a simple app to reproduce the problem?
Rainer Jung schrieb:
Hi Henk,
I'll try to find the reason. Would it be easy for you to repeat the test
with a very raw client? If the URL is easy you could e.g. telnet
Yes, apache has an easy way of building additional modules, once you
have build your apache. It uses a little perl script named apxs in
apache's bin directory. mod_jk uses the same procedure.
Things get difficult, if you get apache as a binary distribution and
later try to use apxs to build. Then
mod_ssl/2.8.28 OpenSSL/0.9.7e-p1 mod_jk/1.2.19 configured -- resuming normal
operations
Dane
Rainer Jung-3 wrote:
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
Hello,
Peter Neu schrieb:
Hello,
I have a strange problem with mod_jk. Until now I never had trouble with
mod_jk but lately I need to pass web service requests through to an Axis
server running on tomcat (5.5.9).
So what's the problem? There is no line in your post, telling us what
the
mod_jk2 is not supported any more. Actually this decision was done quite
some time ago. Most of the features of mod_jk2 have been ported to
mod_jk, which is still fully supported.
I don't know enough about mod_jk2, but in mod_jk you would prefix your
map with an exclamation mark ! to make an
-- already the next request
[jk_uri_worker_map.c (500)]: Attempting to map URI
'/energy/style/styleguide.css'
-Ursprüngliche Nachricht-
Von: Rainer Jung [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 8. Dezember 2006 09:47
An: Tomcat Users List
Betreff: Re: Web Service Request not passing
Hi,
Mladen Turk provided Windows Binaries for win32 (Apache mod_jk, IIS
isapi plugin and Netscape nsapi plugin) and for win64 (AMD+IA64 isapi
plugin):
http://tomcat.apache.org/dev/dist/tomcat-connectors/jk/binaries
Thanks Mladen and happy testing to everybody.
Regards,
Rainer
Hi,
there are plenty of ways, how those links could be produced. Usually it
works well with mod_jk, because mod_jk carries forward the information,
if the original protocol was http or https. So request.getScheme()
should return the right protocol prefix. The solution of your problem
will depend
Hi,
this looks strange. Could you please post your config and give a couple
of details about your environment (OS+Version). Is there any pattern
related to the problem (special requests, high load, ...)?
It would be really good, if you could update mod_jk to 1.2.19 or 1.2.20
which will most
Caldarale, Charles R schrieb:
From: Simon Renshaw [mailto:[EMAIL PROTECTED]
Subject: Need help with JK2 connector/workers2.properties
I followed the instructions found at
http://tjworld.net/help/kb/0001_iis6-Tomcat5-JK2.html to install the
connector.
The mod_jk2 package has been
You can configure two connectors with associated pools. If you need to
talk to both parts of the app under the same name and port, you can
front those two connectors (ports) with apache/mod_jk. With a sufficient
recent version of mod_jk you can configure several workers to forward to
different
Go to:
http://tomcat.apache.org/connectors-doc/
In the menu on the left side, you will find:
Webserver HowTo
and below that:
Netscape/SunOne/Sun
The docs have been reorganised to make some pages more visible. Old
links/bookmarks are now partially broken.
Since you didn't tell us, where you
, however use the (hardware) load balancer.
Is there a way to just configure Tomcat to allow some servlets have higher
priorities than others or dedicate a pool of connections to them?
Thanks.
Alec
On 12/22/06, Rainer Jung [EMAIL PROTECTED] wrote:
You can configure two connectors
Hi,
Li Ma schrieb:
1. I was told Tomcat can only run max 3 nodes in cluster smoothly. What's
your milage?
Cluster in the sense of horizontal scaling (load-balancing): no limitations.
Cluster with state replication of sessions (assuming TC 5.5): you break
down your cluster into groups of 2 to
The JNI worker is very close to getting deprecated. Do you really need
the --enable-jni?
./configure --with-apxs=/usr/sbin/apxs --sysconfdir=/etc
should work.
Regards,
Rainer
Luca Peduto schrieb:
Hi all,
I'm trying to build mod_jk 1.2.20 on my linux machine but I obtain
this error message
You can use the following config params in the connector element for the
connector you are using (see
http://tomcat.apache.org/tomcat-5.5-doc/config/http.html):
- protocol
- proxyName
- proxyPort
- redirectPort
- scheme
- secure
Regards,
Rainer
Siddhartha Subramanian
Did you loose the jvmRoute attribute in server.xml during the upgrade
process?
Matteo Turra wrote:
Hi, I upgraded my tomcat 5.0 + jdk 1.4 to tomcat 5.5.20 + jdk 1.5.0_10
and now my tomcat cluster doesn't work with sticky session (session
affinity).
After a while I notice the jvmroute
You can experiment with the following alternative way of defining JkMount:
If you want to forward a certain request via mod_jk wo a worker X, you
can do that by setting:
SetHandler jakarta-servlet
SetEnv JK_WORKER_NAME X
Now you can vary this by using SetEnvIf instead of SetEnv to make it
701 - 800 of 2031 matches
Mail list logo