I wanted to retreive all the information from weblogic datasources using WLST such as:

  • Name
  • JNDI Name
  • Connection Pool parameters:
    • URL
    • Driver Class Name
    • Properties passed to the JDBC Driver
    • SetStreamAsBlob
  • Initial Capacity
  • Maximum Capacity
Get datasource information using WLST

Get datasource information using WLST

Get datasource information using WLST

Get datasource information using WLST

I’ve written a script to perform this task.

How to use this script:

  • The output of the script was adjusted to match the input of another script for datasource creation, adjust it to your needs.