Installing Rational Software Modeller 7.5 on Fedora 11

  1. Because the installer uses text relocations you’ll need to relax your SELinux settings. Go to System -> Administration -> SELinux Management -> Status and set the Current Enforcing Mode to Permissive.
  2. Launch the installer and follow the wizard to completion (the remaining steps assume you accepted the default installation and workspace locations).
  3. Rational Software Modeller also uses text relocations at runtime so you need to run the following command before setting your Current Enforcing Mode back to Enforcing:
    sudo chcon -R -t textrel_shlib_t /opt/IBM
  4. If you try and launch the application at this point eclipse will crash and display an error dialog telling you to check <HOME>/IBM/rationalsdp/workspace/.metadata/.log. This bug is the result of a change in the xulrunner SDK which is required to display the eclipse welcome screen.
  5. To disable the welcome screen run the following command:
    echo "org.eclipse.ui/showIntro=false" > /tmp/noWelcomeScreen.ini

    Now append the following option to the launch command:

    -pluginCustomization /tmp/noWelcomeScreen.ini

    For example:

    opt/IBM/SDP/eclipse -product com.ibm.rational.rsm.product.v75.ide -pluginCustomization /tmp/noWelcomeScreen.ini
  6. Go to Application -> IBM Software Delivery Platform -> IBM Software Modeller
  7. Happy modelling!
Advertisements
Tagged with: , , , , ,
Posted in Fedora, Java EE Development, UML
5 comments on “Installing Rational Software Modeller 7.5 on Fedora 11
  1. eskuai says:

    Thank you for you info … I always forget selinux in new installs!

    Well, my systems is a Fedora 11 and RSA 7.0

    I had installed RSA 7 without change selinux values … In my system, Installer works ok … it needs to download an update of size 80M, i think that it is terrible …

    I got no problem with the startup welcome screen, because i’ve include:

    -Dorg.eclipse.swt.browser.XULRunnerPath=/usr/lib/xulrunner/xulrunner

    It is interesing that ejb graphics design works ok, but jsp graphics desing hang ups rad …

    At least, rsa 7 is a good product but it has “stupid” bugs …

    • Jonathan Wright says:

      I’ve been evaluating RSA for a few weeks now and I have to say it’s the little bugs that turn out to be the really annoying ones. For example, I’ve been trying to group related classes in a class diagram. It works OK until you decide to set the routing style for any Generalisation elements to “tree”.

      The more I use the modelling tools, the more I get the impression the whole application was auto-generated from the UML meta-model, with little or no human input.

  2. talisker says:

    curious, but I was just setting up RAD 7.0.x on my laptop running Fedora 11; I relaxed SeLinux as soon as I installed Fedora, so that was not a problem, however although RAD installed fine, I had the same (I presume) problem on starting it …

    even trying the second solution resulted in the same failure:

    /opt/IBM/SDP70/eclipse -product com.ibm.rational.rad.product.ide -Dorg.eclipse.swt.browser.XULRunnerPath=/usr/lib/xulrunner/xulrunner

    JVM terminated. Exit code=127
    /opt/IBM/SDP70/jdk/jre/bin/javaw
    -Xquickstart
    -Xms40m
    -Xmx512m
    -XX:PermSize=64M
    -XX:MaxPermSize=128M
    -Xgcpolicy:gencon
    -Xscmx96m
    -Xshareclasses:singleJVM,keep
    -Xnolinenumbers
    -jar /opt/IBM/SDP70/startup.jar
    -os linux
    -ws gtk
    -arch x86
    -launcher /opt/IBM/SDP70/eclipse
    -name Eclipse
    -showsplash 600
    -exitdata 1028025
    -product com.ibm.rational.rad.product.ide
    -Dorg.eclipse.swt.browser.XULRunnerPath=/usr/lib/xulrunner/xulrunner
    -vm /opt/IBM/SDP70/jdk/jre/bin/javaw
    -vmargs
    -Xquickstart
    -Xms40m
    -Xmx512m
    -XX:PermSize=64M
    -XX:MaxPermSize=128M
    -Xgcpolicy:gencon
    -Xscmx96m
    -Xshareclasses:singleJVM,keep
    -Xnolinenumbers
    -jar /opt/IBM/SDP70/startup.jar

    with the following being returned from the command …

    /opt/IBM/SDP70/jdk/jre/bin/javaw: symbol lookup error: /opt/IBM/SDP70/configuration/org.eclipse.osgi/bundles/443/1/.cp/libswt-mozilla-gtk-3236.so: undefined symbol: _ZN4nsID5ParseEPKc

    (eclipse:29899): Gdk-CRITICAL **: gdk_x11_atom_to_xatom_for_display: assertion `atom != GDK_NONE’ failed

    using the initial solution, of shutting off the welcome screen, does work, with a simple warning …

    /opt/IBM/SDP70/eclipse -product com.ibm.rational.rad.product.ide -pluginCustomization /tmp/noWelcomeScreen.ini

    CJL0038E The PDLogger, could not get the host name.

    that was simply because I did not setup Fedora with a fully qualified host name, and a quick entry in /etc/hosts solved that.

    while the work-around will suffice, I would like to understand what the underlying problem is, and fix that if possible.

  3. HatingIt says:

    Thank you all of the postings, I used this to get RAD working on Fedora 12 with the following mods
    XULRunner is in /usr/lib/xulrunner-1.9.1. So the short cut the properties needed the following added -Dorg.eclipse.swt.browser.XULRunnerPath=/usr/lib/xulrunner-1.9.1/xulrunner which gets the launcher to work. BUT to then get Eclipse to run I had to add org.eclipse.swt.browser.XULRunnerPath=/usr/lib/xulrunner-1.9.1/xulrunner to /SDP/configuration/config.ini
    At the bottom. Then both the launcher and Eclipse started up.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: