RE: [OT] WAS Connection Pool

2002-10-15 Thread Shekhar Jain
are getting. Shekhar -Original Message- From: David Graham [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 15, 2002 8:02 AM To: [EMAIL PROTECTED] Subject: [OT] WAS Connection Pool What database driver class are you using? It seems like you should be able to tell WAS to use the oracle db

Re: [OT] WAS Connection Pool

2002-10-15 Thread Craig R. McClanahan
On Tue, 15 Oct 2002, Adolfo Miguelez wrote: Date: Tue, 15 Oct 2002 16:21:24 + From: Adolfo Miguelez [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: [OT] WAS Connection Pool Firsly, thanks for your response: Yeah, I knew

Re: [OT] WAS Connection Pool

2002-10-15 Thread David Graham
and would then return the correct type of Connections. Dave From: Adolfo Miguelez [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: [OT] WAS Connection Pool Date: Tue, 15 Oct 2002 16:09:46 + The point is that WAS pool returns

Re: Connection pool question

2002-08-16 Thread Jan Fetyko
to browser the archives. HTH, robert -Original Message- From: Howard Miller [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 15, 2002 7:33 AM To: 'Struts Users Mailing List' Subject: RE: Connection pool question Thanks, I don't know much about JNDI (apart from in general terms what

RE: Connection pool question

2002-08-16 Thread Robert Taylor
on this list know, or it is probably well documented in Tomcat. HTH, robert -Original Message- From: Jan Fetyko [mailto:[EMAIL PROTECTED]] Sent: Friday, August 16, 2002 9:32 AM To: Struts Users Mailing List Subject: Re: Connection pool question Robert, How would I define the DB

RE: Connection pool question

2002-08-16 Thread Robert Taylor
it in the archives. robert -Original Message- From: Robert Taylor [mailto:[EMAIL PROTECTED]] Sent: Friday, August 16, 2002 12:12 PM To: Struts Users Mailing List Subject: RE: Connection pool question Jan, Struts, itself, does not (yet?) support JDNI lookups, although the Servlet2.3

Re: Connection pool question

2002-08-16 Thread Jan Fetyko
Subject: RE: Connection pool question Jan, Struts, itself, does not (yet?) support JDNI lookups, although the Servlet2.3 spec mandates that container must. So you must define your datasources to your servlet container. The manner in which this is implemented is not standardized, so it depends on your

RE: Connection pool question

2002-08-16 Thread Craig R. McClanahan
On Fri, 16 Aug 2002, Robert Taylor wrote: Date: Fri, 16 Aug 2002 12:12:16 -0400 From: Robert Taylor [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: RE: Connection pool question Jan, Struts, itself, does

RE: Connection pool question

2002-08-16 Thread Craig R. McClanahan
On Fri, 16 Aug 2002, Robert Taylor wrote: Date: Fri, 16 Aug 2002 12:27:10 -0400 From: Robert Taylor [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: RE: Connection pool question Hmmm...let me clarify

Re: Connection pool question

2002-08-16 Thread rainer juenger
which Tomcat 4 does, as does any J2EE app server Well Craig, there where many of us who could not get it running with 4.0x The lookup was null! Some succeeded using 4.1x. Rainer -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: Connection pool question

2002-08-16 Thread Jan Fetyko
PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: RE: Connection pool question Jan, Struts, itself, does not (yet?) support JDNI lookups, although the Servlet2.3 spec mandates that container must. So you must define your datasources to your servlet container. The manner in which

Connection pool question

2002-08-15 Thread Howard Miller
Hi, Newbie, JDBC connection pool question: My application uses a central control database. This is ok, and I can see how to use a connection pool for my application to access this. BUT... The application allows a user to recover data from a range of additional databases. That is the central

RE: Connection pool question

2002-08-15 Thread Robert Taylor
PROTECTED]] Sent: Thursday, August 15, 2002 6:47 AM To: '[EMAIL PROTECTED]' Subject: Connection pool question Hi, Newbie, JDBC connection pool question: My application uses a central control database. This is ok, and I can see how to use a connection pool for my application

RE: Connection pool question

2002-08-15 Thread Howard Miller
: RE: Connection pool question One solution might be to define several datasources in your application/servlet container where each datasource corresponds to its respective database. Then use JNDI to access the datasources from your application. robert -Original Message

RE: Connection pool question

2002-08-15 Thread Robert Taylor
data sources in Struts. You may want to browser the archives. HTH, robert -Original Message- From: Howard Miller [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 15, 2002 7:33 AM To: 'Struts Users Mailing List' Subject: RE: Connection pool question Thanks, I don't know much

RE: Connection pool question

2002-08-15 Thread Howard Miller
, it is the best way to actually connect to the databases that I am concerned about. I.e, once I have the connection object (or connection pool object) where do I put it? Also, I am currently rather negative about trying to pick up yet another Java technology when I already have too many half learnt

RE: Connection pool question

2002-08-15 Thread Jacob Hookom
(..) { DataSource ds = this.getDataSource(request); } Regards, Jake | -Original Message- | From: Howard Miller [mailto:[EMAIL PROTECTED]] | Sent: Thursday, August 15, 2002 7:04 AM | To: 'Struts Users Mailing List' | Subject: RE: Connection pool question | | Thanks Robert, | | I must

RE: Connection pool question

2002-08-15 Thread Howard Miller
in a controller database. HM -Original Message- From: Jacob Hookom [mailto:[EMAIL PROTECTED]] Sent: 15 August 2002 13:22 To: 'Struts Users Mailing List' Subject: RE: Connection pool question The main benefit is speed. To initialize a connection, you could be looking at 140ms just to get

RE: Connection pool question

2002-08-15 Thread Robert Taylor
: Connection pool question Thanks Robert, I must confess I don't get it. I was under the impression that JNDI was just an abstraction mechanism for looking up objects in a choice of directories. The information about my databases is already stored in tables in the central database. Looking up

RE: Connection pool question

2002-08-15 Thread Howard Miller
Subject: RE: Connection pool question Okay, but when you get a few cycles, take some time to learn about JNDI and datasources. It's very worth while. An alternative would be to create a single object which manages your connection pools; PoolManager. Give it some static methods that allocate connections

RE: Connection pool question

2002-08-15 Thread Jacob Hookom
| To: 'Struts Users Mailing List' | Subject: RE: Connection pool question | | Wow now I finally have to read Design Patterns as well!! - sorry | Singletons and suchlike currently over my head - twenty or so years | writing | mostly assembler and Pascal! | | Your PoolManager option sounds

RE: Connection pool question

2002-08-15 Thread Robert Taylor
When your application starts up, initialize PoolManager by setting up connection pools to all possible databases; I believe you said there were only 10. PoolManager has some cache which stores each connection pool under a unique name. Provide a method like allocateConnection() which takes

RE: Connection pool question

2002-08-15 Thread Howard Miller
answered my own question - if it aint broken don't fix it!! Howard -Original Message- From: Jacob Hookom [mailto:[EMAIL PROTECTED]] Sent: 15 August 2002 13:43 To: 'Struts Users Mailing List' Subject: RE: Connection pool question Well, you can also setup connection pools

Re: Help with JDBC Connection Pool

2002-05-31 Thread Mark Johnson
If you've subclassed ActionServlet, you might try overriding init() to call super.init(). [EMAIL PROTECTED] wrote: Subject: Re: Help with JDBC Connection Pool From: Ken Holzer [EMAIL PROTECTED] === I tried to implant the info Mark had sent and when I start my server I get the following error

Re: Help with JDBC Connection Pool

2002-05-29 Thread @Basebeans.com
Subject: Re: Help with JDBC Connection Pool From: Ken Holzer [EMAIL PROTECTED] === I tried to implant the info Mark had sent and when I start my server I get the following error: Is there something I need to do in the ActionServlet? I am using the jakarta-struts-20020529 build. Thanks, Ken

Re: Help with JDBC Connection Pool

2002-05-23 Thread Mark Johnson
No problems with nightly builds, although I haven't got tiles inheritance working yet. As far as learning about the classes, please read the javadoc and source. [EMAIL PROTECTED] wrote: ...snip... Usually I will be a little negative to use nightly builds in a project. Do you know anything

Re: Help with JDBC Connection Pool

2002-05-22 Thread @Basebeans.com
Subject: Re: Help with JDBC Connection Pool From: Aslak Poppe [EMAIL PROTECTED] === Hi, I'm using struts 1.02 (which is the latest stabel release) and GenericDataSource is not depricated in this version. I have not looked in to the beta releases (which usually will get you more trouble than

Re: Help with JDBC Connection Pool

2002-05-22 Thread Mark Johnson
? GenericDataSource was recently deprecated. from [EMAIL PROTECTED]: I got a little confused with the JDBC connection pool, when trying out the samples from struts user guide. -- Mark Johnson [EMAIL PROTECTED] -- Mark Johnson [EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED

RE: Help with JDBC Connection Pool

2002-05-22 Thread Soomar, Muki (R.)
Connection Pool I had difficulty getting this working under 1.02, too, but now have it working with BasicDataSource under a nightly build. If you are interested, I can send sample config and code which works under struts-20020520. from [EMAIL PROTECTED]: Hi, I'm using struts 1.02 (which

RE: Help with JDBC Connection Pool

2002-05-22 Thread Mark Johnson
in WEB-INF/lib that might not be there*** -Original Message- From: Mark Johnson [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 22, 2002 12:58 PM To: [EMAIL PROTECTED] Subject: Re: Help with JDBC Connection Pool I had difficulty getting this working under 1.02, too, but now have it working

Re: Help with JDBC Connection Pool

2002-05-22 Thread @Basebeans.com
Subject: Re: Help with JDBC Connection Pool From: Vic C [EMAIL PROTECTED] === I assume (yes!) that this is most popular (at least I know most projects I know of use it) : http://sourceforge.net/project/showfiles.php?group_id=4899 V. Mark Johnson wrote: [EMAIL PROTECTED] wrote: Mark

Help with JDBC Connection Pool

2002-05-21 Thread @Basebeans.com
Subject: Help with JDBC Connection Pool From: Aslak Poppe [EMAIL PROTECTED] === Hi, I got a little confused with the JDBC connection pool, when trying out the samples from struts user guide. How is this best implemented. In the example you create an instance of GenericDataSource to configure

Re: Help with JDBC Connection Pool

2002-05-21 Thread Mark Johnson
What struts version are you using? GenericDataSource was recently deprecated. from [EMAIL PROTECTED]: I got a little confused with the JDBC connection pool, when trying out the samples from struts user guide. -- Mark Johnson [EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL

Is this a decent Connection Pool Manager to use?

2002-05-01 Thread Rick Reumann
I've successfully implemented this bitmechanic ConnectionPoolManager within Struts. Has anyone heard good or bad news about it? http://www.bitmechanic.com/projects/jdbcpool/ Thanks. -- Rick mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional

Struts Connection Pool Maturity - Ted - you out there?

2002-04-24 Thread Eddie Bush
Is it ready for production yet? I've been using Poolman just fine, but would like to switch to the struts pool if it is at a maturity-level that would make that possible. I know Poolman is solid, but ideally I think everything would be centrally configured. Using the built-in pool would

RE: Struts Connection Pool Maturity - Ted - you out there?

2002-04-24 Thread Sandra Cann
snip I've been using Poolman just fine, but would like to switch to the struts pool if it is at a maturity-level that would make that possible. Perhaps I misunderstanding something here? I would like to ask why Struts didn't just incorporate Poolman or Expresso's Connection pooling instead of

RE: Struts Connection Pool Maturity - Ted - you out there?

2002-04-24 Thread Sandra Cann
Einstein) -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 24, 2002 4:49 PM To: Struts Users Mailing List Subject: RE: Struts Connection Pool Maturity - Ted - you out there? In the particular case of the Espresso connection pool, I didn't know

RE: Struts Connection Pool Maturity - Ted - you out there?

2002-04-24 Thread Sandra Cann
snip In the particular case of the Espresso connection pool, I didn't know about it at the time. I wrote Ted about using Expresso Connection pooling on 10/10/01. He responded that we could propose to contribute it to Commons. Sandra -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED

Re: Struts Connection Pool Maturity - Ted - you out there?

2002-04-24 Thread Eddie Bush
would have done them. Therefore, especially considering the price (!), I go with them whenever possible. I've looked at other things - I've used Poolman for a while now. What I want, because of the added ease of implementation/maintenance is a Struts connection pool that is production-capable

Re: Struts Connection Pool Maturity - Ted - you out there?

2002-04-24 Thread Eddie Bush
: Wednesday, April 24, 2002 3:49 PM Subject: RE: Struts Connection Pool Maturity - Ted - you out there? In the particular case of the Espresso connection pool, I didn't know about it at the time. In the particular case of Poolman, it has (well, now it is really had) a single developer instead

RE: Struts Connection Pool Maturity - Ted - you out there?

2002-04-24 Thread Craig R. McClanahan
On Wed, 24 Apr 2002, Sandra Cann wrote: Date: Wed, 24 Apr 2002 17:21:09 -0400 From: Sandra Cann [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: RE: Struts Connection Pool Maturity - Ted - you out

RE: Struts Connection Pool Maturity - Ted - you out there?

2002-04-24 Thread Sandra Cann
Craig Thanks for all of the clarification - I'm relieved that there can be third party open source in Apache projects. :) I stand corrected. If others are willing to support an imported third party module, then that is fine. But I feel a personal moral obligation to Struts users that

RE: Struts Connection Pool Maturity - Ted - you out there?

2002-04-24 Thread Craig R. McClanahan
of using the Expresso connection pool was raised, org.apache.struts.util.GenericDataSource had been published in the Struts 1.0 release for almost five months. You've heard me rant about backwards compatibility on at least a couple of occasions :-). The effectiveness of our joint community

Connection Pool Sample

2002-04-10 Thread [EMAIL PROTECTED]
Hi, I would like to see a sample where the Connction Pool mechanism of struts is implementet. Can anyone please point one out for me? thanx, rainer

Re: Connection pool behaviour

2002-04-05 Thread Johannes Wolfgang Woger
Hi, it turned out that my problem is not related to connnection pooling, it even appears with Class.forName(interbase.interclient.Driver); con = Drivermanager(url,user,passwd). An other strange behavior ocurrs. If I manually remove all data from the database, they all get written back with the

Connection pool behaviour

2002-04-04 Thread @Basebeans.com
Subject: Connection pool behaviour From: Johannes Wolfgang Woger [EMAIL PROTECTED] === Hi, I notized that both PoolMan and struts-DataSource do not refresh their output from an SELECT * FROM MYTABLE if mytable was changed by an other application. Struts-DataSource does refresh when Tomcat

RE: Connection pool behaviour

2002-04-04 Thread Zeltser, Mark
refresh. Mark. -Original Message- From: Struts Newsgroup [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 04, 2002 2:55 AM To: [EMAIL PROTECTED] Subject: Connection pool behaviour Subject: Connection pool behaviour From: Johannes Wolfgang Woger [EMAIL PROTECTED] === Hi, I notized

connection pool not refreshing

2002-04-04 Thread Johannes Wolfgang Woger
Hi, I have a small struts application that writes into and reads from an InterBase Database via an interclient jdbc driver. I tried both PoolMan and the DataSource provided by ActionServlet itself. In both cases the real state of the database is not shown up in the application if the table was

Re: Connection pool behaviour

2002-04-04 Thread Johannes Wolfgang Woger
:[EMAIL PROTECTED]] Sent: Thursday, April 04, 2002 2:55 AM To: [EMAIL PROTECTED] Subject: Connection pool behaviour Subject: Connection pool behaviour From: Johannes Wolfgang Woger [EMAIL PROTECTED] === Hi, I notized that both PoolMan and struts-DataSource do not refresh their output from

RE: Connection pool behaviour

2002-04-04 Thread Zeltser, Mark
: Connection pool behaviour Thanks, but I cacheEnabled true and setting a cacheRefreshInterval the log file even tells me that poolman is refreshing, but simply does not. I use tomcat403 and poolman 2.1-b1 Wolfgang Zeltser, Mark schrieb: Both datasources should reflect database change when tomcat

RE: DB connection pool

2002-03-21 Thread Boyalla, Raveendra
AM To: 'Struts Users Mailing List' Subject: RE: DB connection pool Hi, Does anyone have any examples of how to use Struts connection pooling without having to do this through a servlet? Our data access objects have no knowledge of the servlet layer. They only know about their models...Thanks

DB Connection pool

2002-03-04 Thread @Basebeans.com
Subject: DB Connection pool From: Vic Cekvenich [EMAIL PROTECTED] === re: http://www.mail-archive.com/struts-user%40jakarta.apache.org/msg23194.html Any suggestions on a supported and open source connection pool ? (non expresso) Vic -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED

Subject: DB Connection pool

2002-03-04 Thread @Basebeans.com
Subject: Subject: DB Connection pool 6891:From: Vic Cekvenich [EMAIL PROTECTED] === -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Tomcat Connection Pool?

2002-02-14 Thread @Basebeans.com
Subject: Tomcat Connection Pool? From: Matt Raible [EMAIL PROTECTED] === I heard from a friend today that Tomcat 4.x has built-in Connection pooling. Is this true - he mentioned it was related to the JDBCRealm - which I thought was only available for authentication. If Tomcat does have

Re: trouble with DB connection pool - style question

2001-12-19 Thread Peter Kordel
with alternative connection pools without modifying my application objects. // set up a connection pool with // dbName from web.xml initparam javax.sql.DataSource defaultPool = PoolMan.findDataSource(dbName); zConnectionHolder dsPool = new zConnectionHolder

Re: trouble with DB connection pool - style question

2001-12-18 Thread Peter Kordel
a connection pool with // dbName from web.xml initparam javax.sql.DataSource defaultPool = PoolMan.findDataSource(dbName); zConnectionHolder dsPool = new zConnectionHolder(); dsPool.setDefaultPool(defaultPool); context.setAttribute(dsPool, dsPool); Then I proceed like you

Re: trouble with DB connection pool - style question

2001-12-18 Thread Andy Timm
such as getConnection() and closeConnection() that in turn call the correct methods in Poolman. That way, I can plug-and-play with alternative connection pools without modifying my application objects. // set up a connection pool with // dbName from web.xml initparam javax.sql.DataSource defaultPool

Re: trouble with DB connection pool - style question

2001-12-18 Thread Andy Timm
methods such as getConnection() and closeConnection() that in turn call the correct methods in Poolman. That way, I can plug-and-play with alternative connection pools without modifying my application objects. // set up a connection pool with // dbName from web.xml initparam

trouble with DB connection pool - style question

2001-12-17 Thread Andy Timm
Hello. I am trying to implement a DB connection manager with my Struts webapp. I created a servlet that gets called when Tomcat is initialized, that creates a DbConnectionBroker, and puts it in the ServletContext: getServletContext().setAttribute(dbPool, dbPool); In a 'ActionForm', I'm

DB connection pool throws exception

2001-11-30 Thread Mâris Orbidâns
I configured MySql datasource but it doesnt work if I run WEBApp with Tomcat that's embedded in Forte CE 3.0. Have you ever seen the exception I've got ? Maris Don't forget to configure your database int the struts-config.xml Ciao struts-config data-sources data-source

DB connection pool

2001-11-28 Thread Màris Orbidàns
hi How to get a connection from connection pool ? Maris Orbidans -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: DB connection pool

2001-11-28 Thread Viet Kevin
//take the DataSource from the servlet context DataSource datasource = getServlet().getServletContext(Action.DATASOURCE_KEY); // and the connection Connection connection = datasource.getConnection(); Don't forget to configure your database int the struts-config.xml Ciao

RE: DB connection pool

2001-11-28 Thread Tom Lister
: 28 November 2001 13:43 To: Struts Users Mailing List Subject:Re: DB connection pool //take the DataSource from the servlet context DataSource datasource = getServlet().getServletContext(Action.DATASOURCE_KEY); // and the connection

RE: DB connection pool

2001-11-28 Thread Arnaud Héritier
: Tom Lister [SMTP:[EMAIL PROTECTED]] Date: mercredi 28 novembre 2001 15:14 À:'Struts Users Mailing List' Objet:RE: DB connection pool Does anyone know how to work with multiple connection pools to different databases. :-) Regards [EMAIL PROTECTED] mailto:[EMAIL PROTECTED

Re: DB connection pool

2001-11-28 Thread Otavio C. Decio
, November 28, 2001 9:36 AM Subject: RE: DB connection pool In your struts-config.xml you declare all your connections pool : data-sources data-source set-property property=key value=db1/ ... /data-source data-source set-property property=key value=db2/ ... /data-source data-source set-property property

RE: DB connection pool

2001-11-28 Thread Arnaud Héritier
novembre 2001 15:32 À:Struts Users Mailing List Objet:Re: DB connection pool Yes, I know, but I don't want my DAO to know anything about Actions. I like Tom Lister's idea, to simply pass the datasorce to the DAO. Thanks! Otavio - Original Message - From: Arnaud Héritier

RE: DB connection pool

2001-11-28 Thread David Bolsover
Hi The solution I use is to use a WEB.xlm configured servlet to establish a connection pool as follows: -snip- public class DataAccess extends HttpServlet { private GenericDataSource dataSource = null; private String description; public void init() throws ServletException

=?ISO-8859-2?Q?Newbie design question - How to use properly use a connection pool in the b=

2001-11-26 Thread Nobody
each time it was instantiated, but to be able to effectively use a connection pool, it would need to persist (like a servlet). The problem I am having is how would I give the other beans access to this db bean that has the connection pool? I was thinking I could maybe put the db bean

RE: =?ISO-8859-2?Q?Newbie design question - How to use properly use a connection pool in the b=

2001-11-26 Thread Markus Massak
see dbmanager as model. greetings -Original Message- From: Nobody [mailto:[EMAIL PROTECTED]] Sent: Montag, 26. November 2001 05:30 To: Struts Users Mailing List Subject: =?ISO-8859-2?Q?Newbie design question - How to use properly use a connection pool in the b= usiness logic beans?= X

database connection-pool

2001-10-01 Thread Antonio Lourinho
see that there is a way to integrate a connection pool given certain parameters in the struts-config.xml file. Can anyone give me a link where i can read something more about it? Antonio - Portugal

Re: database connection-pool

2001-10-01 Thread C O'Connor
was thinking in using the appropriate Oracle driver, but looking at the the Struts example i see that there is a way to integrate a connection pool given certain parameters in the struts-config.xml file. Can anyone give me a link where i can read something more about it? Antonio - Portugal

Re: database connection-pool

2001-10-01 Thread Craig_Reichenbach
] rsoft.com cc: (bcc: Craig Reichenbach/CAM/Lotus) Subject: database connection-pool 10/01/2001 06:05

Connection Pool

2001-08-29 Thread java_san
Hi Gurus, 1. Can someone let me know the steps involved in setting up a connection pool in struts config files? 2. Also a small snippet of code on how to use it from a action servlet. Is it as easy as getting a ref. to a connection pool using JNDI. Your help is highly appreciated. Sanjay

example for data-source connection pool in struts-config.xml

2001-07-09 Thread Matteo Di Giovinazzo
there's any example or tutorial for using the data-source tag in struts-config.xml? TIA, matteo

Re: example for data-source connection pool in struts-config.xml

2001-07-09 Thread Ted Husted
=4 minCount=2 password=mypassword url=jdbc:postgresql://localhost/mydatabase user=myusername / /data-sources -- For more about the Generic Connection Pool, see the Developers Guide for the Utilities http://jakarta.apache.org/struts/api/org/apache

Connection Pool from JSP tag?

2001-07-06 Thread Jonathan Fuerth
Hello! I've made up a custom JSP tag that I'm using with a struts application: It loads an organisation hierarchy from a JDBC data source and renders it to HTML. My question is this: How does my JSP custom tag class ask the Struts connection pool for one of its connections? Thanks! Jonathan

Re: Connection Pool from JSP tag?

2001-07-06 Thread Ted Husted
Struts exposes the connection pool as a javax.sql.DataSource in the application context, and you can use that object to request a connection. This works great with the Jakarta Taglibs dbTag, so it should work for others as well. The name of the Datasource attribute

more connection pool problems ....

2001-05-24 Thread Gogineni, Pratima
I see the following strange behavior or JRUN and *Not* on TOMCAT. I have an access database that is registered as an ODBC user dsn - the connection pool finds the datasource the runs fine in tomcat but when the same war file is running in JRUN a URI not found exception is thrown. But if create

RE: more connection pool problems ....

2001-05-24 Thread Roman Fail
-Original Message- From: Gogineni, Pratima Sent: Thu 5/24/2001 3:49 PM To: '[EMAIL PROTECTED]' Cc: Subject: more connection pool problems I see the following strange behavior or JRUN and *Not* on TOMCAT

RE: more connection pool problems ....

2001-05-24 Thread Gogineni, Pratima
Title: more connection pool problems Thanks - there is no problem with running under the system dsn -I was just wondering why I should see different behavior on the two appservers. I didnt see anything in the documentation but the JRun news groups seems to have several threads

RE: connection pool problem (with Beta release)

2001-05-16 Thread Johan Compagner
, Pratima [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 16, 2001 2:11 AM To: '[EMAIL PROTECTED]' Subject: RE: connection pool problem (with Beta release) Okay another symptom - the problem persists even when i set the isolation to read_uncommitted. -Original Message- From: Gogineni

connection pool problem (with Beta release)

2001-05-15 Thread Gogineni, Pratima
I have a very odd problem - I was hoping the symptoms sound familiar to someone on the list... I display a database table to the user in the jsp page the user can insert/delete or update into this table - this is sent to an action class that uses the struts connection pool and executes

RE: connection pool problem (with Beta release)

2001-05-15 Thread Gogineni, Pratima
Okay another symptom - the problem persists even when i set the isolation to read_uncommitted. -Original Message- From: Gogineni, Pratima Sent: Tuesday, May 15, 2001 3:35 PM To: '[EMAIL PROTECTED]' Subject: connection pool problem (with Beta release) I have a very odd problem - I

Re: Data Connection Pool, solution?

2001-04-17 Thread Johan Compagner
there should be another attribute in the datasource like this: testSql="select * from test" and GenericConnection has a setTestSql(String) method and that test method is executed right before the connections is given to the request in getConnection() When it fails it closed and tries

Data Connection Pool

2001-04-16 Thread Anthony Martin
I have been very pleased with the Struts framework. I'm sure this issue has been dealt with, I'm just not sure how to approach it. When I leave my database pooled connections open for long periods of time, there is a possibility that the server will reset. When this happens, my database driver

Connection Pool

2001-03-25 Thread Scott Walter
Hi, I am trying to setup a connection pool using the GenericDataSource, however I am getting a class not found on javax.sql.DataSource? I know this is part of the jdbc 2.0 optional package, but do not know where to get it? Any clues thanks, scott

Re: Connection Pool

2001-03-25 Thread Scott Walter
Never mind, I found it at: http://javasoft.com/products/jdbc/download.html --- Scott Walter [EMAIL PROTECTED] wrote: Hi, I am trying to setup a connection pool using the GenericDataSource, however I am getting a class not found on javax.sql.DataSource? I know this is part of the jdbc

Connection Pool

2001-03-16 Thread Christophe Vigny
Where is the connection pool ? in tomcat, in turbine or in strut ?

RE: Connection Pool

2001-03-16 Thread Kyle Robinson
http://jakarta.apache.org/struts/api/org/apache/struts/util/package-summary. html#doc.JDBC -Original Message- From: Christophe Vigny [mailto:[EMAIL PROTECTED]] Sent: Friday, March 16, 2001 08:31 To: [EMAIL PROTECTED] Subject: Connection Pool Where is the connection pool ? in tomcat

Re: Connection Pool

2001-03-16 Thread Vladimir Levin
From: Christophe Vigny [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Connection Pool Date: Fri, 16 Mar 2001 17:31:25 +0100 Where is the connection pool ? in tomcat, in turbine or in strut ? _ Get

Re: Connection Pool

2001-03-16 Thread Vladimir Levin
From: Christophe Vigny [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Connection Pool Date: Fri, 16 Mar 2001 17:31:25 +0100 Where is the connection pool ? in tomcat, in turbine or in strut ? _ Get

RE: Connection Pool

2001-03-16 Thread Tait, Allen
-Original Message- From: Vladimir Levin [SMTP:[EMAIL PROTECTED]] Sent: Friday, March 16, 2001 12:14 PM To: [EMAIL PROTECTED] Subject: Re: Connection Pool Ooops. I forget how to un-subscribe to this list. I would like to use a different E-mail address for this list

Re: Connection Pool

2001-03-16 Thread Craig R. McClanahan
On Fri, 16 Mar 2001, Christophe Vigny wrote: Where is the connection pool ? in tomcat, in turbine or in strut ? Turbine and Struts both have connection pool implementations. Struts can actually use any connection pool that implements javax.sql.DataSource -- it only defaults to its own

Re: db connection pool

2001-02-04 Thread Bill Sofko
. allow-shrinkingtrue/false/allow-shrinking shrink-period-min100/shrink-period-min What you think? Andre This is a feature that I'd very much like to see added to the Struts connection pool. I'm in the process of porting an application to Struts that requires this feature (currently works

db connection pool

2001-01-31 Thread Andre Wittenburg
Hello, i just looked at the GenericDataSource and thought it would be a nice feature to shrink the pool size when the connections are not needed anymore. If you all agree, imho there should be two more values in the dtd for the data-source and GenericDataSource.

Re: configuring database connection pool

2001-01-31 Thread Craig R. McClanahan
Steve A Drake wrote: As a follow-up to the problem I was having with the setReadOnly() method for the Connection object (using Informix), I downloaded the latest/greatest JDBC driver that I could find (SQLJ 2.20.JC1 from www.informix.com/evaluate) and found the same problem. From the

Re: configuring database connection pool

2001-01-29 Thread Steve A Drake
As a follow-up to the problem I was having with the setReadOnly() method for the Connection object (using Informix), I downloaded the latest/greatest JDBC driver that I could find (SQLJ 2.20.JC1 from www.informix.com/evaluate) and found the same problem. From the release notes (file:

configuring database connection pool

2001-01-25 Thread Steve A Drake
Hello. I'm trying to configure Struts to instantiate a database connection pool using the ifxjdbc.jar driver for the Informix Dynamic Server (7.2). So far, I'm getting exceptions at startup. I also get an exception when I try to obtain a DB connection. Any help would be appreciated! Note

Re: configuring database connection pool

2001-01-25 Thread Craig R. McClanahan
to configure Struts to instantiate a database connection pool using the ifxjdbc.jar driver for the Informix Dynamic Server (7.2). So far, I'm getting exceptions at startup. I also get an exception when I try to obtain a DB connection. Any help would be appreciated! Note that I've verified

Re: configuring database connection pool

2001-01-25 Thread Steve A Drake
On Thu, 25 Jan 2001, Craig R. McClanahan wrote: It looks like the Informix JDBC driver is throwing an exception when you call setReadOnly(true) on one of its connections. Could you try that in a standalone program and see what happens, and also what happens if you call setReadOnly(false)?

<    1   2   3   >