Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7732309
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T06:41:58+00:00 2026-06-01T06:41:58+00:00

I prepared a WLST script that prints all sever names from WebLogic cluster to

  • 0

I prepared a WLST script that prints all sever names from WebLogic cluster to output file. The output is dynamic and it’s content depends of amount of servers – cluster members.
The output file is simple:

hostname1

hostname2 ..

hostnameN

I need now to prepare the Ant task that will copy one file to each server from the outputfile. As I understand I need to use Apply task , because I cannot install additional Ant packages.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T06:41:59+00:00Added an answer on June 1, 2026 at 6:41 am

    One way of doing this is , assuming the use of SCP for the deploy, is to run a setup script before running ant deploy target.

    Setup has:

    1. INPUT= the list of target hosts
    2. INPUT= ant properties file that is used in ant.SCP action.
    3. OUTPUT= new version of properties reflecting the updated list of target hosts.

    Once the setup has run, the abstract deploy step is now concrete and has a list of SCP steps in a loop that will copy to all needed hosts.

    Sample SCP syntax..

      <scp file="myfile.txt"
           todir="user@somehost:/home/chuck" 
           keyfile="${user.home}/.ssh/id_dsa"
           passphrase="my extremely secret passphrase"
      />
    

    Sample loop :

    The @ in a for loop while using scp

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have prepared a code to just play a simple mp4 file from my
I have prepared simple script that displays image under ProgressGauge bar on wpInstalling Page.
We have a Prepared Statement in Java and we hear that it is different
I have heard that prepared statements with SQLite should improve performance. I wrote some
Using PDO with prepared statements (I learned from here: http://www.kitebird.com/articles/php-pdo.html ) I'm using a
I have prepared a class for storing data retrieved from db, and let's say
Possible Duplicate: How prepared statements can protect from SQL injection attacks? If I'm using
I prepared a jsfiddle example: http://jsfiddle.net/PEH7t/11/ The problem is that I have a container
Here is MySQL prepared statement SELECT ag.`attendance_type`, ag.`description`, COUNT(a.`attendance`) attendance_count FROM `ems_attendance` a RIGHT
I've prepared a .pro file for use Qt and CUDA in a linux machine

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.