Skip to main content

developerWorks >  Rational  >  Forums  >  Development Tools (RAD, RSA, RDA, RSM, RWD)  >  developerWorks

RAD v7.0 installation on Ubuntu 7.10 fails with Exception    Point your RSS reader here for a feed of the latest messages in this thread


     

 
 

My developerWorks
 Welcome, Guest
Sign in or register
Permlink Replies: 7 - Pages: 1 - Last Post: Jun 5, 2009 6:29 PM Last Post By: Ahmed Moharram
tomf

Posts: 16
Registered: May 04, 2007 09:54:56 AM
RAD v7.0 installation on Ubuntu 7.10 fails with Exception
Posted: Apr 10, 2008 09:53:50 AM
Click to report abuse...   Click to reply to this thread Reply
When installing RAD v7.0 from the installation Manager it exits with an error which I traced to:
/opt/IBM/SDP70/runtimes/base_v61/logs/manageprofiles/AppSrv01_create.log

The file is attached but here is the relevant section:

<record>
<date>2008-04-10T10:01:40</date>
<millis>1207818100246</millis>
<sequence>2218</sequence>
<logger>com.ibm.ws.install.configmanager.actionengine.ant.utils.ANTLogToCmtLogAdapter</logger>
<level>WARNING</level>
<class>com.ibm.ws.install.configmanager.logging.LogUtils</class>
<method>logException</method> <thread>10</thread>
<message>/opt/IBM/SDP70/runtimes/base_v61/profileTemplates/default/actions/generateKeysForSingleProfile.ant:25: wsadmin task failed with return code :-1
at com.ibm.websphere.ant.tasks.WsAdminInProcess.execute(WsAdminInProcess.java:334)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
at com.ibm.ws.install.configmanager.actionengine.ant.utils.InProcessAntRunner.runBuild(InProcessAntRunner.java:785)
at com.ibm.ws.install.configmanager.actionengine.ant.utils.InProcessAntRunner.start(InProcessAntRunner.java:234)
at com.ibm.ws.install.configmanager.actionengine.ANTAction.executeActionUsingAnInProcessANTCall(ANTAction.java:94)
at com.ibm.ws.install.configmanager.actionengine.ANTAction.executeAction(ANTAction.java:41)
at com.ibm.ws.install.configmanager.ConfigManager.executeAllActionsFound(ConfigManager.java:828)
at com.ibm.ws.install.configmanager.ConfigManager.executeActions(ConfigManager.java:547)
at com.ibm.ws.install.configmanager.ConfigManager.launch(ConfigManager.java:322)
at com.ibm.ws.install.configmanager.launcher.Launcher.mainForInProcessCMTCallers(Launcher.java:65)
at com.ibm.wsspi.profile.WSProfile.doCreate(WSProfile.java:382)
at com.ibm.wsspi.profile.WSProfile.create(WSProfile.java:219)
at com.ibm.ws.profile.cli.WSProfileCLICreateProfileInvoker.executeWSProfileAccordingToMode(WSProfileCLICreateProfileInvoker.java:86)
at com.ibm.ws.profile.cli.WSProfileCLIModeInvoker.invokeWSProfile(WSProfileCLIModeInvoker.java:212)
at com.ibm.wsspi.profile.WSProfileCLI.invokeWSProfile(WSProfileCLI.java:269)
at com.ibm.wsspi.profile.WSProfileCLI.main(WSProfileCLI.java:59)
Caused by: wsadmin task failed with return code :-1
at com.ibm.ws.ant.utils.ProjectUtils.reportError(ProjectUtils.java:30)
at com.ibm.websphere.ant.tasks.WsAdminInProcess.execute(WsAdminInProcess.java:327)
... 22 more
      • Nested Exception ---
