Re: Context or Mapping problems Apache 2.2 +mod_JK+ Tomcat 5.5

2008-07-24 Thread Rainer Jung
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

Re: Context or Mapping problems Apache 2.2 +mod_JK+ Tomcat 5.5

2008-07-24 Thread Rainer Jung
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

Re: Apache/mod_jk serves random files from tomcat

2008-08-01 Thread Rainer Jung
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

Re: JK ISAPI redirector delay

2008-08-01 Thread Rainer Jung
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

Re: JK ISAPI redirector delay

2008-08-04 Thread Rainer Jung
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

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) ? -errno

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. More

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:

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

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

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

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

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

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

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

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

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

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

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

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

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

Re: Tomcat Ajp13 Connector hang

2006-10-31 Thread Rainer Jung
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

Re: JK 1.2.19 IIS (Win Server 2003 R2) letter case problem in uriworkermap.properties

2006-10-31 Thread Rainer Jung
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,

Re: Tomcat Ajp13 Connector hang

2006-10-31 Thread Rainer Jung
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

Re: JK 1.2.19 IIS (Win Server 2003 R2) letter case problem in uriworkermap.properties

2006-10-31 Thread Rainer Jung
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

Re: load balancing with controlled failover

2006-11-01 Thread Rainer Jung
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

Re: FW: question regarding 'mod_jk: error flushing'

2006-11-01 Thread Rainer Jung
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

Re: Webapps that run on 5.0.28 but not 5.5.x?

2006-11-01 Thread Rainer Jung
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

Re: Webapps that run on 5.0.28 but not 5.5.x?

2006-11-01 Thread Rainer Jung
-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

Re: How stable is tomcat

2006-11-01 Thread Rainer Jung
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

Re: How stable is tomcat

2006-11-01 Thread Rainer Jung
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

Re: obtain X-Forwarded-for: client-IP-address in access logs

2006-11-03 Thread Rainer Jung
... 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

Re: mod_jk affinity for a lamed tomcat instance

2006-11-07 Thread Rainer Jung
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

Re: reply_timeout

2006-11-07 Thread Rainer Jung
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

Re: Possible bug in Apache Tomcat JK 1.2.19 for WIN32?

2006-11-07 Thread Rainer Jung
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.

Re: How to retrieve mod_jk version from mod_jk.so?

2006-11-07 Thread Rainer Jung
... 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

Re: Load balancing mark down question

2006-11-07 Thread Rainer Jung
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

Re: mod_jk affinity for a lamed tomcat instance

2006-11-07 Thread Rainer Jung
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

Re: Reverse proxying in Tomcat / Apache

2006-11-07 Thread Rainer Jung
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.

Re: Load balancing mark down question

2006-11-07 Thread Rainer Jung
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

Re: Need setting up Tomcat with Apache web-server

2006-11-08 Thread Rainer Jung
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

Re: Load balancing mark down question

2006-11-08 Thread Rainer Jung
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

Re: Load balancing mark down question

2006-11-09 Thread 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

Re: mod_jk - logging the name of the worker

2006-11-13 Thread Rainer Jung
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

Re: Problem with bootstrap.java

2006-11-13 Thread Rainer Jung
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

Re: Problem with bootstrap.java

2006-11-13 Thread Rainer Jung
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

Re: jk connector problems

2006-11-14 Thread Rainer Jung
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

Re: session replication/tomcat 5.5

2006-11-14 Thread Rainer Jung
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

Re: jk connector problems

2006-11-14 Thread Rainer Jung
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

Re: JkMountFile not working

2006-11-14 Thread Rainer Jung
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

Re: Apache 2.2.3 Tomcat 5.5.20 - mod_jk or proxy?

2006-11-15 Thread Rainer Jung
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

Re: Tomcat is sometimes very slow using mod_jk

2006-11-15 Thread Rainer Jung
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

Re: Proxy setting on Tomcat

2006-11-15 Thread Rainer Jung
... 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

Re: Apache 2.2.3 Tomcat 5.5.20 - mod_jk or proxy?

