Skip to main content



      Home
Home » Language IDEs » ServerTools (WTP) » Eclipse / Tomcat / JBBC Pooling / JNDI
Eclipse / Tomcat / JBBC Pooling / JNDI [message #164371] Mon, 20 March 2006 08:25
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:Tomcat Port Monitoring
Goto Forum:
  


Current Time: Sun May 25 06:13:43 EDT 2025

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

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

Back to the top