wsadmin task failed with return code :-1
at com.ibm.ws.ant.utils.ProjectUtils.reportError(ProjectUtils.java:30)
at com.ibm.websphere.ant.tasks.WsAdminInProcess.execute(WsAdminInProcess.java:327)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
at com.ibm.ws.install.configmanager.actionengine.ant.utils.InProcessAntRunner.runBuild(InProcessAntRunner.java:785)
at com.ibm.ws.install.configmanager.actionengine.ant.utils.InProcessAntRunner.start(InProcessAntRunner.java:234)
at com.ibm.ws.install.configmanager.actionengine.ANTAction.executeActionUsingAnInProcessANTCall(ANTAction.java:94)
at com.ibm.ws.install.configmanager.actionengine.ANTAction.executeAction(ANTAction.java:41)
at com.ibm.ws.install.configmanager.ConfigManager.executeAllActionsFound(ConfigManager.java:828)
at com.ibm.ws.install.configmanager.ConfigManager.executeActions(ConfigManager.java:547)
at com.ibm.ws.install.configmanager.ConfigManager.launch(ConfigManager.java:322)
at com.ibm.ws.install.configmanager.launcher.Launcher.mainForInProcessCMTCallers(Launcher.java:65)
at com.ibm.wsspi.profile.WSProfile.doCreate(WSProfile.java:382)
at com.ibm.wsspi.profile.WSProfile.create(WSProfile.java:219)
at com.ibm.ws.profile.cli.WSProfileCLICreateProfileInvoker.executeWSProfileAccordingToMode(WSProfileCLICreateProfileInvoker.java:86)
at com.ibm.ws.profile.cli.WSProfileCLIModeInvoker.invokeWSProfile(WSProfileCLIModeInvoker.java:212)
at com.ibm.wsspi.profile.WSProfileCLI.invokeWSProfile(WSProfileCLI.java:269)
at com.ibm.wsspi.profile.WSProfileCLI.main(WSProfileCLI.java:59)
</message>

I have been unable to get any further and I really would appreciate any help?

Many thanks in advance...
benschell

Posts: 1
Registered: Apr 10, 2008 02:28:09 PM
Re: RAD v7.0 installation on Ubuntu 7.10 fails with Exception
Posted: Apr 10, 2008 02:31:35 PM   in response to: tomf in response to: tomf's post
Click to report abuse...   Click to reply to this thread Reply
I think this is actually more of a general problem than just with RAD, as this same error occurred for me while simply trying to install WAS 6.1 on Ubuntu.

The solution is related to the fact that Ubuntu now uses /bin/dash as the default shell (that is, /bin/sh is linked to /bin/dash). Changing the default shell to bash made this work flawlessly for me.

In summary, you can run:
1) sudo unlink /bin/sh
2) sudo ln -s /bin/bash /bin/sh

Then, try the install again (or, in my case, re-run the profile management tool).

Good luck!
tomf

Posts: 16
Registered: May 04, 2007 09:54:56 AM
Re: RAD v7.0 installation on Ubuntu 7.10 fails with Exception
Posted: Apr 14, 2008 03:41:52 AM   in response to: benschell in response to: benschell's post
Click to report abuse...   Click to reply to this thread Reply
Thanks, that was great information, worked a treat.
gg07

Posts: 2
Registered: Jan 24, 2007 10:42:32 AM
Re: RAD v7.0 installation on Ubuntu 7.10 fails with Exception
Posted: Jun 11, 2008 09:25:39 AM   in response to: tomf in response to: tomf's post
Click to report abuse...   Click to reply to this thread Reply
GREAT ! I have successfully installed WAS 6.1 on UBUNTU 7.1 with this workaround! Thanks
groogle

Posts: 1
Registered: Feb 01, 2006 10:38:30 PM
Re: RAD v7.0 installation on Ubuntu 7.10 fails with Exception
Posted: Jul 25, 2008 08:56:01 AM   in response to: tomf in response to: tomf's post
Click to report abuse...   Click to reply to this thread Reply
Beginning with Feisty Fawn (7.04) the default shell is Dash, not Bash. This can cause problems for IBM product installations such as WebSphere.
Instead of manually changing the filesystem link, you can perform the following command to use Bash

sudo dpkg-reconfigure dash

In the dialog select "No to switch to bash or select "Yes" to switch to dash
javaben

