Oracle Weblogic Server (MOSC)

MOSC Banner

Configure multiple JNDI names via WLST

edited Dec 9, 2013 3:03PM in Oracle Weblogic Server (MOSC) 3 commentsAnswered ✓
I have scripted up the creation of JDBC data sources for our domains, but I am unsure of how to add multiple JNDI names.

The line to add JNDI name looks like this :

set('JNDINames',jarray.array([String(value['<jndi_name1>,<jndi_name2>'])], String))

The entry is added to JDBC data source, but the application complains it can't find the JNDI name.  If I then edit the data source via the Admin console and remove the spaces/commas and put a hard return after each JNDI name the application starts fine.

I"ve tried separating with spaces and comma's to no avail.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

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

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center