Posts

Showing posts with the label scripting mode Jython in wsadmin

Invoking Jython script for wsadmin

Once you have installed WebSphere you have Jython shell built in available. Logon profile editing for environment variables In Linux bash shell is default login shell. Hence we can edit the .bash_profile or .bashrc file to get the user defined environment variables. We can define the alias for lengthy repeated tasks as shortcuts with simple shorten words. Here I have my environment setup from .bash_profile clear echo "Welcome to WebSphere 8.5.5.6" export PROFILE_HOME="/home/vagrant/IBM/WebSphere/AppServer/profiles" export WAS_HOME=/home/vagrant/IBM/WebSphere/AppServer alias wsadmin="cd /home/vagrant/IBM/WebSphere/AppServer/profiles/rplan-profile/bin/; . wsadmin.sh -lang jython" alias ll="ls -lahtr" alias cls="clear" alias dmgrbin="cd ${WAS_HOME}/profiles/rplan-profile/bin; ls -lrth" alias nodebin="cd ${WAS_HOME}/IBM/WebSphere/AppServer/profiles/rplan-profile" Invoking your wsadmin for Jython made simple w...