Search This Blog

Loading...

Sunday, September 28, 2014

WebLogic 12c new features in WLST

Jline associated with WLST 12c version

While working on Martin book we have found that Linux/Unix environments don't have feature like in Windows - WLST shell had. To enable that Martin suggested Apache JLine 0.9 need to installed and keep in the path. but now in WebLogic 12c (12.1.3) version it is buit-in.


  • You can use up arrow and down arrow for navigating to previous WLST commands
  • There would be separate history hidden file created .jline-WLST.history in the home directory, it is similar to .bash_history 
[wladmin@srv2 ~]$ cat .jline-WLST.history
exit
execfile('createDomain.py')
exit
exit()
print os.pathsep
help('nmConnect')
nmConnect('weblogic','welcome1','183.82.51.72','5556','sivaDomain','/home/wladmin/wldomain/sivaDomain','plain')
nmConnect('weblogic','welcome1','183.82.51.72','5556','sivaDomain','/home/wladmin/wldomains/sivaDomain','plain')
nm()
nmKill('managed3')
help(nmKill)
help('nmKill')
nmKill('managed3')
nmStart('managed3')
nmDisconnect()

This has been tested and executed on RHEL environment.

What if we don't have 12c latest version?

You can download jLine from sorceforge.net site and include the library path into your CLASSPATH then run your WLST. RefLink: JLine sourceforge.net

Popular Posts

Followers