Re: Tomcat Alone or tomcat+IIS/Apache

2005-09-30 Thread Mladen Turk
Peddireddy Srikanth wrote: And they argue that as Tomcat it self runs inside a JVM, which inturn is a single process all the threads etc wil be simulted ones (and not the native threads) and hence it will not scale up well under high loads. Is this argument a valid one or just a

Re: need final / in url

2005-09-20 Thread Mladen Turk
David Thielen wrote: The url www.windward.net/forums fails while www.windward.net/forums/ succeeds. My uriworkermap has: /forums/*=ajp13w try: /forums|/*=ajp13w This will actually create two maps: /forums=ajp13w /forums/*=ajp13w Regards, Mladen.

Re: mod_jk performance

2005-09-14 Thread Mladen Turk
marc ratun wrote: Hi, I just read an article about webapp benchmarks [1] and they mentioned that apache+mod_jk+tomcat is about 30% slower than pure tomcat. This is sad. Until now I believed that the performance decrease with apache/mod_jk would be marginal. Why would that be sad? 30%

Re: Servlet lush problems via JK-1.2.14 and TC_5.0.28

2005-09-02 Thread Mladen Turk
Arup Vidyerthy wrote: Hey dude, stop moaning and read the bottom of the email!! Come on - little bit of proactive intuitiveness is all that required here!! Hildegard Bronkhorst Senior Facilities Manager Kagiso Integrated Services (Pty) Ltd. Tel: +27 11 844 2015 Fax: +27 11 844 2130 Mobile: +27

Re: session problems when using mod_jk (1.2.14) load balancing

2005-08-18 Thread Mladen Turk
Edgar Alves wrote: Hi, I'm using the domain property in the same situation as the one discussed in this thread. Any reason why I shouldn't use the domain property and rely on the worker names instead? Domain is supposed to be used with multiple workers sharing the same jvmRoute having

Re: load balancing 2 tomcats on 1 machine question

2005-08-18 Thread Mladen Turk
Allistair Crossley wrote: Hi, I thought I had this sussed but it seems I haven't :( 2 tomcats, 1 machine, JK to balance with stick sessions. The following configuration works in that JK routes requests to both the tomcats and so on. Did you set the jvmRoute=tomcat1 inside server.xml Engine

Re: virtual host and JkMount with jk1.2.14

2005-08-17 Thread Mladen Turk
Danico Lee wrote: i got tomcat5, apache1.3 and jk1.2.14. i'm very confused with JkMount. in my http.conf, i have: VirtualHost our_server:80 ServerName our_server DocumentRoot ${tomcat_home}/webapps/test1 JkAutoAlias ${tomcat_home}/webapps JkMount /test1/* worker1

Re: Performance proxy_ajp vs. mod_jk when TOMCAT integration with Apache

2005-08-15 Thread Mladen Turk
Xuekun Hu wrote: Hi, From performance point, which connector will be used for TOMCAT intergration with Apache? proxy_ajp or mod_jk? I read some docs which said mod_jk should have better performance than proxying. While proxy_ajp in Apache2.1 is an addition to the mod_proxy and uses Tomcat's

Re: Apache + Tomcat + Mod_JK + SSL How to?

2005-08-14 Thread Mladen Turk
Stanczak Group wrote: Well, maybe I've just make a mistake somewhere. I looked at my jsp-examples/ url work with ssl and without in mod_jk. Where should I look to see why this one works but my app doesn't? Stanczak Group wrote: I know this has been asked, but the all the emails and on-line

Re: Apache + Tomcat + Mod_JK + SSL How to?

2005-08-14 Thread Mladen Turk
Stanczak Group wrote: I'm not familiar with mod_jk, but in Tomcat when using SSL I can put in a security constraint and it will redirect to a secure connection, so that's why I'm making it sound like a redirect. Hmm. You are still unclear. Seems to me that you are saying that you can access

Re: Blog: JK1.2 load balancing as solution to 100% uptime

2005-08-04 Thread Mladen Turk
Allistair Crossley wrote: Hi Chaps, If anyone is interested, I blogged last night on my experience setting up ... It would be great if you provide a link to your blog :) Regards, Mladen. - To unsubscribe, e-mail: [EMAIL

Re: What is the current stable version of jk connector?

2005-07-27 Thread Mladen Turk
Gary Moh wrote: According to http://www.apache.org/dist/jakarta/tomcat-connectors/jk/, the current stable version is 1.2.10. Thanks for spotting that. Updated to reflect the 1.2.14 stable. Now, four additional releases have been made. Does 1.2.10 remain the stable version? No. All

Re: Building statically mod_jk in Apache in Windows environment

2005-07-26 Thread Mladen Turk
Frédéric Viollet wrote: Hi everybody, I'm using mod_jk - 1.2.14.1 and apache - 1.3.19 I would like to link statically mod_jk in Apache in Windows environment. Has anyone already managed this? The configure --with-apache command works fine for Solaris and AIX; and it compiles and links

Re: mod_jk - multiple workers for same Tomcat instance?

2005-07-14 Thread Mladen Turk
David Hay wrote: Hi, Is it possible to specify multiple workers for the same Tomcat instance? Yes. But this will impose additional load to the tomcat doubling the number of connections from apache to mod_jk for each worker. For ten workers you may end up with 2500 connections with 250

Re: handling of requests over AJP 1.3

2005-07-07 Thread Mladen Turk
[EMAIL PROTECTED] wrote: Hello everyone, i'd like to develop an independent connector based on TCP following the AJP 1.3 case. I wish you all the luck ;) I'd like to know if AJP 1.3 handles requests sent from a generic client as http 1.1. No. Does it forward the requests to a servlet?

Re: how do i prevent tomcat5 from adding trailing slash?

2005-07-01 Thread Mladen Turk
Sheets, Jerald wrote: In your mod_jk.conf, you have JkMount directives like so: JkMount /servlet/* ajp13 JkMount /jsp-examples/* ajp13 JkMount /servlets-examples/* ajp13 I find that in your mounts that if you simply remove the trailing slash in these, you can then call those URIs without the

Re: Apache Tomcat JK1.2 Connector

2005-06-13 Thread Mladen Turk
Darrell Bechtel wrote: Both workers are setup to communicate to the localhost using port 8009?? Perhaps your /etc/hosts file has a entry that resolves the 'localhost' to that IP address. Anyhow use 127.0.0.1 instead localhost to be sure. Regards, Mladen.

Re: Production ready JK release?

2005-06-09 Thread Mladen Turk
markus wrote: Im particularly interested in the new load-balancing features added to the newest jk releases. What makes me uneasy is the constant referral to each release being ratified as a Stable release in the next week, etc. Is JK 1.2.14 far from release and will this be ratified as

Re: JK network error messages.

2005-05-31 Thread Mladen Turk
Findlay, Colin, VF-NZ wrote: Hi, [Wed Jun 01 02:56:19 2005] [error] write::jk_isapi_plugin.c (619): WriteClient failed with 2745 Means that the client closed the browser before all data has been set. [Wed Jun 01 02:56:19 2005] [info] ajp_process_callback::jk_ajp_common.c (1363):

Re: jk 1.2.14 connector connection problem

2005-05-26 Thread Mladen Turk
Derrick Koes wrote: I've run with this configuration elsewhere without error. I'm not certain what the issue is. I have this same problem without using the loadbalancer worker. I can't even get to jkstatus. Any help is greatly appreciated. The problem is with the installation. You

Re: IMPORTANT NEED Tomcat Connection advice

2005-05-25 Thread Mladen Turk
Nikola Milutinovic wrote: [EMAIL PROTECTED] wrote: Then you're messing it up. HTTP has no paradigm of a session, which is what you need here. HTTP has a very clear request/response model. It is not designed to hold the HTTP channel open indefinitely and will break off after a timeout.

Re: locking problem mod_jk 1.2.13 ??

2005-05-19 Thread Mladen Turk
Sander de Boer wrote: Hi, I have tested mod_jk 1.2.13. But sometimes my tomcat becomes completely be locked for a while. A downgrade to 1.2.10 solves that problem. So I mean there is a something like a locking problem in 1.2.13, but I don't know where and how. Is tomcat locked or your response

Re: how to use -server parameter in service.bat (tomcat559)

2005-05-18 Thread Mladen Turk
Leonardo Otoni de Assis wrote: Mladen, I do the copy of server sub-directory in the jvm directory to the jre directoy. See: jvm directory D:\Powerlogic\jdk1.5.0_02\jre\bin\server (with the jvm.dll); copy to: C:\Program Files\Java\jre1.5.0_02\bin when install the service again:

Re: how to use -server parameter in service.bat (tomcat559)

2005-05-17 Thread Mladen Turk
Leonardo Otoni de Assis wrote: Can use the -server parameter (jvm 5) in the service.bat of the tomcat559? I try use this parameter but receive errors after startup of service Apache Tomcat with the message in event viewer of windows2000: The Apache Tomcat service terminated with

Re: jakarta iis connector under heavy load

2005-05-16 Thread Mladen Turk
Anatoly Kern wrote: Hello! http://jakarta.apache.org/tomcat/connectors-doc/config/workers.html (recovery_options=3,prepost_timeout=100,connect_timeout=100) but all Hi, prepost_timeout and connect_timeout are defined in milliseconds, Like you said read the:

Re: Apache2+Tomcat5.5+mod_jk loadbalancing: Sticky sessions not working

2005-05-12 Thread Mladen Turk
Hi, What is your session timeout on tomcat? It might be that the session simply times out, so the next tomcat is elected from the load balancer. Regards, Mladen. Edlira Kumbarÿe7e wrote: Hello, It doesn't seem to work. Each time I refresh the page, it get served from the same

Re: Apache2+Tomcat5.5+mod_jk loadbalancing: Sticky sessions not working

2005-05-12 Thread Mladen Turk
Edlira Kumbarÿe7e wrote: I don't think it's the session timeout on tomcat because, as I said in my previous message,I don't see a pattern in the time pages are served from the same tomcat. In other words, a page gets served from tomcat1 maybe 4 times (each page refresh), then 2

Re: Building connector JK-1.2.11

2005-05-05 Thread Mladen Turk
Dan Baggott wrote: Hi, I'm attempting to build JK-1.2.11 on Solaris 2.8 (sparc) for use with Apache 1.3. There was a thread on the same subject but for the Apache 2 with the same problem. The reason why build fails is because the Solaris 8 make is some sort of BSD make that does not populate

Re: mod_jk 1.2.11 build failure on solaris 2.8

2005-04-29 Thread Mladen Turk
J. W. Ballantine wrote: I'm trying to build mod_jk 1.2.11 on a solaris 2.8 system and it fails with: The configuration command is: ./configure --with-apxs=/local/APACHE/Apache2/bin/apxs --enable-jni --with-java-home=/a2/JAVA/java --with-java-platform=2 jni will not work anyhow on any unix

Re: procrun and NT service

2005-04-26 Thread Mladen Turk
Alessandro Fredianelli wrote: Setting the --StartMode parameter of procrun to java or exe seems to be not working. Any other special setting is needed in order to have these parameters work? --StartMode=java|jvm It defines if the JNI or out of process java.exe will be used. The same is for

Re: procrun and NT service

2005-04-26 Thread Mladen Turk
Alessandro Fredianelli wrote: that's how i create the service. If i set startmode=java in order to have the possibility to specify an account different than LocalSystem, procrun doesent start. Hmm, are you using the CVS HEAD or last released version? Any log messages? Also does you Administrator

Re: Jk and IIS 6 slow (resent)

2005-04-26 Thread Mladen Turk
Michael Südkamp wrote: The strange thing is that other W2003 webservers we set up the same way have not this problem. We are even sure that the problem webservers had not had this problem some weeks ago. How about your dns? I wold suggest that you use IP addresses for your host names. Do you think

Re: tomcat connectors

2005-04-23 Thread Mladen Turk
Patty O'Reilly wrote: Thanks very much for responding. I'm still stuggling with an ever growing number of connections to the apache server and an ever growing number of threads on my tomcat server. I'm fairly certain it is not the application. I have all three timeouts set but no joy.

Re: mod_jk working together with mod_userdir - possible or not?

2005-04-22 Thread Mladen Turk
Torsten Krah wrote: Hello, is there any chance, to get mod_jk so configured, that it can handle jsp files, servlets ( complete webapps ) in the apache mod_userdir directory? I want to have ~/pubic_html/*.jsp interpreted by tomcat but it seems mod_jk isnt able to handle it, am i right or wrong? Any

Re: IIS 6.0 with isapi_redirect.dll (jk 1.2.10) filter does not log page requests

2005-04-22 Thread Mladen Turk
Haris Papadopoulos wrote: IIS logs do not contain any information about the page that Tomcat serves. Instead, the following line: 2005-04-21 14:58:12 192.168.1.59 GET /jakarta/isapi_redirect.dll - 80 - 192.168.1.11

Re: jk 1.2.10 + apache 1.3 issue

2005-04-20 Thread Mladen Turk
Guernsey, Byron (GE Consumer Industrial) wrote: It uses a urimap.properties file instead of JkMounts. OK. The config directives in httpd.conf look like: IfDefine MOD_JK JkLogLeveldebug JkShmSize 300 JkShmFile /usr/local/apache/logs/jk1-ssodev.shm JkWorkersFile

Re: jk 1.2.10 + apache 1.3 issue

2005-04-20 Thread Mladen Turk
Guernsey, Byron (GE Consumer Industrial) wrote: worked just fine under Apache 2 and we haven't seen any issues in the JK1 code or cookies with respect to the ':' in the JVM Routes. To you it might seem easier to change the jvmRoute, but unfortunately there are literally 100's of production app

Re: jk 1.2.10 + apache 1.3 issue

2005-04-20 Thread Mladen Turk
Lionel Farbos wrote: VirtualHost myHost ServerName myVhost1 #this works : # JkMount /testServlet/* ajp13 #this doesn't work : #JkMountFile /usr2/web/VirtualHosts/testServlet.properties JkMountFile /usr2/web/etc/testServlet.properties Well, the mount files are overriden if JkMountCopy On is set.

Re: Apache_MaxClients, AJP_maxThreads and jkWorker.cachesize

2005-04-20 Thread Mladen Turk
cachesize is used only for threaded apache's like 1.3 on windows or netware; apache2 with worker_mpm, etc... The size must reflect the number of threads per child process that for prefork mpms like 1.3 on unixes is always 1, so there is no need to set it. Each apache instance needs it's own shared

Re: jk 1.2.10 + apache 1.3 issue

2005-04-20 Thread Mladen Turk
Lionel Farbos wrote: but I tried also this : VirtualHost ... JkMountFile B /VirtualHost (without JkMountFile A and JkMountCopy On) and this doesn't work either :-( Well, then it's a bug :) I'll check that, to see how it can be fixed. Regards, Mladen.

Re: Apache_MaxClients, AJP_maxThreads and jkWorker.cachesize

2005-04-20 Thread Mladen Turk
Lionel Farbos wrote: Thank you again. So it means than I can have 1 local JkShmFile on my web1 and other local JkShmFile on my web2. But, if, in web1_jkStatus, I disable 1 worker from my cluster (loadbalancer), I also have to disable it from my web2_jkStatus ? Right ? Well, you can try to use the

Re: jk 1.2.10 + apache 1.3 issue

2005-04-20 Thread Mladen Turk
Guernsey, Byron (GE Consumer Industrial) wrote: The problem was a duplicate worker entry. Apparently, in JK2, duplicates were ignored. I've written a perl script that converts the JK2 config to a JK1 config because of the large number of entries- I'll just need to have it validate that there

Re: jk 1.2.10 + apache 1.3 issue

2005-04-19 Thread Mladen Turk
Guernsey, Byron (GE Consumer Industrial) wrote: The NULL factory for ajp13*ajp13 looks odd to me...but that seems like an error create 1 worker and I didn't expect it to cause no workers to be available. I don't really want to run this with Apache 1.3 long term, but I understood it should

Re: mod_jk 1.2.10 can't find free endpoint

2005-04-15 Thread Mladen Turk
Andrey Grebnev wrote: Hello All, I try to use: - Apache 1.3.33 under Windows XP SP2 - mod_jk-1.2.10-apache-1.3.33.so IfModule mod_jk.c JkWorkerProperty worker.list=ajp13w JkWorkerProperty worker.ajp13w.type=ajp13 JkWorkerProperty worker.ajp13w.host=localhost

Re: Apache Tomcat JK Mod

2005-04-13 Thread Mladen Turk
Geoff Wiggs wrote: I know this question has probably been asked 1000 times, but here I go again. OK. Once for all :) RewriteEngine On RewriteRule (.*) /servlets-examples$1 [PT] I have Apache / Tomcat and jk_mod all running correctly. If I hit the URL correctly (i.e. www.server.com/context/) my

Re: mod_jk2 connection

2005-04-06 Thread Mladen Turk
David Owens wrote: Here's a good article: http://raibledesigns.com/tomcat/ Actually it has one error: # list the workers by name worker.list=tomcat1, tomcat2, loadbalancer It should be: worker.list=loadbalancer See the: http://jakarta.apache.org/tomcat/connectors-doc/config/workers.html

Re: Jk 1.2.10 worker limit?

2005-04-04 Thread Mladen Turk
Guernsey, Byron (GE Consumer Industrial) wrote: To add to this- separating the lines into two worker.list lines *almost* worked. It seems that when I have a line like: worker.list=jkstatus,app1,app2,...,app72 worker.list=app73,app74,... This will not work. There is even a bugzilla entry on that,

Re: [ANN] JK 1.2.10 Released

2005-03-31 Thread Mladen Turk
Lionel Farbos wrote: Some questions : - Why don't you provide any more a binary release for linux (since 1.2.6) ? It's up to the contributors (jk committers). Now, my company (JBoss) has invested a great deal of money to provide me with hardware and software needed for such tasks, but you'll have

Re: Installing Tomcat service: Unable to manually insert values for JvmMx and JvmMs in registry

2005-03-31 Thread Mladen Turk
Lakshmi Narayanan K. wrote: Hi Mladen, Now, my question is, can I roll out only this executable as that of Tomcat version 5.0.28? Or do I need to roll out some other files as well? Sure you can. Tomcat5.exe and Tomcat5w.exe are not part of tomcat, but rather jakarta-commons/daemon project. The

Re: hosting in Croatia

2005-03-31 Thread Mladen Turk
t.n.a. wrote: Don't really know why I'm writing in english :), but here goes... Da, mozda bi bilo bolje da si pitao neku lokalnu grupu, recimo hr.fido.java. Tomcat/jetty/jboss hosting in Croatia seems to be much more of a problem than I anticipated, so I need advice on how to proceed. Just go

Re: [ANN] JK 1.2.10 Released

2005-03-31 Thread Mladen Turk
Chris Egolf wrote: Lionel Farbos wrote: - I've not found any documentation on the status worker (and web page) and the ability to reload jk configuration without a reload of apache. Can you tell me more about these new features (or give me a link I missed) ? I second this request. Yes, seems we

Re: Fwd: Apache as front-end for several tomcat

2005-03-31 Thread Mladen Turk
Hi, First of all you will need to learn how to quote ;) I do not understand what is your question? First of all make sure your apache configuration is working for vitual hosts, and then add mod_jk mappings. The easiest way is to create a simple separate index.html page for each vitual host and see

Re: JK 1.2.9 Apache - Tomcat thread synchronization

2005-03-30 Thread Mladen Turk
e wrote: I watched the JBoss webinar, which was very helpful, but I still can't understand how to tune the thread settings. I use tc 5.5.7 and worker apache2. In the webinar, it was stated that apache maxclients should be the same value as maxThreads on tomcat. On a heavily loaded apache, with 10

Re: Installing Tomcat service: Unable to manually insert values for JvmMx and JvmMs in registry

2005-03-30 Thread Mladen Turk
Lakshmi Narayanan K. wrote: If there are many developers on this list, then why aren't there any replies? :( Well, I replied to you already, and I wrote the damn thing :). So, as usual, your replies are eagerly awaited... Try to use the tomcat5.exe from 5.0.30 or better from 5.5.8. I have not

Re: Tomcat 5/Apache 2 in-process

2005-03-30 Thread Mladen Turk
Faine, Mark wrote: Has anyone succeeded in getting Tomcat 5 to run in-process with Apache 2 using mod_jk? Does anyone know of a howto on this? I've read the docs, I've searched the web, I have it working using AJP13 but I have had no luck on getting it to work in-process. I don't even know

Re: Installing Tomcat service: Unable to manually insert values for JvmMx and JvmMs in registry

2005-03-30 Thread Mladen Turk
Lakshmi Narayanan K. wrote: Are you doing this from the tomcat5 binary from TC 5.0.30? I ask this because we have already rolled out TC 5.0.28 onto production systems, and if so, I cant roll out the newer TC 5.0.30 on them. : Use that one:

[ANN] JK 1.2.10 Released

2005-03-30 Thread Mladen Turk
The Apache Jakarta Tomcat team is proud to announce the immediate availability of Jakarta Tomcat Connectors 1.2.10. The release contains a significant number of bug fixes and new features. Please see the http://jakarta.apache.org/tomcat/connectors-doc/changelog.html for a full list of changes.

Re: JkShmSize

2005-03-27 Thread Mladen Turk
e wrote: Under what circumstances would you change it from the defualt 1mb? If you wish to tune the memory usage. Each worker uses 1024 bytes of data, so this gives max of 1024 workers that is too high I agree. Shared memory was meant to be used for uri mappings too, but we decided to use

Re: Installing Tomcat service: Unable to manually insert values for JvmMx and JvmMs in registry

2005-03-26 Thread Mladen Turk
Lakshmi Narayanan K. wrote: Hi Jason, Thanks for your suggestion. I would like to modify the registry by hand as a LAST resort only. Isn't there a way to do this via the tocmat5 command line tool itself? If there isn't any, then of course, I would have to do it by hand by modifying the registry.

Re: getRemoteUser() returns null !!!

2005-03-22 Thread Mladen Turk
VAN DER MARLIERE FREDERIC wrote: The application works fine but I can't get the user login with the getRemoteUser() method, I get null !!! Does someone know why? Do I have to configure something in Tomcat ? Yes. Set tomcatAuthentication=false for AJP connector. Regards, Mladen.

Re: connection timeouts mod_jk 1.2.9

2005-03-21 Thread Mladen Turk
Sander de Boer wrote: The beta mod_jk 1.2.9(and older) produce a lot of errors like this: INFO: connection timeout reached Without configuration files, Apache version, OS, etc..., it's hard to tell, but I suspect that you have some problems with either your clients being slow for the connection

Re: HEAD method doesn't propagate from apache to tomcat over mod_jk

2005-03-21 Thread Mladen Turk
Arnar Gestsson wrote: If I send request using HEAD method to a servlet, the servlet allways shows the method as GET. POST method works as expected. This has been fixed already see:

Re: connection timeouts mod_jk 1.2.9

2005-03-21 Thread Mladen Turk
Sander de Boer wrote: Connector port=8082 minProcessors=150 maxProcessors=255 enableLookups=false acceptCount=10 debug=0 connectionTimeout=3 disableUploadTimeout=true protocol=AJP/1.3 / The docs says socket_timeout

Re: connection timeouts mod_jk 1.2.9

2005-03-21 Thread Mladen Turk
sander wrote: If have added the socketTimeout option: Connector port=8082 minProcessors=150 maxProcessors=255 enableLookups=false acceptCount=10 debug=0 connectionTimeout=3 disableUploadTimeout=true socketTimeout=3

[ANN] JK-1.2.9 BETA Released

2005-03-20 Thread Mladen Turk
The Apache Jakarta Tomcat team is proud to announce the immediate availability of Jakarta Tomcat Connectors 1.2.9-beta. The release contains a significant number of bug fixes and new features. We expect it to be ratified as a Stable release when the vote takes place in the next two weeks. Please

Re: Jk1 jkstatus?

2005-03-16 Thread Mladen Turk
e wrote: Yes, any word on when jk 1.2.9 will be released? days, weeks? Beta will be tagged tomorrow (see tomcat-dev), vote is about a week. Regards, Mladen - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: Failing a JK Worker thread

2005-03-15 Thread Mladen Turk
Dan Thiffault wrote: if (d-status=500) { jk_log(l, JK_LOG_ERROR, Tomcat server returned status=%d,d-status); JK_TRACE_EXIT(l); return JK_FALSE; } I may end up using a case statement and preventing apache from trying the next worker on bad request or something like that. Hope

Re: jk2 for Apache2 and Tomcat 4

2005-03-14 Thread Mladen Turk
Paul Puschmann wrote: Hi, we want to use Apache2 (2.0.53) as a frontend for out Tomcat (4.1.31) and don't get the right configuration for our jk2 (2.0.4). This all runs with Java 1.4.2_06 on Debian Sarge x86. Do not use JK2. Use JK instead. See:

Re: load-balancing

2005-03-09 Thread Mladen Turk
Sng Wee Jim wrote: I am using IIS 5.0 on Win2k Server edition. Will jk 1.2.9 solve the issue for IIS too? IIS and Apache on Windows are single child systems so the runtime data was already shared among all clients. I speak here about 1.2.8. Previous versions have lb code broken. You'll have to

Re: multiple services for each Tomcat instance on NT

2005-03-09 Thread Mladen Turk
Bedrijven.nl wrote: Hello, I installed Tomcat 557 and create several instances for development applications by using the CATALINA_BASE parameter. So I set up about 10 webapplication on my localhost that I can start with startup.bat. Now what I want to do is to create for each webapplication an own

Re: mod_jk: download speed problem

2005-03-09 Thread Mladen Turk
Mikhail Kruk wrote: No one responded to my previous question, so let me try again. Is anyone here running Tomcat 5.0.x + mod_jk + Apache and downloading large files through it with normal a throughput? Server Software:Apache/2.0.53 Server Hostname:localhost Server Port:

Re: load-balancing

2005-03-08 Thread Mladen Turk
Sng Wee Jim wrote: I am load-balancing tomcat 5.0.28 using JK1.2/AJP1.3. Cool ;) I noticed the loadbalancer virtual JK worker redirect requests to the tomcat instances in a round-robin fashion, without taking into account which tomcat has a higher number of active sessions. You must note what jk

Re: Unexplained message in mod_jk.log

2005-03-02 Thread Mladen Turk
Richard Russell wrote: [Wed Mar 02 12:09:09 2005] [info] jk_handler::mod_jk.c (1691): Service returned error=1 with status=200 for worker=ajp13 This is the client error, probably meaning that the client has closed the connection before sending all the data expected. (like setting

Re: session load-balancing and clustering of tomcat

2005-03-01 Thread Mladen Turk
Lionel Farbos wrote: 1) In server.xml : - uncomment the AJP 1.3 Connector (on port 8009), - set the jvmRoute in each Engine example : Engine name=Standalone defaultHost=host1 debug=0 jvmRoute=t1_ajp13 Session route *must* consists only of alphanumeric characters. See the:

Re: JK1.2.9 and dynamic change of properties

2005-03-01 Thread Mladen Turk
[EMAIL PROTECTED] wrote: Hi Mladen, Just to clarify - will this allow us to configure the load-balancing on the fly according to the load of the tomcat's involved? If you mean to balance according to CPU utilization, it won't do that. For that we would need some native component that would measure

Re: JK1.2.9 and dynamic change of properties

2005-03-01 Thread Mladen Turk
[EMAIL PROTECTED] wrote: Hi Mladen, We'd have our own mechanism to calculate the load on a particular server - I was actually asking if, and more importantly how (!), we'd adjust the balance factors on the fly from our app? Well, you can use http client request in a form like:

Re: Benefits of running Tomcat as a daemon with JSVC

2005-02-26 Thread Mladen Turk
Behrang Saeedzadeh wrote: Hi all What are the benefits of running an application like Tomcat with as a daemon (with JSVC) vs. running it like a normal application? In one sentence: Running as non-root on port 1024 Mladen. - To

Re: Someone is using Tomcat for spreading spam?

2005-02-26 Thread Mladen Turk
Susan Hoddinott wrote: Everytime I resubscribe to the user list I am bombarded with Spam. Well, that is something that you will have to live with. I've even received a couple of emails where people even threaten me with the FBI, because they where receiving commit messages from Tomcat cvs on

Re: Benefits of running Tomcat as a daemon with JSVC

2005-02-26 Thread Mladen Turk
Behrang Saeedzadeh wrote: In one sentence: Running as non-root on port 1024 In one sentence: Thanks a lot ;-) In more than one sentence: Thanks a lot, but what's the benefit of daemons (Services) in a Windows environment? None, even if you manage to run a unix daemon on the windows at the first

Re: Apache 1.3 + mod_jk: Segmentation fault

2005-02-25 Thread Mladen Turk
Rodrigo Avila wrote: Hi! [...] child pid 6645 exit signal Segmentation fault (11) It only happen when I use mod_jk 1.2.8 compiled by me I use Apache 1.3.33 (slackware package found at www.linuxpackages.net) and Tomcat 5.0.28 (binary distribution). Do you have ForwardDirectories enabled? Remove

Re: Service automatically shuts down on Windows Server 2003

2005-02-25 Thread Mladen Turk
Scott Sauyet wrote: Jason Bainbridge wrote: The Apache Tomcat service on Local Computer started and then stopped. Some services stop automatically if they have no work to do, for example, the Performace Logs and Alerts service. I'm not finding anything in the Tomcat logs, which makes

Re: Apache 1.3 + mod_jk: Segmentation fault

2005-02-25 Thread Mladen Turk
Rodrigo Avila wrote: On Fri, 25 Feb 2005 16:19:23 +0100, Mladen Turk [EMAIL PROTECTED] wrote: Do you have ForwardDirectories enabled? Remove 'JkOptions ForwardDirectories' and there shouldn't be segfaults any more. This has been fixed in the cvs, and will not be present in next release scheduled

Re: JK1.2.9 and dynamic change of properties

2005-02-24 Thread Mladen Turk
Lionel Farbos wrote: A question for JK workers : I see in the JK 1.2.9 roadmap that a dynamic change of workers'properties will be possible at runtime. But, actually, when I do apache reload, the change is possible at runtime without loosing requests. No ? Yes and no. You will lose all the

Re: Free online presentation on native webserver integration and Tomcat

2005-02-22 Thread Mladen Turk
Allistair Crossley wrote: February 23, 2005 at 1pm Eastern Daylight Time (GMT -04:00, New York). I believe this should be GMT -5 however? No? February 23, 2005 at 18:00 GMT. So calculate to your own timezone :). regards, Mladen -

Re: mod_jk CLOSE_WAIT state and 1 byte recv buffer

2005-02-21 Thread Mladen Turk
Michael Stiller wrote: No one any clues on this issue? I've got about 3000 connections hanging around in CLOSE_WAIT now. Especially that 1 byte hanging in the receive buffer keeps me puzzled. Did you tried the latest CVS HEAD? It contains the hard close socket by disabling lingering. Further

Re: mod_jk CLOSE_WAIT state and 1 byte recv buffer

2005-02-21 Thread Mladen Turk
Michael Stiller wrote: I tried something i checked out from cvs last friday. Use more recent :) The version is tomcat-connectors 1.2.9. The OS ist Fedora Core 3. Seems that I miss the OS. It contains the hard close socket by disabling lingering. Where may i learn about the hard close patch.

Re: mod_jk CLOSE_WAIT state and 1 byte recv buffer

2005-02-21 Thread Mladen Turk
Michael Stiller wrote: Ok, just running a fresh cvs tree. The problem is *still* there, but it seems that there are fewer sockets hanging around at the moment. Ok, we are getting somewhere :). Ok fixed that. Config is now: ... worker.proc2111.port=12111 worker.proc2111.lbfactor=1

Re: mod_jk CLOSE_WAIT state and 1 byte recv buffer

2005-02-21 Thread Mladen Turk
Michael Stiller wrote: Also what are you using for testing? ab or... Eh hm it is in production now ;) So we use the clients for testing. 8) You are really brave :). Just checking without the recycle_timeout. What happens if you issue 'apachectl restart' ? Can you make 'JkLoglevel trace' and post

Re: Session replication with jk 1.2.8

2005-02-20 Thread Mladen Turk
Dan Carwin wrote: He references the jvmRoute=servername variable which needs to match a like variable tomcatId in workers2.properties. Of course workers.properties doesn't have the tomcatId variable. The funny thing is in the change notes for the jk connector, I see that Bill Barker made some

Re: volunteering to enhance docs for mod_jk local_worker_only (server quiescence)

2005-02-19 Thread Mladen Turk
Michael Greer wrote: Should I take the trouble? local_worker and local_worker_only flags will be deprecated. (already are with the current 1.2.9-dev) There has been more powerful mechanism implemented, that is IMO more clearer and acts like it should. 1.2.9 has shared memory and status page that

Re: volunteering to enhance docs for mod_jk local_worker_only (server quiescence)

2005-02-19 Thread Mladen Turk
Michael Greer wrote: Mladen , That sounds like the right solution! I think I remember the status page from jk2, and it is a good idea. Yes, we are trying to backport all goodies from jk2 now that is deprecated and no longer maintained. Not only that. It will have options to fully edit properties,

Re: Jakarta Tomcat Connector and IIS; no log being generated.

2005-02-14 Thread Mladen Turk
John Gordon wrote: I'm having a bit of trouble getting isapi_redirect.dll to work and generate a log. If anyone can see what step I'm missing please let me know. I have done the following. I am running a Windows Server 2003. My Tomcat version is 5.0.28. My IIS version is 6.0. I get no logs

Re: tomcat + SSL, apache

2005-02-14 Thread Mladen Turk
Didier McGillis wrote: Actually I believe its the opposite. Apache serves the certificate the communication between Tomcat and Apache shouldnt be public anyway. Apache makes the SSL handshake and passes any client certificate to Tomcat. Any servlet sees that like it came directly from Tomcat.

Re: Tale of two servers

2005-02-14 Thread Mladen Turk
Dola Woolfe wrote: Thanks for all responses. I have some new info. 3. Finally, and the most hopeful point, the better-but-slower server is running Norton virus services. Restarting the machine in safe mode (w/ networkin) solved the problem. Does this settle it? If so, what particular setting in

Re: Hardware Server failure with mod_jk

2005-02-09 Thread Mladen Turk
Betts, Chuck wrote: Hi, We originally thought that adding the configuration setting worker.app_dmnX.socket_timeout=10 would at least stop the requests from hanging indefinitely, but that didn't seem to help. Does anyone have experience with this, and can recommend configuration settings to use to

Re: jk connector build problem

2005-02-07 Thread Mladen Turk
Thor Muller wrote: I think others have had this problem but I can't find an answer that helps me. I have a fresh install of redhat9 and I've installed Apache 2.053, PHP 4.3.1 and Tomcat 5.5, all without a hitch. Now I'm trying to compile the mod_jk.so and it gives me the following error. Any

Re: JK 1.2.8 and IIS 6

2005-02-04 Thread Mladen Turk
Antti Granqvist wrote: Hi, I have problems in running this combination on Windows server 2003. I have set up jk 1.2 on w2k/xp and iis 5 several times without problems. But I think now I am out of luck. Service is run in 'IIS 5.0 isolation mode'. I used the installer for jk 1.2.8 and set

Re: [ANN] JK 1.2.8 Released

2005-02-01 Thread Mladen Turk
Ellen Blank wrote: Hello, wondering how soon jk-1.2.8 binaries will become available for Solaris platform, and whether it makes sense to wait or go ahead with the jk-1.2.6 in a mean while. Well, I don't have Solaris box to make a build :). Also there are couple versions of them that are binary

Re: loadbalancing with mod_jk 1.2.8

2005-01-27 Thread Mladen Turk
Richard Mixon (qwest) wrote: John, From what I gather, this is the purpose of the properties local_worker and local_worker_only properties in the workers.properties file. They are documented at the bottom of this page: http://jakarta.apache.org/tomcat/connectors-doc/config/workers.html

Re: Jakarta Tomcat Connector - Load Balancing

2005-01-26 Thread Mladen Turk
Derek Greer wrote: I'm trying to use the Tomcat Connector to do load balancing through the IIS filter, however the sessions do not seem to be 'sticky. According to the documentation, the session is set to sticky by default. Even so, after seeing non-sticky behavior I set my lb worker

  1   2   3   >