mod_jk problem

2011-06-14 Thread Orgil Tulga
Hello All,     I am using apache and tomcat with mod_jk. apache version : 2.2.19 tomcat version : 6.0 mod_jk version : 1.2.30   My web runs through servlet.   http://domainname:8080/contact.shtml - is working http://domainname/contact.shtml - is not working   mod_jk log :   [debug]

Re: mod_jk problem

2011-06-14 Thread Calum
On 14 June 2011 12:07, Orgil Tulga orgio...@yahoo.com wrote: Hello All,   I am using apache and tomcat with mod_jk. apache version : 2.2.19 tomcat version : 6.0 mod_jk version : 1.2.30 My web runs through servlet. http://domainname:8080/contact.shtml - is working

Re: mod_jk problem

2011-06-14 Thread Orgil Tulga
in httpd.conf   LoadModule jk_module modules/mod_jk.so Include /usr/local/apache/conf/jk.conf Include /usr/local/apache/conf/jkmount.conf --- On Tue, 6/14/11, Calum cal...@gmail.com wrote: From: Calum cal...@gmail.com Subject: Re: mod_jk problem To: Tomcat Users List users@tomcat.apache.org Date

Re: mod_jk problem

2011-06-14 Thread Calum
On 14 June 2011 12:28, Orgil Tulga orgio...@yahoo.com wrote: My jk connector config is below. Below is jk.conf: JkWorkersFile /usr/local/jakarta/tomcat/conf/workers.properties Can we see this? - To

Re: mod_jk problem

2011-06-14 Thread Orgil Tulga
No. I am testing on local domain. --- On Tue, 6/14/11, Calum cal...@gmail.com wrote: From: Calum cal...@gmail.com Subject: Re: mod_jk problem To: Tomcat Users List users@tomcat.apache.org Date: Tuesday, June 14, 2011, 4:35 AM On 14 June 2011 12:28, Orgil Tulga orgio...@yahoo.com wrote: My jk

Re: mod_jk problem

2011-06-14 Thread Calum
On 14 June 2011 12:49, Orgil Tulga orgio...@yahoo.com wrote: No. I am testing on local domain. I don't understand this. The ajp13 bit in your jkmount.conf needs to refer to a worker in workers.properties. We would need to see it to understand what's happening. This might help you a little?

RE: mod_jk problem - 1457: All tomcat instances failed, no more workers left (attempt=1, retry=1)

2010-06-08 Thread Mangold, Daniel
On 07.06.2010 20:22, Mangold, Daniel wrote: Hello to all, I have a problem with mod_jk (hope this is the right place form my problem). Used servers and versions: - Apache 2.2.15 (Win32) - mod_jk/1.2.30 - Apache Tomcat/6.0.20 using AJP/1.3 - jdk1.5.0_12 Problem description: I enter the

Re: mod_jk problem - 1457: All tomcat instances failed, no more workers left (attempt=1, retry=1)

2010-06-08 Thread Rainer Jung
On 08.06.2010 16:45, Mangold, Daniel wrote: On 07.06.2010 20:22, Mangold, Daniel wrote: First: sorry, it looks like at least half of my previous mail was truncated for whatever reason. The attachment did not go through as well. And it's true, the pasted log file above is not complete. However,

mod_jk problem - 1457: All tomcat instances failed, no more workers left (attempt=1, retry=1)

2010-06-07 Thread Mangold, Daniel
Hello to all, I have a problem with mod_jk (hope this is the right place form my problem). Used servers and versions: - Apache 2.2.15 (Win32) - mod_jk/1.2.30 - Apache Tomcat/6.0.20 using AJP/1.3 - jdk1.5.0_12 Problem description: I enter the appropriate URL pointing to the balancing web server

Re: mod_jk problem - 1457: All tomcat instances failed, no more workers left (attempt=1, retry=1)

2010-06-07 Thread Rainer Jung
On 07.06.2010 20:22, Mangold, Daniel wrote: Hello to all, I have a problem with mod_jk (hope this is the right place form my problem). Used servers and versions: - Apache 2.2.15 (Win32) - mod_jk/1.2.30 - Apache Tomcat/6.0.20 using AJP/1.3 - jdk1.5.0_12 Problem description: I enter the

