Unable to Create WAS 8.5 profiles on Ubuntu OS – Value of WS_CMT_EXTRINSICS could not be extracted

Unable to Create WAS 8.5 profiles on Ubuntu OS – Value of WS_CMT_EXTRINSICS could not be extracted


Purpose – To create profiles in Websphere Application Server 8.5 installed on Ubuntu 12.04 unsupported OS

Pre-requsities
Ubuntu 12.04 OS
WAS ND 8.5.5

I was able to install WAS 8.5.5 ND package using IBM Installation manager on Ubuntu. But was unable to create any profiles. It was throwing the below errors in the profile creation logs.

Error
<record>
    <date>2014-09-12T12:01:30</date>
    <millis>1410503490455</millis>
    <sequence>31</sequence>
    <logger>com.ibm.ws.install.configmanager.osutils.ProcessEnvironment</logger>
    <level>INFO</level>
    <class>com.ibm.ws.install.configmanager.osutils.ProcessEnvironment</class>
    <method>getEnvironmentVariableValue</method>
    <thread>0</thread>
    <message>Value of WS_CMT_EXTRINSICS could not be extracted from
the process environment, returning null</message>
</record>

If you still want to use WAS ND on Ubuntu, you could carry out these steps before initiating the profile creation

Step1: Reconfigure dpkg to use bash

root@Ubuntu:~# dpkg-reconfigure dash

select ‘no’ in the pop window that opens

Removing ‘diversion of /bin/sh to /bin/sh.distrib by dash’
Adding ‘diversion of /bin/sh to /bin/sh.distrib by bash’
Removing ‘diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash’
Adding ‘diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by bash’

This will make changes to default shell that will be used from dash to bash

Step2: Initiate the profile creating using pmt.sh wizard or using manageprofiles.sh

Note – WAS product compatibility report could be checked at IBM’s SPCR site – http://publib.boulder.ibm.com/infocenter/prodguid/v1r0/clarity/index.html

Hope you enjoyed reading this article. Thank you.