Deployment process of ear file using automation of jython script?

Posted on 2011-05-02
Last Modified: 2012-05-11
Here is the below deployment process through adminstrative scripting

installableApps/sutq/SUTQEAR.ear', '[ -nopreCompileJSPs -distributeApp
-nouseMetaDataFromBinary -nodeployejb -appname SUTQEAR_dev -
createMBeansForResources -noreloadEnabled -nodeployws -validateinstall
warn -processEmbeddedConfig -
filepermission .*\.dll=755#.*\.so=755#.*\.a=755#.*\.sl=755 -
noallowDispatchRemoteInclude -noallowServiceRemoteInclude -
asyncRequestDispatchType DISABLED -nouseAutoLink -MapModulesToServers
[[ SUTQ SUTQ.war,WEB-INF/web.xml
node,server=webserver1 ]] -MapWebModToVH [[ SUTQ SUTQ.war,WEB-INF/
web.xml sutq_dev_host ]]]' )
Question by:gowroju
    LVL 41

    Accepted Solution

    For what are you asking?  A script that allows you to specify values on the command line, or from some kind of input / properties file that performs a specified deployment?

    There are some sample wsadmin scripts (both Jacl, and Jython) available from developerWorks:

    Check the "Downloads" table at the bottom of the article. is the one most likely to provide you with more options that you are likely to use on a regular basis.

    Author Closing Comment

    no comments

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Suggested Solutions

    Flask is a microframework for Python based on Werkzeug and Jinja 2. This requires you to have a good understanding of Python 2.7. Lets install Flask! To install Flask you can use a python repository for libraries tool called pip. Download this f…
    When we want to run, execute or repeat a statement multiple times, a loop is necessary. This article covers the two types of loops in Python: the while loop and the for loop.
    Learn the basics of if, else, and elif statements in Python 2.7. Use "if" statements to test a specified condition.: The structure of an if statement is as follows: (CODE) Use "else" statements to allow the execution of an alternative, if the …
    Learn the basics of while and for loops in Python.  while loops are used for testing while, or until, a condition is met: The structure of a while loop is as follows:     while <condition>:         do something         repeate: The break statement m…

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    8 Experts available now in Live!

    Get 1:1 Help Now