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
0
votes
1 answer

Stopping application from wsadmin takes few mintues

I am trying to automate deploy process to WebSphere Application Server 8.0.0.4. Sometimes stopping application is really quick (few seconds), while sometimes it lasts 3-4 minutes and then reports WASX7015E SOAPException: faultCode=SOAP-ENV:Client;…
matiska
  • 525
  • 6
  • 14
0
votes
1 answer

What would be the best way to call shell script or python from Node JS?

My use case is, I am building a web portal with Angular , Node and MongoDB, and now I have to call python which in turn runs some wsadmin commands. Usage of this portal is not gonna be heavy. All these runs on same Solaris host . Appreciate your…
Devesh
  • 2,024
  • 2
  • 16
  • 21
0
votes
1 answer

How can I get the context root of an application using a wsadmin jython script with -conntype NONE in WAS

I am trying to create a script that prints out the web URLs of certain commonly used applications, but am having difficulty finding a wsadmin command that will get the web context root for an application. I am aware that AdminApp.view(app,…
0
votes
2 answers

WAS 8.5 Network deployment automation/scripting

I'm using Websphere network deployment application server 8.5 on unix environment. I'm updating my existing applications on daily basis from admin console and i change the context root of each application depending upon the environment. I wanted to…
Piyush Singh
  • 57
  • 1
  • 8
0
votes
4 answers

modify the thread pool in websphere 8.5 using wsadmin script

I want to modify the thread pool size for default, work manager, and so on.. using a wsadmin (jython) scripting. How to change all those maximum and minimum sizes?? I can't seems to find a correct document for change of thread pool settings,…
0
votes
0 answers

Unable to find WAS ND Object cache Instance full group replication domain property variable name

I got WAS ND 7 Logged into admin console. Resources -> Cache Instances->Created new Object cache instance. Under consistency settings I got Full Group Relication Domain drop down list. I selected one of the replication domains that I created All is…
juniorbansal
  • 1,249
  • 8
  • 31
  • 51
0
votes
2 answers

Call Jython Method from wsadmin ant task

I created a method in Jython to add shared library to the installed application. I save the script file in {was.install.dir}/bin directory with name "addSharedLib.py". I am using ant to install the application on the cluster. My question is how do I…
Prerak Tiwari
  • 3,436
  • 4
  • 34
  • 64
0
votes
1 answer

wsadmin.sh reading multiline commands from stdin

Piped wsadmin can't run scripts with flow control, because in that mode a newline separates commands. Simple example from…
basin
  • 3,949
  • 2
  • 27
  • 63
0
votes
3 answers

Space in python variable passed as argument to subprocess

I have a variable toPath (contains path like C:/Program Files(x86)/bla). This variable I pass as agrument: '[-operation update -contents ' + toPath + ']' But because I have a space in this variable I get IllegalArgumentException. How can I fix this?
Diooi
  • 55
  • 1
  • 1
  • 5
0
votes
1 answer

Error while executing wsStopApp ant task unable to instantiate class com.ibm.ws.scripting.WasxShell

I am trying to execute the wsStopApp ant script of webSphere wsadmin scripts. The code is as below:
0
votes
1 answer

Retrieve JAASAuthData for a Datasource

I am using the below script to retrieve the datasource properties. try: for server in AdminConfig.list('Server').splitlines(): serverName = AdminConfig.showAttribute(server, 'name') serverType = AdminConfig.showAttribute(server,…
Unni Kris
  • 3,081
  • 4
  • 35
  • 57
0
votes
0 answers

resource.xml is overwritten by websphere upon restart

I'm creating data source using wsadmin(jython) script. My script ends with AdminConfig.save() Following is sample script parentIDs = AdminConfig.getid("/Node:"+nodeName+"/Server:"+serverName+"/JDBCProvider:"+jdbcProviderName+"/") parentIDList =…
0
votes
1 answer

PyDev tagging wsadmin (WebSphere) commands as "Undefined variable" in Eclipse Luna

I am, running Eclipse Luna (4.4.1) with PyDev for Eclipse (2.8.2). My Jython interpreter is pointing to "C:\jython2.1.0\jython.jar" and "C:\IBM\WebSphere\AppServerV85\optionalLibraries\jython\jython.jar". My Python interpreter is pointing to…
Joey Cote
  • 342
  • 5
  • 13
0
votes
0 answers

Linux websphere deployment failed "WASX7017E:

This is wsadmin traceout log at org.python.util.PythonInterpreter.exec(PythonInterpreter.java) at com.ibm.bsf.engines.jython.JythonEngine$BSFPythonInterpreter.exec(Unknown Source) at com.ibm.bsf.engines.jython.JythonEngine.exec(Unknown…
napp
  • 49
  • 6
0
votes
1 answer

How to Enable "Validation by JDBC driver" DataSource property via wsadmin + WebSphere 7

I am on websphere applciation server version 7.0.0.33. I need to update datasource J2EEResourceProperty validateNewConnectionTimeout (Validation by JDBC driver option) for some datasources for a cluster with the help of wsadmin. I understand, that…
DeeSha
  • 1
  • 4