Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Eclipse / Tomcat / JBBC Pooling / JNDI
Eclipse / Tomcat / JBBC Pooling / JNDI [message #164363] Mon, 20 March 2006 13:23
Eclipse UserFriend
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, I’ve 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
Previous Topic:Eclipse / Tomcat / JBBC Pooling / JNDI
Next Topic:Eclipse / Tomcat / JBBC Pooling / JNDI
Goto Forum:
  


Current Time: Fri Apr 26 01:13:32 GMT 2024

Powered by FUDForum. Page generated in 0.02489 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top