Questions tagged [wsadmin]

wsadmin is a command shell for administrating IBM Websphere Application Server.

Wsadmin is a command shell for administrating the IBM Websphere Application Server, it takes its name from the batch/script file that is actually used to invoke the shell.

Commands can be entered interactively, or ran as a file based script that Wsadmin receives as an argument.

Wsadmin can interpret commands written in Jacl or Jython, although Jacl has been deprecated with WebSphere Application Server 6.1.

255 questions
1
vote
1 answer

How the pass Jython modules to wsadmin tool

I'm using the Websphere 8 Thin Client to connect to my remote WAS instance. I'm trying to import some Jyton files by passing python.path to wsadmin but it cannot find them. I keep hitting NameError on the Jython class. C:\MyThinClient>wsadmin -host…
DarVar
  • 16,882
  • 29
  • 97
  • 146
1
vote
1 answer

How do I suppress the boilerplate 'WASX7209I: Connected to process...' from the wsadmin command?

I have a wsadmin script that needs to produce a very specific output format that will be consumed by a third-party monitoring tool. I've written my Jython script to produce the correct output except that wsadmin always seems to spit out this…
Shawn Sherwood
  • 1,968
  • 2
  • 19
  • 30
1
vote
1 answer

wsadmin application install leaves out Security role to user/group mapping

I am facing an issue while installing my application's .ear file from the wsadmin command line, using the below command (see below) -- which I copied as is from the Websphere's "View administrative scripting command for last action" , after I tried…
Tabber
  • 151
  • 3
  • 16
1
vote
1 answer

WebSphere: list Name Space Bindings using wsadmin

I want to retrieve Name Space Bindings using a wsadmin jython script. Using the Name Space Bindings, I want to retrieve the properties of each of the name space bindings. For examples I want all the StringNameSpaceBinding given its scope. I am…
nikpmd
  • 13
  • 4
1
vote
1 answer

wsadmin: wsInstallApp ejb reference mapping error

I am trying to install EAR file with EJB module on IBM WAS 7.0.0.27 by using WSADMIN-wsInstallApp (for automation). but its getting below error **WASX7109E: Insufficient data for install task "MapResRefToEJB.** But the same ear file can be deployed…
Kathir
  • 28
  • 1
  • 3
1
vote
1 answer

using variables in a jython list wsadmin websphere

I am trying to include a variable in my jython script to hold my nodename, but I end up getting BSFEXception. My script is this : node=AdminControl.getNode() AdminTask.installBusinessSpaceWidgets('[-nodeName %node% -serverName server1 -widgets…
Tabber
  • 151
  • 3
  • 16
1
vote
0 answers

Wsadmin script for linux

I need functional wsadmin script for OS Linux. I want to deploy my application from linux into remote WAS server. I was looking for everywhere, but I found same erroneous scripts. My current script ending with exception: [exec] Exception in thread…
ekinek
  • 97
  • 1
  • 9
1
vote
1 answer

How can i fix this File "" error in python

I trying to do the simple script and its throwing the below error at for loop, WASX7017E: Exception received while running file "/abc/websphere/wasad/createusers.py"; exception information: com.ibm.bsf.BSFException: exception from Jython: Traceback…
sathish kumar
  • 11
  • 1
  • 3
1
vote
2 answers

wsadmin + jython delete folder

I want to do post-deploy script using standalone wsadmin. It should delete all caches on profile (/profile/temp /profile/myCacheFolder). My question is, is it possible to do this with wsadmin? If so how? Can I somehow use AdminConfig.deleteDocument…
bilak
  • 4,526
  • 3
  • 35
  • 75
1
vote
1 answer

wsadmin upload file from local machine to remote

I'm trying to automate process of deployment and I want to upload some files to WAS using wsadmin (jython). My question is if it is possible to upload file from my standalone wsadmin to remote WAS Server. And if so, is it possible to upload file…
bilak
  • 4,526
  • 3
  • 35
  • 75
1
vote
1 answer

Modifying application startup order via wsadmin

Is it possible to modify the value of an application's startup-order using either AdminApp.install(...) or any other wsadmin command? This property is under Enterprise Applications > application name > Startup behavior > Startup order
Synesso
  • 37,610
  • 35
  • 136
  • 207
0
votes
1 answer

Excluding objects from child scopes in AdminConfig.list (wsadmin)

In wsadmin I want to find the JMSProvider attached to a specific Node. However, there are many servers under the node which also have a provider of the same name. When I ask for a list of providers, I get the one from the current node, but also from…
Synesso
  • 37,610
  • 35
  • 136
  • 207
0
votes
1 answer

Is it possible to import WebSphere wsadmin as a jython module?

In WebLogic, there's the WLST (WebLogic Scripting Tool) which is similar to WebSphere wsadmin. The nice thing about WLST is that you can import it as a module into other jython code and use it without any dependencies. Here's link that discusses…
MD6380
  • 1,007
  • 4
  • 13
  • 26
0
votes
2 answers

wsadmin: jacl: AdminApp list WebSphere 5.x

I am trying to list applications installed on particular server below command works fine on WAS 6.x and 7 however I cannot make the same on WAS 5.x wsadmin> $AdminApp list /WebSphere:cell=cell01,node=node01,server=server1/ Also, $AdminApp help…
m1k3y3
  • 2,762
  • 8
  • 39
  • 68
0
votes
1 answer

IBM Websphere deployment using wsadmin to rollout updates in High availability environment

We are currently deploying applications to cluster via WAS admin console. After updating the Application we Rollout updates instead of Saving the configurations. This rolls out the application server by server so that the application is continuously…