Posts: 2
Registered: Jul 26, 2008 05:12:48 PM
Re: RAD v7.0 installation on Ubuntu 7.10 fails with Exception
Posted: Jul 26, 2008 07:25:02 PM   in response to: groogle in response to: groogle's post
Click to report abuse...   Click to reply to this thread Reply
I have been using RAD 7.0 on Ubunto 8.04 after installing via the bash/dash change mentioned above. Unfortunately, I didn't install the license using the Installation Manager and now it's expired. I do have my license, but now I can't seem to find a way to install the manager successfully. After I unpack the installation manager zip file, I've tried running install several different ways; double clicking in the file browser, which launches wine. The output from this (using wine start ./install) is:

First, I get the IBM window coming up, which says it's the "IBM Installation Manager". Then I get an error popup which says: "The command line parameters are incorrect:", followed by:

javaben@myDell:~/IBM/InstallationManager$ wine start ./install
fixme:exec:SHELL_execute flags ignored: 0x00000500
javaben@myDell:~/IBM/InstallationManager$ Usage: <launcher> -options
where -options includes:
--launcher.ini <.ini file>
the location of the launcher .ini file, which may contain the options below.
-purgeAgentAll -preservePreferences
purge application data and installed packages
-purgeAgentData
purge application data
-isAdmin
run as an admin
-ignoreRepositoryDigest
ignore repository digest file
-version
print the version of this application and exit
-dataLocation <agentDataLocation>
specify a directory to hold the data of this application
-help
print this help message and exit
-record <recordedFile>
to record a response file
-skipInstall <agentDataLocation>
skip actual installation
-log <logFile>
specify a log file
-silent
to run in silent mode
-silent -updateAll -logOption
to silently update all packages
-silent -installAll -logOption
to silently install all packages
-silent -installAll -logOption
to silently install all packages
-passwordKey <passwordKey>
provide password encryption key
-passwordKey
present dialog to ask for password encryption (UI mode only)
-mode wizard
to run in wizard mode with a response file
-input <responseFile>
to run with a repsonse file
00:03.68 ERROR Thread:main com.ibm.cic.agent.internal.ui.AgentUIApplication launch
Usage: <launcher> -options
where -options includes:
--launcher.ini <.ini file>
the location of the launcher .ini file, which may contain the options below.
-purgeAgentAll -preservePreferences
purge application data and installed packages
-purgeAgentData
purge application data
-isAdmin
run as an admin
-ignoreRepositoryDigest
ignore repository digest file
-version
print the version of this application and exit
-dataLocation <agentDataLocation>
specify a directory to hold the data of this application
-help
print this help message and exit
-record <recordedFile>
to record a response file
-skipInstall <agentDataLocation>
skip actual installation
-log <logFile>
specify a log file
-silent
to run in silent mode
-silent -updateAll -logOption
to silently update all packages
-silent -installAll -logOption
to silently install all packages
-silent -installAll -logOption
to silently install all packages
-passwordKey <passwordKey>
provide password encryption key
-passwordKey
present dialog to ask for password encryption (UI mode only)
-mode wizard
to run in wizard mode with a response file
-input <responseFile>
to run with a repsonse file

javaben@myDell:~/IBM/InstallationManager$

JVM terminated. Exit code=1
-Djava.class.path=/home/javaben/IBM/InstallationManager/plugins/org.eclipse.equinox.launcher_1.0.1.R33x_v20070828.jar
-os linux
-ws gtk
-arch x86
-showsplash
-launcher /home/javaben/IBM/InstallationManager/install
-name Install
--launcher.library /home/javaben/IBM/InstallationManager/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.0.1.R33x_v20070828/eclipse_1020.so
-startup /home/javaben/IBM/InstallationManager/plugins/org.eclipse.equinox.launcher_1.0.1.R33x_v20070828.jar
-vm
jre_5.0.2.sr5_20070511/jre/bin/java

-url
https://www.ibm.com/software/rational/repositorymanager/action/getInitData

-installurl
https://www.ibm.com/software/rational/repositorymanager/action/getInitDataWithIM

