Skip to content

helmedeiros/weblogic-configuration-script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

weblogic-configuration-script

weblogic-configuration-script is a Jython set of scripts that abstract creation, management and monitor of Weblogic Server domains. It uses de WLST - WebLogic Scripting Tool under the roof, creating an abstraction layer and a two-ways interface to easily integrate with tools like jenkins into automatic proccesses.

Dependencies

Jython

WebLogic

WLST

Apache ant

Usage

Start your project development with right foot. Proceed with weblogic installation, after that set everything using automated scripts, and let all your collegues with the same configuration pattern so you all can evolve it together, fixing what's needed from there.

  1. Execute the managed server configuration, e.g. SET, RESET and SAVE, for SPECIFIC environments, e.g. LOCAL, DEV, HLG and PROD, using scripts:

    cd $WL_CONFIG_SCRIPT/cmds/sh/
    ./createManagedServerConfig.sh LOCAL SET
  2. Execute the managed server classpath configuration, e.g. SET, RESET and SAVE, for SPECIFIC environments, e.g. LOCAL, DEV, HLG and PROD, using scripts:

    cd $WL_CONFIG_SCRIPT/cmds/sh/
    ./createClasspathConfig.sh LOCAL SET
  3. Execute the managed server Virtual Machine arguments configuration, e.g. SET, RESET and SAVE, for SPECIFIC environments, e.g. LOCAL, DEV, HLG and PROD, using scripts:

    cd $WL_CONFIG_SCRIPT/cmds/sh/
    ./createVMArgsConfig.sh LOCAL SET

Setup

In order to run it locally you'll need a basic server setup.

  1. Install WebLogic;

  2. Access WebLogic Admin Server;

  3. Log into it with an admin credentials set during the install;

  4. Open the conf/LOCAL_wlst.properties and fill it with your expected configuration;

  5. Clone the project: git clone https://github.com/helmedeiros/weblogic-configuration-script

  6. Define configuration folder: export WL_CONFIG_SCRIPT= ~/weblogic-configuration-script

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -m 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

License

MIT License

About

command-line scripting to create, manage, and monitor WebLogic Server domains

Resources

Stars

Watchers

Forks

Packages

No packages published