On 25.7.2011 16:57, AN wrote:
I don't understand why do I have to place the Resource element in both
files.
You don't. It seems that you misconfigured something.
<<Resource auth="Container" driverClassName="oracle.jdbc.OracleDriver"
Could "<<" be the source of the problem?
If you deploy as WAR file, check if context.xml is indeed copied to
$CATALINA_BASE/conf/[enginename]/[hostname]/[appname].xml, and that it
contains correct resource definition.
Also, check for errors in log files and console.
-Ognjen
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org