How to set auto-commit to false on a Tomcat Connection-Pool?

2005-08-02 Thread starki78
Hi, my example works but I cannot set the autocommit paramter, but this is quite important to me. Can someone give me advice? Thanks Starki ResourceParams name=jdbc/test parameter namevalidationQuery/name valueselect * from dual/value /parameter parameter

RE: How to set auto-commit to false on a Tomcat Connection-Pool?

2005-08-02 Thread Allistair Crossley
: How to set auto-commit to false on a Tomcat Connection-Pool? Hi, my example works but I cannot set the autocommit paramter, but this is quite important to me. Can someone give me advice? Thanks Starki ResourceParams name=jdbc/test parameter namevalidationQuery/name

Re: How to set auto-commit to false on a Tomcat Connection-Pool?

2005-08-02 Thread Nikola Milutinovic
Allistair Crossley wrote: I found this on the web for Struts using org.apache.commons.dbcp.BasicDataSource which I believe Tomcat also uses. Therefore perhaps you can try defaultAutoCommit instead. data-source key=homeDS type=org.apache.commons.dbcp.BasicDataSource set-property

tomcat connection pool

2005-07-17 Thread Tony Smith
Hi, Can anyone show me how to setup connection pool and call it from java? Thanks, __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com

Re: tomcat connection pool

2005-07-17 Thread Phuoc Diec
Hello, Try these how-tos: http://jakarta.apache.org/tomcat/tomcat-5.5-doc/jndi-resources-howto.html http://jakarta.apache.org/tomcat/tomcat-5.5-doc/jndi-datasource-examples-howto.html Good luck. On 7/17/05, Tony Smith [EMAIL PROTECTED] wrote: Hi, Can anyone show me how to setup connection

Apache/Tomcat - Connection Pool Allocation

2004-09-23 Thread VS Venkataragavan
Hi, We are facing this problem in Production. The problem is open for almost a month. Please find below the description:- Environment : - JDK 1.3.1_04, Oracle 9.2.0.4, Tomcat 4.1.27/Apache 1.3 in Solaris. We were earlier using classes111.jar. We noticed that there was a bug regarding number

Re: Tomcat Connection Pool Configuration Problem (Cannot Establish the Connection)

2004-09-15 Thread David Smith
First, patience. If you've been struggling with this for a week as you say, a few hours will not kill you. If it does well, you should have been asking several days ago. Second, are there any exceptions in your logs related to the problem below outside the Cannot create JDBC driver of

Tomcat Connection Pool Configuration Problem (Cannot Establish the Connection)

2004-09-14 Thread Caroline Jen
Sorry about my previous posting. Now, I have got better trace of my JDBC connection problem. I am using the Tomcat 5.0.27, j2sdk1.4.2, Oracle 10i, Windows XP. The error message is: == root cause org.dhsinfo.content.exceptions.PageDAOSysException:

Re: Tomcat Connection Pool Configuration Problem (Cannot Establish the Connection)

