Re: From HTTP to HTTPS request.getHeader(referer)

2014-11-04 Thread Léa Massiot
Hi, Christopher Schultz wrote: If you want to switch protocols I don't think I want that... but maybe I do not understand properly what you mean... For the webapp I've been considering in that thread, I would like Tomcat to serve pages only via HTTPS. I do not want some pages to be served via

RE: Separation of CATALINA_HOME and CATALINA_BASE

2014-11-04 Thread vince.webb
-Original Message- From: Mark Thomas [mailto:ma...@apache.org] Sent: 03 November 2014 20:51 To: Tomcat Users List Subject: Re: Separation of CATALINA_HOME and CATALINA_BASE On 03/11/2014 19:38, vince.w...@thomsonreuters.com wrote: snip/ Yes, I've read RUNNING.TXT and I'm

Re: Separation of CATALINA_HOME and CATALINA_BASE

2014-11-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Neven, On 11/3/14 6:42 PM, Neven Cvetkovic wrote: Vince, the current configuration works great: 1) If you are a newbie administrator you are going to use easy-to-use-newbie-friendly configuration. It will get you started, it will get your

Re: Separation of CATALINA_HOME and CATALINA_BASE

2014-11-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Neven, On 11/3/14 6:58 PM, Neven Cvetkovic wrote: On Mon, Nov 3, 2014 at 6:42 PM, Neven Cvetkovic neven.cvetko...@gmail.com wrote: SLIGHTLY-OFFTOPIC: Although, I would love to see out-of-box setup for additional shared-lib folder,

Re: From HTTP to HTTPS request.getHeader(referer)

2014-11-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Léa, On 11/4/14 5:46 AM, Léa Massiot wrote: Christopher Schultz wrote: If you want to switch protocols I don't think I want that... but maybe I do not understand properly what you mean... For the webapp I've been considering in that thread, I

Re: Separation of CATALINA_HOME and CATALINA_BASE

2014-11-04 Thread Leo Donahue
On Tue, Nov 4, 2014 at 9:37 AM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Neven, On 11/3/14 6:42 PM, Neven Cvetkovic wrote: Vince, the current configuration works great: SLIGHTLY-OFFTOPIC: Although, I would love to see

Re: Separation of CATALINA_HOME and CATALINA_BASE

2014-11-04 Thread Mark Eggers
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chris, On 11/3/2014 3:08 PM, Christopher Schultz wrote: Mark, On 11/3/14 5:46 PM, Mark Eggers wrote: One of the issues I did run into when using tcnative-1.dll is that I got the following error message: 12.0.0.1 is not a recognized command,

Re: Separation of CATALINA_HOME and CATALINA_BASE

2014-11-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Leo, On 11/4/14 10:46 AM, Leo Donahue wrote: On Tue, Nov 4, 2014 at 9:37 AM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Neven, On 11/3/14 6:42 PM, Neven Cvetkovic wrote:

SSL acceleration

2014-11-04 Thread Anthony Bonafide
Hello All, I am using a third party load balancer which accepts HTTPS connections, decrypts them and sends the unencrypted connection to Tomcat(SSL Acceleration). I am currently using tomcat 5 and I am in the process of upgrading to Tomcat 7. I am having an issue setting up Tomcat7 to accept the

Re: SSL acceleration

2014-11-04 Thread Daniel Mikusa
On Tue, Nov 4, 2014 at 11:47 AM, Anthony Bonafide bonafideanth...@gmail.com wrote: Hello All, I am using a third party load balancer which accepts HTTPS connections, decrypts them and sends the unencrypted connection to Tomcat(SSL Acceleration). I am currently using tomcat 5 and I am in the

Re: Separation of CATALINA_HOME and CATALINA_BASE

2014-11-04 Thread Leo Donahue
On Tue, Nov 4, 2014 at 10:36 AM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Leo, On 11/4/14 10:46 AM, Leo Donahue wrote: On Tue, Nov 4, 2014 at 9:37 AM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN

Re: Separation of CATALINA_HOME and CATALINA_BASE

2014-11-04 Thread Neven Cvetkovic
Thanks Chris! On Tue, Nov 4, 2014 at 10:41 AM, Christopher Schultz ch...@christopherschultz.net wrote: I guess, it's easy to add new directories to TOMCAT/conf/catalina.properties file: common.loader=

Re: Separation of CATALINA_HOME and CATALINA_BASE

2014-11-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Neven, On 11/4/14 1:05 PM, Neven Cvetkovic wrote: Thanks Chris! On Tue, Nov 4, 2014 at 10:41 AM, Christopher Schultz ch...@christopherschultz.net wrote: I guess, it's easy to add new directories to TOMCAT/conf/catalina.properties file:

Re: SSL acceleration

2014-11-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Daniel, On 11/4/14 12:02 PM, Daniel Mikusa wrote: On Tue, Nov 4, 2014 at 11:47 AM, Anthony Bonafide bonafideanth...@gmail.com wrote: Hello All, I am using a third party load balancer which accepts HTTPS connections, decrypts them and

PID file locked on Windows 2008 system

2014-11-04 Thread Anil Ambati
Hi, We have a requirement to read the PID file created by the Tomcat server process on Windows, but we are not able to using RandomAccessFile or FileInputStream because the file seems to be locked by the Tomcat process. Why does the Tomcat server keep the PID file locked, preventing other

