Error when testing a new JDBC Provider and Datasource

The situation is that I am using a MySQL Java Provider and I have configured the JDBC Provider Datasource and J2C Alias, but I have to save and restart the server. Once I have restarted the server, I get the following:

This means that.. read more →

You are trying to run the WASPreUpgrade,sh script and you get the folloing 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 ./ script from the new WAS instance and set the path to be.. read more →

Hi all, not long now before I release my new WAS 8.5.5.x Advanced Administration Courses, due in late Q2, ealry Q3 2015. Keep an eye out for several new focused  WebSphere related courses which will cover many topics previously not covered before, and are hard to find with respect to training materials. The concepts within.. read more →

In the <ihs_root/logs.error_log we find the following error when connecting to IBM HTTP Server using SSL. [Fri May 01 14:08:10 2015] [error] [client] [1a6a0a0] [15650] SSL0208E: SSL Handshake Failed, Certificate validation error. [ ->] [14:08:10.000087901] 0ms IBM documentation gives the explanation for this error message. SSL0208E: SSL Handshake Failed, Certificate validation error This.. read more →

You try to log in to the folliwing URL of an admin server

And you get this error in the brower

Reason: That once started, you still need to use a WAS admin console (remote or local) to administer IHS. There is no web-interface presented by the IBM Admin Server. It only provides.. read more →

When you start IBM HTTP Server – Administration Server, you get the following error If you do not set this port you will get this error Syntax error on line 7 of /opt/IBM/HTTPServer/conf/admin.conf: Port must be specified /opt/IBM/HTTPServer/bin/adminctl start: admin http could not be started If IHS is installed on a separate server other than the WAS server, then WAS uses the IBM HTTP Administration Server to administrate IHS. Before we can start.. read more →

Looking for IBM WebSphere Middleware Consulting to help with WebSphere Architecture, Support, Migration, Automation and Thought Leadership? An expert in technical communications in the middleware domain, and adept in almost all forms of Internet and mobile related technology, Steve Robinson has time and time again proven his tenacity to improve systems around him and deliver… read more →

The IBM Installtion Manager has powerful command-line options. Many of which are expained in many of my courses. If IM is installed in /opt/IBM/InstallationManager Change to the  /opt/IBM/InstallationManager/eclipse/tools  folder and run the following command:  ./imcl  help, the result will be the following.

  read more →

When using IBM Installation Manager to install the WAS Plugin Package, we cannot install the Plugin as a subdirectory within the HIS installation. In previous versions for example, IHS 7.0 and below, many organisations installed the WAS Plugin into a folder called <ihs_root>/Plugins, however we no longer can do this. For example: We have IBM.. read more →

A little script to help you get syntax for wsadmin help commands in WebSphere Application Server Jython programming create script called, then chmod as required and voila

Example result:

  read more →

Error when adding an LDAP Repository to Federated Repositories using Jython

