JNDI Datasource

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

JNDI Datasource

Jonathan J Wright
Hi,

Is it possible to use a JNDI datasource (i.e. a container, in my case
Tomcat, defined datasource) with the sql processor? If you can how do
you configure the input attribute / datasource.xml ?

Thanks,

Jonathan



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: JNDI Datasource

Alessandro  Vernet
Administrator
Jonathan,

Yes, you can use a JNDI data source, and in fact it is recommended you
do use a JNDI data source instead of specifying the driver class name,
URL, login, and password in the SQL processor configuration.

Do do so, see the first example under "3.1. Configuration" in the SQL
Processor documentation:

http://www.orbeon.com/ops/doc/processors-sql

Alex

On 12/3/06, Jonathan J Wright <[hidden email]> wrote:

> Hi,
>
> Is it possible to use a JNDI datasource (i.e. a container, in my case
> Tomcat, defined datasource) with the sql processor? If you can how do
> you configure the input attribute / datasource.xml ?
>
> Thanks,
>
> Jonathan
>
>
>
>
> --
> You receive this message as a subscriber of the [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>
>
>

--
Blog (XML, Web apps, Open Source):
http://www.orbeon.com/blog/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet