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
-
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
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
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
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
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:
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
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
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,
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
Angus,
doesnt using a shared jdbc based session manager slow the whole thing down
a lot? Why dont you just use session persistence?
Pete
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
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
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
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
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
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:
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
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
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
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
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
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
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
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
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
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:
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
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
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
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
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
32 matches
Mail list logo