Eclipse / Tomcat / JBBC Pooling / JNDI [message #164363] |
Mon, 20 March 2006 08:23 |
Eclipse User |
|
|
|
Originally posted by: keops.k.caramail.com
Dev plateform:
================
Eclipse 3.1.0 / Tomcat 5.5.12 / JDK 1.5_06
When I start tomcat, Ive this error:
====================================
SEVERE: Null component Catalina:type=DataSource,
path=/myContext,host=localhost,class=javax.sql.DataSource,
name="jdbc/myDataBase"
In server.xml :
==================
<Host appBase="webapps" name="localhost">
<Context docBase="H:\app\myContext" path="/myContext" reloabable="true" debug="1" >
<Resource name="jdbc/qladef" auth="Container" type="javax.sql.DataSource" username="myUser" password="myPW" driverClassName="com.mysql.jdbc.Driver" url="jdbc:mysql://localhost/myDataBase" maxActive="8" maxIdle="4"/>
</Context>
</Host>
in web.xml
==========
<resource-ref>
<description>Connection à la BD</description>
<res-ref-name>jdbc/myDataBase</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>
What does it mean ? How can I solve this problem ? unfortunately, I have been on this problem for four days.
Thanks for your help.
France - Paris
|
|
|
Powered by
FUDForum. Page generated in 0.05849 seconds