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 architectu

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

so many thread are blocked

2014-11-04 Thread bo zhao
I used command 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) - java.lang.Object.wait()

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: http://com

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 a

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: +1-919-434

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 Durh

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,

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 instructions

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 FileInputSt

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

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

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 f

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

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 pr

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 > > wrote: > >> Hello All, >> >> I am using a third party load balancer which accepts HTTPS >> connections, decrypts them and sends the unencrypt

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

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= > > > ${catalina.base}/lib,${catalina.base}/lib/*.jar,${catalina.home}/lib,${

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

Re: SSL acceleration

2014-11-04 Thread Daniel Mikusa
On Tue, Nov 4, 2014 at 11:47 AM, Anthony Bonafide 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 process of > upgradin

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 c

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 Cvetkov

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

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

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

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 > wrote: > >> >> SLIGHTLY-OFFTOPIC: >> >> Although, I would love to see out-of-box setup for additional >> shared-lib folder, something other tha

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 y

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: > > > > > Yes, I've read RUNNING.TXT and

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