Not Able To Print JDBC paramaters values In Offline WLST
Last updated on DECEMBER 18, 2017
Applies to:Oracle WebLogic Server - Version 10.3.6 and later
Information in this document applies to any platform.
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:
- Set the environment by running setDomainEnv.cmd from $DOMAIN_HOME/bin
- Start WLST b y running wlst.cmd from $WL_HOME/server/bin
- Read domain. For example: readDomain('D:/Oracle/user_projects/domains/Test')
- Navigate to proper tree
- Run cmo.getInitialCapacity()
As a sample of above commands and exception we can see:
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