Installation Fails on Mac OS-X

If the installation of GECAMed fails on Mac OS-X, the root user may not be activated on your system or you have the wrong Java version for the JBoss.

This is how to enable the root account on OS-X:

Enable the root user:

  1. Open the “Directory Utility”, located in the “Utilities” folder within the “Applications” folder.
  2. Click the lock to make changes. You will need to enter an administrator name and password.
  3. From the Edit menu, select Enable Root User.
  4. Enter a secure password for the root user, then enter it again in the “Verify” field, and click OK.
  5. Reboot your system.

Enable the root user in Snow Leopard 10.6.x

  1. Open the Directory Utility located in /System/Library/CoreServices/Directory Utility.
  2. Click the lock to make changes. You will need to enter an administrator name and password.
  3. From the Edit menu, select Enable Root User.
  4. Enter a secure password for the root user, then enter it again in the “Verify” field, and click OK.
  5. Reboot your system.

Fix the Java version used by the JBoss

If you have Java version 1.6 or higher installed on your System (default on Mac OS-X 10.6), the JBoss might not be able to be installed and / or run correctly. To enable the JBoss to use the right Java version (i.e. 1.5), you can download and execute the change java linking script. You may be asked to enter the root password that you have assigned in the previous step. This script links all applications explicitly using java 1.5 (like the GECAMed JBoss server) to our own Java version in the GECAMed folder, which is a modified java 1.5.
You can reset the system defaults by downloading and executing the reset java linking script.

Now do a clean uninstall (see Uninstall GECAMed on OS-X) and reinstall GECAMed from scratch.

Check, whether the folder 1.5.0 in the folder ”«GECAMed-folder»/java” exists or not. If it doesn't exist, you need to download the Java version here and unzip the file into the folder ”«GECAMed-folder»/java”.

Verify Installation on Mac OS-X

On Mac OS-X installations tend to be more complex then on Windows. If GECAMed is obviously not running after the initial installation, or an upgrade, try the following:

  1. If there is no icon to start the GECAMed client it can be started manually by typing the following URL in Safari (on the same computer where GECAMed was installed): http://localhost:8080/gecamed
  2. if this does not work, chances are that the main server component of GECAMed, the JBoss application server, is not running. To check whether JBoss is running or not type the following type the following URL in Safari (on the same computer where GECAMed was installed): http://localhost:8080
    If it works you'll see a welcome screen from the JBoss, otherwise the usual URL not found” error.
  3. another way to test the availability of the JBoss server is by issuing the following command in a terminal session: ps -ef | grep java. The result should look similar to this:
  4. If the JBoss isn't running, first try to reboot the computer. Next try to restart the JBoss manually, using the run.sh command.

following the example below:

--------------------------------------------------------
Script started on Wed Oct 13 13:52:26 2010
MyComputer$ pwd
/Users/santec

MyComputer$ cd /applications
MyComputer$ ls
Address Book.app        GECAMed                 Sherlock.app
AppleScript             Image Capture.app       Stickies.app
Automator.app           Internet Connect.app    System Preferences.app
Calculator.app          Mail.app                TextEdit.app
Chess.app               Optimage                Utilities
DVD Player.app          PostgreSQL 8.3          iCal.app
Dashboard.app           Preview.app             iChat.app
Dictionary.app          QuickTime Player.app    iSync.app
Font Book.app           Safari.app              iTunes.app

MyComputer$ cd GECAMed

MyComputer$ ls
Uninstaller     install         jboss-4.0.5.GA  uninstall.ico
icon.ico        java            scripts
MyComputer$ cd jboss-4.0.5.GA/

MyComputer$  ls
Uninstaller     client          lib             server
bin             docs            scripts

MyComputer$ cd bin

MyComputer$ ls
classpath.sh            run.bat                 shutdown.sh
jboss_init_hpux.sh      run.conf                twiddle.bat
jboss_init_redhat.sh    run.jar                 twiddle.jar
jboss_init_suse.sh      run.sh                  twiddle.sh
probe.bat               shutdown.bat            wstools.bat
probe.sh                shutdown.jar            wstools.sh

MyComputer$ ./run.sh
=========================================================================

  JBoss Bootstrap Environment

  JBOSS_HOME: /applications/GECAMed/jboss-4.0.5.GA

  JAVA: java

  JAVA_OPTS: -Dprogram.name=run.sh -Xms128m -Xmx512m
-Dsun.rmi.dgc.client.gcInterval=3600000
-Dsun.rmi.dgc.server.gcInterval=3600000


CLASSPATH: /applications/GECAMed/jboss-4.0.5.GA/bin/run.jar:/lib/tools.jar

=========================================================================
project/gecamed/faq/mac/install_fails.txt · Last modified: 2012/03/27 14:59 by Guido Bosch
© Centre de Recherche Public Henri Tudor | Legal Notice