Re: Question on mod_jk and tomcat

2011-07-29 Thread André Warnier
Hi. Some responses in the text. The responses are based on my experience, not on any thorough inspection of the code. Maybe first, a basic note : from the point of view of Apache httpd, mod_jk is an internal "content generator" or "response handler". Apache "runs" mod_jk as an internal modu

Question on mod_jk and tomcat

2011-07-28 Thread chris derham
All, We have apache running on Windows Web Server 2008 R2, fronting tomcat. We use mod_jk to connect. We see these kind of log messages in mod_jk logs. What do they mean? [Thu Jul 28 12:30:56 2011] [14264:10144] [info] jk_ajp_common.c (1882): Writing to client aborted or client network problems [

Re: mod_jk and tomcat virtual hosts not connecting

2010-07-27 Thread Brett Delle Grazie
Subject: mod_jk and tomcat virtual hosts not connecting Hi, First of all I would like to mention that this is my first post on this list, I hope that this question is sent in the right place. I have tried finding a solution for my problem, but it

RE: mod_jk and tomcat virtual hosts not connecting

2010-07-27 Thread Irfan Khan
, July 27, 2010 7:11 PM To: users@tomcat.apache.org Subject: mod_jk and tomcat virtual hosts not connecting Hi, First of all I would like to mention that this is my first post on this list, I hope that this question is sent in the right place. I have tried finding a solution for my problem, but

Re: mod_jk and tomcat virtual hosts not connecting

2010-07-27 Thread Moritz Winter
Hi Felix, youre absolutely right and it works like a charm, thank you so much!! Vielen Dank ;-) Btw. the www prefix is just working fine if I add the alias to the tomcat server.xml! Greetings! Am 27.07.2010 17:55, schrieb Felix Schumacher: Hi Moritz, Am Dienstag, den 27.07.2010, 15:40 +

Re: mod_jk and tomcat virtual hosts not connecting

2010-07-27 Thread Felix Schumacher
Hi Moritz, Am Dienstag, den 27.07.2010, 15:40 +0200 schrieb Moritz Winter: > My issue is with the mod_jk plugin. I want to redirect my subdomain > requests jira.example.com to a tomcat 6 virtual host called jiraapp. If > I call the subdomain jira.example.com Im always getting the default > tom

mod_jk and tomcat virtual hosts not connecting

