Bootstrap FreeKB - IBM WebSphere - wsadmin Jacl Jython language
IBM WebSphere - wsadmin Jacl Jython language

Updated:   |  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 Buy Me A Coffee



Comments


Add a Comment


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