This discussion is archived
1 Reply Latest reply: Jun 20, 2010 10:09 PM by 780096 RSS

WLST script to create DBAdapter configuration

user11200837 Newbie
Currently Being Moderated
Has anybody tried to create a DBAdapter configuration using a WLST script.

Works fine if you create it manually using the console, but you are not able to record the steps using the record functionality (Script is empty).
  • 1. Re: WLST script to create DBAdapter configuration
    780096 Newbie
    Currently Being Moderated

    hopefully you have already got answer to your question from some other source, but here's any way how I update DbAdapter configuration.

    I generate deployment plan for DbAdapter in development time by admin console like you have done.

    Copy the deployment plan to production environment, then use wlst or weblogic.Deployer to update adapter:
    source <domain location>/bin/
    java weblogic.Deployer -adminurl t3://<admin-url>:<admin server port> -user <admin user> -password <password> -update -name DbAdapter -plan <db plan location>/DBPlan.xml

    This way I can do my production environment deployment script based, no need to use GUI.
    It's also possible to use wlst instead of weblogic.Deployer, but haven't tried that yet.

    Hope this was helpful.

    regards, Matti


  • Correct Answers - 10 points
  • Helpful Answers - 5 points