Re: mod_jk how to add JK_WORKER_NAME to http-header

2013-02-26 Thread Rainer Jung
On 26.02.2013 19:41, Jochen Wißmann wrote: > Hello, > > i am trying to find an easy way to determine from the http-client side, > which AJP13-worker handled my request. > So my basic idea is to use mod_header to add mod_jk`s env-variable > JK_WORKER_NAME to the Header of the http-response. > I tr

Re: Issue with Async Servlet onTimeout

2013-02-26 Thread Sumit Bhardwaj
Sure Chris, would try with 7.0.37 Thanks, Sumit On Wed, Feb 27, 2013 at 11:42 AM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Sunit, > > On 2/26/13 8:05 PM, Sumit Bhardwaj wrote: > > Hi, > > > > I am using AsyncContext for i

Re: Issue with Async Servlet onTimeout

2013-02-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Sunit, On 2/26/13 8:05 PM, Sumit Bhardwaj wrote: > Hi, > > I am using AsyncContext for implementing a file download app and > seeing issues on the timeout. I am using tomcat 7.0.23 (and have > tried on 7.0.28 as well, but seeing the issue in 28 as

Re: mod_jk how to add JK_WORKER_NAME to http-header

2013-02-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Igor, On 2/26/13 2:52 PM, Igor Cicimov wrote: > On 27/02/2013 5:42 AM, "Jochen Wißmann" > wrote: >> Header add TC-Server "%{JK_WORKER_NAME}e" > > I think this should be > > Header add TC-Server "%{JK_WORKER_NAME}n" ??! ${FOOBAR}n isn't defined..

Re: Tomcat 7 doesn't start on Windows

2013-02-26 Thread Terence M. Bandoian
On 2/26/2013 6:04 AM, Rune Stilling wrote: Hi list I have been trying to get this to work by looking a lot on similar situations around the net but nothing works. My setup is as follows: * Tomcat 7.0.37 installed via the Windows service installer package * Windows 2003 server * Java/JRE 1.7.0_

Re: mod_jk how to add JK_WORKER_NAME to http-header

2013-02-26 Thread Igor Cicimov
On 27/02/2013 10:47 AM, "Jochen Wißmann" wrote: > > On 26.02.2013 22:38, Christopher Schultz wrote: >> >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA256 >> >> Jochen, >> >> On 2/26/13 10:41 AM, Jochen Wißmann wrote: >>> >>> I tried to get something like this working: >>> >>> httpd.conf: ... He

Re: mod_jk how to add JK_WORKER_NAME to http-header

2013-02-26 Thread Igor Cicimov
On 27/02/2013 10:47 AM, "Jochen Wißmann" wrote: > > On 26.02.2013 22:38, Christopher Schultz wrote: >> >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA256 >> >> Jochen, >> >> On 2/26/13 10:41 AM, Jochen Wißmann wrote: >>> >>> I tried to get something like this working: >>> >>> httpd.conf: ... He

Re: mod_jk how to add JK_WORKER_NAME to http-header

2013-02-26 Thread Jochen Wißmann
On 26.02.2013 22:38, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jochen, On 2/26/13 10:41 AM, Jochen Wißmann wrote: I tried to get something like this working: httpd.conf: ... Header add TC-Server "%{JK_WORKER_NAME}e" This looks like it should work from my brie

Re: mod_jk how to add JK_WORKER_NAME to http-header

2013-02-26 Thread Jochen Wißmann
On 26.02.2013 23:52, Igor Cicimov wrote: On 27/02/2013 5:42 AM, "Jochen Wißmann" wrote: Hello, i am trying to find an easy way to determine from the http-client side, which AJP13-worker handled my request. So my basic idea is to use mod_header to add mod_jk`s env-variable JK_WORKER_NAME to

Re: mod_jk how to add JK_WORKER_NAME to http-header

2013-02-26 Thread Igor Cicimov
On 27/02/2013 5:42 AM, "Jochen Wißmann" wrote: > > Hello, > > i am trying to find an easy way to determine from the http-client side, which AJP13-worker handled my request. > So my basic idea is to use mod_header to add mod_jk`s env-variable JK_WORKER_NAME to the Header of the http-response. > I

Re: Tomcat 7 doesn't start on Windows

2013-02-26 Thread André Warnier
Rune Stilling wrote: Hi list I have been trying to get this to work by looking a lot on similar situations around the net but nothing works. My setup is as follows: * Tomcat 7.0.37 installed via the Windows service installer package * Windows 2003 server * Java/JRE 1.7.0_15 * Using C:\Program

Re: Tomcat6 j_security_check any parameter / sessions variable on failure?

2013-02-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Tanmoy, On 2/25/13 12:54 AM, Tanmoy Chatterjee wrote: > Hello, Tech Stack: Tomcat: 6.0.35 Java: 1.6.0_18 OS: RHEL 5.3 > > I am using j_security_check (JNDIRealm - LDAP authentication). > > On failure I am sending the user to a common error.jsp in

Re: mod_jk how to add JK_WORKER_NAME to http-header

2013-02-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jochen, On 2/26/13 10:41 AM, Jochen Wißmann wrote: > I tried to get something like this working: > > httpd.conf: ... Header add TC-Server "%{JK_WORKER_NAME}e" This looks like it should work from my brief review of the documentation. > < TC-Server

Re: Tomcat 7 doesn't start on Windows

2013-02-26 Thread Howard W. Smith, Jr.
On Tue, Feb 26, 2013 at 7:04 AM, Rune Stilling wrote: > Hi list > > I have been trying to get this to work by looking a lot on similar > situations around the net but nothing works. My setup is as follows: > > * Tomcat 7.0.37 installed via the Windows service installer package > * Windows 2003 se

Re: Tomcat6 j_security_check any parameter / sessions variable on failure?

2013-02-26 Thread Terence M. Bandoian
On 2/25/2013 2:54 AM, Tanmoy Chatterjee wrote: Hello, Tech Stack: Tomcat: 6.0.35 Java: 1.6.0_18 OS: RHEL 5.3 I am using j_security_check (JNDIRealm - LDAP authentication). On failure I am sending the user to a common error.jsp in the application. On successful authentica

mod_jk how to add JK_WORKER_NAME to http-header

2013-02-26 Thread Jochen Wißmann
Hello, i am trying to find an easy way to determine from the http-client side, which AJP13-worker handled my request. So my basic idea is to use mod_header to add mod_jk`s env-variable JK_WORKER_NAME to the Header of the http-response. I tried to get something like this working: httpd.conf:

