IBM WebSphere - wsadmin Jacl Jython language

by
Jeremy Canfield |
Updated: March 08 2020
| IBM WebSphere articles
If you are not familiar with wsadmin.sh (Linux) / wsadmin.bat (Windows), check out our Getting Started article.
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
If you don't specify a language, either Jacl or Jython will be used. By default, Jython is the default language, which is specified in the wsadmin.properties file.
/opt/WebSphere/AppServer/profiles/<profile>/properties/wsadmin.properties
com.ibm.ws.scripting.defaultLang=jython
Once connected to the wsdamin console, there will be a wsadmin> prompt, where you can enter a command. Following is an example of the same command issued in Jython and Jacl.
# Jython
wsdamin>AdminTask.searchUsers
# Jacl
wsdamin>$AdminTask searchUsers
Did you find this article helpful?
If so, consider buying me a coffee over at