That was only a typo. The thing is that if I remove it from any of the two
places it doesn't work. I don't see anything in
$CATALINA_BASE/conf/[enginename]/[hostname]/ besides the ROOT.xml but I'm
using Liferay (the application is a portlet).

On Mon, Jul 25, 2011 at 11:18 AM, Ognjen Blagojevic <
ognjen.d.blagoje...@gmail.com> wrote:

> 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-unsubscribe@tomcat.**apache.org<users-unsubscr...@tomcat.apache.org>
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>

Reply via email to