RE: mod_jk problem related to multiple hosts on Apache and Tomcat

2009-10-08 Thread Maciej Zabielski
Message- From: André Warnier [mailto:a...@ice-sa.com] Sent: Thursday, October 08, 2009 2:14 AM To: Tomcat Users List Subject: Re: mod_jk problem related to multiple hosts on Apache and Tomcat One real question is why you are bothering with an Apache httpd in front, since unless I saw this wrong

RE: mod_jk problem related to multiple hosts on Apache and Tomcat

2009-10-08 Thread Caldarale, Charles R
From: Maciej Zabielski [mailto:m...@tessel.pl] Subject: RE: mod_jk problem related to multiple hosts on Apache and Tomcat when I started reading what is the easiest way to make Tomcat available on port 80 (under Centos 5.3) the most common answer was: use Apache HTTPD. Probably written

mod_jk problem related to multiple hosts on Apache and Tomcat

2009-10-07 Thread Maciej Zabielski
Hello, I have a mod_jk problem related to multiple hosts on Apache and Tomcat My setup is Centos 5.3 + Apache HTTPD 2.2.3 + Tomcat 5 httpd.conf contains (Just before section 3) Basic mod_jk directives. At the end it contains two virtual hosts: (all sections are placed in proper files, but I

RE: mod_jk problem related to multiple hosts on Apache and Tomcat

2009-10-07 Thread Caldarale, Charles R
From: Maciej Zabielski [mailto:m...@tessel.pl] Subject: mod_jk problem related to multiple hosts on Apache and Tomcat Tomcat Host Host name=localhost debug=0 appBase=webapps unpackWARs=true autoDeploy=true xmlValidation=false xmlNamespaceAware=false Context path= docBase=/var/lib

Re: mod_jk problem related to multiple hosts on Apache and Tomcat

2009-10-07 Thread Tsirkin Evgeny
What Chuck means is that you need docBase=/var/lib/tomcat5/webapps/alfresco On Wed, Oct 7, 2009 at 8:51 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Maciej Zabielski [mailto:m...@tessel.pl] Subject: mod_jk problem related to multiple hosts on Apache and Tomcat Tomcat

Re: mod_jk problem related to multiple hosts on Apache and Tomcat

2009-10-07 Thread Rainer Jung
On 07.10.2009 19:40, Maciej Zabielski wrote: Hello, I have a mod_jk problem related to multiple hosts on Apache and Tomcat My setup is Centos 5.3 + Apache HTTPD 2.2.3 + Tomcat 5 httpd.conf contains (Just before section 3) Basic mod_jk directives. At the end it contains two virtual

RE: mod_jk problem related to multiple hosts on Apache and Tomcat

2009-10-07 Thread Maciej Zabielski
it over tommorow as its almost midnight in country! :) Once more, thank you very much for pointing out my mistake! ___ From: Tsirkin Evgeny [tsir...@gmail.com] Sent: Wednesday, October 07, 2009 8:50 PM To: Tomcat Users List Subject: Re: mod_jk problem related

Re: mod_jk problem related to multiple hosts on Apache and Tomcat

