FreeKB - wsadmin in WebSphere - Jacl Jython language
wsadmin in WebSphere - Jacl Jython language

Home > Search


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

 



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 a33e6 in the box below so that we can be sure you are a human.




Comments