Re: Nessus scan claims vulnerability in Tomcat 6

2013-02-26 Thread Robert Klemme
On Tue, Feb 26, 2013 at 4:04 PM, Mark Thomas wrote: > On 26/02/2013 03:09, Robert Klemme wrote: >> So one solution would be to remove APR lib from the system. > > Yes, although you will see performance for SSL drop. Yes, of course. That's not important in our case. >> export OPENSSL_NO_DEFAULT

Re: Nessus scan claims vulnerability in Tomcat 6

2013-02-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mark, On 2/26/13 7:04 AM, Mark Thomas wrote: > On 26/02/2013 03:09, Robert Klemme wrote: >> >> I found that but wasn't aware that this is actually used in >> Tomcat. > > SSLDisableCompression on the APR connector as of 7.0.37 > >>> There is no 6.

Re: tomcat-7.0.35-windows-x86 ON 64 bit UNIX

2013-02-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Deepak, On 2/25/13 10:27 PM, dku...@ccilindia.co.in wrote: > Hi, > > I have downloaded apache-tomcat-7.0.35-windows-x86.zip and runiing > it on 64 bit UNIX machine and it is working fine. Is it OK to run > x86 setup on 64 bit UNIX machine? Please r

Re: Tomcat wont allow me to create files

2013-02-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 André, On 2/26/13 12:02 AM, André Warnier wrote: > Hi. Do not top-post. Follow the example of the previous person who > answered your request. > > Elias Kopsiaftis wrote: >> >> On Mon, Feb 25, 2013 at 8:39 PM, Ben Stringer >> wrote: >> >>> >>>

Re: Nessus scan claims vulnerability in Tomcat 6

2013-02-26 Thread Mark Thomas
On 26/02/2013 03:09, Robert Klemme wrote: On Tue, Feb 26, 2013 at 2:27 AM, Mark Thomas wrote: On 25/02/2013 08:42, Robert Klemme wrote: I have been confronted with a Nessus scan result which claims vulnerability to exploit "TLS CRIME". Plugin 62565 allegedly has found this and the report sta

Tomcat 7 doesn't start on Windows

2013-02-26 Thread Rune Stilling
Hi list I have been trying to get this to work by looking a lot on similar situations around the net but nothing works. My setup is as follows: * Tomcat 7.0.37 installed via the Windows service installer package * Windows 2003 server * Java/JRE 1.7.0_15 * Using C:\Program Files\Java\jre7\bin\ser

Re: Nessus scan claims vulnerability in Tomcat 6

2013-02-26 Thread Robert Klemme
Hi Mark, thank you for the feedback! On Tue, Feb 26, 2013 at 2:27 AM, Mark Thomas wrote: > On 25/02/2013 08:42, Robert Klemme wrote: >> >> Hi there, >> >> I have been confronted with a Nessus scan result which claims >> vulnerability to exploit "TLS CRIME". Plugin 62565 allegedly has found >> th

Re: Tomcat 6 access Network drive and interact with desktop

2013-02-26 Thread ankur bajaj
On Fri, Feb 22, 2013 at 8:44 PM, André Warnier wrote: > chris derham wrote: > >> The first part (running programs which require a Window) usually doesn't, >>> because those programs are usually such that they do not work "as a >>> service". It is not usually only the fact that they need a consol

Re: tomcat-7.0.35-windows-x86 ON 64 bit UNIX

2013-02-26 Thread André Warnier
dku...@ccilindia.co.in wrote: Hi, I have downloaded apache-tomcat-7.0.35-windows-x86.zip and runiing it on 64 bit UNIX machine and it is working fine. Is it OK to run x86 setup on 64 bit UNIX machine? Please reply. Server version: Apache Tomcat/7.0.35 Server built: Jan 10 2013 10:52:49 Se

Re: Tomcat wont allow me to create files

2013-02-26 Thread André Warnier
Hi. Do not top-post. Follow the example of the previous person who answered your request. Elias Kopsiaftis wrote: On Mon, Feb 25, 2013 at 8:39 PM, Ben Stringer wrote: On 26/02/2013, at 12:14 PM, Elias Kopsiaftis wrote: I am running a webapp on Tomcat 7 and I am using log4j for logging.