2009-10-07 Thread André Warnier
One real question is why you are bothering with an Apache httpd in front, since unless I saw this wrong, you are proxying absolutely everything to Tomcat, in both virtual hosts. JkMount /* etc.. Why not just turn off Apache, and have Tomcat listen on port 80 ? You would save yourself some

mod_jk Problem

2009-04-15 Thread Munkhbold.B
Hi I have a problem with tomcat connector mod_jk. From time to time the connector completely hangs apache. Tomcat alone is still alive, but apache no longer replies to requests, and I need to restart both In mod_jk logs file I have a lot of lines like [info] init_jk::mod_jk.c

Re: mod_jk Problem

2009-04-15 Thread André Warnier
Munkhbold.B wrote: Hi I have a problem with tomcat connector mod_jk. From time to time the connector completely hangs apache. Tomcat alone is still alive, but apache no longer replies to requests, and I need to restart both In mod_jk logs file I have a lot of lines like [info]

Re: mod_jk Problem

2009-04-15 Thread WenDong Zhang
I've the same problem too, and I found that if the tomcat response time is long, you need to set connection_pool in your workers.properties. ## my properties worker.node65.port=8009 worker.node65.host=9.186.10.65 worker.node65.type=ajp13 worker.node65.connection_pool_size=100

Re: mod_jk Problem

2009-04-15 Thread André Warnier
WenDong Zhang wrote: I've the same problem too, and I found that if the tomcat response time is long, you need to set connection_pool in your workers.properties. Ok, let me be more explicit. What you suggest above may work, /if/ the underlying reason for the problem meets certain criteria.

Re: mod_jk Problem

2009-04-15 Thread WenDong Zhang
yes. my configuration is just a suggestion. if you just need to fix the problem quickly, maybe you need to try some solutions. But the main idea to solve this problem is you need to do some tests to find out where the bottleneck is. I did a lots of tests, because my server chain is too long httpd

Re: mod_jk Problem

2009-04-15 Thread Rainer Jung
On 15.04.2009 08:19, Munkhbold.B wrote: Hi I have a problem with tomcat connector mod_jk. From time to time the connector completely hangs apache. Tomcat alone is still alive, but apache no longer replies to requests, and I need to restart both In mod_jk logs file I have a

Mod_jk problem

2009-03-02 Thread Partha Goswami
I compile,mod_jk in my vps everything is fine, but when i am trying to add, following lines, restarting my apache its not starting anymore pls help LoadModule jk_module /etc/httpd/modules/mod_jk.so # Where to find workers.properties JkWorkersFile /etc/httpd/workers.properties # Where to put jk

Re: Mod_jk problem

2009-03-02 Thread Mladen Turk
Partha Goswami wrote: I compile,mod_jk in my vps everything is fine, but when i am trying to add, following lines, restarting my apache its not starting anymore pls help # Set the jk log level [debug/error/info]JkLogLevel info Is this a copy/paste issue or a real config line? Regards

Re: Mod_jk problem

2009-03-02 Thread Partha Goswami
Yes.. On Mon, Mar 2, 2009 at 9:24 PM, Mladen Turk mt...@apache.org wrote: Partha Goswami wrote: I compile,mod_jk in my vps everything is fine, but when i am trying to add, following lines, restarting my apache its not starting anymore pls help # Set the jk log level

Re: Mod_jk problem

2009-03-02 Thread Rainer Jung
On 02.03.2009 16:57, Partha Goswami wrote: Yes.. This is not an answer for an or question :( There is a second item, that seems to be broken: # Where to put jk logsJkLogFile /var/log/httpd/mod_jk.log In case Apache doesn't start with mod_jk, you should find an error either in your Apache

Re: Mod_jk problem

2009-03-02 Thread Partha Goswami
can not found anythig in logs. On Mon, Mar 2, 2009 at 9:41 PM, Rainer Jung rainer.j...@kippdata.de wrote: On 02.03.2009 16:57, Partha Goswami wrote: Yes.. This is not an answer for an or question :( There is a second item, that seems to be broken: # Where to put jk logsJkLogFile

Re: mod_jk problem for post request ended with a ? (question mark)

2007-11-02 Thread Rainer Jung
Not a known problem. You can increase log level via JkLogLevel debug. There should be a line containing service or Service, which includes the URI) we send forward to Tomcat. The log will also show you, if any of your JkMount directives match, i.e. if mod_jk thinks it should forward, or it

mod_jk problem for post request ended with a ? (question mark)

2007-11-02 Thread Nicolas Clemeur
Hello all, I have apache 2.2 in front of tomcat 6.0.13 and I use mod_jk (1.2.25) as the connector. It seems that whenever a form containing a question mark at the end of the form action parameter is posted, mod_jk is dying silently (but recover) (The resulting url is something like that

Re: mod_jk problem for post request ended with a ? (question mark)

2007-11-02 Thread Nicolas Clemeur
Thank you Rainer for taking the time to answer. My comments are below. Not a known problem. You can increase log level via JkLogLevel debug. There should be a line containing service or Service, which includes the URI) we send forward to Tomcat. The log will also show you, if any of

Re: mod_jk problem for post request ended with a ? (question mark)

2007-11-02 Thread Nicolas Clemeur
I forgot to mention that the request is sent over https. The https is handled by apache httpd. I am not sure If this has an impact as it would be difficult for me to test it under http. Cheers Nicolas - To start a new topic,

Re: mod_jk problem for post request ended with a ? (question mark)

2007-11-02 Thread Rainer Jung
Your test JSP works fine for me with Apache httpd 2.2.6 and mod_jk 1.2.25 on Solaris. Since your jk log file ends very early in the request processing, the tomcat version should not matter (I used 5.5). I would guess, that something with your build is broken. It would also help, if we could see

Re: mod_jk problem for post request ended with a ? (question mark)

2007-11-02 Thread Nicolas Clemeur
Your test JSP works fine for me with Apache httpd 2.2.6 and mod_jk 1.2.25 on Solaris. Since your jk log file ends very early in the request processing, the tomcat version should not matter (I used 5.5). I would guess, that something with your build is broken. It would also help, if we

Apache2 / Tomcat5 / mod_jk - Problem with load balancer

2007-10-04 Thread Nuno Branco
Hello list, This is my first post so treat me gently :) I'm trying to configure Apache + Tomcat with load balancing capabilities and I'm planning to use mod_jk to accomplish this, unfortunately I have not been very successfull. The HOWTOs I found in the net must be outdated since I'm not really

Re: Apache2 / Tomcat5 / mod_jk - Problem with load balancer

2007-10-04 Thread Felix Schumacher
Hi Nuno, I would think you have configured mod_jk to use worker1 as the only worker in apache. You should use the loadbalancer worker in mod_jk.conf like JkMount /myapp/* loadbalancer and change your worker.properties to inlude the loadbalancer worker in the worker.list property like

Re: Apache2 / Tomcat5 / mod_jk - Problem with load balancer

2007-10-04 Thread Rainer Jung
In addition to Felix Schumachers correct comments: Nuno Branco wrote: very successfull. The HOWTOs I found in the net must be outdated since I'm not really acomplishing anything usefull, also because apache is complaining about some options (as I will post below) that the HOWTO told me to put

Re: Apache2 / Tomcat5 / mod_jk - Problem with load balancer

2007-10-04 Thread Nuno Branco
Thank you. It was in fact that simple :) Time to go look at how to enable the session sticky properties. Thanks again. On 10/4/07, Felix Schumacher [EMAIL PROTECTED] wrote: Hi Nuno, I would think you have configured mod_jk to use worker1 as the only worker in apache. You should use the

RE: [mod_jk] problem serving URIs with 'special characters'

2007-08-28 Thread Guy Katz
] Sent: Tuesday, August 28, 2007 8:22 AM To: Tomcat Users List Subject: Re: [mod_jk] problem serving URIs with 'special characters' Guy Katz wrote: Thanks; one question though. The downloads page states that mod_jk1.2.25 is for apache 2.0.59 and later only. i have a 2.0.52 installation(on centos

Re: [mod_jk] problem serving URIs with 'special characters'

2007-08-28 Thread Rainer Jung
I agree with Christopher. If you feel totally uncomfortable with the idea of compiling yourself: there is a good chance, that the downloadable binary for 2.0.59 will work with your 2.0.52. You need to test and check the error log of apache for log lines indicating process crashes. Those would

RE: [mod_jk] problem serving URIs with 'special characters'

2007-08-27 Thread Guy Katz
- From: Rainer Jung [mailto:[EMAIL PROTECTED] Sent: Sun 8/26/2007 11:33 PM To: Tomcat Users List Subject: Re: [mod_jk] problem serving URIs with 'special characters' Guy Katz wrote: Hi; (using: centos, apache 2.0.52, mod_jk 1.2.21, tomcat 6) Recently, I encountered a problem with URIs

Re: [mod_jk] problem serving URIs with 'special characters'

2007-08-27 Thread Mladen Turk
Guy Katz wrote: Thanks; one question though. The downloads page states that mod_jk1.2.25 is for apache 2.0.59 and later only. i have a 2.0.52 installation(on centos) that i can't change. does this mean i am stuck here? or can mod_jk1.2.25 still work with apache 2.0.52 thanks in advance.

[mod_jk] problem serving URIs with 'special characters'

2007-08-26 Thread Guy Katz
Hi; (using: centos, apache 2.0.52, mod_jk 1.2.21, tomcat 6) Recently, I encountered a problem with URIs that has 'non western European' characters (for example: http://www.somehost.com/roller/admin/entry/nofx_%D7%91%D7%93%D7%A8%D7%9A ). I noticed that apache was forwarding to tomcat a different

Re: [mod_jk] problem serving URIs with #39;special characters#39;

2007-08-26 Thread samk
URLEncoding doesn't take care of this problem? In Response To: Hi; (using: centos, apache 2.0.52, mod_jk 1.2.21, tomcat 6) Recently, I encountered a problem with URIs that has 'non western European' characters (for example:

RE: [mod_jk] problem serving URIs with 'special characters'

2007-08-26 Thread Guy Katz
be happy to hear ideas but please be more specific. thanks. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Sun 8/26/2007 10:11 PM To: users@tomcat.apache.org Subject: Re: [mod_jk] problem serving URIs with #39;special characters#39; URLEncoding doesn't

Re: [mod_jk] problem serving URIs with #39;special characters#39;

2007-08-26 Thread samk
] Subject: Re: [mod_jk] problem serving URIs with #39;special characters#39; URLEncoding doesn't take care of this problem? In Response To: Hi; (using: centos, apache 2.0.52, mod_jk 1.2.21, tomcat 6) Recently, I encountered a problem with URIs that has 'non western European' characters

Re: [mod_jk] problem serving URIs with 'special characters'

2007-08-26 Thread Rainer Jung
Guy Katz wrote: Hi; (using: centos, apache 2.0.52, mod_jk 1.2.21, tomcat 6) Recently, I encountered a problem with URIs that has 'non western European' characters (for example: http://www.somehost.com/roller/admin/entry/nofx_%D7%91%D7%93%D7%A8%D7%9A ). I noticed that apache was forwarding to

Re: mod_jk problem

2007-05-21 Thread Rainer Jung
Rotating an open log file from outside the using processes is a very bad idea. The processes in most cases will simply try to use the old log file further on (and will run into trouble, after you compressed them etc.). Rotating log files for apache can be easily done using the bundles

RE: mod_jk problem

2007-05-21 Thread Yifan (Eric) Jiang
- From: Rainer Jung [mailto:[EMAIL PROTECTED] Sent: Monday, 21 May 2007 7:26 p.m. To: Tomcat Users List Subject: Re: mod_jk problem Rotating an open log file from outside the using processes is a very bad idea. The processes in most cases will simply try to use the old log file further

Re: mod_jk problem

2007-05-21 Thread Rainer Jung
error/bug that occurred in the production server, but unfortunately we still can't reproduce it. Any idea why? Thanks Regards Eric -Original Message- From: Rainer Jung [mailto:[EMAIL PROTECTED] Sent: Monday, 21 May 2007 7:26 p.m. To: Tomcat Users List Subject: Re: mod_jk problem Rotating

RE: mod_jk problem

2007-05-21 Thread Yifan (Eric) Jiang
List Subject: Re: mod_jk problem You really should totally drop the idea of rotating an open logfile from the outside. The file descriptor is open in the writing process and it will proceed to use the file descriptor, which will point to the rotated file and after compression will be deleted

mod_jk problem

2007-05-20 Thread Yifan (Eric) Jiang
Hi all, Not quite sure if this list is the best place to send this question. But I can't find anywhere else to send it to... I am trying to install Shibboleth (http://shibboleth.internet2.edu/) Identity Provider with Cosign protection on a RedHat Linux production server. Well, Shibboleth

mod_jk problem when streaming files larger than ~400k (causes ClientAbortException)

2006-12-04 Thread Haroon Rafique
Hi, I am using mod_jk 1.2.19 on Linux with JDK 1.5.0_08, tomcat 5.5.20. Our application is struts-based and in one of our actions we stream a PDF to the client. The pseudo-code for outputting the response back to the client is as follows (assuming baos contains a ByteArrayOutputStream):

mod_jk problem on solaris 10

2006-02-02 Thread Ran Li
Hello all, I did searchs on the net but still could not find a clear solution, os: solaris 10 java: 1.3.1.11 apache: 1.3.29 when trying to build jakarta-tomcat-connectors-1.2.15, got following error messages during the make Making all in apache-1.3 make: Fatal error in reader: Makefile, line