Re: using a datasource connection pool resource with username and password supplied by user

2005-10-10 Thread Bob Hall
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

RE: using a datasource connection pool resource with username and password supplied by user

2005-10-10 Thread Akoulov, Alexandre [IT]
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

Re: using a datasource connection pool resource with username and password supplied by user

2005-10-10 Thread jeffery . s . eaton
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

RE: using a datasource connection pool resource with username and password supplied by user

2005-10-10 Thread jeffery . s . eaton
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

Re: using a datasource connection pool resource with username and password supplied by user

2005-10-10 Thread Bob Hall
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

Re: using a datasource connection pool resource with username and password supplied by user

2005-10-10 Thread jeffery . s . eaton
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

[OT] Re: using a datasource connection pool resource with username and password supplied by user

2005-10-10 Thread Bob Hall
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

using a datasource connection pool resource with username and password supplied by user

2005-10-09 Thread jeffery . s . eaton
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

RE: using a datasource connection pool resource with username and password supplied by user

2005-10-09 Thread Caldarale, Charles R
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

Re: using a datasource connection pool resource with username and password supplied by user

2005-10-09 Thread Parsons Technical Services
. 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

Re: using a datasource connection pool resource with username and password supplied by user

2005-10-09 Thread jeffery . s . eaton
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

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

Problem with autocommit in connection-pool on tomcat

2005-08-02 Thread starki78
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

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

how to tell available connections within connection pool

2005-07-28 Thread Raymond Fung
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

Re: how to tell available connections within connection pool

2005-07-28 Thread Andre Schild
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

Connection pool

2005-07-21 Thread Sridhar
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]

Re: Connection pool

2005-07-21 Thread Christoph Kutzinski
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

Re: Connection pool exhausted

2005-07-20 Thread Peddireddy Srikanth
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

Fw: Connection Pool problem...........

2005-07-19 Thread Sridhar
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

Connection Pool problem...........

2005-07-19 Thread Sridhar
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

Connection pool exhausted

2005-07-19 Thread Tony Smith
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

Re: Connection pool exhausted

2005-07-19 Thread Alon Belman
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

Re: Connection pool exhausted

2005-07-19 Thread Nikola Milutinovic
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

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

Connection Pool

2005-07-05 Thread Sapales
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

Re: Connection Pool

2005-07-05 Thread Elaine
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

Unable to create connection pool

2005-06-24 Thread Christoph Kling
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

Connection pool information in TC 5

2005-06-15 Thread Sethuraman, Prabhu \(Cognizant\)
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

Re: Tomcat 5.5.9 Connection Pool / JNDI / DBCP

2005-04-23 Thread Lars Nielsen Lind
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

Tomcat 5.5.9 Connection Pool / JNDI / DBCP

2005-04-20 Thread Lars Nielsen Lind
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:

Re: Tomcat 5.5.9 Connection Pool / JNDI / DBCP

2005-04-20 Thread David Smith
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

Re: can´t Configurate Database Connection Pool (DBCP) with Tomcat 5.0.28

2005-04-17 Thread Sevillano sevi llano
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

can´t Configurate Database Connection Pool (DBCP) with Tomcat 5.0.28

2005-04-15 Thread Sevillano sevi llano
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

Re: can´t Configurate Database Connection Pool (DBCP) with Tomcat 5.0.28

2005-04-15 Thread Benjamin Cuthbert
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

Re: can´t Configurate Database Connection Pool (DBCP) with Tomcat 5.0.28

2005-04-15 Thread Sevillano sevi llano
@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

Re: can´t Configurate Database Connection Pool (DBCP) with Tomcat 5.0.28

2005-04-15 Thread Anto Paul
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

Re: can´t Configurate Database Connection Pool (DBCP) with Tomcat 5.0.28

2005-04-15 Thread Benjamin Cuthbert
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

Re: can´t Configurate Database Connection Pool (DBCP) with Tomcat 5.0.28

2005-04-15 Thread Sevillano sevi llano
: 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

Re: can´t Configurate Database Connection Pool (DBCP) with Tomcat 5.0.28

2005-04-15 Thread Sevillano sevi llano
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

Re: can´t Configurate Database Connection Pool (DBCP) with Tomcat 5.0.28

