All endpoints are disconnected or dead

2006-01-20 Thread Edward Quick
Hi, I've been getting the following mod_jk errors and wondered whether they were serious or not because the Tomcat I use is running for about 10 minutes then falls over with a coredump. This has been happening all day. [Fri Jan 20 17:16:49 2006] [info] jk_ajp_common.c (1225): All endpoints

switch off tomcat version

2006-01-30 Thread Edward Quick
Hi, I have a Tomcat set up in production, but when it errors with a 404 or 500, it reveals its version number at the bottom of the page. Is there any way to disable this? Thanks, Ed. - To unsubscribe, e-mail: [EMAIL

multi-level context path

2008-01-15 Thread Edward Quick
Hi I'm running tomcat 5.5.16 on jdk1.5.0_10, Redhat ES4 and having a problem when I deploy my war file myApp.war. The context path is set to deploy it to /dpm/myApp. However tomcat is deploying it to /myApp. On my localhost (with NetBeans) running Java EE 5 SDK Update 4 on tomcat 6.0.14,

difference between TC5.5 and TC6

2008-03-05 Thread Edward Quick
I have a question about the difference between TC 5.5 and 6. We use 5.5 as our standard, but a vendor we are working with is insisting their webapp will only work with TC6 because they have coded to JSP standard 2.2 (may be 2.1?) I have a couple of questions about this: Where do I go to

memoryrealm

2008-03-12 Thread Edward Quick
Hi, I would like to specify my own tomcat-users.xml for my webapp to use (not the server's main one in conf/tomcat-user.xml). I tried the following configuration in my webapp's context.xml file but unfortunately when I went to the URL, I wasn't even prompted for a logon: Context

RE: memoryrealm

2008-03-12 Thread Edward Quick
whats in your web.xml ? is your app forcing a login ? all the realm provides is a system to do authentication unless you are triggering it, it isn't used On Wed, 2008-03-12 at 10:36 +, Edward Quick wrote: Hi, I would like to specify my own tomcat-users.xml for my

RE: memoryrealm

2008-03-12 Thread Edward Quick
:52,295 DEBUG org.apache.commons.digester.Digester - Pushing body text ' On your realm up the level of debug and let us know whats in the logs D On Wed, 2008-03-12 at 11:16 +, Edward Quick wrote: Thanks David, I had forgotten the web.xml as you suggested. I have now added

RE: memoryrealm

2008-03-12 Thread Edward Quick
, Edward Quick wrote: Thanks David, I had forgotten the web.xml as you suggested. I have now added this so my web.xml is as shown below, and I get the prompt but the userid I'm using 'test' (passwd: test) isn't going through. Hope this isn't a daft question, but do I need to add code

RE: memoryrealm

2008-03-12 Thread Edward Quick
Thanks Chuck. Here is my context.xml now: Context debug=9 privileged=true Realm className=org.apache.catalina.realm.UserDatabaseRealm resourceName=SampleUserDatabase / Resource name=SampleUserDatabase auth=Container type=org.apache.catalina.UserDatabase description=User database

RE: memoryrealm

2008-03-12 Thread Edward Quick
Thanks Chuck, I'm not sure about that because I copied the format that's used in the tomcat manager webapp 's web.xml in tomcat-5.5.16/server/webapps/manager/WEB-INF/web.xml which has in it: !-- Define reference to the user database for looking up roles -- resource-env-ref

Tomcat jdbc settings

2006-03-10 Thread Edward Quick
Hi, I have set up Tomcat 4.1.31 with a JDBC pool using the settings below. However I 'm a bit confused about my the way this works. 1. InitialSize is set to 5 yet I don't see any connections started after Tomcat is bounced. 2. Some of the older connections are not getting cleared down. 3.

RE: Tomcat jdbc settings

2006-03-10 Thread Edward Quick
all connections to the DB. Reloading the app will not necessarily clear connections, as the old app is still in PermGen, waiting for garbage collection. Once collected, however, the connections will get cleaned up. -Original Message- From: Edward Quick [mailto:[EMAIL PROTECTED] Sent

connections not freed

2006-03-22 Thread Edward Quick
Hi, I have the following scenerio: I'm running a jsp on tomcat 4.1.31 fronted by apache 2.0.54. This jsp uses a tomcat jdbc pool connection with maxWait set to 1ms. At the moment the database is screwed up because one of the filesystems on there has filled up from an archive job. Now

webapp slow on first access every morning

2006-04-11 Thread Edward Quick
Hi, We have a third party jsp/servlet application deployed on Tomcat 4.1.31 (Solaris 2.8). This works fine except for every morning, on the first access, it's very slow to load up. This is the context: Context path=/esav debug=9 reloadable=false docBase=/ov/apache/ovprd01/webapps/esav

Re: webapp slow on first access every morning

2006-04-11 Thread Edward Quick
Good idea, but no: ovapache 6305 6304 0 Apr 05 ?1:01 /usr/j2sdk1.4.2_06/bin/java -Xms128m -Xmx256m -Dapp=ovprd01 -Djava.endorsed.dir Could it simply be your tomcat service is restarted let's say at midnight ? Edward Quick a écrit : Hi, We have a third party jsp/servlet

RE: webapp slow on first access every morning

2006-04-11 Thread Edward Quick
Thanks Peter. I've checked the performance history but there is very little running on the box, and CPU is usually 99% idle. There is also 8GB of RAM on here, and usually 6GB free. Ed. Have you monitored your server during that time to work out what is the rate-limiter? On UNIX, 'vmstat 5'

Re: webapp slow on first access every morning

2006-04-11 Thread Edward Quick
discovered web applications 2006-04-11 04:24:36 HostConfig[ovprd01.abc.com]: Deploying discovered web applications 2006-04-11 04:24:51 HostConfig[ovprd01.abc.com]: Deploying discovered web applications And no mention about a webapp shutdown or other curiosities in catalina.out ? Edward Quick

Restricting access to Tomcat

2006-04-28 Thread Edward Quick
Hi, I have an Apache mod_jk Tomcat server set up on the same host, and want to restrict access to the Tomcat so that only the Apache on the localhost can connect to port 8009. I tried using org.apache.catalina.valves.RemoteAddrValve, with allow=127.0.0.1, but the issue is that Tomcat picks

Re: Restricting access to Tomcat

2006-04-28 Thread Edward Quick
Hi, I have an Apache mod_jk Tomcat server set up on the same host, and want to restrict access to the Tomcat so that only the Apache on the localhost can connect to port 8009. I tried using org.apache.catalina.valves.RemoteAddrValve, with allow=127.0.0.1, but the issue is that

Handling Tomcat Errors in Apache

2006-09-22 Thread Edward Quick
Hi, I have an Apache 2 - mod_jk - Tomcat 5.5.16 set up and I'm trying to get Tomcat errors handled by Apache. In Apache I have: ErrorDocument 404 /cgi-bin/error.cgi And in Tomcat's web.xml I have error-page error-code404/error-code location/cgi-bin/error.cgi/location /error-page I

Handling Tomcat Errors in Apache

2006-09-23 Thread Edward Quick
Hi, I have an Apache 2 - mod_jk - Tomcat 5.5.16 set up and I'm trying to get Tomcat errors handled by Apache. In Apache I have: ErrorDocument 404 /cgi-bin/error.cgi And in Tomcat's web.xml I have error-page error-code404/error-code location/cgi-bin/error.cgi/location /error-page I

RE: Handling Tomcat Errors in Apache

2006-09-23 Thread Edward Quick
From: Edward Quick [mailto:[EMAIL PROTECTED] Subject: Handling Tomcat Errors in Apache error-page error-code404/error-code location/cgi-bin/error.cgi/location /error-page I guess the location tag is wrong here as it doesn't work, but I'm not surewhat else to put. Quoting from

RE: Handling Tomcat Errors in Apache

2006-09-23 Thread Edward Quick
Can I have one cgi-bin directory, or does there have to be one in each webapp? By design, webapps are intended to be independent, so error handling is also independent. Don't have any personal experience here, but possibly you could use a copy of the same error page in each webapp that does a

logging status code

2006-09-26 Thread Edward Quick
Hi, In Apache, you can specify directives %s of %s in the logformat to get the original status code, and the actual status code returned for an http request. I use this for my error page which returns back a code 200, but also gives me a log with the real return code. Now I am trying to set

RE: Apache going down after few hours.

2007-03-09 Thread Edward Quick
Hi, You're going to have to do some more digging. A few questions which might help shed some light: Anything in the apache and tomcat logs? Look for MaxClients reached. Anything in the syslog? Are you using the latest apache and mod_jk ? If not, get them! Have you checked the mod_jk

mod_jk question about lingering close_waits

2011-07-13 Thread Edward Quick
Hi, Apologies in advance if this is the wrong mailing list. I was unable to find one specific to mod_jk and this looked the most relevant. I have the following apache tomcat server configuration set up: Apache 2.2.3 , mod_jk 1.2.32 , and tomcat 6.0.32 running HelloWorld.war If I send a

RE: mod_jk question about lingering close_waits

2011-07-15 Thread Edward Quick
Thanks for your replies. I found the solution was to set JkWatchdogInterval (by default this is not on). I set it to 30, and observed the FIN_WAIT disappears after 60 seconds (this could be the worker.maintain setting?) and the CLOSE_WAIT thread disappeared when it reached the

RE: Ajp13Processor threads are not getting closed.

2011-08-24 Thread Edward Quick
You could try adding JkWatchDogInterval 30. That did the trick for me. -Original Message- From: Jagadish Raj R [mailto:jagadish_ra...@symantec.com] Sent: 24 August 2011 10:39 To: Tomcat Users List Subject: Ajp13Processor threads are not getting closed. Hi Tomcat Users, I have a Tomcat

RE: Ajp13Processor threads are not getting closed.

2011-08-25 Thread Edward Quick
Message- From: Edward Quick [mailto:edward.qu...@iggroup.com] Sent: Wednesday, August 24, 2011 3:20 PM To: Tomcat Users List Subject: RE: Ajp13Processor threads are not getting closed. You could try adding JkWatchDogInterval 30. That did the trick for me. -Original Message- From

Bug 51698 - ajp CPing/Forward-Request packet forgery

2011-09-02 Thread Edward Quick
Hi there, I was testing out the packet forgery example (at https://issues.apache.org/bugzilla/show_bug.cgi?id=51698) to see if my site was vulnerable and got the following results. I'm not sure looking at the code comments in ForwardRequestForgeryExample.java if the output below means it's

RE: Bug 51698 - ajp CPing/Forward-Request packet forgery

2011-09-02 Thread Edward Quick
: 02 September 2011 14:18 To: Tomcat Users List Subject: Re: Bug 51698 - ajp CPing/Forward-Request packet forgery On 02/09/2011 14:12, Edward Quick wrote: Hi there, I was testing out the packet forgery example (at https://issues.apache.org/bugzilla/show_bug.cgi?id=51698) to see if my site

ssl handshake problem

2011-10-11 Thread Edward Quick
Hi, I have an ssl handshake issue with an application running on tomcat that talks to an ssl site. This site renewed their ssl certificate recently, however it was signed with the G5 and G3 intermediate verisign CA certificates which are imported into the java truststore that my tomcat uses.

RE: ssl handshake problem

2011-10-12 Thread Edward Quick
:30 To: Tomcat Users List Subject: Re: ssl handshake problem -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Edward, On 10/11/2011 9:21 AM, Edward Quick wrote: I have an ssl handshake issue with an application running on tomcat that talks to an ssl site. This site renewed their ssl certificate

RE: ssl handshake problem

2011-10-12 Thread Edward Quick
Found out the reason for the ssl handshake error. The certificate chain was in the wrong order (being server certificate, Root CA, Intermediate, instead of server certificate, Intermediate, Root CA). -Original Message- From: Edward Quick [mailto:edward.qu...@iggroup.com] Sent: 12

RE: ssl handshake problem

2011-10-17 Thread Edward Quick
...@ice-sa.com] Sent: 12 October 2011 16:41 To: Tomcat Users List Subject: Re: ssl handshake problem Edward Quick wrote: Thanks for your reply Chris. No I'm not confident a restart would fix it. Having said that I haven't seen the ssl handshake problem since yesterday (which might be because

RE: ssl handshake problem

2011-10-17 Thread Edward Quick
Sorry I meant it was a java issue (typo!) -Original Message- From: Edward Quick Sent: 17 October 2011 09:17 To: Tomcat Users List Subject: RE: ssl handshake problem Hi Andre, thanks for your reply. I tested this a bit more and did a write up of the problem for anyone who's interested