Re: Please help diagnosing a random production Tomcat 7.0.53 Internal Server Error!

2014-04-15 Thread Ian Long
  On April 15, 2014 at 6:50:05 PM, Tim Watts (t...@cliftonfarm.org(mailto:t...@cliftonfarm.org)) wrote: > On Tue, 2014-04-15 at 17:12 -0400, Ian Long wrote: > > > > > > Ian Long wrote: > > I have tomcat configured to log via log4j, and then there is my > > applic

Re: Please help diagnosing a random production Tomcat 7.0.53 Internal Server Error!

2014-04-15 Thread Ian Long
reading > sequence, and > avoids having to scroll down to guess what you are responding to. > > Ian Long wrote: > > Yes, I checked both the tomcat log (I’ve configured tomcat to use log4j) as > > well as my application logs. > > > > Yes, 20 httpd prefork pr

Re: Please help diagnosing a random production Tomcat 7.0.53 Internal Server Error!

2014-04-15 Thread Ian Long
On April 15, 2014 at 3:57:04 PM, Christopher Schultz (ch...@christopherschultz.net) wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Ian, On 4/15/14, 3:33 PM, Ian Long wrote: > Thanks for the reply. > > It looks to me like tomcat just gave up partway through generatin

Re: Please help diagnosing a random production Tomcat 7.0.53 Internal Server Error!

2014-04-15 Thread Ian Long
: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Ian, > > On 4/15/14, 3:33 PM, Ian Long wrote: >> Thanks for the reply. >> >> It looks to me like tomcat just gave up partway through generating >> the request, I’m trying to figure out

Re: Please help diagnosing a random production Tomcat 7.0.53 Internal Server Error!

2014-04-15 Thread Ian Long
Ian, On 4/15/14, 2:52 PM, Ian Long wrote: > I need some help from all the tomcat experts out there! I am using > tomcat behind apache httpd using mod_jk (1.2.39). About 50-100 > times per day (out of many requests), I’m getting an internal > server error from Tomca

Re: Please help diagnosing a random production Tomcat 7.0.53 Internal Server Error!

2014-04-15 Thread Ian Long
Schultz (ch...@christopherschultz.net) wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Ian, On 4/15/14, 2:52 PM, Ian Long wrote: > I need some help from all the tomcat experts out there! I am using > tomcat behind apache httpd using mod_jk (1.2.39). About 50-100 >

Tomcat logging for Internal Server Errors (500)

2014-04-12 Thread Ian Long
Hi All, I need some help tracking down a random infrequent Internal Server Error that isn’t getting logged anywhere.  I’m using Tomcat 7.0.53 behind apache httpd with mod_jk 1.2.39. I use new relic application monitoring, and I see in their application error reports that a 500 error from tomca

Re: Tomcat 500 internal server error

2014-04-11 Thread Ian Long
Warnier (a...@ice-sa.com) wrote: Ian Long wrote: > This is a followup to my previous email, about Tomcat 500 errors. For every > error, I see this in the mod_jk (1.2.39) debug logs: > > > [Fri Apr 11 13:06:33.956 2014] [25409:140068250126304] [debug] > ajp_connecti

Tomcat 500 internal server error

