WebSphere Application Server on Ubuntu 12.04 64 Bit

Last Update:

Author: Christoph Stoettner
Read in about 2 min · 294 words

Fountain pen and a notebook

Photo by Aaron Burden | Unsplash

I’m really impressed of the WAS 8 installation. Install Manager can handle multiple repositories, so you can install the core package and updates in one step. That’s lots faster than installing WAS 7, Update Installer and the fixes.

Yes i know Ubuntu is unsupported for WebSphere Application Server, but i like the simple install and update process. So i use it on about 80 % of my linux testsystems and i have no problems when installing IBM Domino, WebSphere, DB2 or Connections.

Additional software for Ubuntu

I added the following packages to Ubuntu and use x-forward for installing IM and WAS.

dpkg-reconfigure dash

Install Firefox and SSH

apt-get install firefox
apt-get install openssh-server

Add 32 Bit Libraries for Install Manager

apt-get install libxtst6
apt-get install ia32-libs

Uninstall AppArmor

apt-get remove --purge apparmor*

Profile Manager

After WebSphere installation the profiles manager starts automatically and it WORKS! I can configure profiles on a 64 Bit Linux through it.

Service install

Installing the services on Ubuntu works too with the wasservice.sh command, which fails on WAS 7.

cd /opt/IBM/WebSphere/AppServer/bin

./wasservice.sh \
  -add Dmgr \
  -serverName dmgr \
  -profilePath /opt/IBM/WebSphere/AppServer/profiles/Dmgr01\
  -wasHome /opt/IBM/WebSphere/AppServer \
  -stopArgs "-username adminaccount -password password"

./wasservice.sh \
  -add nodeagent \
  -serverName nodeagent \
  -profilePath /opt/IBM/WebSphere/AppServer/profiles/AppSrv01 \
  -wasHome /opt/IBM/WebSphere/AppServer \
  -stopArgs "-username   adminaccount -password password"

I always install services for deployment manager and the nodeagents. The automatic start of my application servers i configure through the ISC and the Monitoring Policy.

I do this, because i had several issues when starting the application servers through init or windows service and the servers work in a cluster.

When you want to stop your application servers automatically on reboots, you should register a init-Skript and remove the start tasks in /etc/rcx.d for these application server services.

Add a comment
There was an error sending your comment, please try again.
Thank you!
Your comment has been submitted and will be published once it has been approved.

Your email address will not be published. Required fields are marked with *

Suggested Reading
Aaron Burden: Fountain pen and a notebook

This week I installed IBM Connections 5.5CR1 on a Windows Server. I used WebSphere Application Server and everything ran pretty smooth, but the Connections install itself ended in an error after all applications were successfully installed.

Last Update:
Read in about 1 min
Aaron Burden: Fountain pen and a notebook
Within the fixlist of the new released CR3 of IBM Connections 5 there are several new configuration options mentioned. One of the interesting ones for me is the mobile update parameter AllowRemoveAccount. The default value is “false” and your Connections environment still works before, but what’s changed when you set this to true? The official documentation is already uptodate and shows us: When you set this option to true, accounts can be removed from a mobile device without requiring the user to login and without any authorization check. The user is asked to confirm the deletion of an account before it is removed.
Last Update:
Read in about 3 min
Aaron Burden: Fountain pen and a notebook
Missing command history on Linux is a little problem when using command line utilities like wsadmin, db2, sqlplus and so on. I found a solution for this today. You can use rlwrap to get command history for all applications on the console and it is possible to recall and edit the commands. Rlwrap uses readline. Installation on CentOS: yum install readline-static gcc make tar -xvzf rlwrap-0.41.tar.gz cd rlwrap-0.41 ./configure make make install Call rlwrap with wsadmin: rlwrap -r /opt/IBM/WebSphere/AppServer/profiles/Dmgr01/bin/wsadmin.sh -lang jython -username wasadmin -password password rlwrap and db2 rlwrap -r db2 Use rlwrap everytime with alias vim ~/.bash_profile export WAS_HOME=/opt/IBM/WebSphere/AppServer export DMGR=Dmgr01 alias db2='rlwrap -r db2' alias wsadmin='cd $WAS_HOME/profiles/$DMGR/bin;rlwrap -r .
Last Update:
Read in about 1 min