I removed the logger still did not work.
You mentioned that the resource also was not right? what is the correct
resource statement?
As for the does, the first thing I tried was the context below
which I got from the docs section "2. Context configuration" at
http://tomcat.apache.org/tomcat-5.5-doc/jndi-datasource-examples-howto.html
<Context path="/musicDB" docBase="musicDB"
debug="5" reloadable="true" crossContext="true">
<Resource name="jdbc/musicDB" auth="Container" type="javax.sql.DataSource"
maxActive="100" maxIdle="30" maxWait="10000"
username="javauser" password="javadude"
driverClassName="com.mysql.jdbc.Driver"
url="jdbc:mysql://localhost:3306/musicDb?autoReconnect=true"/>
</Context>
This did not work so I tried the one in lower case which I found in an
example on the web.
Thanks,
Kevin
----- Original Message -----
From: "Caldarale, Charles R" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <users@tomcat.apache.org>
Sent: Monday, March 10, 2008 6:04 PM
Subject: RE: Eclipse with tomcat and mysql
From: David Smith [mailto:[EMAIL PROTECTED]
Subject: Re: Eclipse with tomcat and mysql
For the most part -- just remember case matters. It's Context, not
context. Same is true for Logger and Resource as well.
Note that there is no <Logger> element in 5.5, and the posted <resource>
[sic] didn't look it came from a current level. Sounds like the OP was
using some out of date doc.
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]