Which two statements are true?

All the servers in your domain are running.
After you connect to the Administration Server in WLST you run the following command, which
completes with no error:
Progress = deploy (appName = ‘salesapp’, path = ‘sales.war’, target = managed1, managed2’,
planpath = ‘plan.xml’)
Which two statements are true?

All the servers in your domain are running.
After you connect to the Administration Server in WLST you run the following command, which
completes with no error:
Progress = deploy (appName = ‘salesapp’, path = ‘sales.war’, target = managed1, managed2’,
planpath = ‘plan.xml’)
Which two statements are true?

A.
The web application is now “Active.”

B.
The command creates new deployment plan called plan.xml.

C.
In the administration console, the name of this deployment is sales.war.

D.
The web application has been targeted to managed1, managed2, and the Administration
Server.

E.
You can view the status of the deployment by sending a message to the object named
progress.

Explanation:
They deploy command is used to deploy an application to a WebLogic Server
instance. (A)
The deploy command returns a WLSTProgress object that you can access to check the status of
the command. (E)
Note:
Syntax
deploy(appName, path, [targets], [stageMode], [planPath], [options])
* appName
Name of the application or standalone J2EE module to be deployed.
* targets
Optional. Comma-separated list of the target. Each target may be qualified with a J2EE module
name (for example, module1@server1) enabling you to deploy different modules of the application
archive on different servers. This argument defaults to the server to which WLST is currently
connected.
Note 2: The WebLogic Scripting Tool (WLST) is a command-line scripting interface that system
administrators and operators use to monitor and manage WebLogic Server instances and
domains.
Reference: WebLogic Scripting Tool, WLST Command and Variable Reference



Leave a Reply 1

Your email address will not be published. Required fields are marked *