Pete Storey is out of the office.

2004-03-22 Thread pete . storey
I will be out of the office starting 22/03/2004 and will not return until 28/03/2004. Thanks for the mail! I am away until the 28th. If you would like an urgent response then please ring Kiss on 020 7692 9922. thanks Pete -

IIS logging of page requests

2004-03-01 Thread pete . storey
as entered instead of like this or do you have to write some custom logging component? thanks Pete Storey Kiss Technologies http://www.kisstechnologies.co.uk/ 4, Percy Street London W1T 1DF Phone numbers: Phone 020 7692 9922 Fax 020 7692 9923 Out of hours Support phone 020 7692 9933

URL rewriting and context paths

2004-02-02 Thread pete . storey
to be to the / path; Tomcat thus gets a new request with no session ID and issues another one again to /app. Is there any way I can force the session cookie to be written to the root context instead of the context of the application? thanks Pete Storey Kiss Technologies http

Re: OT?:Can't include .js file on jsp page controlled by front contro ller servlet

2004-01-12 Thread pete . storey
A JavaScript include is a purely HTML thing - it shouldnt be processed in any way by the server. You can do it by going: script language=JavaScript src=xyz.js/script cheers Pete Kiss Technologies http://www.kisstechnologies.co.uk/ 4, Percy Street London W1T 1DF Phone numbers: Phone 020

javamail and tomcat

2004-01-09 Thread pete . storey
and does anyone know a way to combat it? thanks Pete Storey Kiss Technologies http://www.kisstechnologies.co.uk/ 4, Percy Street London W1T 1DF Phone numbers: Phone 020 7692 9922 Fax 020 7692 9923

Re: RE: urgent

2003-08-18 Thread pete . storey
Perhaps this is just mis-typing in the email but you directory for the classes has been spelt calsses - could be the problem if you mean that? shaman jain [EMAIL PROTECTED] 18/08/2003 12:02 Please respond to Tomcat Users List To: Stuart MacPherson [EMAIL PROTECTED] cc:

RE: Jan West/US/AM/TSA is out of the office.

2003-08-18 Thread pete . storey
If you look in the help for the list: To stop subscription for this address, mail: [EMAIL PROTECTED] In both cases, I'll send a confirmation message to that address. When you receive it, simply reply to it to complete your subscription. It will, of course, reply automatically and voila! Pete

Error-page directive does nothing

2003-08-14 Thread pete . storey
Hi, we have a lot of occasions where I use the directive error-page error-code500/error-code location/errorPages/500x.jsp/location /error-page in a web.xml file but it does nothing, particularly for errors thrown by a servlet. I have upgraded now to Tomcat 4.1.27 as I have seen

Re: Front Controller Servlet

2003-08-14 Thread pete . storey
The reason it is crashing is because you are forwarding to a JSP page, however you have already taken over jsp processing in your servlet by declaring that it should handle *.jsp, thus it forwards in a circle until it runs out of stack space. Try using another extension for your controller,

RE: how to suppor 30000 concurrent users

2003-08-08 Thread pete . storey
Sorry for being thick but Im a bit confused as to when you are doing anything with the sessions? If I make a request to one server, then go on to another for the next request, how does server 2 get my session from server 1 without server 1 having had to persist the session to disk every time

RE: how to suppor 30000 concurrent users

2003-08-08 Thread pete . storey
Angus, doesnt using a shared jdbc based session manager slow the whole thing down a lot? Why dont you just use session persistence? Pete

RE: how to suppor 30000 concurrent users

2003-08-06 Thread pete . storey
Oh OK cool so it is how I thought - presumably you dont use the session very much (in terms of sending stuff to it) or else there would be one serious amount of db work! Pete

Re: Configuration Error?

2003-08-04 Thread pete . storey
The bean should be in the Tomcat/ROOT/WEB-INF/classes/mybeans directory not Tomcat/ROOT/WEB-INF/mybeans. Classes underneath web-inf is the directory for classes. Also, perhaps try removing the contentType directive at the top of the page as it is unnecessary. Oh and also you have put

RE: JVM tuning

2003-08-04 Thread pete . storey
Hmm well only a profiler could tell me that; I was more looking for some (subsequently discovered) things such as you should reseize the young generation to be much larger than the default 25% and so on; there are some rules of thumb such as this which I was looking for! cheers Pete

RE: JVM tuning

2003-08-04 Thread pete . storey
Well not really; we know that we are running Tomcat, a web container which has its own (fixed) characteristics. It is a server side app which is processing non state based transactions which are thus highly like to involve a lot of objects being created and destroyed without too many hanging

RE: JVM tuning

2003-08-04 Thread pete . storey
Ah sorry I should really have said that I was focusing specifically on memory managment; general performance tuning is a completely different matter in which I do agree with you! On the memory front however I would stand by the fact that most tomcat webapps (big or small) would benefit from a

RE: JVM tuning

