Interrupted system call and Tomcat dies

2006-07-10 Thread Seetha Rao
Hi, I have 2 webapps, one of them is file upload/download application. Both apps use single sign on. If I go to this file manager app from another webapp and don't do anything; leave it idle, Tomcat server occasionaly shutsdown with the following Exception: StandardServer.await: accept: java.io.I

RE: Interrupted system call and Tomcat dies

2006-07-10 Thread Seetha Rao
ED] Subject: RE: Interrupted system call and Tomcat dies > -Original Message----- > From: Seetha Rao [mailto:[EMAIL PROTECTED] > Sent: Monday, July 10, 2006 7:09 AM > To: users@tomcat.apache.org > Subject: Interrupted system call and Tomcat dies > > Hi, > > I have 2 we

Tomcat fails to refresh connections when mySQL server on linux is shutdown and restarted

2006-07-20 Thread Seetha Rao
Hi, We are doing a test where mySQL server goes down when user is accessing a webapplication. We have setup tomcat with the required parameters for DBCP to handle such a case. It works fine in a set up where Tomcat and mySQL are on the same windows machine. But in a setup where Tomcat is on Window

RE: Tomcat fails to refresh connections when mySQL server on linux is shutdown and restarted

2006-07-23 Thread Seetha Rao
Thanks Tim and Chris for the response. Sorry, it took a while for me to respond. We are not storing connections in the session. We have a singleton class called DBManager and in its private constructor we have JNDI lookup for the datasource and create a connection object there. Context init

RE: Tomcat fails to refresh connections when mySQL server on linux is shutdown and restarted

2006-07-24 Thread Seetha Rao
Hi Chris, thanks for the comments. I thought since we have singleton class and creating a connection object there, we will be reusing the same connection object for all database operations. May be my thinking is not correct. Do you suggest I just create the DataSource object in the private const

java:comp/UserTransaction NameNotFoundException Tomcat 5.0.28

2006-07-24 Thread Seetha Rao
Hi I'm using JOTM for transaction management with Tomcat 5.0.28. I have all the required jar files as given in http://jotm.objectweb.org/current/jotm/doc/howto-tomcat-jotm.html The JNDI look up throws the following exception: Here is the code: Context ctx = new InitialContext(); UserTransaction u

RE: java:comp/UserTransaction NameNotFoundException Tomcat 5.0.28

2006-07-24 Thread Seetha Rao
p/env/UserTransaction" -- Vivek. On 7/24/06, Vivek Mohan <[EMAIL PROTECTED]> wrote: > try using java:comp/env.UserTransaction for JNDI lookup. > > -- > Vivek. > > On 7/24/06, Seetha Rao <[EMAIL PROTECTED]> wrote: > > Hi I'm using JOTM for transaction managem

RE: java:comp/UserTransaction NameNotFoundException Tomcat 5.0.28

2006-07-24 Thread Seetha Rao
Subject: Re: java:comp/UserTransaction NameNotFoundException Tomcat > 5.0.28 > > > sorry, I meant, "java:comp/env/UserTransaction" > > -- > Vivek. > > On 7/24/06, Vivek Mohan <[EMAIL PROTECTED]> wrote: >> try using java:comp/env.UserTransaction for

RE: Tomcat fails to refresh connections when mySQL server on linux is shutdown and restarted

2006-07-24 Thread Seetha Rao
existing connections die which happens when the database server is restarted. --David Seetha Rao wrote: >Hi Chris, thanks for the comments. I thought since we have singleton class and >creating a connection object there, we will be reusing the same connection >object for all database o