<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.24.1.1">
</HEAD>
<BODY>
Hi<BR>
<BR>
I created (or netbeans did) a context.xml file in the META-INF folder.<BR>
<BR>
<?xml version="1.0" encoding="UTF-8"?><BR>
<Context path="/blueonyx"><BR>
  <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"/><BR>
</Context><BR>
<BR>
Thanks<BR>
Ian<BR>
<BR>
<BR>
On Mon, 2009-01-19 at 06:25 +0100, Michael Stauber wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
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. 

</PRE>
</BLOCKQUOTE>
</BODY>
</HTML>