LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices



Reply
 
Search this Thread
Old 08-07-2012, 11:13 AM   #1
helper1000
LQ Newbie
 
Registered: Aug 2012
Posts: 5

Rep: Reputation: Disabled
Websphere 7/8 application server installation fails on Fedora 16/17


Hi there,

I have been trying to install Websphere 7 application server on Fedora 17. When I tried to run the ./launchpad.sh its complaining about the below error message even through the browser was installed and accessible from the path. Also specified IBM Java path in the PATH variable and exported the BROWSER variable.

Please could you advise, What can fix the problem.

===============
Here is the full error message from the console


./launchpad.sh
cp: cannot stat `/opt/ibm/launchpad/lib': No such file or directory
cp: cannot stat `/opt/ibm/launchpad/../jre': No such file or directory
/bin/less
<!--NLS_ENCODING=UTF-8
NLS_MESSAGEFORMAT_NONE-->

No supported Web browser was detected

An error occurred while starting the launchpad.
This error typically occurs when the launchpad is unable to find a supported browser.
 
Old 08-09-2012, 08:58 PM   #2
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,758

Rep: Reputation: 644Reputation: 644Reputation: 644Reputation: 644Reputation: 644Reputation: 644
Maybe you could post the content of launchpad.sh so we can see what it's doing
 
Old 08-15-2012, 08:31 AM   #3
helper1000
LQ Newbie
 
Registered: Aug 2012
Posts: 5

Original Poster
Rep: Reputation: Disabled
Here is the content of the code.

#!/bin/sh
# Licensed Materials - Property of IBM
# 5648-F10 (C) Copyright International Business Machines Corp. 2005, 2007
# All Rights Reserved
# US Government Users Restricted Rights - Use, duplication or disclosure
# restricted by GSA ADP Schedule Contract with IBM Corp.

# traps the SIGTTOU command that might be thrown if the user invokes
# ./launchpad.sh &
trap '' 22

case "$0" in
/*) fullpath=$0;;
*) fullpath=`pwd`/$0;;
esac
installsourcepath=`echo "$fullpath" | sed "s,/\./,/,g; s,/[^/][^/]*/\.\./,/,g; s,//,/,g; s,/[^/]*$,,"`
installsourcepath=$installsourcepath/launchpad
# fixup symlink if possible
LaunchPadPwd=`which pwd`; export LaunchPadPwd
[ -f $LaunchPadPwd ] && installsourcepath=`cd $installsourcepath 2>/dev/null && $LaunchPadPwd`
export installsourcepath
LaunchPadBatchPath=$installsourcepath
export LaunchPadBatchPath

LaunchPadTmpDir=/tmp
if [ ! -d $LaunchPadTmpDir ]; then
mkdir $LaunchPadTmpDir
fi
LaunchPadTmpDir=$LaunchPadTmpDir/IBM_LaunchPad_$$
mkdir $LaunchPadTmpDir >/dev/null 2>&1
\cd $LaunchPadTmpDir
export LaunchPadTmpDir
LaunchPadTemp=$LaunchPadTmpDir; export LaunchPadTemp

#copy temp files
cp -f "$LaunchPadBatchPath/callback.sh" $LaunchPadTemp
cp -f "$LaunchPadBatchPath/changeDirectory.sh" $LaunchPadTemp

if [ -z "$LaunchPadContentDir" ]; then
LaunchPadContentDir=content/
export LaunchPadContentDir
fi


LaunchPadExportFile=$LaunchPadTemp/launchpadExports;export LaunchPadExportFile

