Hi,
 
in the ant build script, the cocoon war file reads the settings for the data source 
from database.properties. This sets up the data source to be used by cocoon. I was 
wondering if any data source could be substituted to this "default" data source.
 
For example, if I already have a data source declared in JBoss, can I simply reference 
this data source in an XSP query?
 
<esql:pool>jdbc/MyDataSource</esql:pool>
 
where jdbc/MyDataSource is declared in jboss.jcml
 
Thanks,
Cedric Picard
Software Engineer
Kainos Software Ltd


--

This e-mail is confidential and is intended for the named recipient only. If
you receive it in error please destroy the message and all copies. Kainos
Software Ltd. does not accept liability for damage sustained as a result of
malicious software (e.g. viruses). Kainos does not accept liability for, or
permit, the creation of contracts on its behalf by e-mail, the publication of
any defamatory statement by its employees by e-mail, or changes subsequently
made to the original message. The Company's registered office is located at
4-6 Upper Crescent, Belfast, BT7 1NT, Northern Ireland, Tel +44 28 9057 1100.

---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

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

Reply via email to