Tomcat response

2013-03-26 Thread Dhaval Jaiswal
Sometime i am facing an issue with the tomcat response. Tomcat not responding to the httpd web server. Is there any tool or way wherein i can check the response of the tomcat through sessionid or some other method.

Re: Can ClientAbortException be circumvented?

2013-03-26 Thread Howard W. Smith, Jr.
On Tue, Mar 26, 2013 at 8:42 PM, Howard W. Smith, Jr. < smithh032...@gmail.com> wrote: > Chris, > > On Tue, Mar 26, 2013 at 4:00 PM, Christopher Schultz < > ch...@christopherschultz.net> wrote: > >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA256 >> >> Howard, >> >> On 3/25/13 11:54 AM, Howard

Re: Can ClientAbortException be circumvented?

2013-03-26 Thread Howard W. Smith, Jr.
Chris, On Tue, Mar 26, 2013 at 4:00 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Howard, > > On 3/25/13 11:54 AM, Howard W. Smith, Jr. wrote: > > Test and results: > > > > clicked Download button, PDF downloaded to Google N

how to monitor the traffic through the connector

2013-03-26 Thread a
Hi, I have defined a connector for port80. For example, Is there any way to monitor the statistics that get throught the port? I need to log when the requst is fail, and I need to know the number of threads is consumed when the request is fail. Thanks --

Re: Tomcat 7.0.33 - 502 to HTTP Gateway (Traffic Server) on Long Running Requests

2013-03-26 Thread Giles
On 26 March 2013 20:44, Jacob Lloyd wrote: > --- > ISSUE DETAILS: > --- > > My Tomcat 7 web app is fronted by a HTTP gateway (apache traffic server) > that provides caching\OAuth authentication etc. > > My REST\JSON AP

Re: Internationalizing a TC webapp

2013-03-26 Thread David kerber
On 3/26/2013 4:57 PM, Caldarale, Charles R wrote: From: David kerber [mailto:dcker...@verizon.net] Subject: Internationalizing a TC webapp I need to add language translations to my webapp, and am wondering what the standard or preferred way to store and retrieve the phrases is. Is it typicall

RE: Internationalizing a TC webapp

2013-03-26 Thread Caldarale, Charles R
> From: David kerber [mailto:dcker...@verizon.net] > Subject: Internationalizing a TC webapp > I need to add language translations to my webapp, and am wondering what > the standard or preferred way to store and retrieve the phrases is. Is > it typically done in a database, a resource file, or

Internationalizing a TC webapp

2013-03-26 Thread David kerber
This is only peripherally related to tomcat, but it runs in TC 6.0.2x (don't recall the exact version, and I don't think it matters in this particular case). I need to add language translations to my webapp, and am wondering what the standard or preferred way to store and retrieve the phrases

Re: runtime.exec "cmd.exe /C net use"

2013-03-26 Thread Patrick Flaherty
On Mar 26, 2013, at 4:07 PM, André Warnier wrote: Patrick Flaherty wrote: On Mar 25, 2013, at 1:15 PM, Howard W. Smith, Jr. wrote: On Mon, Mar 25, 2013 at 11:14 AM, Patrick Flaherty wrote: Update: If I'm login interactively (meaning machine boots and I login and get my desktop) and that in

Tomcat 7.0.33 - 502 to HTTP Gateway (Traffic Server) on Long Running Requests

2013-03-26 Thread Jacob Lloyd
--- ISSUE DETAILS: --- My Tomcat 7 web app is fronted by a HTTP gateway (apache traffic server) that provides caching\OAuth authentication etc. My REST\JSON API web app hosted in Tomcat 7 is retrieving database data a

Re: Adding Content-Length response header

2013-03-26 Thread Nick Williams
On Mar 26, 2013, at 3:15 PM, Christopher Schultz wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Konstantin, > > On 3/26/13 11:08 AM, Konstantin Kolinko wrote: >> 2013/3/26 Christopher Schultz : >>> >>> Like most folks on the list, I have quite a few dynamic >>> resources being

Re: [tomcat 5.5.26] why are not all log4j.properties files parsed

2013-03-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Josef, On 3/26/13 12:20 PM, Stadelmann Josef wrote: > we have multiple applications deployed as war files into tomcat > webapps. > > each apps has its class directory among a lib directory Can you explain that in more detail? I do not understand..

Re: Adding Content-Length response header

2013-03-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Konstantin, On 3/26/13 11:08 AM, Konstantin Kolinko wrote: > 2013/3/26 Christopher Schultz : >> >> Like most folks on the list, I have quite a few dynamic >> resources being served through Tomcat. For nearly all of them, >> the Content-Length respo

Re: runtime.exec "cmd.exe /C net use"

2013-03-26 Thread Terence M. Bandoian
On 3/26/2013 8:40 AM, chris derham wrote: This thread has been going on for some time now, but why are you using drive letters? Can't you just use unc paths and remove all of these issues you are having? I searched the thread for UNC and can't see that this was asked, but seems like a sensible qu

