Drop connection pooling in struts and either go to Container pooling or use
a product like Poolman (on sourceforge). Struts DataSource is no longer
supported.
Edgar
-Original Message-
From: hernux [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 18, 2003 1:39 AM
To: [EMAIL
Hi Vic,
data-sources
data-source key=contact
set-property property=autoCommit value=true/
set-property property=description value=Mysql Contacts/
set-property property=driverClass value=com.mysql.jdbc.Driver/
set-property property=maxCount value=5/
set-property
Just becuase Struts has something, does not mean you use all of it, just
the main part. For example bean create is not MVC, the point of action
is to pre poplate the bean, also better done with c:out.
For example the way you are trying to is deprecated.
The create a data source pool and JNDI
I think the connection manager that struts ships with has primitive
connection pooling built into it. Just read the docs.
- Navneet
Joseph William said the following on 30/09/2003 4:17 AM:
Hello...
I am developing a small application using Struts and am trying to connect with MYSQL... I got
Hi...
This is what I have done in my application... I had specified the datasource in the
struts config file...
data-sources
data-source
set-property property=autoCommit value=false/
set-property property=description value=MySQL/
set-property property=driverClass
Tomcat provides a connection pool for you via a JNDI datasource, so you
need to rely on the struts datasource.
You can find out a little more over here :
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-datasource-examples-howto.html
Joseph William wrote:
Hello...
I am developing a
Kapadia Mitesh-C23457 wrote:
Hello.
I would like to explore Connection Pooling as opposed to direct JDBC calls
to an Oracle V8.1.6 database in a STRUTS application.
Just for further clarification, are you talking about using the Struts
Data Sources or something external to Struts, like the
Kapadia Mitesh-C23457 wrote:
Hello.
I would like to explore Connection Pooling as opposed to direct JDBC calls
to an Oracle V8.1.6 database in a STRUTS application.
The queries that are being executed have some kind of security built into
them such that they only return results based on the User
- Original Message -
From: Craig R. McClanahan [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Tuesday, September 23, 2003 1:41 PM
Subject: Re: Connection Pooling + User Authentication
For Oracle in particular, I've had a lot of success doing things based
Am Dienstag, 23. September 2003 19:41 schrieb Craig R. McClanahan:
Just for completeness, yet another approach. As I can't explain it
better, I'll just cite the relevant passage from Hans Bergsten's
ever-resourceful JSP book (the O'Reilly one with the wolf on the
front cover, 2nd edition, p.
Can any one explain,What does one mean by Connection Pooling? Is it
advisable to prcatice Connection Pooling and if so,in WHAT CIRCUMSTANCES and
Is there any aspect which should be kept in mind/taken care of while using
Connection Pooing how connection
pooling changes the working of an Web
Were the google resources no good? The DBCP front page also gives a good,
though concise definition. Basically, if you have an app with more than 1
or 2 users you should definitely use it.
Also, see post called Re: Connection Pooling by Kwok Peng Tuck earlier
this week.
Matt
- Original
Connection Pooling means to make available a pool of connections. In the
case of a database it would be of course db connections.
I think the front page of commons dbcp explains it pretty well :
http://jakarta.apache.org/commons/dbcp/
Tomcat does ship with dbcp and you can configure it by
I've not used the struts data source mechanism myself, but you can find the
documentation for it (for struts 1.0.2) at
http://jakarta.apache.org/struts/doc-1.0.2/api/org/apache/struts/util/package-summary.html#doc.JDBC.
And though you didn't ask, here's my opinion for free...
I personally
poolman
Am Fre, 2002-03-01 um 17.33 schrieb [EMAIL PROTECTED]:
Does anyone know of a decent (recommended for production) open source implementation
of JDBC DataSource or so other connection pooling mechanism.
thanks.
bilal
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For
Subject: Re: connection pooling
poolman
Am Fre, 2002-03-01 um 17.33 schrieb [EMAIL PROTECTED]:
Does anyone know of a decent (recommended for production)
open source implementation of JDBC DataSource or so other
connection pooling mechanism.
thanks.
bilal
--
To unsubscribe, e-mail
Most appservers have their own connection pooling built-in and automatic
registration with JNDI.
For instance, Tomcat 4.x uses Exolab's Tyrex (tyrex.exolab.org). This is
probably your best solution, then you can just register your datasource as a
resource entry in your web.xml and grab it using
Currently using Oracle 8.1.7 and Poolman 2.0.4. Like you, we also stay away
from betas.
- Original Message -
From: Mark Woon [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Friday, February 01, 2002 4:12 PM
Subject: Re: Poolman benefits? (was Re: Connection
Mailing List
Subject: Poolman benefits? (was Re: Connection Pooling)
cahana wrote:
Have you tried Poolman to do your connection pooling?
I've only taken a cursory look at Poolman and I'm a little unclear as to
what
benefits it provides. I'm using an Oracle server, and using the Oracle JDBC
thin
You could use Oracle's connection pooling. You can use either the oci or
thin client (in fact, the jdbc url is the same for pooling).
The only difference I saw was that you get connections from the pool
instead of from the driver manager.
The pool class is
Subject: Poolman benefits? (was Re: Connection Pooling)
cahana wrote:
Have you tried Poolman to do your connection pooling?
I've only taken a cursory look at Poolman and I'm a little unclear as to
what
benefits it provides. I'm using an Oracle server, and using the Oracle
JDBC
thin client
, but I also need the app to work in WebSphere.
-Original Message-
From: Andrew Myers [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 31, 2002 7:50 PM
To: [EMAIL PROTECTED]
Subject: Re: Connection Pooling
I did give this a try although I had a few hassles getting it
running
You are wrong on this. Oracle 8 drivers definitely support Java 2.0 and
JDBC 2.0. Perhaps you have the wrong driver?
http://otn.oracle.com/docs/products/oracle8i/doc_library/817_doc/java.817/a8
3724/overvw5.htm#1000974
Mark
-Original Message-
From: Brad Rhoads [mailto:[EMAIL
Note that the email server butchered the URL:
-Original Message-
From: Galbreath, Mark
Sent: Friday, February 01, 2002 11:00 AM
To: 'Struts Users Mailing List'
Subject: RE: Connection Pooling
You are wrong on this. Oracle 8 drivers definitely support Java 2.0 and
JDBC 2.0. Perhaps
Message-
From: Galbreath, Mark [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 01, 2002 10:00 AM
To: 'Struts Users Mailing List'
Subject: RE: Connection Pooling
You are wrong on this. Oracle 8 drivers definitely support
Java 2.0 and
JDBC 2.0. Perhaps you have the wrong driver?
http
:00 AM
To: 'Struts Users Mailing List'
Subject: RE: Connection Pooling
You are wrong on this. Oracle 8 drivers definitely support
Java 2.0 and
JDBC 2.0. Perhaps you have the wrong driver?
http://otn.oracle.com/docs/products/oracle8i/doc_library/817_d
oc/java.817/a8
3724/overvw5.htm#1000974
]]
Sent: Friday, February 01, 2002 10:41 AM
To: 'Struts Users Mailing List'
Subject: RE: Connection Pooling
Looks like you're screwed. I haven't used anything but 8i
and SQL Server
7/2000 for over 2 years. If you can't get any solid info
from Oracle or
this list, scoot over to [EMAIL
[EMAIL PROTECTED]
Sent: Thursday, January 31, 2002 9:31 PM
Subject: Poolman benefits? (was Re: Connection Pooling)
cahana wrote:
Have you tried Poolman to do your connection pooling?
I've only taken a cursory look at Poolman and I'm a little unclear as to
what
benefits it provides. I'm using
fredag februar 1 2002 kl. 05:21 PM skrev Brad Rhoads:
That link was to info mostly about 8i (Build 8.1.7). I need it work w/
Build
8.0.5.
* Different JDKs require different class files--classes in classes12.zip,
classes111.zip, and classes102.zip, respectively
This means that you need
I guess my real question is whether Poolman's implementation is better than
Oracle's implementation. Has anyone done any performance testing of any sort
along these lines?
Larry Meadors wrote:
You could use Oracle's connection pooling. You can use either the oci or
thin client (in fact, the
Thanks for the info.
Out of curiosity, what version of Poolman and Oracle thin client are you using?
We have a policy here that frowns upon using anything marked as beta on our
production systems, and I'm wondering about the stability of the beta Poolman
2.1. Should I be using the older 2.0.4
: Connection Pooling
Have you tried Poolman to do your connection pooling? It provides a way to
specify a validation query which periodically checks to see if the database
is still accessible. If it doesn't, it'll keep trying to connect to the
database until it comes back up. The url
?
Thanks,
Andrew.
- Original Message -
Subject: Re: Connection Pooling
Date: Wed, 30 Jan 2002 20:32:08 -1000
From: cahana [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Have you tried Poolman to do your connection pooling? It provides a way to
specify a validation
cahana wrote:
Have you tried Poolman to do your connection pooling?
I've only taken a cursory look at Poolman and I'm a little unclear as to what
benefits it provides. I'm using an Oracle server, and using the Oracle JDBC
thin client to connect to it. The thin client has support for
Have you tried Poolman to do your connection pooling? It provides a way to
specify a validation query which periodically checks to see if the database
is still accessible. If it doesn't, it'll keep trying to connect to the
database until it comes back up. The url is www.codestudio.com
-
On Thu, 5 Apr 2001, Christophe Thiébaud wrote:
Hi
my problem is : how to make GenericDataSource visible to JNDI ?
You have to rely on container-specific configuration to make this
happen. For example, in Tomcat 4.0 you can configure an appropriate
resource in the conf/server.xml file.
I have used the CacheRowSet however I get the
connection from GenericDataSource manually and
associate it with the CachedRowSet.
You might want to do a search at JavaWorld, there was
an article within the last 5 months that talks all
about the CachedRowSet.
--- Christophe Thiébaud [EMAIL
37 matches
Mail list logo