Hi

I created (or netbeans did) a context.xml file in the META-INF folder.

<?xml version="1.0" encoding="UTF-8"?>
<Context path="/blueonyx">
  <Resource auth="Container" driverClassName="com.mysql.jdbc.Driver"
maxActive="20" maxIdle="10" maxWait="-1" name="jdbc/blue_MySQL"
password="GScDdBmK" type="javax.sql.DataSource"
url="jdbc:mysql://localhost/blue" username="blue"/>
</Context>

Thanks
Ian


On Mon, 2009-01-19 at 06:25 +0100, Michael Stauber wrote:

> Hi Ian,
> 
> > As anyone got mysql to work in a tomcat app through BlueOnyx??
> >
> > I have setup a Net beans 6.5 project....it all works until I add a jndi
> > connection.
> >
> > I think it's to do with some missing libraries...(either mysql and/or
> > netbeans) and where should they be placed.
> 
> Can you let me know which steps do you take to configure JNDI? 
> 
> I'll check if any libraries are missing. Tomcat / JSP created a bit of a big 
> dependency mess when we added it to the distribution (added another 100 RPMs 
> or so) and it could indeed be that its MySQL database connector went missing 
> somewhere along the line. 
> 