2003-08-04 Thread pete . storey
Isnt the adaptive sizing only relevant to much larger memory configurations (Im running this JVM with a max heap of 1-1.5Gb? Pete Angus Mezick [EMAIL PROTECTED] 04/08/2003 17:51 Please respond to Tomcat Users List To: Tomcat Users List [EMAIL PROTECTED] cc:

RE: Tomcat 4.1x running as NT Service Issue

2003-08-03 Thread pete . storey
I dont think the java versi0on is necessarily a problem however what you need to remeber is when you install the service, you fix the settings of the JVM. If you want to control memory settings, you need to do it in the tomcat.exe command which you run to install the service. My server is

RE: Tomcat 4.1x running as NT Service Issue

2003-08-03 Thread pete . storey
The settings are not controlled in the startup.bat - if you want to control them from the command line, you set the environment variable JAVA_OPTS with them. The default settings for a Sun JVM is to allow a max heap of 64m - if you try to exceed this, java.lang.OutOfMemoryException s will be

Re: Tomcat 4.1x running as NT Service Issue

2003-08-03 Thread pete . storey
thanks been looking for something like that for ages! Tim Funk [EMAIL PROTECTED] 03/08/2003 16:52 Please respond to Tomcat Users List To: Tomcat Users List [EMAIL PROTECTED] cc: Subject:Re: Tomcat 4.1x running as NT Service Issue If you need to run NT

RE: Tomcat 4.1x running as NT Service Issue

2003-08-03 Thread pete . storey
well in that case the tomcat.exe included with the tomcat dist is fine once you have fixed your setup. It is simply run as a batch script, or as part of an install (you execute tomcat.exe once with the relevant parameters to install it) Pete Robert Porter [EMAIL PROTECTED] 03/08/2003

error-page directive has no effect

2003-08-03 Thread pete . storey
Hi, ive got a problem currently with the error-page directive doing nothing when I use it in an app (on either tomcat 4.1.18 or .27). At the bottom of my app's web.xml, I have the following tag: error-page error-code500/error-code location/errorPages/500x.jsp/location /error-page

JVM tuning

2003-08-03 Thread pete . storey
Has anyone got any clues on JVM tuning for Tomcat on Windows 2000, Sun 141 or 142? Im playing with some of the young/old generation and GC settings but am having trouble deciding what is best. I think that I should probably push out the young generation to be a larger than normal amount as

Problems with Tomcat in a high load environment

2003-08-01 Thread pete . storey
Hi, we are running Tomcat 4.1.18 on Windows 2000 under JDK1.4.1_01. We are using IIS as a web server connecting using the ISAPI JK 2 connector. We are currently experiencing 2 seperate problems when under high load (ie 30 requests per second): 1. A huge number of log events (~30 sets per

RE: Problems with Tomcat in a high load environment

2003-08-01 Thread pete . storey
I do agree and whilst our dev environments are pretty close to the live ones, I dont have a particularly useful set of use cases which I can test with (well I do but they dont cause the problem to occur on our dev systems!). Thus the only meaningful profiling would have to be done on the live

Alternatives to DBCP

2003-06-23 Thread pete . storey
Has anyone used any alternatives to the DBCP with Tomcat because it seems to get worse and worse as I use it more. For no apparent reason on one server, if there is a failure of a query to clean up its resources properly then when it it cleaned up by the finalizer method of our query object

Re: Alternatives to DBCP

2003-06-23 Thread pete . storey
Thanks will do. Presumably I just then replace the JAR file in the common\lib directory of the server? thx Pete Tim Funk [EMAIL PROTECTED] 23/06/2003 13:16 Please respond to Tomcat Users List To: Tomcat Users List [EMAIL PROTECTED] cc: Subject:Re:

Hyperthreading and performance

2003-06-09 Thread pete . storey
I realise that this is slightly a JVM dependant question but doe anyone have any views on using Hyperthreading on Xeon processors and whether it will affect performance or not? As far as I can ascertain, hyperthreading essentially splits the processor into two threads internally which appear

RE: Stopping caching in tomcat

2003-05-27 Thread pete . storey
javax.servlet.http.*; import javax.servlet.Filter; import javax.servlet.FilterChain; import javax.servlet.FilterConfig; import javax.servlet.ServletContext; import javax.servlet.ServletException; import javax.servlet.ServletRequest; import javax.servlet.ServletResponse; /** * * @author Pete Storey * @version

Re: Tomcat - JDBC - MS SQL Driver Recommendations? (was: Tomcat / JDBC / MSSQL / Connection lost and won't reconnect)

2003-05-27 Thread pete . storey
We use iNet software's Sprinta 2000 driver and find it excellent. It is high performance and provides considerably more features than the MS driver. It is not very high cost (a few hundred dollars for a site license IIRC) and is both fully type 4 compliant and small. Their whole range of

default page cannot be removed

2003-03-17 Thread pete . storey
that could be causing it. Has anyone else seen this problem? cheers Pete Storey Kiss Technologies http://www.kisstechnologies.co.uk/ Please note, we have moved! 4, Percy Street London W1T 1DF New permanent phone numbers: Phone 020 7692 9922 Fax 020 7692 9923

RE: default page cannot be removed

2003-03-17 Thread pete . storey
else seen this problem? cheers Pete Storey i am not sure but i think i've seen something alike, only with class-files. i had a static class containing certain parameters for my app. when i deployed to my nb for a presentation i had to change these parameters and recompile same class. the new