Re: Unlimited session timeout

2005-04-07 Thread David Causse
It is not my problem. I need to change it for only one servlet. Thanks. fed fin wrote: you can set timeout from Tomcat Admin => Connections. --- David Causse <[EMAIL PROTECTED]> wrote: Hi, I need in some exceptionnal condition to disable the session timeout for one request. Is t

Unlimited session timeout

2005-04-07 Thread David Causse
Hi, I need in some exceptionnal condition to disable the session timeout for one request. Is there some convenient way to do so? My idea is to do this but I'm unsure : In the exceptionnal servlet (at the beginning): session.setAttribute("OLD_TIMEOUT", new Integer(session.getMaxInactiveInterva

Re: possibly stupid question

2005-03-30 Thread David Causse
teknokrat wrote: No, I am running it using startup.bat though I have tries catalina.bat start too. I am not seeing any log file output for anything that writes to stdout. Hi Teknokrat, it's normal, the stdout is on the win32 console, you have to redirect yourself stdout if you want to have a log

Re: cache issue

2005-03-24 Thread David Causse
Steven Pannell wrote: Hi, When using tomcat 5.5.7 with apache 1.3.x I have problem that pages I have visited before are cached in the browser -so changes cannot be seen. I don't have this problem when I just use tomcat as the web-server, only once I started using apache. Clearly this is a problem

Re: new to tomcat 5.0.28-how i can add context in the server.xml

2005-03-15 Thread David Causse
Ashutosh Sharma wrote: Hi David, Thanks for the reply. But if i see the manager.xml under this location it's contents are like this: So for my webApp viz. reports if i put this kind of contents: debug="0" privileged="true"> and then i restart the tomcat i see the directory listing. S

Re: new to tomcat 5.0.28-how i can add context in the server.xml

2005-03-15 Thread David Causse
Ashutosh Sharma wrote: Hi, I m new to tomcat 5.0.28. Previously i worked with tomcat 4.1.x-where i will create a context with a docBase and this way i will work with my webApp. Now the world has changed a lot-everyone just deploying a WAR file under webapps. But i still want to work in the old mann

Re: Why so much virtual memory?

2005-03-15 Thread David Causse
Montz, James C. (James Tower) wrote: On a related note, It would appear to me that java is not adhering to the -Xmx option; I have several instances that report using 3-4X RSS Memory what -Xmx is set to. For example, Instance1: CATALINA_OPTS="-sqerver -Xms64m -Xmx128m" PS Ouput: USER %CPU

Re: Why so much virtual memory?

2005-03-11 Thread David Causse
Mark Winslow wrote: I start Tomcat 5.5.7 and it immediately reports about 450 megabytes of virtual memory usage in the linux app top. Is this normal? Is it just allocating it or is it really using it? It takes about 1 to 2 seconds to start and there's no way an application can write 450 megs of

Re: null pointer

2005-03-11 Thread David Causse
Tony Lavalle wrote: I am a student taking a jsp class. the class project uses an access database. my problem is that every time i run the program it keeps giving me and npe error. i have check the html and the jsp. but i can see no error. can you folks give me some ideas as where to start

Re: application can not reconnect when database restarts

2005-03-11 Thread David Causse
Bhavesh Kumar wrote: I am using Apache Tomcat/4.1.27. Problem: when datbase restarts connection is not established. Connection pool is done by Tomcat using DBCP. [...] Is there any tag which takes care that application is automatically connected whenever datbase goes up. It would be really great

Re: Access Threads informations/state

2005-03-11 Thread David Causse
QM wrote: On Thu, Mar 10, 2005 at 08:47:25PM +0100, David Causse wrote: : I store my jdbc connections inside the user session, and I create thanks : to a Filter one connection per thread (cause we encountered multithread : issues with the oracle JDBC driver, and we use frames). Is there a way

Access Threads informations/state

2005-03-10 Thread David Causse
Hi, I store my jdbc connections inside the user session, and I create thanks to a Filter one connection per thread (cause we encountered multithread issues with the oracle JDBC driver, and we use frames). When the user hit the "Home" link I have to clean all the session attributes, but I don't