Hi and thanks for replay,
The close Host tag is /Host.
I try to put context.xml in webapps/test1/META-INF(removed from server.xml
+ removed the path=),
Context debug=0 reloadable=true crossContext=true
Resource name=jdbc/mydb auth=Container type=javax.sql.DataSource
The closing host tag's case doesn't match the opening Host tags case, I
don't know if it matters but just wanted to point it out.
It should be
Host
/Host
and not
Host
/host
-Rashmi
On 3/21/07, prt [EMAIL PROTECTED] wrote:
Host name=localhost appBase=webapps ...
Context path=/ debug=0
From: prt [mailto:[EMAIL PROTECTED]
Subject: Problem in MySQL JNDI Resource..
Host name=localhost appBase=webapps ...
Context path=/test1 debug=0 reloadable=true
The Context element should not be placed in server.xml, since changing
it requires restarting Tomcat. Put it in your webapp's