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
: 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
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
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
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
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
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
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:
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
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
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
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
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
.
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
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
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
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
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]
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
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:
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.
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
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
]
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
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
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
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
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
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]
29 matches
Mail list logo