Jefferey,
Coming into this thread late, but I'm curious.
Why do you want each user to obtain a connection
to the database, effectively logging into the DB,
instead of using a connection pool with a single,
application specific, DB userid/password?
- Bob
--- [EMAIL PROTECTED] wrote:
Thanks
To: Tomcat Users List
Subject: Re: using a datasource connection pool resource with username
and password supplied by user
Thanks Doug and Chuck,
I suspected as much re. the connection pool. This sort of negates the
value of it a little (for me anyway).
My original plan was to go with saving
Good question Bob,
This system may eventually be implemented for the government department I
work for in Queensland, Australia. This project is a pilot one which will
involve four separate district offices in four different cities. The
department has policies on data security which includes
That's right Sasha,
I will have to ensure connections are closed down automatically if the user
doesn't log out, but at this stage I will note your comment for further
research.
Thanks,
Jeffery S. Eaton
Opinions contained in this
Jefferey,
Are the uses going to be allowed to execute ad hoc
queries? If yes, I can see why you would choose to
take the take the direct DB authentication route.
If not, then a a JDBCRealm could be used and specific
role(s) assigned to each user that would govern what
they could do in the
Thanks for the suggestion Bob,
I think what you are saying about realms is valid and most likely the
easiest way to enforce security. It would be my choice if it wasn't a
corporate standards issue. I will read up on the link you sent and see if
I can get away with it in terms of meeting with
If the DB login requirement is removed you might
want to take a look at Apache Turbine, it supports
finer-grained access to a web app.
http://jakarta.apache.org/turbine/index.html
- Bob
--- [EMAIL PROTECTED] wrote:
Thanks for the suggestion Bob,
I think what you are saying about realms is
I have set up a connection pool using the following set up:
___-
?xml version=1.0 encoding=iso-8859-1?
!--
Context configuration file for the Road Safety Audit Management System
Web App
--
Context path
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Subject: using a datasource connection pool resource with
username and password supplied by user
But what I really want to do is to get a database user and
password from the user and (after validating it) write this
to a session
. In essence you will be creating a one
connection pool for each session. Second is the total number of connections.
How many users are there going to be on the system at once and can the
system handle that many open connections?
If you come up with a different/better solution let us know.
Doug
Thanks Doug and Chuck,
I suspected as much re. the connection pool. This sort of negates the
value of it a little (for me anyway).
My original plan was to go with saving the connection to the session once
it was established but I had read somewhere that connections are not
'serializable
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
Hi, my example works but I cannot set the
autocommit parameter to false, 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
namemaxWait/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
Dear all,
It seems this question has been asked from time to time, but still no
one can give a concrete answer. Is it really impossible to query Tomcat
for the available connection threads inside the connection pool ? How
can I ensure my application will not have connection leaks ?
Regards
can give a concrete answer. Is it really impossible to query Tomcat
for the available connection threads inside the connection pool ? How
can I ensure my application will not have connection leaks ?
Regards,
Raymond Fung
Can anyone help how to create Connection Pool in Tomcat 5.0 with a Oracle9i
database.
This is very urgnet...
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Start a new discussion thread instead of hijacking this one.
And if you do that: give more information. What have you done so far?
have you read the documentation? What are the error messages, if you
already at that point? etc. etc.
Sridhar wrote:
Can anyone help how to create Connection
solve ur problem
check this link for more details
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/jndi-datasource-examples-howto.html
regards
Srikanth Peddireddy
On 7/20/05, Tony Smith [EMAIL PROTECTED] wrote:
I am runing tomcat 5.0 + postgresql. I set my
connection pool in server.xml
Hi,
How to configure connection pools for Oracle in Tomcat.
follwing code included in the server.xml file even connection pool in not
configured.copied the Oracle driver into lib directory.
Resource name=XYZDS auth=Container
type=javax.sql.DataSource
factory
Hi,
How to configure connection pools for Oracle in Tomcat.
follwing code included in the server.xml file even connection pool in not
configured.copied the Oracle driver into lib directory.
Resource name=XYZDS auth=Container
type=javax.sql.DataSource
factory
I am runing tomcat 5.0 + postgresql. I set my
connection pool in server.xml as:
Resource
name=jdbc/mysource
type=javax.sql.DataSource
password=
driverClassName=org.postgresql.Driver
maxIdle=100
maxWait=5000
validationQuery=select * from test
If you arent closing connections, then exhausting the connection pool
is the expected, eventual result.
Read the document at
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jndi-datasource-examples-howto.html,
paying special attention to the example of properly written code
[using] a db
Tony Smith wrote:
I am runing tomcat 5.0 + postgresql. I set my
connection pool in server.xml as:
Resource
name=jdbc/mysource
type=javax.sql.DataSource
password=
driverClassName=org.postgresql.Driver
maxIdle=100
maxWait=5000
validationQuery=select
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:
I´m working with Tomcat4 and a Connection Pool for accesing MySQL. But,
when I use the following code in a jsp:
%@ page import =java.sql.*, javax.sql.* %
%@ page import =javax.naming.InitialContext, javax.naming.Context %
htmlbody
%
Context mInitCtx = null;
DataSource mDs
should this be: CONCUR_UPDATEABLE?
Sapales wrote:
Hi:
I´m working with Tomcat4 and a Connection Pool for accesing MySQL. But,
when I use the following code in a jsp:
%@ page import =java.sql.*, javax.sql.* %
%@ page import =javax.naming.InitialContext, javax.naming.Context %
htmlbody
Hello,
I'm trying to set up a connection pool to a MySQL database. I tried placing
the following resource definition in server.xml's global name space and I
tried putting it into my META-INF's context.xml:
Resource name=gaussdb type=javax.sql.DataSource password=foobar
driverClassName
Folks,
Per what I have observed, Tomcat Admin console does not have the facility for
me to get to know about the number of active connections to a DB for a
Connection pool defined in server.xml. Is that correct?
If yes, is writing a page using JMX a time consuming task? Any alternatives?
Let
I still can't make it work.
My /opt/jakarta-tomcat-5.5.9/logs/catalina.out display this message
2005-04-23 08:48:21 org.apache.commons.modeler.Registry registerComponent
SEVERE: Null component
Catalina:type=DataSource,path=/,host=192.168.1.251,class=javax.sql.DataSource,name=jdbc/testdatabase
Hi.
I have some problems with Tomcat 5.5.9 Connection Pooling / JNDI / DBCP
When running my java component (se below) I receive this NamingException:
/NE: Need to specify class name in environment or system property, or as
an applet parameter, or in an application resource file:
You should be doing this in your code:
Context initContext = null;
try {
initContext = new InitialContext() ;
} catch ( Exception e1 ) { //... do something with the trapped exception }
try {
DataSource ds =
(DataSource)initContext.lookup(java:/comp/env/jdbc/testdatabase);
} catch ( Exception
Hi Caroline
it works perfectly now!!
thanks very much for your help
I love you!!
:-)
From: Caroline Jen [EMAIL PROTECTED]
Reply-To: Tomcat Users List tomcat-user@jakarta.apache.org
To: Tomcat Users List tomcat-user@jakarta.apache.org
Subject: Re: can´t Configurate Database Connection Pool (DBCP
Hi, I´m a newbie trying to configurate DBCP with Tomcat 5.0.28
I´m following this documentation:
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jndi-datasource-examples-howto.html
...Add this in between the /Context tag of the examples context and the
/Host tag closing the localhost
Users List
To: tomcat-user@jakarta.apache.org
cc:
Subject:can´t Configurate Database Connection Pool (DBCP)
with Tomcat 5.0.28
Hi, I´m a newbie trying to configurate DBCP with Tomcat 5.0.28
I´m following this documentation:
http://jakarta.apache.org/tomcat
@jakarta.apache.org
CC: tomcat-user@jakarta.apache.org
Subject: Re: can´t Configurate Database Connection Pool (DBCP) with Tomcat
5.0.28
Date: Fri, 15 Apr 2005 10:36:30 +0100
Sevillano
Can you show me your JDBC configuration.
Ben Cuthbert
Deutsche Bank - Global Markets
TISO Customer Trading
On 4/15/05, Sevillano sevi llano [EMAIL PROTECTED] wrote:
Hi, I´m a newbie trying to configurate DBCP with Tomcat 5.0.28
I´m following this documentation:
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jndi-datasource-examples-howto.html
...Add this in between the /Context tag of the
76389 (Tel)
+44 (0) 20 754 74996 (Fax)
Sevillano sevi llano [EMAIL PROTECTED]
04/15/2005 10:41 AM
Please respond to Tomcat Users List
To: tomcat-user@jakarta.apache.org
cc:
Subject:Re: can´t Configurate Database Connection Pool
(DBCP) with Tomcat 5.0.28
Hi
: Benjamin Cuthbert [EMAIL PROTECTED]
Reply-To: Tomcat Users List tomcat-user@jakarta.apache.org
To: Tomcat Users List tomcat-user@jakarta.apache.org
CC: tomcat-user@jakarta.apache.org
Subject: Re: can´t Configurate Database Connection Pool (DBCP) with Tomcat
5.0.28
Date: Fri, 15 Apr 2005 10:45:01
To: tomcat-user@jakarta.apache.org
Subject: Re: can´t Configurate Database Connection Pool (DBCP) with Tomcat
5.0.28
Date: Fri, 15 Apr 2005 09:48:29 +
I think JDBC Drivers are correctly installed, because direct connection
works correctly:
DriverManager.registerDriver(new
[EMAIL PROTECTED]
Reply-To: Tomcat Users List tomcat-user@jakarta.apache.org
To: tomcat-user@jakarta.apache.org
Subject: Re: can´t Configurate Database Connection Pool (DBCP) with Tomcat
5.0.28
Date: Fri, 15 Apr 2005 09:48:29 +
I think JDBC Drivers are correctly installed, because direct
mysql (I don´t remember the version, this is my
home environment)
thanks
From: Sevillano sevi llano
[EMAIL PROTECTED]
Reply-To: Tomcat Users List
tomcat-user@jakarta.apache.org
To: tomcat-user@jakarta.apache.org
Subject: Re: can´t Configurate Database
Connection Pool (DBCP
Configurate Database Connection Pool (DBCP) with Tomcat
5.0.28
Hi, I´m a newbie trying to configurate DBCP with Tomcat 5.0.28
I´m following this documentation:
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jndi-datasource-examples-howto.html
...Add this in between the /Context tag of the examples
-user@jakarta.apache.org
To: Tomcat Users List tomcat-user@jakarta.apache.org
Subject: Re: can´t Configurate Database Connection Pool (DBCP) with Tomcat
5.0.28
Date: Fri, 15 Apr 2005 07:56:36 -0400
Do you have your resource link in the context element? And if you don't
have a context for the app you
To: Tomcat Users List
tomcat-user@jakarta.apache.org
Subject: Re: can´t Configurate Database Connection
Pool (DBCP) with Tomcat
5.0.28
Date: Fri, 15 Apr 2005 07:56:36 -0400
Do you have your resource link in the context
element? And if you don't
have a context for the app you need to create one
org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver of
class '' for connect URL 'null'
I may be wrong, but I had a similar situation, and in my case when I set
up the Data Sources for the application context (not as the
GlobalNamingResources in server.xml) using the admin
Try adding the abandoned connection recovery settings and have it log
them.
How can I do this?
If they show in your log as abandoned, then they are not getting closed.
Even if you wrote the code as recommended, I have found that it does not
always work. I am still chasing the exact
Koller Krisztian wrote:
Try adding the abandoned connection recovery settings and have it log
them.
How can I do this?
The FM will help:
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/jndi-datasource-examples-howto.html
:: as will looking at the JavaDoc for commons-dbcp
Hi All!
I'm using Tomcat 5.5 and Mysql 4.1 for an online survey web-application. (on
Fedora Core 3)
After some user outfilled the survey, Tomcat hangs with
org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot get a connection,
pool exhausted message.
I'm always close the all rs, stmt and conn
are grabbing
the connection and holding it for a long time in the code, it will not be
considered to be abandoned.
Doug
- Original Message -
From: Koller Krisztian [EMAIL PROTECTED]
To: tomcat-user@jakarta.apache.org
Sent: Friday, April 01, 2005 1:39 PM
Subject: Cannot get a connection, pool
Can anyone tell me how to get tomcat to see my connection pool (DBCP) when
tomcat starts?
I'm running struts if that helps.
I have a Jndi resource set up that i can call from my code. But the pool
starts the first time i ask for a connection from the factory. I'd rather it
start on startup
Yes, this can be done. I use a resource listener with struts. Upon Tomcat
startup, the resource listener fires up and executes my Oracle DB connection
pool logic. I can send you the code later today, as it's not available at my
current location.
- Original Message -
From: Brian
Hi there,
did anybody manage to access the underlying 'real' database connection?
I have got to use the PostgreSQL LargeObject API and therefore I need access to
the delegated connection.
But after several hours of trial and error I lost my motivation ... It seems
like:
- doesn't do anything:
I just shifted to DataSource Connection pooling. I followed
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jndi-datasource-examples-howto.html
Here they have given 3 parameters to specify to control leaking such as
removeAbandoned, removeAbandonedTimeout, logAbandoned
1) Is there any
: connection Pool leaking - how to detect it ?
I just shifted to DataSource Connection pooling. I followed
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jndi-datasourc
e-examples-howto.html
Here they have given 3 parameters to specify to control leaking such as
removeAbandoned
Geachte relatie,
Het door u gebruikte e-mailadres is niet meer actief. U kunt uw e-mailbericht
sturen naar [EMAIL PROTECTED] of dit bericht beantwoorden.
Bedankt voor uw medewerking,
Met vriendelijke groet,
ATP Hypotheken
Het Spoor 40
3994 AK Houten
Tel. 030 750 25 33
Fax. 030 750 25 88
@jakarta.apache.org
Subject: How to release connections in connection pool during reload?
Hi,
I'm using Tomcat's connection pooling feature which is implemented with
Jakarta's DBCP to manage database access, and I just noticed that each time
when I do a reload (either via Ant or Tomcat manager), a database
to release connections in connection pool during reload?
Dustin,
Thanks! You''ve helped me to solve a prloblem that I've been struggling
with for days.
---
Lucie
Date: Fri, 7 Jan 2005 22:08:20 -0800 (PST)
From: Dustin [EMAIL PROTECTED]
Subject: How to release connections in connection pool during
Hi all, I am still experiencing a problem by which tomcat hangs upon
attempting to execute a query under a specific circumstance, but I
don't know why. I am attempting to utilize a connection pool and the
problem here in lies the problem I believe. This is what happens,
Tomcat will hang until my
Hi,
I'm using Tomcat's connection pooling feature which is implemented with
Jakarta's DBCP to manage database access, and I just noticed that each time
when I do a reload (either via Ant or Tomcat manager), a database
connection is added to the database server. Though this isn't a big problem
-datasource-examples-howto.html#Database%20Connection%20Pool%20(DBCP)%20Configurations
Doug
- Original Message -
From: Lucie Chan [EMAIL PROTECTED]
To: tomcat-user@jakarta.apache.org
Sent: Friday, January 07, 2005 11:40 PM
Subject: How to release connections in connection pool during reload
You need to release connections when you are done with them, con.close() ;
This is similar to using a direct connection to the jdbc except this
time the only difference is where you got the connection object from.
Calling con.close() ;
will release the driver back to the connection pool.
Lucie
In your servlet's destroy() method (I am using Struts
and plugins, and use the plugin's destroy() method),
add the following code:
((BasicDataSource) ds).close();
That is assuming your data source is named 'ds'. This
will close all connections.
Dustin
--- Lucie Chan [EMAIL PROTECTED] wrote:
Dustin,
Thanks! You''ve helped me to solve a prloblem that I've been struggling
with for days.
---
Lucie
Date: Fri, 7 Jan 2005 22:08:20 -0800 (PST)
From: Dustin [EMAIL PROTECTED]
Subject: How to release connections in connection pool during reload?
Content-Type: text/plain; charset=us-ascii
Can anybody point how to encrypt password and configure Tomcat
5.0.24(or higher) JDBC connection pool.
Thanks,
Mark.
__
Do you Yahoo!?
Check out the new Yahoo! Front Page.
www.yahoo.com
IP Sec, VPN Tunnel, etc
Search the archives on this one.
- Original Message -
From: Mark [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, November 02, 2004 3:31 PM
Subject: password encryption JDBC connection pool
Can anybody point how to encrypt password and configure Tomcat
in the database, then as far as I know
the pool has no bearing on this and is why I responded as I did.
Doug
- Original Message -
From: Mark [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, November 02, 2004 3:44 PM
Subject: Re: password encryption JDBC connection pool
Hm are you
Now, the web page throws an exception on submitting authentication. It's not able to
get ORACLE connection pool objects.
javax.servlet.ServletException: Servlet execution threw an exception
at java.lang.Throwable.fillInStackTrace(Native Method)
at java.lang.Throwable.fillInStackTrace(Compiled Code
org.apache.commons.dbcp.SQLNestedException: Cannot get a connection, pool
exhausted, cause:
java.util.NoSuchElementException: Timeout waiting for idle object
at
org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPoo
l.java:801
Jen wrote:
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
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
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 below
the
error message. The Tomcat logs file
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
I removed the opening and closing Context tag and
inserted the following code inside the Host element
of the C:\jakarta-tomcat-5.0.27\conf\server.xml file
(right before the closing /Host tag). The Tomcat
can be started again. Is it the correct way of
configuring Tomcat for using 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 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
Hi,
I've tried to put the database connection details in a separate file in
CATALINA_HOME/conf/Catalina/localhost/. That didn't work however, so
I've had to revert back to putting that same stuff in the
conf/server.xml file to get it working again
this is the app specific code that I have in
Hi,
To obtain a connection from the connection pool i use the following code
(described in the tomcat doc) :
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jndi-datasource-examples-howto.html
- First of all i describe the pool in my context.xml as a *localDataSource*
- then i make a link
a problem with it, complain to the Servlet expert group, not to
us ;)
Yoav Shapira
Millennium Research Informatics
-Original Message-
From: Philippe Mathieu [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 26, 2004 3:32 AM
To: Tomcat Users List
Subject: Access to a connection pool
Hi
Hi,
I am using Tomcat 5.0.xx under Linux Debian with Postgresql 7.xx
For me a correct war is a war where you don't have to touch to any pages to
deploy the application. I think everybody is according to this.
In my application, i'm using the Tomcat connection Pool with a JDBC connector
and a Realm
On Wed, Aug 25, 2004 at 03:40:58PM +0200, Philippe Mathieu wrote:
: For me a correct war is a war where you don't have to touch to any pages to
: deploy the application. I think everybody is according to this.
So far, so good.
: - the database/user/password must be defined in the context
[mailto:[EMAIL PROTECTED]
Sent: Friday, August 06, 2004 8:20 PM
To: [EMAIL PROTECTED]
Subject: connection pool problems, etc.
It looks like lots of people are having various kinds of problems
involving pools, and threads, and connections (perhaps to databases),
and starvation, and hanging
It looks like lots of people are having various kinds of problems
involving pools, and threads, and connections (perhaps to databases),
and starvation, and hanging, and such. (In fact, it was to ask
about just such a problem that I joined this list.) I don't have
all the information yet, but
try putting the jstl.jar and standard.jar into WEB-INF/lib
they're usually in jsp-examples/WEB-INF/lib
- Original Message -
From: Lee Chin Khiong [EMAIL PROTECTED]
To: Tomcat Users List (E-mail) [EMAIL PROTECTED]
Sent: Friday, July 30, 2004 1:31 AM
Subject: connection pool docu
Is the example in tomcat site document works ?
I do what it say but not working, especially the taglib?
Anybody knows what problem ?
type Exception report
message
description The server encountered an internal error () that prevented it
from fulfilling this request.
exception
Hi,
I have a specific questions:
How much maximum database connection pool bared by tomcat5.0.19?
How much maximum thread can be bear by tomcat5.0.19?
-Jignesh
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
the No of user
supported by ur tomcat server.
With Regards,
Pradeep Chauhan
-Original Message-
From: Jignesh Patel [mailto:[EMAIL PROTECTED]
Sent: 28.07.2004 03:31
To: [EMAIL PROTECTED]
Subject: max connection pool,max threads
Hi,
I have a specific questions:
How much maximum database
for more than just Oracle, try SELECT 1
-Original Message-
From: V D [mailto:[EMAIL PROTECTED]
Sent: Saturday, July 17, 2004 7:33 AM
To: Tomcat Users List
Subject: Re: Connection pool detecting bad connection
Thank you very much for the information. I wonder what
Hi, I am using Tomcat 5.0 and Stuct 1.1 to develop a web base application
and I want to create some prepareStatement and execute it multiple times
but since the connection is retrieved from the pool upon request, I
may get a number of connections, how can I create a prepareStatement
to a specific
:[EMAIL PROTECTED]
Sent: Monday, July 19, 2004 11:42 AM
To: Tomcat Users List
Subject: Help on tomcat 5.0 connection pool
Hi, I am using Tomcat 5.0 and Stuct 1.1 to develop a web base
application
and I want to create some prepareStatement and execute it multiple
times
but since the connection
ok, i will have a try, thanks
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Ho [mailto:[EMAIL PROTECTED]
Sent: Friday, July 16, 2004 2:15 PM
To: 'Tomcat Users List'
Subject: Connection pool detecting bad connection
I am sure people with DBCP background would know about this. My
question is what is the generic/common/standward JDBC way of check a
connection to see
1 - 100 of 465 matches
Mail list logo