I just wanted to post again and let everyone know that I've either found a
work-around or I was doing it wrong to begin with... :)

I originally created a global resource db connection pool, but could never
get tomcat to create connections (See the full original post for config
details). I've been able to connect directly to any database on my network.
Today I decided to move the global resource def to my application's context
definition and it all works. I also removed the application's resource ref
to the global resource. I don't know if I've run into a bug or some kind of
security issue, but I'll leave that to someone who knows a little more than
I.

Thanks to those who responded both publically and privately.

Jason

-----Original Message-----
From: Jason Jonas [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 22, 2002 11:03 AM
To: [EMAIL PROTECTED]
Subject: Global Resource Def & JDBC Pool


Hey All,

I'm having some difficulty getting Tomcat to establish a connection to
a database and I need a second pair of eyes on this...

Environment:
  Windoze XP
  Tomcat 4.1
  MySQL 3.23.53
  MM JDBC Drivers 2.0.14

Global Resource Def (created through /admin):
  JNDI Name: jforumdb
  URL: jdbc:mysql://localhost/jforum
  Driver: com.mysql.jdbc.Driver

<snipped>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to