2004-09-14 Thread Peng Tuck Kwok
On Tue, 14 Sep 2004 13:56:48 -0700 (PDT), Caroline Jen [EMAIL PROTECTED] wrote: When I configured the Tomcat 5.0.27, I did put the driver and URL in the C:\jakarta-tomcat-5.0.27\conf\server.xml file (The That's great, but did you actually put the driver in a location that tomcat could find it

Re: Tomcat Connection Pool Configuration Problem (Cannot Establish the Connection)

2004-09-14 Thread Caroline Jen
I have been struggling with this problem for more than a week. I did follow the JDBC datasource howto. And I posted all the steps that I have taken to configure the Tomcat 5.0.27 connection pool. Nobody has really helped to look into the problem. I will post all my configuration steps again

Re: Tomcat Connection Pool Configuration Problem (Cannot Establish the Connection)

2004-09-14 Thread Caroline Jen
I have been struggling with this problem for more than a week. I did follow the JDBC datasource howto. And I posted all the steps that I have taken to configure the Tomcat 5.0.27 connection pool. Nobody has really helped to look into the problem. Tomcat 5.0.27, j2sdk1.4.2, Oracle 10i, Windows

Re: Tomcat Connection Pool Configuration Problem (Cannot Establish the Connection)

2004-09-14 Thread Caroline Jen
Help may be truly needed. A couple of more people are reporting the exactly the same problem with the Tomcat 5.0.27 at http://java.sun.com -- Forums -- JDBC I am not the only one having this problem. --- Caroline Jen [EMAIL PROTECTED] wrote: I have been struggling with this problem for more

RE: Tomcat Connection Pool

2004-09-09 Thread Shapira, Yoav
Research Informatics -Original Message- From: Caroline Jen [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 08, 2004 5:26 PM To: [EMAIL PROTECTED] Subject: Tomcat Connection Pool I do not know what is going on. I am using the Tomcat 5.0.27 in the Windows XP environment. I insert

RE: Tomcat Connection Pool

2004-09-09 Thread Caroline Jen
. Yoav Shapira Millennium Research Informatics -Original Message- From: Caroline Jen [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 08, 2004 5:26 PM To: [EMAIL PROTECTED] Subject: Tomcat Connection Pool I do not know what is going on. I am using the Tomcat 5.0.27

RE: Tomcat Connection Pool

2004-09-09 Thread Shapira, Yoav
: RE: Tomcat Connection Pool I do not quite understand the message A Context element will not get you far, no matter what its contents. But let's assume you actually have a docBase and path at least, and just typed shorthand. Do you mean that I should delete the open and closing Context tag

RE: Tomcat Connection Pool

2004-09-09 Thread Caroline Jen
Millennium Research Informatics -Original Message- From: Caroline Jen [mailto:[EMAIL PROTECTED] Sent: Thursday, September 09, 2004 9:17 AM To: Tomcat Users List Subject: RE: Tomcat Connection Pool I do not quite understand the message A Context element will not get you far, no matter

Tomcat Connection Pool

2004-09-08 Thread Caroline Jen
I do not know what is going on. I am using the Tomcat 5.0.27 in the Windows XP environment. I insert the following code right before the /Host element in the $TOMCAT/conf/server.xml file; i.e. inside the Host element and right before its closing tag. I re-boot my computer, and then, I cannot

Re: Tomcat Connection Pool

2004-09-08 Thread Vy Ho
Did you carefully read this? http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jndi-datasource-examples-howto.html - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: [tomcat] Tomcat Connection Pool

2004-09-08 Thread Ernesto Echeverría
03:26 p.m. To: [EMAIL PROTECTED] Subject: [tomcat] Tomcat Connection Pool I do not know what is going on. I am using the Tomcat 5.0.27 in the Windows XP environment. I insert the following code right before the /Host element in the $TOMCAT/conf/server.xml file; i.e. inside the Host element

Re: non-servlet helper class to use the tomcat connection pool

2004-06-05 Thread QM
On Fri, Jun 04, 2004 at 07:07:46PM -0400, jcrowell wrote: : In other words, how do I access a connection from the connection pool when I : am not dealing with a JSP or a servlet, and the singleton class is not : necessarily associated with any particular webapp? If I understand your question:

non-servlet helper class to use the tomcat connection pool

2004-06-04 Thread jcrowell
I have a helper class which performs spell checking for all my web applications. Since this class never talks to the client it is not a servlet. Instead, it is just sits in $CATALINA_HOME/common/lib in a jar file and waits for any servlet that needs a word spell checked to send it a request.

Re: Very Very Slow performance of Tomcat - Connection Pool Dies

2004-02-20 Thread Harry Mantheakis
Hi Antonio I'm going to try and hijack this thread if I may (!) because, as you say... Otherwise, you will bang your head against a wall. And that causes headache ;-) And I *do* have a headache with a problem that might be related to what you are talking about. Basically, I have deployed

Re: Very Very Slow performance of Tomcat - Connection Pool Dies

2004-02-20 Thread Ankur Shah
Harry Mantheakis wrote: If your firewall drops idle connections after some time, you will need to tune a couple of settings. In your sysctl settings for the Apache machine, set your tcp keepalive time to a value lower than the drop time of your firewall. I have a very strict firewall

RE: Tomcat Connection Pool with IBM DB2 version 8.1

2003-02-26 Thread pqin
] Sent: February 25, 2003 10:51 PM To: [EMAIL PROTECTED] Subject: Tomcat Connection Pool with IBM DB2 version 8.1 Hello All, Does anyone successfully configure Tomcat Connection Pool with IBM DB2 version 8.1? Any sample server.xml for reference? Thanks, Simon

Tomcat Connection Pool with IBM DB2 version 8.1

2003-02-25 Thread Simon Wong
Hello All, Does anyone successfully configure Tomcat Connection Pool with IBM DB2 version 8.1? Any sample server.xml for reference? Thanks, Simon - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

Tomcat connection pool parameters??

2002-12-30 Thread Lakshmi Balasubramanyam
We are implementing the Tomcat 4.1.12 connection pooling. We have 4 different datasources bound to different databases with the same connection pooling parameters except for the database url. We are into a strange problem where Tomcat closes the connection after a period of inactivity(around 2

How do I reset connections in the Tomcat Connection Pool?

2002-12-06 Thread Jonathan Mangano
I am using the DCBP connection pooling with Tomcat 4.1.12. Everything works fine except when a connection dies because of some external factor (In my case it is a clearing of the the Cisco Routers xlate table which causes a SocketException). When this happens the JDBC driver I am using throws

Re: How do I reset connections in the Tomcat Connection Pool?

2002-12-06 Thread support
Message - From: Jonathan Mangano [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, December 06, 2002 11:59 PM Subject: How do I reset connections in the Tomcat Connection Pool? I am using the DCBP connection pooling with Tomcat 4.1.12. Everything works fine except when a connection dies

Tomcat Connection Pool

2002-03-11 Thread Edmund Manabat
Hi everyone, How can I implement Connection Pool for tomcat 4.0? How do you use tyrex? doods -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]