launchpad.sh fails to load with Firefox version 10.x

Technote (troubleshooting)


Problem(Abstract)

launchpad.sh fails to load with 'No such file or directory' error,

Symptom

cp: cannot stat `/root/ITCAM/install/launchpad/lib': No such file or directory
cp: cannot stat `/root/ITCAM/install/launchpad/../jre': No such file or directory
++ cat /root/ITCAM/install/launchpad/en/noBrowser.html

Unable to find supported browser


Cause

browser.sh fails when checking browser version.

Diagnosing the problem

NOTE: launchpad.sh is used in several IBM products, and is only one option for installing.

If there are problems with launchpad.sh, investigate the other install options.

Edit launchpad.sh, and add the line 'set -x' as shown below:
#!/bin/sh
set -x
# Licensed Materials - Property of IBM

Then redirect output to a file:
./launchpad.sh > launchOut 2>&1

Examine the output file launchOut for output like this:
++ versionString='Mozilla Firefox 10.0.6'
++ BROWSER=firefox
++ export BROWSER
++ supportedFirefoxVersion 'Mozilla Firefox 10.0.6'
++ case "$*" in
++ return 1
++ '[' NoBrowser = NoBrowser ']'


Resolving the problem

If the problem is NoBrowser, then the problem can be resolved by adding a regular expression that matches the version of Firefox or Mozilla browser being used. In this case, Firefox 10.0.6 is being used, so the following regular expression would match this version:

*Firefox\ [1-9][0-9].*) return 0;;
*Firefox/[1-9][0-9].*) return 0;;

For example, to add a match for the version 'Mozilla Firefox 10.0.6',

edit browser.sh, and change:
supportedFirefoxVersion()
{
case "$*" in
*Firefox\ [1-9].*) return 0;;
*Firefox/[1-9].*) return 0;;
*Firefox*) return 1;;
*rv:1.[7-9]*) return 0;;
*rv:[2-9].*) return 0;;
*rv:*) return 1;;
Mozilla*\ 1.[7-9]*) return 0;;
Mozilla*\ [2-9].[0-9]*) return 0;;
*) return 1;;
esac
}

to:
supportedFirefoxVersion()
{
case "$*" in
*Firefox\ [1-9].*) return 0;;
*Firefox/[1-9].*) return 0;;
*Firefox\ [1-9][0-9].*) return 0;;
*Firefox/[1-9][0-9].*) return 0;;
*Firefox*) return 1;;
*rv:1.[7-9]*) return 0;;
*rv:[2-9].*) return 0;;
*rv:*) return 1;;
Mozilla*\ 1.[7-9]*) return 0;;
Mozilla*\ [2-9].[0-9]*) return 0;;
*) return 1;;
esac
}

The 'set -x' should help find other problems as well, but they are not addressed by this document.

Rate this page:

(0 users)Average rating

Document information


More support for:

Tivoli Composite Application Manager for Transactions
5724S7900 ITCAM for Transactions Routing ID

Software version:

7.3

Operating system(s):

AIX, AIX 64bit, Linux, Solaris

Reference #:

1624430

Modified date:

2014-05-30

Translate my page

Machine Translation

Content navigation