Install WebSphere Application Server V7 on Ubuntu

If you want to install WAS V7 on Ubuntu the IBM Installation Manager will show you the follow error:

Ubuntu Linux is not supported.

Follow the steps below to install:

Step 1. Change from dash to bash

sudo ln -sf /bin/bash /bin/sh

Step 2: Open /etc/lsb-release and change the following:

DISTRIB_ID=Ubuntu                         to                     DISTRIB_ID=LVMUbuntu

Step 3: Recheck the status of IBM Installation Manager and Install

Remeber to change DISTRIB_ID back to Ubuntu (DISTRIB_ID=Ubuntu )

Setup IBM HTTP Server for Websphere Application Server V7

How to Setup IBM HTTP Server for WAS V7:

Step 1: Navigate to Server->Server Types->Web Server -> New

Complete the following information:

1. Provide a name for your HTTP Server

2. Select HTTP Server Type

3. Hostname or IP address

4. Platform

Step 2: Select Web Server Template

Step 3: Specify username and password and confirm all auto completed  fields are correct.

Step 4: Navigate to Window Services and start HTTP Server and HTTP Server Administration Services.

Step 5: Confirm Web Server has started successfully showing a green arrow (as seen below)

Step 6: Generate Plug-in by selecting you web server and clicking on ‘Generate Plug-in’

Step 7: Select Web Server and click ‘Propogate Plug-in’

Step 8: Test HTTP Server plug-in was succesfull, open the browser and open: http://<WAS_HOST_NAME>/hitcount

Create DB2 Data Source for WebSphere Application Server

How to create a DB2 Data Source for Websphere Application Server:

Step 1: Click on Resource -> JDBC -> JDBC Provider -> New

Confirm that the scope of the JDBC Connection is correct -> Node level.

Step 2: Complete the JDBC Provider Fields.

  • Database type : DB2
  • Provider type: DB2 Universal JDBC Driver Provider
  • Implementation Type: XA data source
  • Name: DB2 Universal JDBC Driver Provider (XA)

Click Next to complete the next step. Specify the class path to DB2, which will be at C:\IBM\SQLLIB\java

Step 3: Click Finish and confirm JDBC Provider was successfully created. Next step is to create the Data Source. Click on the new JDBC Provider and click on ‘Data Source’ and select ‘New’ to create a new Data Source. Below is the information that needs to be completed.

Confirm DB2 Server and Database in DB2 Explorer

Step 4: Create JAAS – J2C authentication Data specifying DB2 username and password for Container Connection:

Step 5: Select newly created container managed authentication alias

Click Next and Finish.

Step 6. Test Data Source Connection. Select Data Source and click ‘Test Connection’ button. Confirm connection was successful else check all fields.

Websphere Application Server V8 Beta

IBM® WebSphere® Application Server V8.0 Beta offers an initial glimpse into the future of the industry’s leading standards based, high performance, proven and trusted application foundation optimized for developer and operational productivity. Beta versions of WebSphere Application Server and WebSphere Application Server Network Deployment and WebSphere Application Server for z/OS are available as part of this Beta program.

Customers and partners rely on the WebSphere Application Server family to build, deploy and manage robust, agile and reusable SOA business applications and services of all types while reducing application infrastructure costs. The WebSphere Application Server V8.0 Beta extends the features and capabilities customers and partners are using with the following new and enhanced capabilities.

YouTube: Crash course in Enterprise JavaBeans 3

Below is a series of youtube links to create EJB3 project:

Part 1: Creating the local WebSphere Server –

Part 2: Creating the Enterprise JavaBean project –

Part 3: Writing the JavaBean –

Part 4: Creating the Apache Derby database –

Part 5: Setting up the Java Persistence API –

Part 6: Implementing the Enterprise JavaBean –

Part 7: Creating the Web project –

Part 8: Creating the servlet –

Part 9: Running the Web project –

Rational Portfolio Manager – Websphere Application Server Setup

Below is the Websphere Application Server Environmental Variables that needs to be create for Rational Portfolio Manager EAR installation:

RPMEnvironmental Variable

After these variables has been defined you can deploy the EAR file.

Configure the Rational Portfolio Manager to the Websphere Application Server EAR file that has been successfully deployed by specifying the IP address of the application.

Login to the Rational Portfolio Manager with username and password as specified in LDAP or specified in the Oracle or DB2 Database.

Websphere UDDI configuration with WSRR

Create a Websphere UDDI with Websphere Registry and Repository.

Step 1: Navigate to the following path: \IBM\Websphere\WSRR\admin>
Step 2: Run the following command (Specify the path to your WSRR): ConfigureUDDI.bat C:\Program Files\IBM\Websphere\AppServer\profiles\WSRRSrv01

The following window will open:

Enter the localhost and SOAP port number for WSRR profile.

Enter the security username and password:

Configure your UDDI settings:

UDDI Property Node configurations:

UDDI Node Security configurations:

WS-Policy security integration between DataPower and WebSphere Application Server

Configure WebSphere DataPower SOA Appliance and WebSphere Application Server to implement WS-Policy for SOA service governance. User credentials are transformed in an LPTA common token format for authorization and single-sign-on between DataPower and an application hosted on WebSphere Application Server. Offloading policy management to DataPower lets WebSphere Application Server provide better application-level functionality, while DataPower provides enterprise-wide, high-performance service governance.