It's totally dependant on your application server:
On WebSphere, it's like this:
java.naming.provider.url="">
(remote_port is often 2809 on WebSphere)
On WebLogic, it's like this:
java.naming.provider.url="">
(remote_port is often 7001 on WebLogic)
Your application server's documentation should have some help about this. Search for "remote JNDI".
Jeff Butler
On 10/26/05, Eugeny N Dzhurinsky <[EMAIL PROTECTED]> wrote:
On Tue, Oct 25, 2005 at 10:23:54AM -0500, Jeff Butler wrote:
> Hmmm...another undocumented feature :(
> From browsing through the source code, it looks like you can do this:
> <dataSource type="JNDI">
> <property name="DataSource" value="somevalue"/>
> <property name=" context.java.naming.provider.url"
> value="urlToYourProvider"/>
> </dataSource>
> Any property with the prefix "context." will be passed to the constructor
> of the InitialContext. Try it and let us know if it works - and then maybe
> write a FAQ entry on the WIKI.
Excellent, but which provider I should use? =)
--
Eugene N Dzhurinsky