-input
@osgi.install.area\install.xml
-log log.txt
-vm /usr/lib/jvm/java-1.5.0-sun-1.5.0.15/jre/bin/../lib/i386/client/libjvm.so
-vmargs
-Djava.class.path=/home/javaben/IBM/InstallationManager/plugins/org.eclipse.equinox.launcher_1.0.1.R33x_v20070828.jar

Note - the -log log.txt above is mine, but it never writes to it, as it appears to be exiting due to the

It does create a directory structure under InstallationManagerInstaller, and I found a log entry there, with the following:

!SESSION 2008-07-26 19:20:37.063 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.5.0_15
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
-log log.txtll.area\install.xmlational/repositorymanager/action/getInitDataWithIM
-log log.txtll.area\install.xmlational/repositorymanager/action/getInitDataWithIM

!ENTRY org.eclipse.osgi 2 1 2008-07-26 19:20:49.036
!MESSAGE NLS unused message: InstallHistory_ActivityType_Modify in: com.ibm.cic.agent.internal.ui.Messages

!ENTRY org.eclipse.osgi 2 1 2008-07-26 19:20:49.038
!MESSAGE NLS unused message: InstallHistory_ActivityType_Modify_Add in: com.ibm.cic.agent.internal.ui.Messages

!ENTRY org.eclipse.osgi 2 1 2008-07-26 19:20:49.039
!MESSAGE NLS unused message: InstallHistory_ActivityType_Modify_Remove in: com.ibm.cic.agent.internal.ui.Messages

!ENTRY org.eclipse.osgi 2 1 2008-07-26 19:20:49.324
!MESSAGE NLS unused message: CacheManager_checking_internal_error_for_file in: com.ibm.cic.agent.internal.core.messages

!ENTRY com.ibm.cic.agent.core 4 0 2008-07-26 19:20:49.359
!MESSAGE Usage: <launcher> -options
where -options includes:
--launcher.ini <.ini file>
the location of the launcher .ini file, which may contain the options below.
-purgeAgentAll -preservePreferences
purge application data and installed packages
-purgeAgentData
purge application data
-isAdmin
run as an admin
-ignoreRepositoryDigest
ignore repository digest file
-version
print the version of this application and exit
-dataLocation <agentDataLocation>
specify a directory to hold the data of this application
-help
print this help message and exit
-record <recordedFile>
to record a response file
-skipInstall <agentDataLocation>
skip actual installation
-log <logFile>
specify a log file
-silent
to run in silent mode
-silent -updateAll -logOption
to silently update all packages
-silent -installAll -logOption
to silently install all packages
-silent -installAll -logOption
to silently install all packages
-passwordKey <passwordKey>
provide password encryption key
-passwordKey
present dialog to ask for password encryption (UI mode only)
-mode wizard
to run in wizard mode with a response file
-input <responseFile>
to run with a repsonse file

javaben@myDell:~/IBM/InstallationManagerInstaller/pluginState/.metadata$


Any suggestions on how to get my valid license installed so I can return to work on RAD 7?

Thanks!

Javaben

EmersonLoureiro

Posts: 1
Registered: Sep 04, 2008 08:20:05 AM
Re: RAD v7.0 installation on Ubuntu 7.10 fails with Exception
Posted: Sep 04, 2008 08:21:09 AM   in response to: benschell in response to: benschell's post
Click to report abuse...   Click to reply to this thread Reply
Great! It worked just fine!

Cheers
Emerson
Ahmed Moharram

Posts: 4
Registered: Dec 02, 2006 05:07:58 AM
Re: RAD v7.0 installation on Ubuntu 7.10 fails with Exception
Posted: Jun 05, 2009 06:29:24 PM   in response to: EmersonLoureiro in response to: EmersonLoureiro's post
Click to report abuse...   Click to reply to this thread Reply
WOW! it works like a charm!
many thx and cheers.
 Tags
Help

Use the search field to find all types of content in My developerWorks with that tag.

Use the slider bar to see more or fewer tags.

Popular tags shows the top tags for this particular type of content or application that you're viewing.

My tags shows your tags for this particular type of content or application that you're viewing.

 

MoreLess 


Point your RSS reader here for a feed of the latest messages in all forums