Re: Notification strategy for OutOfMemoryError

2013-12-09 Thread Bill Davidson
On 12/9/2013 3:12 PM, Christopher Schultz wrote: Was it a transient error, or a chronic condition? A single thread can, for instance, spew objects into its stack or eden space exhausting memory but, when that thread hits the OOME, all those objects are freed which basically recovers from the sit

Re: Pooled Connections Lost After 10 Minutes (600 seconds)

2013-12-09 Thread Howard W. Smith, Jr.
Alec, Dan, and Chris, On Wed, Dec 4, 2013 at 1:01 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Dan, > > On 12/3/13, 12:32 PM, Daniel Mikusa wrote: > > On Dec 3, 2013, at 12:14 PM, Tomcat Random > > wrote: > > > >> I consid

Re: Notification strategy for OutOfMemoryError

2013-12-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Bill, On 12/9/13, 5:38 PM, Bill Davidson wrote: > Last week, one of my servers got an OutOfMemoryError at > approximately 1:21pm. :( It's worth pointing out that this is not a trivial issue. > My monitoring software which does a heart beat check

Re: On one particular box, Tomcat 7.0.25 runs just fine, but 7.0.47 crashes on takeoff -- some authority problem

2013-12-09 Thread James H. H. Lampert
On 12/9/13 2:51 PM, Christopher Schultz wrote: Can you confirm that qsh is telling you it can't actually run /foo/tomcat/bin/startup.sh because of a permissions problem, or is it that /foo/tomcat/bin/startup.sh *is* running and something it's trying to do is failing? Does it fail when running fr

Re: On one particular box, Tomcat 7.0.25 runs just fine, but 7.0.47 crashes on takeoff -- some authority problem

2013-12-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 James, On 12/6/13, 7:59 PM, James H. H. Lampert wrote: >> qsh: 001-0018 Error found running command >> /foo/tomcat/bin/startup.sh. Permission denied. Can you confirm that qsh is telling you it can't actually run /foo/tomcat/bin/startup.sh because o

Notification strategy for OutOfMemoryError

2013-12-09 Thread Bill Davidson
Last week, one of my servers got an OutOfMemoryError at approximately 1:21pm. My monitoring software which does a heart beat check once per minute did not notice until 3:01pm. Heart beat kept working for over an hour and a half. During that time my high capacity high availablity 24/7 applicatio

Re: seeing RemoteEndpoint.Basic BINARY_FULL_WRITING errors under load in Tomcat 7.0.48-dev (trunk)

2013-12-09 Thread Mark Thomas
On 09/12/2013 22:16, Bob DeRemer wrote: > It appears that we are getting the following IOException: > > java.io.IOException: java.util.concurrent.TimeoutException > immediately before we got the BINARY_FULL_WRITING errors. > > Would this TimeoutException be caused because the underlying socket >

Re: On one particular box, Tomcat 7.0.25 runs just fine, but 7.0.47 crashes on takeoff -- some authority problem

2013-12-09 Thread James H. H. Lampert
On 12/9/13 11:58 AM, Dan Kimmel (on the Midrange Java List) wrote: Your user needs x permission on startup.sh in order to execute it. The user draws that authority from owner, group or public which are the three groupings of rwx authorities you see, in that order (the first of the 10 characters a

RE: seeing RemoteEndpoint.Basic BINARY_FULL_WRITING errors under load in Tomcat 7.0.48-dev (trunk)

2013-12-09 Thread Bob DeRemer
> -Original Message- > From: Mark Thomas [mailto:ma...@apache.org] > Sent: Wednesday, November 27, 2013 12:59 PM > To: Tomcat Users List > Subject: Re: seeing RemoteEndpoint.Basic BINARY_FULL_WRITING errors under > load in Tomcat 7.0.48-dev (trunk) > > On 27/11/2013 17:28, Bob DeRemer wr

Re: Redirect or Forward a URL on tomcat

2013-12-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 André, On 12/9/13, 4:26 PM, André Warnier wrote: > Madison Le wrote: > > On this list, please do not top-post. See : > http://tomcat.apache.org/lists.html#tomcat-users Important - #6 > >> Hello Andre', >> >> Yes, this looks strange but this webap

Re: On one particular box, Tomcat 7.0.25 runs just fine, but 7.0.47 crashes on takeoff -- some authority problem

2013-12-09 Thread James H. H. Lampert
On 12/9/13 11:40 AM, Tim Watts wrote: What about execute permissions on /wintouch. As Chris pointed out earlier, WTADMIN must have execute permission to the top of the tree. You seem to have investigated every corner except that one. Both tomcat and tomcat.bak are subdirectories of /wintouch,

Re: session replication issue

2013-12-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Dhaval, On 12/9/13, 3:04 PM, Dhaval Jaiswal wrote: > setting of session replication worked well. However, we do have > threading in some products. Like we are hitting the target API and > getting response from there servers. If will not get the resp

Re: Exception in CoyoteAdapter class

2013-12-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 AT, On 12/9/13, 6:43 AM, at.silk wrote: > 2. What is in front of Tomcat? An Apache HTTPD server? -> Right. > > Is Apache HTTPD accessed via HTTPS? -> Right, via HTTPS > > How mod_jk is configured there? Is mod_jk configured to pass > SSL_SESSION_I

Configure Tomcat Logging Programmatically

2013-12-09 Thread Matthew Westwood-Hill
I am running Tomcat programmatically (embedded) and I wanted to configure its logging so I can track inbound request. I start Tomcat as follows: tomcat = new Tomcat(); tomcat.setBaseDir(DEFAULT_BASE_DIR); tomcat.getService().addConnector(defaultConnector); tomcat.setConnector(defaultConnec

Setting unloadDelay within embedded Tomcat

2013-12-09 Thread Matthew Westwood-Hill
I am running Tomcat embedded via something like the following code: tomcat = new Tomcat(); tomcat.setBaseDir(DEFAULT_BASE_DIR); tomcat.getService().addConnector(defaultConnector); tomcat.setConnector(defaultConnector); tomcat.init(); tomcat.start(); How do I go about setting the *unloadD

Re: Redirect or Forward a URL on tomcat

2013-12-09 Thread André Warnier
Madison Le wrote: On this list, please do not top-post. See : http://tomcat.apache.org/lists.html#tomcat-users Important - #6 Hello Andre', Yes, this looks strange but this webapp (https://ramlink.txwes.edu:8443/WebAdvisor/WebAdvisor) needs to have 2 levels down. It can have a different name a

session replication issue

2013-12-09 Thread Dhaval Jaiswal
setting of session replication worked well. However, we do have threading in some products. Like we are hitting the target API and getting response from there servers. If will not get the response will hit them after some time and in this case threading not handled by session replication because of

Re: On one particular box, Tomcat 7.0.25 runs just fine, but 7.0.47 crashes on takeoff -- some authority problem

2013-12-09 Thread Tim Watts
On Mon, 2013-12-09 at 11:00 -0800, James H. H. Lampert wrote: > On 12/6/13 6:56 PM, CRPence (on the Midrange Java List) wrote: > >The T-AF audit entry should log the object to which there > > was insufficient authority, then the chmod can be requested against that > > object to grant the necessary

Re: On one particular box, Tomcat 7.0.25 runs just fine, but 7.0.47 crashes on takeoff -- some authority problem

2013-12-09 Thread James H. H. Lampert
On 12/6/13 6:56 PM, CRPence (on the Midrange Java List) wrote: The T-AF audit entry should log the object to which there was insufficient authority, then the chmod can be requested against that object to grant the necessary authority bits. The T-AF audit entry shows (and I'm no longer bothering

RE: Update the Tomcat JVM configuration

2013-12-09 Thread Frank Lugalla
Thank you Mark for sharing your VM arguments.It works now..:),i wasn't correctly updating the arguments instead of putting hyphen for every linesome of the lines were missing hyphens. -Original Message- From: Mark Eggers [mailto:its_toas...@yahoo.c

RE: Redirect or Forward a URL on tomcat

2013-12-09 Thread Madison Le
Hello Andre', Yes, this looks strange but this webapp (https://ramlink.txwes.edu:8443/WebAdvisor/WebAdvisor) needs to have 2 levels down. It can have a different name at this levels (like WebAdvisor/Production), but it needs to have this format for it to work. Do You mean that make the https:

Re: Redirect or Forward a URL on tomcat

2013-12-09 Thread André Warnier
Madison Le wrote: Hello Everyone, I have tried to redirect or forward a URL on tomcat but I am not sure how to do this. The tomcat console is http://ramlink.txwes.edu:8080 or https://ramlink.txwes.edu:8443. I created a web application which has the URL is https://ramlink.txwes.edu:8443/WebAd

Re: Need Information regarding Apache Webserver static file configuration

2013-12-09 Thread André Warnier
Tapajyoti Roybarman wrote: Hi Andre, Finally it worked!!! Thanks a ton. Below is the setting that I used. ProxyPassMatch ^/.*\.(gif|jpg|css|png)$! http://localhost:8080/ ProxyPassMatch ^/(.*/servlet/.*)$ http://localhost:8080/$1 ProxyPassMatch ^/(.*\.jsp)$ http://localhost:8080

Redirect or Forward a URL on tomcat

2013-12-09 Thread Madison Le
Hello Everyone, I have tried to redirect or forward a URL on tomcat but I am not sure how to do this. The tomcat console is http://ramlink.txwes.edu:8080 or https://ramlink.txwes.edu:8443. I created a web application which has the URL is https://ramlink.txwes.edu:8443/WebAdvisor/WebAdvisor. I

Re: Need Information regarding Apache Webserver static file configuration

2013-12-09 Thread Tapajyoti Roybarman
Hi Andre, Finally it worked!!! Thanks a ton. Below is the setting that I used. ProxyPassMatch ^/.*\.(gif|jpg|css|png)$! http://localhost:8080/ ProxyPassMatch ^/(.*/servlet/.*)$ http://localhost:8080/$1 ProxyPassMatch ^/(.*\.jsp)$ http://localhost:8080/$1 Now, One final question.

RE: Exception in CoyoteAdapter class

2013-12-09 Thread at.silk
Hi Konstantin, My answers below. AT. 2013/12/3 at.silk : > Hi, > > I contact you to talk about an exception we receive in a Tomcat class. Few > days ago we get an error in an application integrated with Tomcat. We have > tried to get information about it but we don't find any solution, so we w