Re: PID file locked on Windows 2008 system

2014-11-04 Thread David kerber
On 11/4/2014 2:58 PM, Anil Ambati wrote: Hi, We have a requirement to read the PID file created by the Tomcat server process on Windows, but we are not able to using RandomAccessFile or FileInputStream because the file seems to be locked by the Tomcat process. What is the PID file? The only

Re: PID file locked on Windows 2008 system

2014-11-04 Thread Anil Ambati
I was referring to the .pid file Tomcat server creates in the logs directory. This file contains the process ID of the Tomcat process. Regards, Anilkumar Ambati 4205 S Miami Blvd WebSphere Virtual Enterprise Development Durham, 27703-9141 Phone: +1-919-254-6152 USA Mobile: +1-919-434-5674

Re: PID file locked on Windows 2008 system

2014-11-04 Thread David kerber
On 11/4/2014 4:21 PM, Anil Ambati wrote: I was referring to the .pid file Tomcat server creates in the logs directory. This file contains the process ID of the Tomcat process. What version of Tomcat, Windows, and Java are you using? My 7.0.54 doesn't seem to create that file anywhere in the

Re: PID file locked on Windows 2008 system

2014-11-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Anil, On 11/4/14 2:58 PM, Anil Ambati wrote: We have a requirement to read the PID file created by the Tomcat server process on Windows, but we are not able to using RandomAccessFile or FileInputStream because the file seems to be locked by the

Re: PID file locked on Windows 2008 system

2014-11-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Anil, On 11/4/14 5:25 PM, Christopher Schultz wrote: Anil, On 11/4/14 2:58 PM, Anil Ambati wrote: We have a requirement to read the PID file created by the Tomcat server process on Windows, but we are not able to using RandomAccessFile or

Re: PID file locked on Windows 2008 system

2014-11-04 Thread David kerber
On 11/4/2014 5:25 PM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Anil, On 11/4/14 2:58 PM, Anil Ambati wrote: We have a requirement to read the PID file created by the Tomcat server process on Windows, but we are not able to using RandomAccessFile or

Trying to filter noise from catalina.out.

2014-11-04 Thread Brandon Darbro
Looking for configuration help. Using tomcat7 7.0.34 from rpm package tomcat7-7.0.34-3.jpp6.noarch. Followed the instructions for using log4j for catalina.out found here: http://tomcat.apache.org/tomcat-7.0-doc/logging.html#Using_Log4j Took the example log4j.properties file from the

Re: PID file locked on Windows 2008 system

2014-11-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 David, On 11/4/14 5:54 PM, David kerber wrote: On 11/4/2014 5:25 PM, Christopher Schultz wrote: Anil, On 11/4/14 2:58 PM, Anil Ambati wrote: We have a requirement to read the PID file created by the Tomcat server process on Windows, but we

Re: PID file locked on Windows 2008 system

2014-11-04 Thread Anil Ambati
7.0.56 To make Tomcat to create a pid file , you need to specify name of the file in the Tomcat 7 properties window (To open this window select, Configure Tomcat menu option in the Windows Start menu) Regards, Anilkumar Ambati 4205 S Miami Blvd WebSphere Virtual Enterprise Development

Re: PID file locked on Windows 2008 system

2014-11-04 Thread Anil Ambati
Hi Chris, Thanks for the response. How can I ask procrun folks about the options? Is there another news group? Sorry , I am new to Tomcat. Regards, Anilkumar Ambati 4205 S Miami Blvd WebSphere Virtual Enterprise Development Durham, 27703-9141 Phone: +1-919-254-6152 USA Mobile:

Re: From HTTP to HTTPS request.getHeader(referer)

2014-11-04 Thread Terence M. Bandoian
On 11/4/2014 4:46 AM, Léa Massiot wrote: Hi, Terence M. Bandoian wrote: I'm not sure how you're using it but it's worth pointing out that response.sendRedirect Sends a temporary redirect response to the client... The client (browser) must then send another request to the server before any

Re: PID file locked on Windows 2008 system

2014-11-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Anil, On 11/4/14 6:27 PM, Anil Ambati wrote: Thanks for the response. How can I ask procrun folks about the options? Is there another news group? Sorry , I am new to Tomcat. Yes, you'll want to post to the commons users mailing list:

so many thread are blocked

2014-11-04 Thread bo zhao
I used command jstack to dump threads of tomcat, and I found that 183 threads are blocked, why? thread dump like this: Deadlock Detection: No deadlocks found. Thread 2584: (state = BLOCKED) - java.lang.Object.wait(long) @bci=0 (Compiled frame; information may be imprecise) -

RE: so many thread are blocked

2014-11-04 Thread Caldarale, Charles R
From: bo zhao [mailto:somany...@gmail.com] Subject: so many thread are blocked I used command jstack to dump threads of tomcat, and I found that 183 threads are blocked, why? They're waiting for something to do. When a request arrives, a waiting thread will be activated to process it.

RE: Tomcat server starting problem -- GET /cgi-bin/im0dcsr9/b2b_index.jsp?dpAuthProxyStatus=Fail HTTP/1.1 500 539

2014-11-04 Thread Goli, Ravi (FKN) - contr
When I try to start the tomcat by running the httpd. I get the below internal server error displayed on the console. In the access log the below highlighted is all I see. I do not understand yet, what the issue is. It was all working good. I am having a sofea (kind of angularJs based