Every Weblogic administrator or WLST developer get’s at some point, close by a psychopathic brain state when using the WLST console. backspaces, arrows and other stuff work like an old school unix server.
The solution: Jline:
To use JLIne with WLST, follow these steps.
- Download JLine from http://jline.sourceforge.net/downloads.html
- Unzip the file and put the jline jar (current version is jline-0.9.94.jar) into a directory on your machine.
- Add the jline jar (current version is jline-0.9.94.jar) to the CLASSPATH
- Run JLine as follows:
java jline.ConsoleRunner weblogic.WLST
Alternatively, you can copy the $WL_HOME/common/bin/wlst.sh and then add jline.ConsoleRunner before weblogic.WLST
Andy Ericksen
/ December 12, 2012this actually doesn’t work for me, the backspace and delete buttons no longer function when I run wlst within jline.ConsoleRunner. This may not be a jline issue though since without jline they only output garbage characters.
thomasheuring
/ December 13, 2012Hi Andy,
Which version of Oracle Weblogic do you use?
regards,
Thomas
Andy Ericksen
/ December 13, 2012the Weblogic version is 10.3.3.0.