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

jython sricpt: How to modify the maximum connection of connection pool under Websphere MQ Connection factories

I have two connection factories under Resources ->JMS ->Connection Factories. 1) ConnectionFactory 2) IntegrationConnectionFactory I want to modify the maximum Connection of connection pool under both the connection factories. Resources ->JMS…
codehunter
  • 81
  • 2
  • 14
1
vote
1 answer

Is there any wsadmin command or query available to list all scopes while creating new JMS providers

For automation purpose i need to list all available scope present in the dropdown at the page of creating a new JMS providers. My question is Is there any command or query available for listing all available scope
Auguestine
  • 21
  • 1
  • 5
1
vote
3 answers

How to display IBM BPM snapshot environment variables using wsadmin?

I need to display all existing environment variables for snapshots installed on BPM. Is there a way I can do this using the wsadmin command ?
Ahmad Shah
  • 199
  • 4
  • 14
1
vote
1 answer

Exception WASX7122E: Expected "-" not found when deploying to Websphere using wsadmin.sh

I'm trying to write a script to deploy an application to Websphere using the wsadmin.sh scripting tool. I am able to do it directy on the command line like this: $AdminApp install c:\someFolder\someEar.ear {-MapModulesToServers {{.* .*…
OO-Mango
  • 35
  • 6
1
vote
1 answer

How can I configure Websphere 8.5.5 to present static content on both internal and external facing url's?

I am not a websphere guru, and what I have found docmentation wise for websphere assumes you already have in-depth understanding of its architecture and internals. I hope/suspect this is a RTFM question, and someone can enlighten me to where I…
pojo-guy
  • 966
  • 1
  • 12
  • 39
1
vote
1 answer

wsadmin jython command to retrieve administrative role

Could you please help me to retrieve the role name of a user using wsadmin and jython on Websphere 7. I have already successfully set the role via the command AdminTask.mapUsersToAdminRole.
amuk
  • 11
  • 3
1
vote
1 answer

java.lang.ClassNotFoundException when creating a mq connection factory through wsadmin

I get a java.lang.ClassNotFoundException when trying to create a websphere mq connection factory through wsadmin. WASX7015E: Exception running command: "AdminTask.createWMQConnectionFactory(...)"; exception information: …
1
vote
1 answer

Which user between the wasadmin user and the root user is recommended to install IBM Installation Manager 1.8 on Linux?

Which user between the wasadmin (nonroot) user and the root user is recommended to install IBM Installation Manager 1.8 on Linux?
1
vote
1 answer

Jython with wsadmin: WASX7017E com.ibm.ws.scripting.ScriptingException: Invalid object name

I have a Jython script calling wsadmin libraries to configure a WAS server. I have these functions: def createWasObject(was_object_type, was_path, object_params): if isinstance(was_path, basestring): was_path = AdminConfig.getid(was_path) …
1
vote
1 answer

Deploy EAR file to WAS 8.5 from command line [Windows]

I need to deploy an EAR file that is located in my windows local drive. I know, we can achieve this by wsadmin. But not clear on the whole process. Do i need to specify the nodename along with this command This what i tried so far:- wsadmin install…
Sireesh Yarlagadda
  • 12,978
  • 3
  • 74
  • 76
1
vote
2 answers

Deploying ear file to IBM WEBSPHERE8 with wsadmin.sh

I am new to Websphere and I found many answers for *.ear file deployment. Most of them use format similar to " ./wsadmin.sh -host vmllkb056933n.myspace.com -port 5000 -c '$AdminApp> install /apps/test-app.ear' I am always getting errors…
Balualways
  • 4,250
  • 10
  • 38
  • 51
1
vote
0 answers

Reading configuration file from deployed application with wsadmin scripting

Is it possible to read an arbitrary file from a deployed application through wsadmin scripting of WebSphere 8.5? I need this for a scenario reading specific configured parameter of a file in this application to figure out how all my applications on…
bobbel
  • 3,327
  • 2
  • 26
  • 43
1
vote
1 answer

Creating Users/Groups in Websphere

I am new to Websphere Application Server. I have created a dmgr and federated profiles into it. As part of my project, I need to create a set of users and map them against groups in Users and Groups section. Now my question is, do we have any way…
Styagi
  • 11
  • 1
  • 3
1
vote
2 answers

wsadmin command gives warning *sys-package-mgr*: can't write cache file

When I run the jython script using wsadmin command on WAS 8.5 ND it shows me below messages: [wsadmin] *sys-package-mgr*: processing modified jar, '/opt/IBM/WebSphere/AppServer/java_1.7_64/lib/ibmorbtools.jar' [wsadmin] *sys-package-mgr*: can't…
Prerak Tiwari
  • 3,436
  • 4
  • 34
  • 64
1
vote
1 answer

How to turn on the audit logging with wsadmin script?

I would like to turn on the audit logging with a wsadmin script. I was able to create the audit notification like this: AdminTask.createAuditNotification('[-notificationName Log_Notification -sendEmail false -emailList -logToSystemOut true ]') But…
kcsaba
  • 11
  • 1