Hello,
I am receiving errors when configuring a JNDI resource for my database
using Tomcat 5.5 on a Windoz box. I used the admin interface and entered
the following data:
in admin screen
under Data Sources
JNDI Name= jdbc/BuilderDB
Driver com.mysql.jdbc.Driver
Data Source
Message-
From: Scott Purcell [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 28, 2006 7:03 PM
To: users@tomcat.apache.org
Subject: Tomcat 5.5 JNDI Question Using Admin
Hello,
I am receiving errors when configuring a JNDI resource for my database
using Tomcat 5.5 on a Windoz box. I used
You can also configure DBCP to do some connection pooling, without much
effort. I'd recommend avoiding the root user for your DB connection.
The error message you saw is a poor one, but common.
In your global resources:
Resource
name=jdbc/BuilderDB
type=javax.sql.DataSource
: Tomcat 5.5 JNDI Question Using Admin
You need a ResourceLink in the Host or Context, to make the global
resource available.
Does the Context xml file contain this?
Scott Purcell wrote:
Hello,
I am receiving errors when configuring a JNDI resource for my database
using Tomcat 5.5