It appears to be working with the web.xml & sun-web.xml file as follows. Thanks to all who responded.
Adam
[b]web.xml[/b]
<web-app version="2.5" xmlns="
http://java.sun.com/xml/ns/javaee" xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="
http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
<servlet>
  <description>Caucho Quercus PHP5 Engine 3.1.6</description>
  <servlet-name>Quercus Servlet</servlet-name>
  <servlet-class>com.caucho.quercus.servlet.QuercusServlet</servlet-class>
  <init-param>
    <param-name>database</param-name>
    <param-value>jdbc/myDatabase</param-value>
  </init-param>
</servlet>
<servlet-mapping>
<servlet-name>Quercus Servlet</servlet-name>
<url-pattern>*.php</url-pattern>
</servlet-mapping>
<resource-ref>
<description>MySQL JDBC DataSource </description>
<res-ref-name>jdbc/myDatabase</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
<res-sharing-scope>Shareable</res-sharing-scope>
</resource-ref>
</web-app>
[b]sun-web.xml[/b]
<sun-web-app error-url="">
<resource-ref>
<res-ref-name>jdbc/myDatabase</res-ref-name>
<jndi-name>jdbc/myDatabase</jndi-name>
</resource-ref>
</sun-web-app>
[Message sent by forum member 'acehlis' (acehlis)]
http://forums.java.net/jive/thread.jspa?messageID=317730