How to use the WebSphere wsadmin utility

Home > Search > How-to
  by

The wsadmin utility can be used to perform a wide variety of administrative tasks. Use the following command to start the wsdamin utility.

~]# /opt/IBM/WebSphere/your_server_name/bin/wsadmin.sh

 

If you are using federated or LDAP repositories, you will be prompted to provide a username and password. Enter the username and password of an administrative user.

Username:
Password:

 

The wsadmin utility uses to different languages, Jacl or Jython. You can specify the language you want to use.

~]# /opt/IBM/WebSphere/your_server_name/bin/wsadmin.sh -lang jacl
~]# /opt/IBM/WebSphere/your_server_name/bin/wsadmin.sh -lang jython

 

Once connected to the wsdamin console, there will be a wsadmin> prompt, where you can enter Jacl or Jython commands.

wsadmin>

 

For example, the following Jython command can be used to display users.

wsdamin>AdminTask.searchUsers

 



Add a Comment




We will never share your name or email with anyone. Enter your email if you would like to be notified when we respond to your comment.




Please enter in the box below so that we can be sure you are a human.




Comments