08 Oct 2015
October 8, 2015

Using sed to replace multiple variables

October 8, 2015 Blog, Scripting 0 Comment

In this article I show how to build a search and replace script that uses an array to pass mutiple find/replace arguments to single sed execution. If I wanted to create a bash script that replaces text within a file i.e. replace placeholder variables in a file with values from other variables, I would do.. read more →

facebooktwittergoogle_plusredditpinterestlinkedinmail

I was running a snippet of Jython to modify a Standalone LDAP Registry along with utlising Micosoft Active Directory with Kerberos, and I got the following error:

My WebSphere Application Server Jython-Code, where I was querying the existing registry type failed.

The reason, I was using an LDAPServerType, which is not a valid.. read more →

facebooktwittergoogle_plusredditpinterestlinkedinmail

Buy both for only $399, valued at $791, with a bonus of 9 other courses valued at additional $999. This page provides the facility to purchase the elite membership, which grants you full access to all products released before December 2014 (ALL Courses) and all products relased during 2015 (ALL 2015 COURSES). If it was.. read more →

facebooktwittergoogle_plusredditpinterestlinkedinmail

I experienced this error when I was updating my JDBC Master Jython Script

Simply, the reason for this is either you have tried to create another/new Datasource using the same JNDI name, or you are calling a create when you should be calling a modify. When modifying we can use the Datasource name to.. read more →

facebooktwittergoogle_plusredditpinterestlinkedinmail

Do you need to save time automating manual WAS tasks? Have you ever wondered how to automate IBM Installation Manager? Ever needed to automate the installation of WAS 8.5.5.x and automate Upgrades and Roll-backs? The WebSphere Application Server 8.5.5.x Automation Course provides the student with a full set of guides and a set of commercial-grade automation scripts.. read more →

facebooktwittergoogle_plusredditpinterestlinkedinmail

A simple bash script to kill WebSphere processes

  read more →

facebooktwittergoogle_plusredditpinterestlinkedinmail

A script to determine the WebSphere instance’s Cell Name

  read more →

facebooktwittergoogle_plusredditpinterestlinkedinmail

 Jython Error: AttributeError: instance of

Basically I have a Jython class with name called APPLICATION as defined by a few lines in my Jython class:

But, I have not declared a private member variable called __cellName I had:

I should have had

  read more →

facebooktwittergoogle_plusredditpinterestlinkedinmail

  Error:

The reason for this error was because I had referred to a Jython class-file (Jython OO script) by name in the same directory, but I had the name wrong. The file was manageApp, not appManage. My import statement was: import AppManage as app It should have been import manageApp as app   read more →

facebooktwittergoogle_plusredditpinterestlinkedinmail

You are trying to run the WASPreUpgrade.sh script and you get the following error:

The command which was run from A WAS 7 install <was_root>/bin

Solution: The solution is to install a WAS 8.5.5.x instance i.e. binaries, then use the ./WASPreUpgrade.sh script from the new WAS instance and set the path to be.. read more →

facebooktwittergoogle_plusredditpinterestlinkedinmail