How to configure Hibernate parameter jndi-url to use cluster address in Weblogic?

(Doc ID 965262.1)

Last updated on APRIL 15, 2018

Applies to:

Oracle Weblogic Server - Version 10.3 and later
Information in this document applies to any platform.


How to configure the Hibernate parameter "jndi-url" in order to use the cluster address in WebLogic? Hibernate will only accept single server URL (as above) in jndi-url property. It will not accept anything else, including comma-separated cluster server address list.

For example:

<property name="jndi.url">t3://localhost:7001</property>


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms