Cindy Ballreich wrote:
At 06:53 AM 6/14/02 +0200, Nikola Milutinovic wrote:
Yes, and it should work - but it doesn't. For most of us, DataSource is null and
nothing apperas in the logs.
Question: where is your JDBC driver currently located? I got the same result until I
moved it from
Jacob Kjome wrote:
The definitive solution has been provided by Leslie Hughes
[EMAIL PROTECTED] here:
snip
So, please, do yourselves a favor and ignore the docs for a bit on this
one. Copy the configuration line for line that Leslie has provided.
Then, of course, change the values
Well, I confess that I've never tried this on 4.0.3. I guess your solution
is to upgrade to 4.1.3 beta. There is *no* Tyrex to give you any phantom
hsql driver issues. So, I guess my guarantee only applies to 4.1.3 that
I've actually tested this on. I suggest the upgrade.
Jake
At 10:23
At 06:53 AM 6/14/02 +0200, Nikola Milutinovic wrote:
Yes, and it should work - but it doesn't. For most of us, DataSource is null and
nothing apperas in the logs.
Question: where is your JDBC driver currently located? I got the same result until I
moved it from WEB_INF/lib/ to
Hi, Cindy
Yes, and it should work - but it doesn't. For most of us, DataSource is
null and nothing apperas in the logs.
Question: where is your JDBC driver currently located? I got the same
result until I moved it from WEB_INF/lib/ to $CATALINA_HOME/common/lib/
thanks for your hint. I
Message -
From: [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Friday, June 14, 2002 9:03 AM
Subject: Re: Connection pooling doesn't work for me ... Help !!
Hi, Cindy
Yes, and it should work - but it doesn't. For most of us, DataSource is
null and nothing apperas in the logs
anthony.dodd wrote:
Hi
I've posted a solution see Generic DataSource Resource Factory
Available. JDBC Data Source on the tomcat user maillist.
Tony
Yes, but...
Like many others on this list, I too have been unable to get the std
JNDI DataSource thingy working; as an interim
the ConnectionPoolDataSource class - not sure if
this makes a difference.
HTH
Neil.
- Original Message -
from: Martin Jacobson [EMAIL PROTECTED]
date: Thursday, June 13, 2002 1:40 pm
subject: Re: Connection pooling doesn't work for me ... Help !!
anthony.dodd wrote:
Hi
I've posted a solution
for any help!
Rainer
- Original Message -
From: Neil Milne [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Thursday, June 13, 2002 2:56 PM
Subject: Re: Connection pooling doesn't work for me ... Help !!
I'm using the JNDI Datasource setup fine with Tomcat 4.0.3 and Sybase
MISER
http://www.umass.edu/miser/
Phone: (413)-545-3460
[EMAIL PROTECTED]
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 13, 2002 03:12 PM
To: Tomcat Users List
Subject: Re: Connection pooling doesn't work for me ... Help !!
Hi,
well I got
: Connection pooling doesn't work for me ... Help !!
Hi,
well I got stuck with the same problem as the others:
I cannot get a connect to the DB via JNDI.
Just a simple idea: can the problem be the MySQL Driver?
Is there maybe someone out there to give some hints how to look
In your code:
Context initCtx = new InitialContext();
OracleConnectionPoolDataSource ocpds =
(OracleConnectionPoolDataSource)initCtx.lookup(mydb);
PooledConnection pooledConnection = ocpds.getPooledConnection();
Connection connection = pooledConnection.getConnection();
)-545-3460
[EMAIL PROTECTED]
-Original Message-
From: John McNally [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 13, 2002 05:25 PM
To: Tomcat Users List
Subject: Re: Connection pooling doesn't work for me ... Help !!
In your code:
Context initCtx = new InitialContext
On Thu, 2002-06-13 at 14:31, Kevin Andryc wrote:
I wasn't aware of that. Thank you. When I was looking to do Oracle pooling I
did a search on Google groups and asked around in which 99% of the posts
used this method.
I have heard that oracle's documentation is not very clear on the
usage.
I'm using the JNDI Datasource setup fine with Tomcat 4.0.3 and Sybase.
Several guys have reported that Sybase works OK, so does Oracle 9i. With PostgreSQL, I
am constantly out of luck. Right now, I'm preoccupied with some other work, but I'll
get to the bottom of the PSQL mistery.
Nikola Milutinovic wrote:
Note that I've used the ConnectionPoolDataSource class - not sure if
this makes a difference.
Well, yes and no. The actual class should be CPDS, but your application shouldn't
specifically ask for it, but for DataSource. The container will use CPDS and cast it
to DS
The definitive solution has been provided by Leslie Hughes
[EMAIL PROTECTED] here:
http://marc.theaimsgroup.com/?l=tomcat-userm=102225547106556w=2
That is for the following configuration:
Tomcat 4.0.3 LE JDK 1.4 Build
mySQL 4.0.1 alpha
mm.mysql 2.0.14
Jakarta-Commons projects
DBCP
Yes, I'm not using that class in my code, I'm just using DataSource. I
was referring to the setup in server.xml.
Ahh - then OK.
I must say that JNDI bit is the most occult part of Tomcat.
Nix.
Message -
From: [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Thursday, June 13, 2002 12:12 PM
Subject: Re: Connection pooling doesn't work for me ... Help !!
Hi,
well I got stuck with the same problem as the others:
I cannot get a connect to the DB via JNDI.
Just a simple
Message -
From: John McNally [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Thursday, June 13, 2002 2:25 PM
Subject: Re: Connection pooling doesn't work for me ... Help !!
In your code:
Context initCtx = new InitialContext();
OracleConnectionPoolDataSource ocpds
Should be using OracleConnectionCacheImpl
- Original Message -
From: Kevin Andryc [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Thursday, June 13, 2002 12:35 PM
Subject: RE: Connection pooling doesn't work for me ... Help !!
I apologize but I saw this post late. I
Hello everyone,
I read the tomcat jndi how to manual. searched the mailing list archive. and
did everything which has made other happily get a connection from the jndi
of the pool but I just can't do it.
DataSource ds = (javax.sql.DataSource)
initCtx.lookup(java:comp/env/jdbc/MPSSource);
Hello everyone,
I read the tomcat jndi how to manual. searched the mailing list archive. and
did everything which has made other happily get a connection from the jndi
of the pool but I just can't do it.
DataSource ds = (javax.sql.DataSource)
initCtx.lookup(java:comp/env/jdbc/MPSSource);
doesn't work for me ... Help !!
Hello everyone,
I read the tomcat jndi how to manual. searched the mailing list archive.
and
did everything which has made other happily get a connection from the jndi
of the pool but I just can't do it.
DataSource ds = (javax.sql.DataSource)
initCtx.lookup
24 matches
Mail list logo