Not Able To Print JDBC paramaters values In Offline WLST (Doc ID 1670904.1)

Last updated on NOVEMBER 05, 2016

Applies to:

Oracle WebLogic Server - Version 10.3.6 and later
Information in this document applies to any platform.

Symptoms

Whenever running a WLST script created to read the JDBC Datasource parameters in offline mode, it fails with exception.

The issue can be reproduced with the following steps:

  1. Set the environment by running setDomainEnv.cmd from $DOMAIN_HOME/bin
  2. Start WLST b y running wlst.cmd from $WL_HOME/server/bin
  3. Read domain. For example: readDomain('D:/Oracle/user_projects/domains/Test')
  4. Navigate to proper tree
  5. Run cmo.getInitialCapacity()

As a sample of above commands and exception we can see:

Cause

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