Andreas,

where in your server.xml did you put the <Resource> entry ? 

I actually do not know how you deploy your web app onto Tomcat (whether you 
drop a WAR file into the webapps directory, whether you use the Ant 
tasks shipped with Tomcat, whether you load a web app (at least during 
development from a directory, using an entry in server.xml or specifying a 
<context.xml in the webapps directory), but during development I'd strongly 
advise you to go for the last approach mentioned. Iow, leave your web app in 
some folder, create a <context>.xml in your $CATALINA_HOME/webapps directory, 
and create the <Resource> entry in there. I've done this so frequently 
, and it works like without any additional efforts. Try to keep everything as 
local as possible to your web application. Iow, don't modify server.xml.

And don't forget to check Tomcat's log files to see whether it reports any 
errors at server startup. If you wanted, talk to me through ICQ. Send me an 
email 
privately, and I'll forward you my ICQ account number.

Werner

On Wed, 15 Dec 2004 18:03:52 +0100, Andreas Vombach wrote:

>
>.. it seems to be a tomcat problem that global datasources are not 
>evaluated. It may work with a context.xml file in the <webapp>/META-INF 
>folder but till now I did not get the dbcp values in place. I'll see for 
>alternatives ...
>
>
>
>----------------------------------------------------------- 
>If you wish to unsubscribe from this mailing, send mail to
>[EMAIL PROTECTED] with a subject of:
>        unsubscribe castor-user
>



----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-user

Reply via email to