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

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

RE: java:comp/UserTransaction NameNotFoundException Tomcat 5.0.28

2006-07-24 Thread Seetha Rao
/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 management with Tomcat 5.0.28. I have all the required jar files

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 Have you got useNaming=true enabled in your context.xml, or server.xml Context element? Seetha Rao wrote: Thanks, but got the same exception. -Original Message- From: Vivek Mohan [mailto:[EMAIL PROTECTED

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 operations

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

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:

RE: Interrupted system call and Tomcat dies

2006-07-10 Thread Seetha Rao
: 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 webapps, one of them is file upload/download application