Saturday, 26 April 2014

User creation in weblogic with multiple properties from ant using wlst

Creating users from the wlst is pretty straight forward and you can go through the oracle documentation for the same. Here is the link to the document page http://docs.oracle.com/cd/E23943_01/web.1111/e13715/config_wls.htm#i1021808.
This is written to automate the task of creating users from ant . The only change that is to be made is to set the fmw.home,user.url,adminusername,adminpassword to your environment.
All the properties can be edited from the build.properties file.
The source has four files
  1. Build.xml Contains the call to create users task for creating multiple users in a single shot. users.option is used to specify all or few of the users at a time
  2. Build.properties contains the name value pairs that can be customized
  3.  createUser.py creates the users using wlst
  4. userCreationlibrary.xml contatins invocation to the usercreation.py file with the necessary parameters set

If you need more information please feel free to comment.you can find the code at github. Link to the source is onto the right .

No comments:

Post a Comment