Re: Change Root app Tomcat 7

2013-03-26 Thread Mark Eggers
On 3/26/2013 1:05 PM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mark, On 3/25/13 2:21 PM, Mark Eggers wrote: Finally, since you're using Apache HTTPD in front of your Apache Tomcat, you could use a Redirect directive in httpd.conf to accomplish your goal. +1

Re: Encoding Problem

2013-03-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Ayush, On 3/26/13 5:07 AM, Cool Techi wrote: > encodingFilter > org.springframework.web.filter.CharacterEncodingFilter > > > encoding UTF-8 > forceEncoding > true I would highly recommend against setting forceEncoding=true... this will ca

Re: Tomcat Native

2013-03-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Amit, On 3/25/13 9:20 PM, Amit A wrote: > Hello, Tomcat Native have the same code base as the latest stable > Tomcat release? Can you ask your question in a different way? It's tough to tell what you are actually asking. Tomcat's "native" library

Re: runtime.exec "cmd.exe /C net use"

2013-03-26 Thread André Warnier
Patrick Flaherty wrote: On Mar 25, 2013, at 1:15 PM, Howard W. Smith, Jr. wrote: On Mon, Mar 25, 2013 at 11:14 AM, Patrick Flaherty wrote: Update: If I'm login interactively (meaning machine boots and I login and get my desktop) and that interactive account matches the service login account

Re: Change Root app Tomcat 7

2013-03-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mark, On 3/25/13 2:21 PM, Mark Eggers wrote: > Finally, since you're using Apache HTTPD in front of your Apache > Tomcat, you could use a Redirect directive in httpd.conf to > accomplish your goal. +1 > Something like the following might work: >

Re: Can ClientAbortException be circumvented?

2013-03-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Howard, On 3/25/13 11:54 AM, Howard W. Smith, Jr. wrote: > Test and results: > > clicked Download button, PDF downloaded to Google Nexus 7 (Google > Chrome browser, of course), showed up in notifications, instead of > PDF Viewer app, I selected to

Re: Can ClientAbortException be circumvented?

2013-03-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Thad, Coming a little late to the party... On 3/24/13 4:30 PM, Thad Humphries wrote: > I have a web-app that uses a servlet for downloading files from a > repository--PDF, Office, images, zip, etc. It works with desktop > browsers--IE, Firefox, C

Re: [tomcat 5.5.26] why are not all log4j.properties files parsed

2013-03-26 Thread Mark Eggers
On 3/26/2013 9:20 AM, Stadelmann Josef wrote: we have multiple applications deployed as war files into tomcat webapps. each apps has its class directory among a lib directory we use log4j-1.6 and so each web apps/web-inf/classes has its log4j.properties file what we do not understand is the or

[tomcat 5.5.26] why are not all log4j.properties files parsed

2013-03-26 Thread Stadelmann Josef
we have multiple applications deployed as war files into tomcat webapps. each apps has its class directory among a lib directory we use log4j-1.6 and so each web apps/web-inf/classes has its log4j.properties file what we do not understand is the order in which tomcat deployes the several web app

Re: Adding Content-Length response header

2013-03-26 Thread Konstantin Kolinko
2013/3/26 Christopher Schultz : > > Like most folks on the list, I have quite a few dynamic resources > being served through Tomcat. For nearly all of them, the > Content-Length response header is /not/ included in the response > because either content length isn't known when the response is > comm

Adding Content-Length response header

2013-03-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 All, Like most folks on the list, I have quite a few dynamic resources being served through Tomcat. For nearly all of them, the Content-Length response header is /not/ included in the response because either content length isn't known when the respo

RE: runtime.exec "cmd.exe /C net use"

2013-03-26 Thread Jeffrey Janner
> -Original Message- > From: Patrick Flaherty [mailto:pflah...@rampageinc.com] > Sent: Monday, March 25, 2013 7:06 PM > To: Tomcat Users List > Subject: Re: runtime.exec "cmd.exe /C net use" > > > On Mar 25, 2013, at 7:13 PM, Harris, Jeffrey E. wrote: > > > > > > >> -Original Message

Re: runtime.exec "cmd.exe /C net use"

2013-03-26 Thread Howard W. Smith, Jr.
On Tue, Mar 26, 2013 at 9:40 AM, chris derham wrote: > I searched the thread for UNC and can't see that this was asked, but seems > like a sensible question. > > Jeffrey was the first to respond and that was asked in his first response. :)

Re: runtime.exec "cmd.exe /C net use"

2013-03-26 Thread chris derham
This thread has been going on for some time now, but why are you using drive letters? Can't you just use unc paths and remove all of these issues you are having? I searched the thread for UNC and can't see that this was asked, but seems like a sensible question. HTH Chris ---

