Christopher Schultz <[EMAIL PROTECTED]> writes:

> Martin,
>> I recently installed tomcat 4.1.29 and deployed a web application on
>> it via a war-file.  The provided server.xml contains the following
>> lines:
>
>> Have I forgotten to do some additional initialization or configuration
>> or something else?  Any ideas?
>
> I think you have. When you have a global resource, it doesn't actually mean that
> it's available for all contexts. It just means that it's available /to be
> available/ for all contexts :)
>
> In order to actually give it to a context, you need a resource link in
> server.xml:
>
>           <ResourceLink name="jdbc/myDataSource"
>                       global="jdbc/myDataSourceRef"
>                          type="javax.sql.DataSource" />

So, that means, that I have to add a Context-entry to my server.xml
for my web app.  I hoped I could do without this to make automatic
deployment possible, but it seems that this 2 things won't go
together, correct?


-- 
Martin

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to