2010-07-27 Thread Moritz Winter
Hi, First of all I would like to mention that this is my first post on this list, I hope that this question is sent in the right place. I have tried finding a solution for my problem, but it either doesn't exist, or my limited brain can't manage to figure out how to do it (I strongly hope it is

Re: Problem with mod_jk and Tomcat Native Connectors on Solaris

2009-02-10 Thread Scott Severtson
-Scott Severtson -- View this message in context: http://www.nabble.com/Problem-with-mod_jk-and-Tomcat-Native-Connectors-on-Solaris-tp21796027p21937252.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsub

RE: Problem with mod_jk and Tomcat Native Connectors on Solaris

2009-02-06 Thread Jorge Medina
Original Message- From: Rainer Jung [mailto:rainer.j...@kippdata.de] Sent: Friday, February 06, 2009 11:38 AM To: Tomcat Users List Subject: Re: Problem with mod_jk and Tomcat Native Connectors on Solaris On 02.02.2009 20:01, Jorge Medina wrote: >I am having problems with the mod_jk m

Re: Problem with mod_jk and Tomcat Native Connectors on Solaris

2009-02-06 Thread Rainer Jung
On 02.02.2009 20:01, Jorge Medina wrote: I am having problems with the mod_jk module 1.2.26 and Tomcat Native connectors running in Solaris 10. The problem occurs in both processors x86 (64-bit) and sparc (64-bit). (The problem does not occur on RedHat EL5 64-bit). On the mod_jk workers

Problem with mod_jk and Tomcat Native Connectors on Solaris

2009-02-02 Thread Jorge Medina
Hi I am having problems with the mod_jk module 1.2.26 and Tomcat Native connectors running in Solaris 10. The problem occurs in both processors x86 (64-bit) and sparc (64-bit). (The problem does not occur on RedHat EL5 64-bit). On the mod_jk workers.properties file I am specifying a va

Re: Apache mod_jk and Tomcat not working correctly

2008-10-27 Thread Wayne Bragg
which one is causing the problem with dwr because they were both causing errors in my log. So as far as i am concerned the problem was solved. Thank you to everyone that help me! - Original Message - From: "André Warnier" <[EMAIL PROTECTED]> To: "Tomcat Users

Re: Apache mod_jk and Tomcat not working correctly

2008-10-27 Thread André Warnier
quite understanding what you want me to try though. Do you mean get rid of the current Alias code and replace it with AliasMatch /dwr-examples/(.*\.(html?|jpg|php))$ /www/tomcat5/webapps/dwr-examples/$1 or use it in addition to it and where exactly should it go? Prior to the JkMount /dwr-examples/*

Re: Apache mod_jk and Tomcat not working correctly

2008-10-26 Thread Wayne Bragg
ciBDz"] Thanks alot for the help, your masters! ----- Original Message - From: "Rainer Jung" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Monday, October 27, 2008 12:07 AM Subject: Re: Apache mod_jk and Tomcat not working correctly Wayne Bragg s

Re: Apache mod_jk and Tomcat not working correctly

2008-10-26 Thread Rainer Jung
Wayne Bragg schrieb: > my setup: >WinXP Home >Wed-Dev install of: >Apache/2.2.3 (Win32) >Tomcat 5 >PHP 5.2.0 Before proceeding consider taking more recent minor versions, like 2.2.10, PHP 5.2.6 and you didn't tell us your Tomcat version. Your mod_jk below is 1.2.19,

RE: Apache mod_jk and Tomcat not working correctly

2008-10-26 Thread Martin Gainty
AIL PROTECTED] > To: users@tomcat.apache.org > Subject: Re: Apache mod_jk and Tomcat not working correctly > Date: Sun, 26 Oct 2008 19:18:49 -0500 > > Apache is suppose to serve /dwr-examples and /dwr-examples/dwr just not any > jsp or jspx that is called for > > > Ali

RE: Apache mod_jk and Tomcat not working correctly

2008-10-26 Thread Martin Gainty
content contained within this transmission. > Date: Mon, 27 Oct 2008 00:40:27 +0100 > From: [EMAIL PROTECTED] > To: users@tomcat.apache.org > Subject: Re: Apache mod_jk and Tomcat not working correctly > > It's maybe your own fault if you get lost : do not post new messages

Re: Apache mod_jk and Tomcat not working correctly

2008-10-26 Thread Wayne Bragg
: "Tomcat Users List" Sent: Sunday, October 26, 2008 6:36 PM Subject: Re: Apache mod_jk and Tomcat not working correctly I think your Alias at the beginning has "more priority" than your JkMount later. Not that the order in the config file matters, that's not what

Re: Apache mod_jk and Tomcat not working correctly

2008-10-26 Thread André Warnier
It's maybe your own fault if you get lost : do not post new messages with the subject of another thread. It is confusing to everyone, not just to you. Re: Tomcat Server .pac Script configuration for outgoing connection. Wayne Bragg wrote: I guess you lost me with if you want a working solu

Re: Apache mod_jk and Tomcat not working correctly

2008-10-26 Thread André Warnier
o say "not .jsp") Wayne Bragg wrote: I guess I need to add, going through http port 80 works with no errors for everything except .jsp to tomcat - Original Message - From: "Martin Gainty" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Sunday, October

Re: Apache mod_jk and Tomcat not working correctly

2008-10-26 Thread Wayne Bragg
Sent: Sunday, October 26, 2008 5:41 PM Subject: RE: Apache mod_jk and Tomcat not working correctly Please confirm this parameter in $APACHE_HOME/conf/httpd.conf Listen 80 Martin __ Disclaimer and confidentiality note Everything in this e-mail and any at

Re: Apache mod_jk and Tomcat not working correctly

2008-10-26 Thread Wayne Bragg
I guess I need to add, going through http port 80 works with no errors for everything except .jsp to tomcat - Original Message - From: "Martin Gainty" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Sunday, October 26, 2008 5:41 PM Subject: RE: Apache mod

Re: Apache mod_jk and Tomcat not working correctly

2008-10-26 Thread Wayne Bragg
Confirmed! - Original Message - From: "Martin Gainty" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Sunday, October 26, 2008 5:41 PM Subject: RE: Apache mod_jk and Tomcat not working correctly Please confirm this parameter in $APACHE_HOME/conf/ht

RE: Apache mod_jk and Tomcat not working correctly

2008-10-26 Thread Martin Gainty
nature and Sender does not endorse distribution to any party other than intended recipient. Sender does not necessarily endorse content contained within this transmission. > From: [EMAIL PROTECTED] > To: users@tomcat.apache.org > Subject: Apache mod_jk and Tomcat not working correct

Apache mod_jk and Tomcat not working correctly

2008-10-26 Thread Wayne Bragg
my setup: WinXP Home Wed-Dev install of: Apache/2.2.3 (Win32) Tomcat 5 PHP 5.2.0 I have mod_jk connector set up the following way according to instructions: Alias /dwr-examples "/www/tomcat5/webapps/dwr-examples/" Options Indexes FollowSymLinks AllowOverride None

Re: problem with mod_jk and tomcat-host downtime on solaris

2008-01-24 Thread Christian Schausberger
Rainer Jung wrote: > Christian Schausberger wrote: >> Rainer Jung wrote: >>> I would start adding a prepost_timeout. See: >>> >>> http://tomcat.apache.org/connectors-doc/generic_howto/timeouts.html >>> and >>> http://tomcat.apache.org/connectors-doc/reference/workers.html >>> >> Maybe I misundersto

Re: problem with mod_jk and tomcat-host downtime on solaris

2008-01-24 Thread Rainer Jung
Christian Schausberger wrote: Rainer Jung wrote: I would start adding a prepost_timeout. See: http://tomcat.apache.org/connectors-doc/generic_howto/timeouts.html and http://tomcat.apache.org/connectors-doc/reference/workers.html Maybe I misunderstood this directive. connect_timeout only appli

Re: problem with mod_jk and tomcat-host downtime on solaris

2008-01-23 Thread Christian Schausberger
Rainer Jung wrote: > I would start adding a prepost_timeout. See: > > http://tomcat.apache.org/connectors-doc/generic_howto/timeouts.html > and > http://tomcat.apache.org/connectors-doc/reference/workers.html > Maybe I misunderstood this directive. connect_timeout only applies after the TCP connect

Re: problem with mod_jk and tomcat-host downtime on solaris

2008-01-23 Thread Rainer Jung
Christian Schausberger wrote: Hi, I use apache-2.2.4 together with mod_jk-1.2.25 to load balance a bunch of tomcat-5.5.25 servers. All servers are running on Solaris 10 and are implemented as zones. The setup works really good during normal operation. But when a server dies for some reason, and

problem with mod_jk and tomcat-host downtime on solaris

2008-01-23 Thread Christian Schausberger
Hi, I use apache-2.2.4 together with mod_jk-1.2.25 to load balance a bunch of tomcat-5.5.25 servers. All servers are running on Solaris 10 and are implemented as zones. The setup works really good during normal operation. But when a server dies for some reason, and with it the zones running tomca

Re: mod_jk and Tomcat

2006-08-29 Thread Eugeny N Dzhurinsky
Thank you all for helping, I found the issue was related to SELinux, which simply needs to be disabled or altered (I just disabled it - and everything started to work) -- Eugene N Dzhurinsky - To start a new topic, e-mail: users

Re: mod_jk and Tomcat

2006-08-28 Thread Mark Thomas
Eugeny N Dzhurinsky wrote: > On Mon, Aug 28, 2006 at 10:07:18AM -0400, David Smith wrote: >> What does the connector for port 8009 look like in your server.xml? >> Does it specify protcol="AJP/1.3"? > > port="8009" minProcessors="5" maxProcessors="75" > acceptCount="10" debug="0" connec

Re: mod_jk and Tomcat

2006-08-28 Thread Eugeny N Dzhurinsky
On Mon, Aug 28, 2006 at 10:56:41AM -0400, David Smith wrote: > Could be. Software like Symantec Client Firewall tend to operate per > application. You'd get access, but maybe apache httpd was configured to > be denied access. There is no firewall installed at all. And su -m apache -c 'telne

Re: mod_jk and Tomcat

2006-08-28 Thread David Smith
Could be. Software like Symantec Client Firewall tend to operate per application. You'd get access, but maybe apache httpd was configured to be denied access. --David Eugeny N Dzhurinsky wrote: I found error code 13 is ./asm/errno.h:#define EACCES 13 /* Permission denied *

Re: mod_jk and Tomcat

2006-08-28 Thread Eugeny N Dzhurinsky
I found error code 13 is ./asm/errno.h:#define EACCES 13 /* Permission denied */ could tha mean mod_jk simply isn't allowed to connect to port 8009? -- Eugene N Dzhurinsky - To start a new topic, e-mail: users@

Re: mod_jk and Tomcat

2006-08-28 Thread Eugeny N Dzhurinsky
I upgraded to mod_jk 1.2.18 and still face the same error: [Mon Aug 28 22:45:04 2006] [25415:26304] [debug] map_uri_to_worker::jk_uri_worker_map.c (520): Attempting to map context URI '/user/*' [Mon Aug 2

Re: mod_jk and Tomcat

2006-08-28 Thread Eugeny N Dzhurinsky
On Mon, Aug 28, 2006 at 10:13:55AM -0400, Steve Ochani wrote: > > tcpdump shows me that there is NO attemts to make connection to host > > 127.0.0.1 and port 8009 from within mod_jk, but if I do telnet > > 127.0.0.1 8009 - it works fine. > > > > Really strange > > > > Operating system is Fedora c

Re: mod_jk and Tomcat

2006-08-28 Thread Steve Ochani
On 28 Aug 2006 at 17:01, Eugeny N Dzhurinsky wrote: > tcpdump shows me that there is NO attemts to make connection to host > 127.0.0.1 and port 8009 from within mod_jk, but if I do telnet > 127.0.0.1 8009 - it works fine. > > Really strange > > Operating system is Fedora core 4, > and installe

Re: mod_jk and Tomcat

2006-08-28 Thread Eugeny N Dzhurinsky
On Mon, Aug 28, 2006 at 10:07:18AM -0400, David Smith wrote: > What does the connector for port 8009 look like in your server.xml? > Does it specify protcol="AJP/1.3"? it's tomcat 4.1.xx -- Eugene N Dzhurinsky - To start a

Re: mod_jk and Tomcat

2006-08-28 Thread David Smith
What does the connector for port 8009 look like in your server.xml? Does it specify protcol="AJP/1.3"? --David Eugeny N Dzhurinsky wrote: Hello! I'm trying to move Tomcat with it's web-applications from one server to another, and I facing weird problem: I copied working configurations for

Re: mod_jk and Tomcat

2006-08-28 Thread Eugeny N Dzhurinsky
tcpdump shows me that there is NO attemts to make connection to host 127.0.0.1 and port 8009 from within mod_jk, but if I do telnet 127.0.0.1 8009 - it works fine. Really strange Operating system is Fedora core 4, and installed software: jdk1.5.0_07, mod_jk-1.2.6-3jpp_4fc, httpd-2.0.54-10.4 --

Re: mod_jk and Tomcat

2006-08-28 Thread Eugeny N Dzhurinsky
netstat -lp | grep 8009 gives me tcp0 0 *:8009 *:* LISTEN 17119/java -- Eugene N Dzhurinsky - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional c

mod_jk and Tomcat

2006-08-28 Thread Eugeny N Dzhurinsky
Hello! I'm trying to move Tomcat with it's web-applications from one server to another, and I facing weird problem: I copied working configurations for tomcat, mod_jk and httpd, but in mod_jk.log I can see this: [Mon Aug 28 21:35:39 2006] [jk_uri_worker_map.c (459)]: Attempting to map URI '/us

Re: Apache, mod_jk and Tomcat looses sessions

2006-08-07 Thread Pid
are you rewriting the URLs in each of the pages to maintain the session? each URL should get modified as a result: /path/to/file.jsp;jsessiond=00?q=param what's your jk config? (unless i've missed something, and given that most people seem to get this to work OK, it's probably a problem

RE: Apache, mod_jk and Tomcat looses sessions

2006-08-07 Thread Markus
Markus wrote on Monday, July 31, 2006 5:39 PM: > Markus wrote on Monday, July 31, 2006 5:34 PM: >> I've got the following problem on one server using Apache 2.0.54-5 >> (Debian x86) with mod_jk 1.2.15 (self-compiled) and tomcat 5.5.17: I try >> to >> create a redirect to a page with a session-id i

RE: Apache, mod_jk and Tomcat looses sessions

2006-07-31 Thread Markus Meissner
Christopher Schultz wrote on Monday, July 31, 2006 11:55 PM: >>> Some part of your logic is missing: you do not have a case where it >>> is known that you MUST create a session. Therefore, you never create >>> a session. Your code tries and tries again (redirecting continuously) >>> but never creat

Re: Apache, mod_jk and Tomcat looses sessions

2006-07-31 Thread Christopher Schultz
Markus, >> Some part of your logic is missing: you do not have a case where it is >> known that you MUST create a session. Therefore, you never create a >> session. Your code tries and tries again (redirecting continuously) but >> never creates a session because you are not handling the case where

RE: Apache, mod_jk and Tomcat looses sessions

2006-07-31 Thread Markus
Christopher Schultz wrote on Monday, July 31, 2006 10:08 PM: > Markus, > > If the session is mandatory, I recommend changing: > > request.getSession(false) > to > request.getSession(true) Thanks for your quick answer. The problem I want to solve is only to cr

Re: Apache, mod_jk and Tomcat looses sessions

2006-07-31 Thread Christopher Schultz
Markus, If the session is mandatory, I recommend changing: request.getSession(false) to request.getSession(true) >>> Thanks for your quick answer. The problem I want to solve is only to >>> create a session if it is really needed, so #redirectToURLWithSID is a >>>

RE: Apache, mod_jk and Tomcat looses sessions

2006-07-31 Thread Markus
Christopher Schultz wrote on Monday, July 31, 2006 9:54 PM: >>> If the session is mandatory, I recommend changing: >>> >>> request.getSession(false) >>> to >>> request.getSession(true) >> >> Thanks for your quick answer. The problem I want to solve is only to >> create a session if it is

Re: Apache, mod_jk and Tomcat looses sessions

2006-07-31 Thread Christopher Schultz
Markus, >> If the session is mandatory, I recommend changing: >> >> request.getSession(false) >> to >> request.getSession(true) > > Thanks for your quick answer. The problem I want to solve is only to create > a session if it is really needed, so #redirectToURLWithSID is a little bit > mo

RE: Apache, mod_jk and Tomcat looses sessions

2006-07-31 Thread Markus
Christopher Schultz wrote on Monday, July 31, 2006 6:42 PM: > Markus, > >>> I try to create a redirect to a page with a session-id if there is no >>> session. Seems to be easy, but in combination with apache/mod_jk my >>> servlet redirects unlimited because it doesn't recognizes the created >>> se

Re: Apache, mod_jk and Tomcat looses sessions

2006-07-31 Thread Christopher Schultz
Markus, >> I try to create a redirect to a page with a session-id if there is >> no session. Seems to be easy, but in combination with apache/mod_jk >> my servlet redirects unlimited because it doesn't recognizes the >> created session. >> >> Btw: Cookies are disabled, this is important. It look

RE: Apache, mod_jk and Tomcat looses sessions

2006-07-31 Thread Markus
Markus wrote on Monday, July 31, 2006 5:34 PM: > I've got the following problem on one server using Apache 2.0.54-5 (Debian > x86) with mod_jk 1.2.15 (self-compiled) and tomcat 5.5.17: I try to > create a redirect to a page with a session-id if there is no session. > Seems to be easy, but in combin

Apache, mod_jk and Tomcat looses sessions

2006-07-31 Thread Markus
Hi, I've got the following problem on one server using Apache 2.0.54-5 (Debian x86) with mod_jk 1.2.15 (self-compiled) and tomcat 5.5.17: I try to create a redirect to a page with a session-id if there is no session. Seems to be easy, but in combination with apache/mod_jk my servlet redirects unli

Loosing session using apache 1.3.26-0woody6, mod_jk and tomcat 5.5.9

2005-11-05 Thread Markus Meissner
Hi, I have the problem that the session-id response.encodeURL adds seems not to be vaild as on every retry I get a new session-id. That occurres only if I set up the Context with cookies="false" using mod_jk and apache before tomcat. Details: Using tomcat 5.5.9 over port 8080 behaves as expecte