WebSphere Application Server on Ubuntu 12.04 64 Bit

· by Christoph Stoettner · Read in about 2 min · (294 words)

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.