Re: runtime.exec "cmd.exe /C net use"

2013-03-26 Thread Howard W. Smith, Jr.
On Tue, Mar 26, 2013 at 9:25 AM, Harris, Jeffrey E. < jeffrey.har...@mantech.com> wrote: > > > > -Original Message- > > From: Howard W. Smith, Jr. [mailto:smithh032...@gmail.com] > > Sent: Tuesday, March 26, 2013 9:03 AM > > To: Tomcat Users List > > Subject: Re: runtime.exec "cmd.exe /C n

RE: runtime.exec "cmd.exe /C net use"

2013-03-26 Thread Harris, Jeffrey E.
> -Original Message- > From: Howard W. Smith, Jr. [mailto:smithh032...@gmail.com] > Sent: Tuesday, March 26, 2013 9:03 AM > To: Tomcat Users List > Subject: Re: runtime.exec "cmd.exe /C net use" > > On Tue, Mar 26, 2013 at 8:40 AM, Harris, Jeffrey E. < > jeffrey.har...@mantech.com> wrote:

Re: runtime.exec "cmd.exe /C net use"

2013-03-26 Thread Howard W. Smith, Jr.
On Tue, Mar 26, 2013 at 8:40 AM, Harris, Jeffrey E. < jeffrey.har...@mantech.com> wrote: > > > If you buy a terminal server license, then the cap on two users is removed > (to the limit > specified in the terminal server license), and any users can log in > remotely. > > That's exactly right. In

RE: runtime.exec "cmd.exe /C net use"

2013-03-26 Thread Harris, Jeffrey E.
> -Original Message- > From: Patrick Flaherty [mailto:pflah...@rampageinc.com] > Sent: Monday, March 25, 2013 8:06 PM > To: Tomcat Users List > Subject: Re: runtime.exec "cmd.exe /C net use" > > > On Mar 25, 2013, at 7:13 PM, Harris, Jeffrey E. wrote: > > > After the the drives are mapped

RE: Encoding Problem

2013-03-26 Thread Cool Techi
This is unfortunately happening in our production server and not on or local servers, hence debugging has become more difficult. On local servers everything is working fine, both POST and GET requests. Regards, Ayush > Date: Tue, 26 Mar 2013 14:16:24 +0400 > Subject: Re: Encoding Problem > From

Re: Tomcat 6 centos 5 64 Bit

2013-03-26 Thread Ognjen Blagojevic
Sean, Mark, On 26.3.2013 10:16, Mark Thomas wrote: On 26/03/2013 08:55, Ognjen Blagojevic wrote: Sean, On 26.3.2013 4:14, Sean wrote: Hello, I have setup tomcat6 on port 8080 using 64 bit- Centos 5. I am able to see the default tomcat page, but if I try to go to the webadmin gui (and yes have

Re: Encoding Problem

2013-03-26 Thread Konstantin Kolinko
2013/3/26 Cool Techi : > 1. What is your and in what place in filters chain does you > filter stand. (Order matters here. If anything calls getParameter() before > you filter, parameter decoding happens and you are busted). > > It is the first in the list of filters. > > 2. What kind of request

RE: Encoding Problem

2013-03-26 Thread Cool Techi
1. What is your and in what place in filters chain does you filter stand. (Order matters here. If anything calls getParameter() before you filter, parameter decoding happens and you are busted). It is the first in the list of filters. 2. What kind of request fails, POST or GET or both? POST i

Re: Tomcat 6 centos 5 64 Bit

2013-03-26 Thread Mark Thomas
On 26/03/2013 08:55, Ognjen Blagojevic wrote: > Sean, > > On 26.3.2013 4:14, Sean wrote: >> Hello, I have setup tomcat6 on port 8080 using 64 bit- Centos 5. I am >> able to see the default tomcat page, but if I try to go to the webadmin >> gui (and yes have set my gui-web admin user, etc in server

Re: Encoding Problem

2013-03-26 Thread Konstantin Kolinko
2013/3/26 Cool Techi : > > We are working with multiple languages and Korean being one > of them, in our application we have set up encoding both at tomcat level > and also spring filter for encoding, but for some reason when we do a > request.getParameter in our Struts2 action class we re

Encoding Problem

2013-03-26 Thread Cool Techi
We are working with multiple languages and Korean being one of them, in our application we have set up encoding both at tomcat level and also spring filter for encoding, but for some reason when we do a request.getParameter in our Struts2 action class we receive only ??. Tomcat Encodin

Re: Tomcat 6 centos 5 64 Bit

2013-03-26 Thread Ognjen Blagojevic
Sean, On 26.3.2013 4:14, Sean wrote: Hello, I have setup tomcat6 on port 8080 using 64 bit- Centos 5. I am able to see the default tomcat page, but if I try to go to the webadmin gui (and yes have set my gui-web admin user, etc in server.xml) and or geoserver web app it says connection timed out