#Load command line arguments, export as key value pairs
currentArgIndex=1
nextArgIndex=2
# if the first arg is -a, skip it and continue processing the rest, this is only required for launchpad.exe
firstArgValue=`eval "echo \\$$currentArgIndex"`
if [ "$firstArgValue" = "-a" ]; then
currentArgIndex=`expr $currentArgIndex + 1`
nextArgIndex=`expr $nextArgIndex + 1`
fi
while [ $currentArgIndex -lt $# ]
do
key=`eval "echo \\$$currentArgIndex"`
value=`eval "echo \\$$nextArgIndex"`
echo "$key=\"$value\""
echo "export $key"
currentArgIndex=`expr $currentArgIndex + 2`
nextArgIndex=`expr $nextArgIndex + 2`
done > $LaunchPadExportFile
# inline the commands we just wrote to the file (exporting on solaris in the above code was failing, the variables were out of scope after leaving the do while loop)
. $LaunchPadExportFile
if [ ! $? -eq 0 ]; then
source $LaunchPadExportFile
fi

#Load launchpadEnv variables
#Cross platform way to see if the launchpadEnv file exists (-e doesn't work on solaris)
ls "$LaunchPadBatchPath/launchpadEnv" > /dev/null 2>&1
if [ $? -eq 0 ]; then
#while read k v; eval $k=$v; export $k; done < "$LaunchPadBatchPath/launchpadEnv"
sed 's/\r$//' $LaunchPadBatchPath/launchpadEnv > $LaunchPadTemp/launchpadEnvTemp
while read key value
do
#Ensure the key is not empty
if [ "$key" ]; then
#Ensure the line is somewhat well formed by checking that a value is also specified
if [ "$value" ]; then
#Don't set variables that are either commented out or that already have a value
firstChar="`echo $key | cut -c1`"
if [ ! $firstChar = "#" -a ! "`eval \"echo \\$$key\"`" ]; then
#eval $key=$value
#export $key
echo "$key=\"$value\""
echo "export $key"
fi
fi
fi
done < $LaunchPadTemp/launchpadEnvTemp > $LaunchPadExportFile
rm $LaunchPadTemp/launchpadEnvTemp
fi
# inline the commands we just wrote to the file (exporting on solaris in the above code was failing, the variables were out of scope after leaving the do while loop)
. $LaunchPadExportFile
if [ ! $? -eq 0 ]; then
source $LaunchPadExportFile
fi

#Load java.properties variables
#Cross platform way to see if the java.properties file exists (-e doesn't work on solaris)
ls "$LaunchPadBatchPath/java.properties" > /dev/null 2>&1
if [ $? -eq 0 ]; then
sed 's/\r$//' $LaunchPadBatchPath/java.properties > $LaunchPadTemp/javaTemp.properties
oldIFS=$IFS
IFS="="
while read key value
do
IFS=$oldIFS
#Ensure the key is not empty
if [ "$key" ]; then
#Ensure the line is somewhat well formed by checking that a value is also specified
if [ "$value" ]; then
#Don't set variables that are either commented out or that already have a value
firstChar="`echo $key | cut -c1`"
if [ ! $firstChar = "#" -a ! "`eval \"echo \\$$key\"`" ]; then
#eval $key=$value
#export $key
echo "$key=\"$value\""
echo "export $key"
fi
fi
fi
IFS="="
done < $LaunchPadTemp/javaTemp.properties > $LaunchPadExportFile
IFS=$oldIFS
rm $LaunchPadTemp/javaTemp.properties
fi
. $LaunchPadExportFile
if [ ! $? -eq 0 ]; then
source $LaunchPadExportFile
fi

LaunchPadArch=`$LaunchPadBatchPath/SetArchitecture.sh`
export LaunchPadArch

#Inlines browser.sh , which sets and exports the BROWSER and whichBrowser variables
. $LaunchPadBatchPath/browser.sh
if [ ! $? -eq 0 ]; then
source $LaunchPadBatchPath/browser.sh
fi

if [ "$LaunchPadDisableLogName" = "true" ]; then
launchpadShell="sh"
elif [ $whichBrowser = Firefox ]; then
launchpadShell=`$LaunchPadBatchPath/CheckShell.sh`
else
launchpadShell="sh"
fi

if [ $launchpadShell = sh ]; then
whichBrowserScript=$LaunchPadBatchPath/$whichBrowser.sh
elif [ $launchpadShell = bash ]; then
if [ $whichBrowser = NoBrowser ]; then
whichBrowserScript=$LaunchPadBatchPath/$whichBrowser.sh
else
whichBrowserScript=$LaunchPadBatchPath/"$whichBrowser"_bash.sh
fi
else
whichBrowserScript=$installsourcepath/NoBrowser.sh
fi

$LaunchPadBatchPath/jclp.sh || eval exec $whichBrowserScript

Last edited by helper1000; 08-16-2012 at 06:09 AM.
 
Old 08-15-2012, 07:22 PM   #4
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,758

Rep: Reputation: 644Reputation: 644Reputation: 644Reputation: 644Reputation: 644Reputation: 644
Would you mind fixing up your last post to use code tags .. it's difficult to read. I believe the browser detection is in browser.sh, please post it's content (in code tags!)
 
Old 08-16-2012, 06:31 AM   #5
helper1000
LQ Newbie
 
Registered: Aug 2012
Posts: 5

Original Poster
Rep: Reputation: Disabled
Hi there,

I am not clear what do you mean by putting in to code tags. I have now added the browser.sh script as an attachment. Please check whether you can able to view the contents of the file OK.
Attached Files
File Type: txt browser.txt (5.2 KB, 5 views)
 
Old 08-16-2012, 10:31 AM   #6
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,758

Rep: Reputation: 644Reputation: 644Reputation: 644Reputation: 644Reputation: 644Reputation: 644
When you create a post there is a button with a '#' symbol 2nd from the right, this will put code tags around whatever you have highlighted.

Can you please post the output of:
Code:
firefox -version
(code tags example)
 
Old 08-20-2012, 08:26 AM   #7
helper1000
LQ Newbie
 
Registered: Aug 2012
Posts: 5

Original Poster
Rep: Reputation: Disabled
Sorry for the delay.

Here is the firefox version number : Mozilla Firefox 14.0.1
 
Old 08-20-2012, 07:05 PM   #8
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,758

Rep: Reputation: 644Reputation: 644Reputation: 644Reputation: 644Reputation: 644Reputation: 644
It seems that version isn't supported according to browser.sh .. the question is what you want to do now - hack it or get vendor support.

It's trivial to modify browser.sh:
Code:
function supportedFirefoxVersion()
{
    case "$*" in
        *Firefox\ [1-9]?.*) return 0;;
        *Firefox/[1-9].*) return 0;;
...
However your version of firefox may or may not work correctly and you *will* be unsupported by the vendor.
 
Old 08-21-2012, 04:52 AM   #9
helper1000
LQ Newbie
 
Registered: Aug 2012
Posts: 5

Original Poster
Rep: Reputation: Disabled
Thanks for your help and I will find out the options available to get this work.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: WebSphere Application Server -- Express V6.1 LXer Syndicated Linux News 2 03-26-2014 03:01 AM
SiteScope monitoring for websphere Application Server 6.x under linux thiyagut Linux - General 0 03-06-2007 11:56 PM
installing Websphere Application Server 5.0 on Linux Intel ryzor Linux - Enterprise 3 05-15-2006 02:23 PM
WebSphere Application Server 4.0 installation nonny Linux - Software 1 09-24-2002 02:31 AM
Websphere 4.0 Application Server installation nonny Linux - Newbie 1 06-06-2002 11:56 PM


All times are GMT -5. The time now is 06:11 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration