Re: mod_jk problem

2011-06-14 Thread Rainer Jung
On 14.06.2011 13:07, Orgil Tulga 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 > http://domainname/contact.sh

Re: mod_jk problem

2011-06-14 Thread Calum
On 14 June 2011 12:49, Orgil Tulga 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? http://tomcat.apache.o

Re: mod_jk problem

2011-06-14 Thread Orgil Tulga
No. I am testing on local domain. --- On Tue, 6/14/11, Calum wrote: From: Calum Subject: Re: mod_jk problem To: "Tomcat Users List" Date: Tuesday, June 14, 2011, 4:35 AM On 14 June 2011 12:28, Orgil Tulga wrote: > My jk connector config is below. > &g

Re: mod_jk problem

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

Re: mod_jk problem

2011-06-14 Thread Orgil Tulga
pd.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 wrote: From: Calum Subject: Re: mod_jk problem To: "Tomcat Users List" Date: Tuesday, June 14, 2011, 4

Re: mod_jk problem

2011-06-14 Thread Calum
On 14 June 2011 12:07, Orgil Tulga 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 > http://domainname/contact.shtml

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,

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

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 appropri

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 Ap

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

2009-10-08 Thread Maciej Zabielski
ds, Maciej -Original 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

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 compl

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

2009-10-07 Thread Maciej Zabielski
ost2:8080/app2 Well, I would have to think 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 Lis

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 vir

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

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 > autoDeploy="true" > xmlValidation="false" xmlNamespaceAware="false"> > > alfresco.domain.com > I can't advise you about the httpd-rel

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

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

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 worker.node65.connec

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-03-02 Thread Partha Goswami
can not found anythig in logs. On Mon, Mar 2, 2009 at 9:41 PM, Rainer Jung 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 /var/log/httpd

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
Yes.. On Mon, Mar 2, 2009 at 9:24 PM, Mladen Turk 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 >> [debug/error/info

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 -

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

2007-11-02 Thread Nicolas Clemeur
Thanks again Rainer for guiding me toward the core/gdb/stacktrace approach. After managing to get a meaningfull stacktrace (using gdb httpd core_file) it was easy to see that the problem was NOT in mod_jk but in another module (mod_auth_cas). I'll report this problem to them. Best regards, Nico

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

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 yo

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

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

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-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Guy, Guy Katz wrote: > Hi; > Sorry for the beginner's question but does this means that I need to > compile mod_jk1.2.25 against my apache 2.0.52? Or can I still use the > 1.2.25 from the tomcat connector downloads page as a drop-in > replacement. IM

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

2007-08-27 Thread Guy Katz
ECTED] 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 ha

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

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

2007-08-27 Thread Guy Katz
ssage- 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 encount

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 tom

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

2007-08-26 Thread samk
EMAIL PROTECTED] Subject: Re: [mod_jk] problem serving URIs with 'special characters' 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 wester

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

2007-08-26 Thread Guy Katz
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 'special characters' URLEncoding do

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

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: http://www.somehost.com/roller/admin/entry/nofx_%D7%91%D7%93%D7%A8%D7%

RE: mod_jk problem

2007-05-21 Thread Yifan (Eric) Jiang
o: Tomcat Users 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

Re: mod_jk problem

2007-05-21 Thread Rainer Jung
same 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

RE: mod_jk problem

2007-05-21 Thread Yifan (Eric) Jiang
ssage- 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 on (and

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 rotatelo