Check these things. 1. Firewall 2. Port (in my case above port looks right, but it was supposed to be 10389, not 10398 3. Use netstat -an command with a grep to check the port for example netstat -an | grep 10398, if.. read more →

When running a wsadmin Jython command (from a Jython script file), I get the following error

As we can see by the error in the stack trace, the AdminTask object is not available, this is because the WebSphere Application Server/Deployment Manager is not started. read more →

21 Apr 2015
April 21, 2015

ApacheDS Install

April 21, 2015 Apache, Blog 0 Comment

Installing ApacheDS You can acquire the Apache DS download and installation instructions from There are versions available or all major platforms and the documentation is very good. For my installation I have used version 2.0.0-M19 for Linux, which is the latest version available at the time of writing, April 2015. Once you have downloaded.. read more →

21 Apr 2015
April 21, 2015

ApacheDS will not start

April 21, 2015 Apache, Blog, Errors 0 Comment

If you are like me and you power off your local Linux (CentOS) VM’s and ApacheDS is not shutdown correctly. When you try to start ApacheDS you get the following error:

You know ApacheDS is not running, and the Firewall has the correct port open, so what’s the problem? Well it is simple. There is.. read more →

Error below was presented when running a Jython script on WAS

The code being used is as follows:

Add the missing : after else for example ‘else:’ not ‘else’ Resultig fixed code

read more →

Error when running some Jython in WebSphere Application Server to configure Global Security we find the following error Error:

The code has the following:

We can see that there is a space before the if, remove the space read more →

You have tried to connect to the Administrative Console for a new WebSphere Application Server profile. You get the following error

The most common reason, is that the console will want to redirect to the secure HTTP/s port and that port is not open on the firewall for example Let’s say you have the.. read more →

21 Apr 2015
April 21, 2015

WebSphere Training

April 21, 2015 Blog, Middleware Training, WebSphere Training 0 Comment

Are you looking for WebSphere Application Server Training Materials? I have extensive WebSphere Training Courses for sale. I have two styles of WebSphere Training Materials. One style is the actual course materials for self-paced learning and these can be purchased immediately from this site click here >> , details of some sample course-outlines are shown.. read more →

19 Apr 2015
April 19, 2015

WebSphere Role Management

April 19, 2015 WebSphere Security, WebSphere Training 0 Comment

 Role Management In this section, we will demonstrate creating users, groups and assigning roles to groups. Administrative roles We may want some people to have only the ability to start and stop applications; others, we may wish to allow full configuration access. WebSphere implements a way of delegating privileges through the use of administrative roles… read more →

This document covers the process of setting up Apache DS as an LDAP server for WebSphere Applicstion Server and then shows by example how to use LDAP as provided by Apache DS for use in in the two following scenarios A Standalone LDAP server configuration  – WAS Administrative Security and User Security (Application Role Management).. read more →

If you have read the WAS 8.5.5.x silent install guide (which is part of my new WAS 8.5.5.x course available for purchase  in Q2 2015), you will know that we used the custom install script or manually install WAS, you would hopefully have turned on Global Security by default. The most obvious surety of.. read more →

I have just completed a new module for my updated WAS 8.5.5.x course and I thought that it was such an interesting topic that I would post segments about how to configure Federated Repositories using ApacheDS a s the LDAP Server. In this guide I have used CentOS 7, with WAS 8.5.5.x for Developers (No.. read more →

So, you require an Independent IBM WebSphere Middleware Consultant to help with WebSphere Architecture, Support, Migration, Automation and Thought Leadership. An expert in technical communications in the middleware domain, and adept in almost all forms of Internet and mobile related technology, Steve Robinson has time and time again proven his tenacity to improve systems around him and deliver… read more →

Summary In this guide, we have learned about Global Security, and how to setup LDAP for our application user and administrative user requirements. We looked at how to create federated repositories defined as realms which contain more than one user registry of different types, yet presented as one virtual realm. Federated repositories are the way.. read more →

Standalone LDAP What we will cover in the next few pages is how to configure WebSphere Application Server to use a standalone LDAP registry. The difference between a standalone LDAP repository and Federated Repositories is that the WAS administrative IDs and User ID’s are both referenced from the same LDAP server. If the LDAP service.. read more →

Changing the OU for LDAP Bind What I would like to do now is take a walk through the Security – Users and Groups screens so we can see what they look like under Federated Repositories. Navigate to Users and Groups and select Manage Users We can see the following: As we can see above,.. read more →

 Adding LDAP to a federated repository We have covered how to install Apache DS, we will now look at adding LDAP to our Federated Repository. So far we have the internal fie-based registry names fileRegistry.xml, however our installed JEE application(s) will require a user registry. For this we want to use LDAP. We want to.. read more →

ApacheDS ApacheDS is an extensible and embeddable directory server entirely written in Java, which has been certified LDAPv3 compatible by the Open Group. Since ApacheDS is a Java based solution, you will find it easy to administer and configure, and it works well with WebSphere with minimal configuration out of the box. Installing ApacheDS You.. read more →

 Setting the internal Repository using Scripting Our federated repository is based on a virtual realm (A unique name defining the virtual registry as provided by the registries that are federated together and managed by the WebSphere Virtual Manager) The realm can consist of identities in: The file-based repository that is built into the system One.. read more →

Disabling Global Security What happens if we make a mistake and cannot log in? Maybe we have forgotten a password or user-name. What do we do? Well we can try and modify the xml files, but this is dangerous. A better option is to turn of global security and re-set it. It will depend on.. read more →