2014-04-11 Thread Ian Long
This is a followup to my previous email, about Tomcat 500 errors.  For every error, I see this in the mod_jk (1.2.39) debug logs: [Fri Apr 11 13:06:33.956 2014] [25409:140068250126304] [debug] ajp_connection_tcp_get_message::jk_ajp_common.c (1403): received from ajp13 pos=0 len=114 max=16384 [

Random Tomcat 500 errors

2014-04-11 Thread Ian Long
Hi,  I’m running into a problem with my production tomcats (7.0.52)  that I can’t track down. Occasionally (10 times an hour maybe) I’m getting a HttpServerError 500 error that isn’t appearing in tomcat or my application logs. I see it from my NewRelic monitoring agent though, which is how I re

Re: Tomcat 6 configuration using unpackWARS no longer works in Tomcat 7

2012-08-10 Thread Ian Long (Opterus)
Hi Mark, Thanks for the info. I would rather not rename the WAR file or add the context.xml to it, because it is deployed in multiple ways on different severs and in development environments etc. Why must it be called ROOT.war, the Tomcat 6 way seems more flexible? Cheers, Ian Long Chief

Re: Garbage collection problem and Tomcat

2009-03-12 Thread Ian Long
stOnBorrow=true jdbc.validationQuery=select 1 + 1 jdbc.maxActive=100 jdbc.maxIdle=10 jdbc.minIdle=0 jdbc.timeBetweenEvictionRunsMillis=-1 jdbc.minEvictableIdleTimeMillis=90 jdbc.maxWait=15000 These map directly to the dbcp settings. Cheers, Ian Long Chief Software Architect, Opterus Inc. Em

Garbage collection problem and Tomcat

2009-03-12 Thread Ian Long
ace. My memory parameters for tomcat are: wrapper.java.additional.5=-XX:MaxPermSize=384m wrapper.java.initmemory=2048 wrapper.java.maxmemory=2048 Do you think this could be causing my problem? I am using cacti to graph tomcat heap, but it doesn't show any problems. Cheers, Ian Long Chie

Re: Tomcat and Apache with mod_jk

2009-03-06 Thread Ian Long
equest, based on the definition in server.xml. To me, VHost should only ever show the name of the configured elements. I will try the thread dump on the weekend when the site is less busy. Cheers, Ian Long Chief Software Architect, Opterus Inc. Email: ian.l...@opterus.com Phone: 416-840-8495 x666

Re: Tomcat and Apache with mod_jk

2009-03-06 Thread Ian Long
suffix=".txt" timestamp="true"/> My JkMount is straigtforward: JkMount /* ajp13 jKMount / ajp13 Since the defaultHost is ops-center.opterus.net, I would assume they should all go to that host, and not /. From all that I have read this looks like it is setup correctl

Re: Tomcat and Apache with mod_jk

2009-03-05 Thread Ian Long
Jung wrote: On 06.03.2009 00:44, Ian Long wrote: Here is some sample output from the system-status: Srv PID Acc M CPU SS Req Conn Child Slot Client VHost Request 0-0 2096 0/50/50 _ 0.01 23 2 0.0 0.09 0.09 X web1.opterus.com GET /lbcheck.faces HTTP/1.0 1-0 2097 0/12/12 W 0.01 513 0 0.0 0.05 0

Re: Tomcat and Apache with mod_jk

2009-03-05 Thread Ian Long
x27;t seem to realize the connection is gone, as you can see some of the SS times are over 10 minutes, which is longer than all my timeout settings... Is there any way to make apache realize the connections are gone? I will talk to the provider about what they see on their end Cheers

Re: Tomcat and Apache with mod_jk

2009-03-05 Thread Ian Long
27610 27568 27567 27560 27559 27523 27522 27521 27477 27476 27475 27474 27473 27467 27466 27465 27464 27457 27456 27455 27454 26439 26222 26045 26003 25855 25854 25853 25852 25851 25850 25849 25848 25846) is running... the number of processes is always increasing Thanks, Ian Long

Re: Tomcat and Apache with mod_jk

2009-03-05 Thread Ian Long
uld be required to service the load. Basically, the application is unused after 9PM, so I would expect the # of established connections to be cleaned up as they are no longer required. Ian Long Chief Software Architect, Opterus Inc. On 5-Mar-09, at 1:38 PM, André Warnier wrote: Ian Long wrote: [..

Tomcat and Apache with mod_jk

2009-03-05 Thread Ian Long
jk_handler::mod_jk.c (2357): Aborting connection for worker=ajp13 Can anyone see anything wrong with the configuration? Cheers, Ian Long Chief Software Architect, Opterus Inc. Email: ian.l...@opterus.com Phone: 416-840-8495 x666 Mobile: 416-817-9206 Web: http://www.opterus.com