2005-04-15 Thread Anto Paul
[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

Re: can´t Configurate Database Connection Pool (DBCP) with Tomcat 5.0.28

2005-04-15 Thread Caroline Jen
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

Re: can´t Configurate Database Connection Pool (DBCP) with Tomcat 5.0.28

2005-04-15 Thread Parsons Technical Services
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

Re: can´t Configurate Database Connection Pool (DBCP) with Tomcat 5.0.28

2005-04-15 Thread Sevillano sevi llano
-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

Re: can´t Configurate Database Connection Pool (DBCP) with Tomcat 5.0.28

2005-04-15 Thread Caroline Jen
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

Re: Re: can´t Configurate Database Connection Pool (DBCP) with Tomcat 5.0.28

2005-04-15 Thread Ben Kim
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

RE: Cannot get a connection, pool exhausted

2005-04-02 Thread Koller Krisztian
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

Re: Cannot get a connection, pool exhausted

2005-04-02 Thread Hassan Schroeder
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

Cannot get a connection, pool exhausted

2005-04-01 Thread Koller Krisztian
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

Re: Cannot get a connection, pool exhausted

2005-04-01 Thread Parsons Technical Services
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

Getting Tomcat to start my connection pool on startup.

2005-03-29 Thread Brian McGovern
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

Re: Getting Tomcat to start my connection pool on startup.

2005-03-29 Thread dshort
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

Tomcat 5.5.7 using builtin JDBC connection pool, can't access 'real' connection - accessToUnderlyingConnectionAllowed=true

2005-02-25 Thread Bernd Bartke
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:

connection Pool leaking - how to detect it ?

2005-01-24 Thread Manisha Sathe
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

RE: connection Pool leaking - how to detect it ?

2005-01-24 Thread Mike Curwen
: 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

Re: RE: connection Pool leaking - how to detect it ?

2005-01-24 Thread bounce
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

RE: How to release connections in connection pool during reload?

2005-01-10 Thread Phillip Qin
@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

Re: How to release connections in connection pool during reload?

2005-01-08 Thread Parsons Technical Services
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

connection pool ? tomcat hangs

2005-01-08 Thread Eric Wulff
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

How to release connections in connection pool during reload?

2005-01-07 Thread Lucie Chan
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

Re: How to release connections in connection pool during reload?

2005-01-07 Thread Parsons Technical Services
-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

Re: How to release connections in connection pool during reload?

2005-01-07 Thread Kwok Peng Tuck
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

Re: How to release connections in connection pool during reload?

2005-01-07 Thread Dustin
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:

How to release connections in connection pool during reload?

2005-01-07 Thread Lucie Chan
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

password encryption JDBC connection pool

2004-11-02 Thread Mark
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

Re: password encryption JDBC connection pool

2004-11-02 Thread Parsons Technical Services
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

Re: password encryption JDBC connection pool

2004-11-02 Thread Parsons Technical Services
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

Apache/Tomcat - Connection Pool Allocation

2004-09-23 Thread VS Venkataragavan
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:

2004-09-20 Thread Shilpa Nalgonda
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

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

2004-09-15 Thread David Smith
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

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
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

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
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

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

database connection pool in server.xml -- conf/Catalina/localhost/app.xml

2004-09-08 Thread Luke (Terry) Vanderfluit
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

Access to a connection pool

2004-08-26 Thread Philippe Mathieu
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

RE: Access to a connection pool

2004-08-26 Thread Shapira, Yoav
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

connection Pool and realms : how to avoid redundances

2004-08-25 Thread Philippe Mathieu
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

Re: connection Pool and realms : how to avoid redundances

2004-08-25 Thread QM
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

RE: connection pool problems, etc.

2004-08-09 Thread Shapira, Yoav
[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

connection pool problems, etc.

2004-08-06 Thread Steve Summit
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

Re: connection pool docu

2004-07-30 Thread Betto McRose G,
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

connection pool docu

2004-07-29 Thread Lee Chin Khiong
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

max connection pool,max threads

2004-07-27 Thread Jignesh Patel
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

RE: max connection pool,max threads

2004-07-27 Thread Pradeep Chauhan
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

RE: Connection pool detecting bad connection

2004-07-19 Thread Mike Curwen
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

Help on tomcat 5.0 connection pool

2004-07-19 Thread Koon Yue Lam
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

RE: Help on tomcat 5.0 connection pool

2004-07-19 Thread Shapira, Yoav
:[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

Re: Help on tomcat 5.0 connection pool

2004-07-19 Thread Koon Yue Lam
ok, i will have a try, thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Connection pool detecting bad connection

2004-07-17 Thread V D
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   2   3   4   5   >