2006-11-15 Thread Rainer Jung
[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

Re: JkMountFile not working

2006-11-16 Thread Rainer Jung
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

Re: JkMountFile not working

2006-11-16 Thread Rainer Jung
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

Re: Virtual Host hiding JkMount directives?

2006-11-16 Thread Rainer Jung
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

Re: Tomcat5,Apache2,mod_ssl and mod_jk

2006-11-16 Thread Rainer Jung
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

Re: Apache 2.2.3 Tomcat 5.5.20 - mod_jk or proxy?

2006-11-16 Thread Rainer Jung
, 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

Re: Tomcat is sometimes very slow using mod_jk

2006-11-16 Thread Rainer Jung
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.

Re: Apache 2.2.3 Tomcat 5.5.20 - mod_jk or proxy?

2006-11-16 Thread Rainer Jung
, 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

Re: problems with connector

2006-11-17 Thread Rainer Jung
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

Re: Applet - Servlet Communication Losing Session ID Crossing Firewall

2006-11-17 Thread Rainer Jung
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)

Re: problems with connector

2006-11-18 Thread Rainer Jung
.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

Re: problems with connector

2006-11-18 Thread Rainer Jung
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

Re: problems with connector

2006-11-18 Thread Rainer Jung
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

Re: Realtime notification of ThreadPool logFull

2006-11-18 Thread Rainer Jung
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),

Re: problems with connector

2006-11-19 Thread Rainer Jung
, 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

Re: tomcat stop working for some minute regulary

2006-11-21 Thread Rainer Jung
/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

Re: Tomcat is sometimes very slow using mod_jk

2006-11-21 Thread Rainer Jung
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

Re: tomcat stop working for some minute regulary

2006-11-21 Thread Rainer Jung
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

Re: tomcat memory usage.

2006-11-21 Thread Rainer Jung
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

Re: Tomcat is sometimes very slow using mod_jk

2006-11-21 Thread Rainer Jung
' 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

Re: Using Tomcat as UDP server

2006-11-21 Thread Rainer Jung
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

Re: tomcat stop working for some minute regulary

2006-11-22 Thread Rainer Jung
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

Re: Solaris 10 Apache 2 Tomcat mod_jk

2006-11-22 Thread Rainer Jung
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

Re: Solaris 10 Apache 2 Tomcat mod_jk

2006-11-22 Thread Rainer Jung
/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

Re: Tomcat is sometimes very slow using mod_jk

2006-11-23 Thread Rainer Jung
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

Re: OT: Re: Solaris 10 Apache 2 Tomcat mod_jk

2006-11-24 Thread Rainer Jung
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

Re: mod_jk failover and preferring localhost

2006-12-07 Thread Rainer Jung
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

Re: Web Service Request not passing through Mod_Jk

2006-12-08 Thread Rainer Jung
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

Re: IIS + Tomcat jk2 uri mapping

2006-12-08 Thread Rainer Jung
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

Re: AW: Web Service Request not passing through Mod_Jk

2006-12-08 Thread Rainer Jung
-- 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

jk 1.2.20 release candidate: Windows Binaries available

2006-12-11 Thread Rainer Jung
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

Re: Apache SSL + mod_jk

2006-12-16 Thread Rainer Jung
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

Re: ajp connector issue - getting Unable to get the free in mod_jk.log file.

2006-12-16 Thread Rainer Jung
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

Re: Need help with JK2 connector/workers2.properties

2006-12-19 Thread Rainer Jung
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

Re: dedicated servlet connections

2006-12-22 Thread Rainer Jung
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

Re: some know what happend whit the documentation of connectors

2006-12-23 Thread Rainer Jung
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

Re: dedicated servlet connections

2006-12-26 Thread Rainer Jung
, 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

Re: Peak load of Tomcat-powered server(s)?

2006-12-27 Thread Rainer Jung
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

Re: Build error mod_jk 1.2.2o

2006-12-28 Thread Rainer Jung
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

Re: sendRedirect scheme

2006-12-28 Thread Rainer Jung
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

Re: Tomcat 5.5.20 - jvmRoute not appended at jsessionid (session affinity lost)

2006-12-29 Thread Rainer Jung
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

Re: URL rewriting with mod_rewrite and mod_jk possible?

2006-12-29 Thread Rainer Jung
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

<    3   4   5   6   7   8   9   10   11   12   >