UPDATE! The community will be go into read-only on April 19, 8am Pacific in preparation for migration on April 21. Read more.
UPDATE! The community will be go into read-only on April 19, 8am Pacific in preparation for migration on April 21.Read more.
Commander Commander
Commander
68 views

Websphere operation parameters

Hi:

I'm trying to stop/start an application in websphere using the Midleware cp operations. However, I cannot correlate the operation parameters eith the command line used in the wsadmin script.

Command line example:

Stop --> "AdminControl.invoke(AdminControl.queryNames('type=ApplicationManager,process=server1,*'),'stopApplication','query')"

Start --> "AdminControl.invoke(AdminControl.queryNames('type=ApplicationManager,process=server1,*'),'startApplication','query')"

Does any have an example of the "invoke operation" operation from the middleware cp? Mainly the empty parameters:

host Use the constant: srvcoe-test->Value: srvcoe-test <not assigned>
port Use the constant: 8880->Value: 8880 <not assigned>
userName System Account: wasadmin (Username)->From System Account: wasadmin (Username) <not assigned>
password System Account: wasadmin (Password)->From System Account: wasadmin (Password) <not assigned>
query
operationName
parameter
signature

 

Thank you.

0 Replies
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.