BPM auto kill

Hello fellow PI/BPM experts!
At a customer its required to build a ccBPM that ends the previous BPM who is processing a message with the same correlation ID.
The idea was to send a "Kill"-message at the start of the BPM to the same BPM class, and later in the BPM have a fork that waits a Kill-message (with the correct correlation) and ends the BPM.
However it seems that the BPM is always picking up his own Kill-message.  Also when I put a wait step after sending the first Kill-message.  So messages seem to be queued and are waiting for a BPM to pick it up. 
Note that only = is possible in correlations, so a != on a timestamp or something similare doesnt seem possible.
We are on PI7.0 SP15.
Any ideas to solve this? 
Thanks, Hannes
Edited by: Hannes Defloo on Aug 28, 2008 11:51 AM
Discovered the deliverey modes setting for BPM, see Delivery Modes in BPM.
But then when there is no other BPM listening the Kill-message is not recieved and the queue is stuck.

Hello Iddo,
Thanks for the help, however I also found a way doing it with a single instance of a bpm.
- recieve step 1: async, invoicedocument, set correlation
- block: to put a deadline branch
- set variable to 1
- loop (until variable =0)
- fork, with neccessairy branches = 1
- branch1: recieves invoicedocument with the correlation set, if such a document is recieved, the loop is restarted
- branch2: normal logic (still to be implemented, will sent the invoicedocument to other systems), afterwards send a positive acknowledgement and set variable to 0 to stop the loop.
When sending several messages (with same content) only one bpm instance is created.  So it seems that a recieve step with correlation has priority over creating a new bpm instance.
Krgs, Hannes

Similar Messages

  • Zenity --progress --auto-kill usage?

    Hello,
    i'm trying to built a simple backup script which launches rsync and zenity:
    #/bin/bash
    rsync -auvh --progress --delete / /mnt/BACKUP | zenity --progress --auto-kill
    What i want to archive is that if i press the "cancel" button of the zenity progress bar, the rsync process should be killed. What happens instead is that my bash is killed.
    Is there any nice way of how i can kill the rsync process when i press the "cancel" button?
    Thanks in advance,
    Robert

    check exit code?
    #/bin/bash
    rsync -auvh --progress --delete / /mnt/BACKUP | zenity --progress --auto-kill
    if [ $? = 1 ]; then
    echo you pressed cancel
    killall rsync
    else
    echo you did not press cancel
    fi

  • Z10 - MSCONFIG for BlackBerry - Auto Kill running apps

    Hello,
    is there some way or Application which is capable to automatically Kill running tasks or which is blocking selected apps from self-turning-on?
    I have few Androind apps, like Google Maps, T-Mobile User App, Google Goggles, HERE maps and even non-Android Amazon Appstor installed. Those apps are running in background by themselfs and slowly draining baterry of course. I can see them in Taskmanager app and kill them manually. But - they are back within few minutes.
    Is it posible to kill them automatically or use something like "MSCONFIG" (know from Windows PC) to avoid their automatic Startup, please?
    Thanks
    Quido
    8310 @ 5.0 -> 9700 @ 6.0 -> 9900 @ 7.1 -> Z10 @ 10.3.1
    T-Mobile CZ, BES

    - ability to choose deletion of an email on handset only
    - desktop software working with all older BB's allowing drag and drop type of transferring data, contacts etc. (BB link doesn't recognize my old Storm) 
    - auto power on/off
    - contacts syncing with yahoo & Outlook (almost two weeks trying to work around it and no luck)

  • BPM: Auto Generate Form

    If i create a Human task and attach a FORM to it, then i get in Oracle BPM the following error message:
    404 Not Found
    OracleJSP: java.io.FileNotFoundException:
    Setzen Sie den Init-Parameter debug_mode auf "true", um die vollständige Exception-Meldung anzuzeigen.

    Okay:
    Jdeveloper misses to deploy the file:
    payload-body.jsp
    I copied one, which i found in SOA-Order-Booking.
    Then i got the following error:
    500 Internal Server Error
    ORABPEL-10176 Im Arbeitslisten-Service ist beim Generieren der Payload Form ein Fehler aufgetreten. Beim Generieren der Payload Form ist ein Fehler aufgetreten. Überprüfen Sie den Fehler-Stack, und beheben Sie die Fehlerursache. Wenden Sie sich an den Oracle Support, falls der Fehler nicht behoben werden kann.
    This is ok, because the data structure in this payload-body.jsp is matched to the SOADemo and not to my application.
    1. Why is this payload-body.jsp not generated from jdeveloper?
    2. How can i generate this file?

  • Auto-kill Widgets when Aperure fires up

    While widgets can be very useful being only a mouse swish away, they do tend to use machine resources even when not exposed. I use the quitDock widget that kills all widgets thus freeing more resources for Aperture.
    Is there a way of running quitDock automatically through some sort of aliased/modified Aperture command ?
    Count your widgets, i got 20 and thought i was widget-lite!

    Right - the idea is that they're supposed to only do things when active and the system's virtual memory manager can get them out of the way when necessary. Unfortunately some widget authors have made mistakes but it's the same as, say, the occasional bits old classic Mac OS code which assumed that they could use the entire machine rather than behaving politely - I wouldn't not use the feature out of fear that this could happen but it's never a bad idea to check whether you might need to file a bug report with some vendor about poor code.

  • Auto kill the connection

    Dear
    I am using 9i, when i use sqlplus remote connect to database server after no action around 1 hrs. the remote connection will be dicsconnect automaticlly. How can i solve this problem?
    Regards

    This is generally related to profiles limits.
    Check the user profile (in DBA_USERS) and then check the IDLE_TIME value from your profile (in DBA_PROFILES).
    If you're not the DBA, ask him.
    Regards,
    Yoann.

  • Creating a client out of a BPM WSDL

    Hi,
    Why do we get errors while creating a simple client out of BPM auto-generated WSDl's which work fine in SOAP UI?
    Whats the reason?
    The Process as a Web Service WSDL gives me an error while creating a client or even after creating a client , I get an error while running it...

    Create the path and convert it to an area type object.
    See manual for details.

  • Kill Excel Sheet running in background

    Hi all,
    My requirement is to kill excel sheet running in task manager.
    How to handle auto-killing the Excel spreadsheet in sap on click of back button in SAP GUI.
    Kindly provide me the sample code.
    Regards,
    Sathish Donthula

    Not kidding, try to introduce the call of FM LMBP_RESOURCE_LOGOFF for long running excel 
    Cheers
    Amit.

  • Multiboot does not work

    I have installed multiboot(arch linux x86_64)
    http://aur.archlinux.org/packages.php?ID=33187&detail=1
    but it doesn't start.
    if I start, it shows
    $multisystem
    Error: USER:<name> is not admin!
    I tried adding <name> to adm group by:
    $usermod -a -G adm <name>
    and it was successful
    but the error still comes
    $multisystem
    Error: USER:<name> is not admin!
    I also tried to edit gui_multisystem.sh following the instructions given in the link above and now it looks like this:
    (But it didn't work) How can I make multiboot work
    #! /bin/bash --posix
    chemin="$(cd "$(dirname "$0")";pwd)/$(basename "$0")";
    dossier="$(dirname "$chemin")"
    export chemin dossier
    cd "${dossier}"
    ###Pour exporter la librairie de gettext.
    set -a
    source gettext.sh
    set +a
    export TEXTDOMAIN=multisystem
    export TEXTDOMAINDIR=${dossier}/locale
    . gettext.sh
    multisystem=$0
    #stop si root!
    if [ "$(id -u)" -ne "0"]; then
    zenity --error --text "$(eval_gettext "Erreur: pas en root!")"
    nohup "$dossier"/kill.sh&
    exit 0
    fi
    #gtkrc perso
    #bonne adresse pour les styles gtkrc ==> http://orford.org/gtk/
    # Example pour modifier style des boutons nommés stylebt
    #style "styleBorderless" {
    # GtkButton::inner-border = {10, 0, 0, 10}
    # xthickness = 0
    # ythickness = 0
    #widget "*stylebt" style "styleBorderless"
    #Exemple pour changer police d'un widget nommé GtkEditFontMonospace
    #style "styleGtkEditFontMonospace" {
    # text[NORMAL] = "#ffffff"
    # base[NORMAL] = "#000000"
    # font_name = "monospace 16"
    #widget "*GtkEditFontMonospace" style "styleGtkEditFontMonospace"
    if [ -f "$HOME/.multisystem/gtkrc" ]; then
    export GTK2_RC_FILES=$HOME/.multisystem/gtkrc:~/.gtkrc-2.0
    fi
    #Test les path et ajout à .profile de user si path existe et non present dans $PATH
    #pour fonctionnement de which en user non sudo sur les bases Debian
    function FCT_CHECKPATH()
    [ ! -f "$HOME/.profile" ] && >"$HOME/.profile"
    . $HOME/.profile
    export PATH=$PATH
    path_curents="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games"
    path_actuels="$(echo $PATH | tr ":" "\n")"
    path_add=""
    I=$IFS; IFS=":"
    for test_path in $path_curents; do
    if [[ ! "$(grep "^${test_path}$" <<<"${path_actuels}")" ]]; then
    path_add="${path_add}${test_path}:"
    echo Ajouter PATH: ${test_path}
    fi
    done
    IFS=$I
    if [ "${path_add}" ]; then
    echo "PATH=\"${path_add}\$PATH\"" | tee -a "$HOME/.profile"
    export PATH="${path_add}$PATH"
    fi
    FCT_CHECKPATH
    #Path gtkdialog
    GTKDIALOG=gtkdialog
    export GTKDIALOG
    #Check version gtkdialog
    function funcGTKDVGet() {
    GTKVMINI="0.8.0"
    GTKDV=( $($GTKDIALOG -v) )
    GTKDV=${GTKDV[2]}
    echo "Gtkdialog version: $GTKDV"
    if [[ $GTKDV < $GTKVMINI ]]; then
    GTKVADV="This application requires at least gtkdialog-$GTKVMINI,\nPlease updrade your version.\nWebsite: http://code.google.com/p/gtkdialog/"
    echo -e "\033[1;47;31m $GTKVADV \033[0m"
    zenity --info --text "$GTKVADV"&
    exit 0
    fi
    funcGTKDVGet
    #Créer dossier pref
    if [ ! -d "$HOME/.multisystem/" ]; then
    mkdir "$HOME/.multisystem/" 2>/dev/null
    fi
    #Mettre à jour les icones GTK ! à revoir ...
    #http://developer.gimp.org/api/2.0/gtk/gtk-update-icon-cache.html
    #gtk-update-icon-cache -t "$HOME"/.local/share/icons/hicolor/
    #manque ==> index.theme voir ==> /usr/share/icons/hicolor/index.theme
    #Caler lang si user n'a pas réglé dans gui de multisystem
    if [ ! -f "$HOME/.multisystem/lang_sel.txt" ]; then
    echo
    >"$HOME/.multisystem/lang_sel.txt"
    while read line
    do
    if [ "$(grep -i "$(echo $line | awk -F'|' '{print $3}'| sed "s/\..*//")" <<<"${LANG}")" ]; then
    echo $line | awk -F'|' '{print $3}'| sed "s/\..*//"
    echo $line >"$HOME/.multisystem/lang_sel.txt"
    break
    fi
    done <<<"$(cat "${dossier}/lang_list.txt" | sed "/^$/d")"
    #Si ne trouve pas de traduction passer en Anglais.
    if [ ! "$(cat "$HOME/.multisystem/lang_sel.txt")" ]; then
    echo "English|en|en_US.UTF-8" >"$HOME/.multisystem/lang_sel.txt"
    fi
    cat "$HOME/.multisystem/lang_sel.txt"
    fi
    #pour slitaz
    if [ "$(which tazpkg 2>/dev/null)" ]; then
    export LANG="$(awk -F\| '{print $3}' "$HOME/.multisystem/lang_sel.txt")"
    else
    declare -x LANGUAGE="$(awk -F\| '{print $3}' "$HOME/.multisystem/lang_sel.txt")"
    fi
    echo LANG:$LANG
    echo LANGUAGE:$LANGUAGE
    echo LANGSEL:$(cat "$HOME/.multisystem/lang_sel.txt")
    #zenity --info --text "$(export)"
    #locale -a
    #cat /etc/default/locale
    #/etc/environment or ~/.gtkrc
    #sudo locale-gen --purge fr_FR.UTF-8
    #locale-gen
    #dpkg-reconfigure locales
    #dpkg-reconfigure console-data
    #dpkg-reconfigure console-setup
    #id
    #if [ ! "$(ps ax | grep -v grep | grep "hal-lock --interface org.freedesktop.Hal.Device.Volume --exclusive --run ${chemin}")" ]; then
    #hal-lock --interface org.freedesktop.Hal.Device.Volume --exclusive --run "${chemin}"
    #exit 0
    #fi
    #Thème
    . ./theme.sh
    #Gui logo
    # font-family=\"purisa\" weight=\"bold\"
    if [ "$(grep "fr_FR" <<<"${LANG}")" ]; then
    export MOD_WAIT='<window title="MultiSystem-logo" window_position="1" decorated="false">
    <vbox>
    <text sensitive="false" use-markup="true" wrap="false" angle="10">
    <variable>MESSAGES</variable>
    <input>echo "\<b>\<span color=\"#EB2C00\" size=\"larger\">○ NOUVEAU !\nLa première clé USB MultiSystem du marché\nest disponible sur liveusb.info.\</span>\</b>" | sed "s%\\\%%g" | sed "s%\\\\n\\\\n\\\\n%%g"</input>
    </text>
    <pixmap>
    <input file>./logo_pub.jpg</input>
    </pixmap>
    <pixmap>
    <input file>./pixmaps/multisystem-wait.gif</input>
    </pixmap>
    </vbox>
    </window>'
    else
    export MOD_WAIT='<window title="MultiSystem-logo" window_position="1" decorated="false">
    <vbox>
    <pixmap>
    <input file>./logo.png</input>
    </pixmap>
    <pixmap>
    <input file>./pixmaps/multisystem-wait.gif</input>
    </pixmap>
    </vbox>
    </window>'
    fi
    #Lancer logo
    gtkdialog --program=MOD_WAIT &
    sleep .5
    function FCT_DETECT_PROCESS()
    #detect process
    #zenity --info --text "$(pgrep -xlc multisystem) $(pgrep -xlc gui_multisystem)"
    if [[ "$(pgrep -xlc multisystem)" -gt "1" || "$(pgrep -xlc gui_multisystem)" -gt "1" ]]; then
    wmctrl -c "MultiSystem-logo"
    #Activer fenetre
    xdotool windowactivate $(wmctrl -l | grep 'MultiSystem' | awk '{print $1}')
    exit 0
    fi
    FCT_DETECT_PROCESS
    #Verif dépendances...
    errorlist=()
    for i in $(grep -v "^#" <<<"${testlist}" | xargs)
    do
    if [ ! "$(which $i 2>/dev/null)" ]; then
    errorlist=(${errorlist[@]} $i)
    fi
    done
    #Stop si
    if [ "$(echo "${errorlist[@]}")" ]; then
    echo -e "\033[1;47;31m $(eval_gettext 'Erreur il manque: ')${errorlist[@]} \033[0m"
    cat /etc/group | grep ^users | grep $USER
    exit 0
    fi
    #dpkg -L grub-pc
    #mettre en place les icon pour lancement si pas installé!
    mkdir -p "$HOME"/.local/share/icons/hicolor/48x48/apps/ 2>/dev/null
    #comparer nombre icon et maj si diff
    if [ "$?" -eq 0; then
    cp -f "${dossier}/pixmaps/"* "$HOME"/.local/share/icons/hicolor/48x48/apps/
    fi
    #Vérifier que GParted n'est pas open!
    if [ "$(ps aux | grep -v grep | grep 'hal-lock.*interface org.freedesktop.Hal.Device.Storage.*exclusive')" ]; then
    zenity --error --text "$(eval_gettext "Erreur: un logiciel bloque l\'utilisation des disques, veuillez le fermer.")"
    nohup "$dossier"/kill.sh&
    exit 0
    fi
    #Vérifier que user est bien administrateur
    if [ "$(cat /etc/group | grep ^users)" ]; then
    echo
    if [ ! "$(cat /etc/group | grep ^users | grep $USER)" ]; then
    zenity --error --text "$(eval_gettext "Erreur:") USER:$USER is not admin!"
    nohup "$dossier"/kill.sh&
    exit 0
    fi
    fi
    #Fermer logo
    #zenity --info --text "logo3"
    #wmctrl -c "MultiSystem-logo"
    #Système de détection
    source ./gui-detect.sh
    sleep .1
    #Thème (laisser en doublon ici !)
    . ./theme.sh
    #mettre en place autorun.inf/multisystem.bat/icon.ico
    if [ ! -f "$(cat /tmp/multisystem/multisystem-mountpoint-usb)/autorun.inf" ]; then
    #echo -e '[AutoRun]\r\nShellexecute=multisystem.bat\r\nICON=icon.ico\r\nLabel=MultiSystem' | tee "$(cat /tmp/multisystem/multisystem-mountpoint-usb)/autorun.inf"
    echo -e '[AutoRun]\r\nICON=icon.ico\r\nLabel=MultiSystem\r\n\r\n[Content]\r\nMusicFiles=false\r\nPictureFiles=false\r\nVideoFiles=false' | tee "$(cat /tmp/multisystem/multisystem-mountpoint-usb)/autorun.inf"
    #copier .ico
    cp -f "${dossier}/icon.ico" "$(cat /tmp/multisystem/multisystem-mountpoint-usb)/icon.ico"
    fi
    #par securité verifier multisystem.bat
    #7295356a95fc3e312ec342f57b944662 .../multisystem.bat
    #if [ "7295356a95fc3e312ec342f57b944662" != "$(md5sum "$(cat /tmp/multisystem/multisystem-mountpoint-usb)/multisystem.bat" | awk '{print $1}')" ]; then
    #zenity --info --text "$(eval_gettext "ATTENTION!\nle fichier multisystem.bat à été modifié, Virus?")"
    #fi
    #Vérifier les mise à jour! / uniquement si installé!
    if [[ "${dossier}" == "/usr/local/share/multisystem" && "$(cat "$HOME/.multisystem/checkupdate")" = "true" ]]; then
    wget -t1 -T1 http://liveusb.info/multisystem/version-multisystem.txt -O "/tmp/multisystem/version-multisystem.txt"
    if [ "$(cat /tmp/multisystem/version-multisystem.txt 2>/dev/null)" ]; then
    echo ok
    if [ "$(cat /tmp/multisystem/version-multisystem.txt)" != "$(cat /usr/local/share/multisystem/version-multisystem.txt)" ]; then
    zenity --info --text "$(eval_gettext "Une mise à jour de multisystem est disponible")"&
    fi
    fi
    fi
    #Avertissement si user supprime OS dans gui de multisystem
    [ ! "$(cat "$HOME/.multisystem/check_rem" 2>/dev/null)" ] && echo "true" >"$HOME/.multisystem/check_rem"
    check_rem="$(cat "$HOME/.multisystem/check_rem")"
    #Activer icon dans menu gnome
    if [ "$(gconftool-2 --get "/desktop/gnome/interface/menus_have_icons" 2>/dev/null)" = "false" ]; then
    echo
    if [ ! -f "$HOME/.multisystem/active_icon" ]; then
    zenity --question --text="$(eval_gettext "Activer les icones dans les menus de gnome ?")"
    if [ $? = "0" ]; then
    echo ok >"$HOME/.multisystem/active_icon"
    gconftool-2 --set "/desktop/gnome/interface/menus_have_icons" --type bool "true"
    fi
    fi
    fi
    #mettre à jour le menu du tree
    #relever icone|iso|date
    gtkdialog --program=MOD_WAIT &
    sleep .1
    ./fonctions.sh
    #wmctrl -c "MultiSystem-logo"
    #Corriger bug 1.96 de mon grub.cfg
    if [ "$(grub-install -v | grep 1.96)" ]; then
    sed -i "s/linux16/linux/g" "$(cat /tmp/multisystem/multisystem-mountpoint-usb)/boot/grub/grub.cfg"
    sed -i "s/initrd16/initrd/g" "$(cat /tmp/multisystem/multisystem-mountpoint-usb)/boot/grub/grub.cfg"
    sed -i "s/--config-file=\/boot\/grub\/menu.lst//g" "$(cat /tmp/multisystem/multisystem-mountpoint-usb)/boot/grub/grub.cfg"
    sed -i "s/(\${root})//g" "$(cat /tmp/multisystem/multisystem-mountpoint-usb)/boot/grub/grub.cfg"
    sed -i "s/^set root=${root}/#set root=${root}/g" "$(cat /tmp/multisystem/multisystem-mountpoint-usb)/boot/grub/grub.cfg"
    sed -i "s/\#set root=(hd0,1)/set root=(hd0,1)/g" "$(cat /tmp/multisystem/multisystem-mountpoint-usb)/boot/grub/grub.cfg"
    fi
    #Onglet À propos
    >/tmp/multisystem/multisystem-about
    while read line
    do
    echo "multisystem-$(echo ${line} | awk -F'|' '{print $2}')|$(eval_gettext 'Traducteur') $(echo ${line} | awk -F'|' '{print $1}'), $(echo ${line} | awk -F'|' '{print $4}')|$(echo ${line} | awk -F'|' '{print $5}')" >>/tmp/multisystem/multisystem-about
    done <<<"$(cat "${dossier}/lang_list.txt" | sed "/^$/d")"
    #check .deb
    verify_update="$(dpkg -l "multisystem" | grep "^ii multisystem" 2>/dev/null | awk '{print $3}')"
    #Si .deb est installé
    if [ "${verify_update}" ]; then
    echo "<span color='"'#4CB23F'"'>Version:${verify_update} $(cat ./version-multisystem.txt)</span>" >/tmp/multisystem/multisystem-inputversion
    #Si .deb n'est pas installé
    elif [ ! "${verify_update}" ]; then
    echo "<span color='"'#4CB23F'"'>Version:$(cat ./version-multisystem.txt)</span>" >/tmp/multisystem/multisystem-inputversion
    fi
    #Onglet Non-Libre
    #Créer dossier nonfree
    mkdir -p "$HOME"/.multisystem/nonfree 2>/dev/null
    #Check les files
    >/tmp/multisystem/multisystem-nonfree
    if [ -f "$HOME"/.multisystem/nonfree/plpbt.bin ]; then
    echo 'gtk-ok|plpbt.bin' >>/tmp/multisystem/multisystem-nonfree
    else
    echo 'gtk-no|plpbt.bin' >>/tmp/multisystem/multisystem-nonfree
    fi
    if [ -f "$HOME"/.multisystem/nonfree/plpcfgbt ]; then
    echo 'gtk-ok|plpcfgbt' >>/tmp/multisystem/multisystem-nonfree
    else
    echo 'gtk-no|plpcfgbt' >>/tmp/multisystem/multisystem-nonfree
    fi
    if [ -f "$HOME"/.multisystem/nonfree/NTDETECT.COM ]; then
    echo 'gtk-ok|NTDETECT.COM' >>/tmp/multisystem/multisystem-nonfree
    else
    echo 'gtk-no|NTDETECT.COM' >>/tmp/multisystem/multisystem-nonfree
    fi
    if [ -f "$HOME"/.multisystem/nonfree/SETUPLDR.BIN ]; then
    echo 'gtk-ok|SETUPLDR.BIN' >>/tmp/multisystem/multisystem-nonfree
    else
    echo 'gtk-no|SETUPLDR.BIN' >>/tmp/multisystem/multisystem-nonfree
    fi
    if [ -f "$HOME"/.multisystem/nonfree/RAMDISK.SY_ ]; then
    echo 'gtk-ok|RAMDISK.SY_' >>/tmp/multisystem/multisystem-nonfree
    else
    echo 'gtk-no|RAMDISK.SY_' >>/tmp/multisystem/multisystem-nonfree
    fi
    if [ -f "$HOME"/.multisystem/nonfree/RAMDISK.SYS ]; then
    echo 'gtk-ok|RAMDISK.SYS' >>/tmp/multisystem/multisystem-nonfree
    else
    echo 'gtk-no|RAMDISK.SYS' >>/tmp/multisystem/multisystem-nonfree
    fi
    if [ -f "$HOME"/.multisystem/nonfree/BOOTSECT.BIN ]; then
    echo 'gtk-ok|BOOTSECT.BIN' >>/tmp/multisystem/multisystem-nonfree
    else
    echo 'gtk-no|BOOTSECT.BIN' >>/tmp/multisystem/multisystem-nonfree
    fi
    if [ -f "$HOME"/.multisystem/nonfree/firadisk.ima ]; then
    echo 'gtk-ok|firadisk.ima' >>/tmp/multisystem/multisystem-nonfree
    else
    echo 'gtk-no|firadisk.ima' >>/tmp/multisystem/multisystem-nonfree
    fi
    #Détreminer éditeur text
    if [ "$(which nautilus)" ]; then
    navuse="nautilus"
    elif [ "$(which dolphin)" ]; then
    navuse="dolphin"
    elif [ "$(which rox-filer)" ]; then
    navuse="rox-filer"
    elif [ "$(which thunar)" ]; then
    navuse="thunar"
    elif [ "$(which pcmanfm)" ]; then
    navuse="pcmanfm"
    fi
    #forcer à true par defaut
    echo 'true' >/tmp/multisystem/multisystem-update-bootloader
    #Onglet par defaut
    echo 0 >/tmp/multisystem/multisystem-inputtab1
    echo 0 >/tmp/multisystem/multisystem-inputtab2
    echo 0 >/tmp/multisystem/multisystem-inputtab3
    #Bas de pages commun des onglets secondaires
    function FCT_HOME()
    echo '<pixmap>
    <input file>'${theme_bdo}'</input>
    </pixmap>
    <hbox spacing="0">
    <button name="stylebt" height_request="30" image-position="0" relief="2" xalign="0" yalign="0">
    <height>16</height>
    <input file icon="multisystem-home"></input>
    <label>'$(eval_gettext 'Retour Accueil')'</label>
    <action>echo 0 > /tmp/multisystem/multisystem-inputtab1</action>
    <action>echo 0 > /tmp/multisystem/multisystem-inputtab2</action>
    <action>refresh:tab1</action>
    <action>refresh:tab2</action>
    <action>refresh:tree</action>
    <action>refresh:MESSAGES</action>
    </button>
    <button name="stylebt" height_request="30" image-position="0" relief="2" xalign="0" yalign="0">
    <height>16</height>
    <input file stock="gtk-quit"></input>
    <label>'$(eval_gettext 'Quitter')'</label>
    <action>wmctrl -c "MultiSystem-logo"</action>
    <action>wmctrl -c "MultiSystem-logo2"</action>
    <action>wmctrl -c "VBox"</action>
    <action>exit:exit</action>
    </button>
    </hbox>'
    #Onglet lister_lang
    function FCT_lister_lang()
    cat "$HOME/.multisystem/lang_sel.txt" | awk -F'|' '{print $1}'
    cat "${dossier}/lang_list.txt" | sed "/^$/d" | awk -F'|' '{print $1}'
    export -f FCT_lister_lang
    export texte_annonce="MultiSystem recherche des traducteurs,\nMerci de nous contacter\nsi vous souhaitez participer\nContact:[email protected]\n\nMultiSystem looking for translators,\nThank you contact us\nif you want to participate\nContact:[email protected]"
    #Onglet Télécharger des LiveCD
    echo All | tee /tmp/multisystem/multisystem-output-list
    function FCT_download_livecd()
    listcat="$(cat /tmp/multisystem/multisystem-output-list 2>/dev/null)"
    #Audio Utility Antivirus Gamer
    if [ "$(grep -E "(Audio)|(Utility)|(Antivirus)|(Gamer)" <<<"${listcat}" 2>/dev/null)" ]; then
    cat "${dossier}/list.txt" | sed "/^#/d" | sed "/^$/d" | grep -E "\|${listcat}\|"
    elif [ "${listcat}" = "All" ]; then
    cat "${dossier}/list.txt" | grep -v "^#" | sed "/^$/d"
    elif [ "${listcat}" = "clear" ]; then
    echo "||||"
    elif [ "${listcat}" ]; then
    cat "${dossier}/list.txt" | sed "/^#/d" | sed "/^$/d" | grep -iE "\|.*${listcat}.*\|.*\|.*\|"
    fi
    export -f FCT_download_livecd
    #Onglet Mise à jour
    function FCT_update()
    $radio1 && xdg-open 'http://liveusb.info/dotclear/index.php?pages/Soutien'&
    if [ "$radio3" == "true" ]; then
    nohup ./update-sel.sh &
    #maj partielle
    elif [ "$radio4" == "true" ]; then
    wget -nd http://liveusb.info/multisystem/os_support.sh -O /tmp/multisystem/os_support.sh 2>&1 \
    | sed -u 's/\([ 0-9]\+K\)[ \.]*\([0-9]\+%\) \(.*\)/\2\n#Transfert : \1 (\2) à \3/' \
    | zenity --progress --auto-kill --auto-close --width 400 --title "$(eval_gettext 'Téléchargement en cours...')"
    if [ "$(diff /tmp/multisystem/os_support.sh ${dossier}/os_support.sh 2>/dev/null)" ]; then
    #Remplacer...
    echo
    if [ "$(du -h "/tmp/multisystem/os_support.sh" 2>/dev/null | awk '{print $1}')" == "0" ]; then
    zenity --error --text "$(eval_gettext 'Erreur de téléchargement')"
    elif [ "$(grep FCT_RELOAD /tmp/multisystem/os_support.sh 2>/dev/null)" ]; then
    cp -f /tmp/multisystem/os_support.sh "${dossier}/os_support.sh"
    fi
    else
    zenity --info --title MultiSystem_Information --text="$(eval_gettext "Pas de mise à jour disponible,\nVous utilisez bien la dernière version du script.")"
    fi
    #Relancer gui
    nohup "${dossier}/gui_multisystem.sh" &
    sleep 1
    exit 0
    fi
    export -f FCT_update
    #Onglet Déboguer
    echo "" >/tmp/multisystem/multisystem-test-usb
    export message_debug="$(eval_gettext "Patience test en cours...")"
    #test écriture sur disque
    function FCT_debug_write()
    #espace dispo dans clé usb
    available="$(($(df -aB 1 $(cat /tmp/multisystem/multisystem-mountpoint-usb) | grep ^$(cat /tmp/multisystem/multisystem-selection-usb) | awk '{print $4}')/1024/1024))"
    if [ "${available}" -lt "1024" ]; then
    message_debug="$(eval_gettext "Erreur: pas suffisament de place libre pour effectuer ce test,") ${available} < 1024Mio"
    echo "${message_debug}" >/tmp/multisystem/multisystem-test-usb
    exit 0
    fi
    echo -e "\E[37;44m\033[1m ${message_debug} \033[0m"
    dd if=/dev/zero bs=1024 count=1000000 of="$(cat /tmp/multisystem/multisystem-mountpoint-usb)/multisystem-1Gb.file"
    rm "$(cat /tmp/multisystem/multisystem-mountpoint-usb)/multisystem-1Gb.file"
    echo -e "\E[37;44m\033[1m $(eval_gettext 'Attente, appuyez sur enter pour continuer.') \033[0m"
    read
    echo "" >/tmp/multisystem/multisystem-test-usb
    #test lecture
    function FCT_debug_read()
    #dd if=/dev/zero bs=1024 count=1000000 of="$(cat /tmp/multisystem/multisystem-mountpoint-usb)/multisystem-1Gb.file" >dev/null
    #dd if="$(cat /tmp/multisystem/multisystem-mountpoint-usb)/multisystem-1Gb.file" bs=64k | dd of=/dev/null
    #rm "$(cat /tmp/multisystem/multisystem-mountpoint-usb)/multisystem-1Gb.file"
    echo -e "\E[37;44m\033[1m $(eval_gettext 'Veuillez saisir votre mot de passe d\047administrateur') \033[0m"
    sudo hdparm -Tt $(cat /tmp/multisystem/multisystem-selection-usb)
    echo -e "\E[37;44m\033[1m $(eval_gettext 'Attente, appuyez sur enter pour continuer.') \033[0m"
    read
    #reparer
    function FCT_debug_repair()
    echo -e "\E[37;44m\033[1m $(eval_gettext 'Veuillez saisir votre mot de passe d\047administrateur') \033[0m"
    #redimensionner
    sudo umount -f $(cat /tmp/multisystem/multisystem-selection-usb | sed 's/[0-9]//')1 2>/dev/null
    sleep 2
    sudo dosfsck -r -w -v $(cat /tmp/multisystem/multisystem-selection-usb)
    calc_fatresize="$(sudo fatresize -i $(cat /tmp/multisystem/multisystem-selection-usb) -q | grep '^Max size' | awk '{print $3}')"
    echo calc_fatresize:${calc_fatresize} $((${calc_fatresize}/1000/1000))M
    sudo fatresize -p -s $((${calc_fatresize}/1000/1000))M $(cat /tmp/multisystem/multisystem-selection-usb)
    gvfs-mount -d $(cat /tmp/multisystem/multisystem-selection-usb) 2>/dev/null
    echo -e "\E[37;44m\033[1m $(eval_gettext 'Attente, appuyez sur enter pour continuer.') \033[0m"
    read
    export -f FCT_debug_write FCT_debug_read FCT_debug_repair
    #Onglet N°5 Formater votre clé USB
    export format_text="$(parted -s $(cat /tmp/multisystem/multisystem-selection-usb | sed 's/[0-9]//') unit MB print)"
    echo -e "${format_text}" >/tmp/multisystem/multisystem-format-text
    function FCT_format()
    echo -e "\E[37;44m\033[1m $(eval_gettext 'Veuillez saisir votre mot de passe d\047administrateur') \033[0m"
    sudo echo
    #Démonter
    sudo umount -f $(cat /tmp/multisystem/multisystem-selection-usb | sed 's/[0-9]//')1 2>/dev/null
    echo -e "\E[37;44m\033[1m $(eval_gettext 'Veuillez saisir votre mot de passe d\047administrateur') \033[0m"
    #shred - Écrire par dessus un fichier pour en camoufler le contenu, et optionnellement l’effacer
    #shred -n 1 -z -v $(cat /tmp/multisystem/multisystem-selection-usb | sed 's/[0-9]//')
    dd if=/dev/zero of=$(cat /tmp/multisystem/multisystem-selection-usb | sed 's/[0-9]//') bs=512 count=1
    sudo parted -a cylinder -s $(cat /tmp/multisystem/multisystem-selection-usb | sed 's/[0-9]//') mklabel msdos
    sudo parted -a cylinder -s $(cat /tmp/multisystem/multisystem-selection-usb | sed 's/[0-9]//') unit MB mkpart primary fat32 1 100%
    sleep 2
    sudo umount -f $(cat /tmp/multisystem/multisystem-selection-usb | sed 's/[0-9]//')1 2>/dev/null
    sudo mkdosfs -F32 -v -S512 -n multisystem $(cat /tmp/multisystem/multisystem-selection-usb | sed 's/[0-9]//')1
    sleep 2
    sudo parted -s $(cat /tmp/multisystem/multisystem-selection-usb | sed 's/[0-9]//') set 1 boot on
    #Vérifier/Réparer fat32
    #sudo dosfsck -t -a -r -v $(cat /tmp/multisystem/multisystem-selection-usb)
    sudo dosfsck -p -a -w -v $(cat /tmp/multisystem/multisystem-selection-usb)
    sleep 2
    sudo umount $(cat /tmp/multisystem/multisystem-selection-usb | sed 's/[0-9]//')1 2>/dev/null
    calc_fatresize="$(sudo fatresize -i $(cat /tmp/multisystem/multisystem-selection-usb) | grep '^Max size' | awk '{print $3}')"
    #redimensionner
    sudo fatresize -p -s ${calc_fatresize} $(cat /tmp/multisystem/multisystem-selection-usb)
    echo -e "\E[37;44m\033[1m $(eval_gettext 'Formatage effectué,\nveuillez débrancher/rebrancher votre clé USB\navant de relancer multisystem.') \033[0m"
    read
    exit 0
    export -f FCT_format
    #Onglet N°6 Afficher/Masquer des fichiers/dossiers dans votre clé usb
    function FCT_hidden_update_tree()
    #Mettre en forme pour le tree
    >/tmp/multisystem/multisystem-hidden
    echo -e "$(stat -c %n "$(cat /tmp/multisystem/multisystem-mountpoint-usb)/"* | awk '{print $0}')" | while read line
    do
    var="$(echo "$line" | sed "s|$(cat /tmp/multisystem/multisystem-mountpoint-usb)/||")"
    echo "var:${var}"
    if [ "$(grep "^${var}$" "$(cat /tmp/multisystem/multisystem-mountpoint-usb)/.hidden")" ]; then
    echo "multisystem-red|$(cat /tmp/multisystem/multisystem-mountpoint-usb)/${var}" >>/tmp/multisystem/multisystem-hidden
    else
    echo "multisystem-green|$(cat /tmp/multisystem/multisystem-mountpoint-usb)/${var}" >>/tmp/multisystem/multisystem-hidden
    fi
    done
    FCT_hidden_update_tree
    function FCT_hidden_showall()
    stat -c %n "$(cat /tmp/multisystem/multisystem-mountpoint-usb)/"* | awk '{print "multisystem-green|" $0}' >/tmp/multisystem/multisystem-hidden
    echo "" >"$(cat /tmp/multisystem/multisystem-mountpoint-usb)/.hidden"
    FCT_hidden_update_tree
    function FCT_hidden_hiddenall()
    stat -c %n "$(cat /tmp/multisystem/multisystem-mountpoint-usb)/"* | awk '{print "multisystem-red|" $0}' >/tmp/multisystem/multisystem-hidden
    echo -e "$(stat -c %n "$(cat /tmp/multisystem/multisystem-mountpoint-usb )/"* | awk '{print $0}')" | sed "s|$(cat /tmp/multisystem/multisystem-mountpoint-usb)/||" >"$(cat /tmp/multisystem/multisystem-mountpoint-usb)/.hidden"
    FCT_hidden_update_tree
    function FCT_hidden_modify()
    echo
    rechercher="$(echo "${1}" | sed "s|$(cat /tmp/multisystem/multisystem-mountpoint-usb)/||")"
    if [ ! "$(grep "^${rechercher}$" "$(cat /tmp/multisystem/multisystem-mountpoint-usb)/.hidden")" ]; then
    #zenity --info --text "Masquer ${rechercher}"
    echo "${rechercher}" >>"$(cat /tmp/multisystem/multisystem-mountpoint-usb)/.hidden"
    else
    #zenity --info --text "Afficher ${rechercher}"
    sed -i "s|^${rechercher}$||" "$(cat /tmp/multisystem/multisystem-mountpoint-usb)/.hidden"
    sed -i "/^$/d" "$(cat /tmp/multisystem/multisystem-mountpoint-usb)/.hidden"
    fi
    FCT_hidden_update_tree
    export -f FCT_hidden_showall FCT_hidden_hiddenall FCT_hidden_modify FCT_hidden_update_tree
    function comment()
    { true; }
    export -f comment
    MULTISYSTEM='<window spacing="0" width_request="400" height_request="420" window_position="1" title="MultiSystem" icon-name="multisystem-icon" decorated="true" resizable="false">
    <notebook show-border="false" show_tabs="false" page="0" labels="0|1">
    '$(comment Onglet masqué primaire 0)'
    <vbox spacing="0">
    <notebook tab-pos="2" show-border="false" scrollable="true" show-tabs="true" page="0" enable-popup="true" homogeneous="false" labels="MS|'$(eval_gettext 'Menus')'|'$(eval_gettext 'Démarrage')'|'$(eval_gettext 'Non-Libre')'|'$(eval_gettext 'À propos')'">
    '$(comment Onglet N°0 MultiSystem)'
    <vbox spacing="0" height_request="380">
    <pixmap>
    <input file>'${theme_bdo}'</input>
    </pixmap>
    <hbox height_request="200">
    <vbox spacing="0">
    <button name="stylebt" width_request="32" height_request="100" tooltip-text="'$(eval_gettext 'Tester dans Qemu')'">
    <input file icon="multisystem-qemu"></input>
    <action>./fonctions.sh qemu</action>
    <action>refresh:MESSAGES</action>
    </button>
    <button name="stylebt" width_request="32" height_request="100" tooltip-text="'$(eval_gettext 'Tester dans VirtualBox')'">
    <input file icon="multisystem-vbox"></input>
    <action>./fonctions.sh vbox</action>
    <action>refresh:MESSAGES</action>
    </button>
    </vbox>
    <tree icon="multisystem-tux" tooltip-text="'$(eval_gettext "Double clic pour modifier les noms dans le menu du bootloader.")'" rules_hint="true" headers_visible="false" hover_expand="false" hover_selection="false" exported_column="1">
    <label>1|2|3|4|5</label>
    <variable>tree</variable>
    <input icon_column="0">if [ "$(cat /tmp/multisystem/multisystem-laisserpasser-usb)" = "ok" ];then cat /tmp/multisystem/multisystem-mise-en-forme;else echo "multisystem-logo|||||||";fi</input>
    <action>./fonctions.sh menu\|$tree</action>
    <action>refresh:tree</action>
    <action>refresh:MESSAGES</action>
    </tree>
    <vbox spacing="0">
    <button name="stylebt" width_request="32" height_request="40" tooltip-text="Menu up">
    <input file stock="gtk-go-up"></input>
    <action>test $tree && ./fonctions.sh selup\|$tree</action>
    <variable>btup</variable>
    <action>refresh:tree</action>
    <action>refresh:MESSAGES</action>
    </button>
    <button name="stylebt" width_request="32" height_request="40" tooltip-text="Menu move">
    <input file stock="gtk-jump-to"></input>
    <action>test $tree && ./fonctions.sh move\|$tree</action>
    <variable>btmove</variable>
    <action>refresh:tree</action>
    <action>refresh:MESSAGES</action>
    </button>
    <button name="stylebt" width_request="32" height_request="40" tooltip-text="Menu down">
    <input file stock="gtk-go-down"></input>
    <action>test $tree && ./fonctions.sh seldown\|$tree</action>
    <variable>btdown</variable>
    <action>refresh:tree</action>
    <action>refresh:MESSAGES</action>
    </button>
    <button name="stylebt" width_request="32" height_request="40" tooltip-text="'$(eval_gettext "Supprimer un système d'exploitation")'">
    <input file stock="gtk-delete"></input>
    <action>test $tree && ./fonctions.sh selclear\|$tree</action>
    <variable>btclear</variable>
    <action>refresh:tree</action>
    <action>refresh:MESSAGES</action>
    </button>
    <checkbox width_request="32" height_request="40" use-underline="true" active="'$check_rem'" tooltip-text="'$(eval_gettext "Prévenir avant de supprimer")'">
    <label>_</label>
    <variable>ckeckrem</variable>
    <action>if true echo "true" >"$HOME/.multisystem/check_rem"</action>
    <action>if false echo "false" >"$HOME/.multisystem/check_rem"</action>
    </checkbox>
    </vbox>
    <vbox spacing="0">
    <button name="stylebt" width_request="32" height_request="40" tooltip-text="'$(eval_gettext "Afficher/Masquer des fichiers/dossiers dans votre clé usb")'">
    <input file icon="multisystem-hidden"></input>
    <action>echo 1 > /tmp/multisystem/multisystem-inputtab1</action>
    <action>echo 6 > /tmp/multisystem/multisystem-inputtab3</action>
    <action>refresh:tab1</action>
    <action>refresh:tab3</action>
    <action>refresh:MESSAGES</action>
    </button>
    <button name="stylebt" width_request="32" height_request="40" tooltip-text="'$(eval_gettext "Ajouter une option de démarrage (cmdline)")'">
    <input file stock="gtk-edit"></input>
    <variable>btcmdline</variable>
    <action>test $tree && ./fonctions.sh cmdline\|$tree</action>
    <action>refresh:tree</action>
    <action>refresh:MESSAGES</action>
    </button>
    <button name="stylebt" width_request="32" height_request="40" tooltip-text="'$(eval_gettext "Ajouter mode persistent")'">
    <input file icon="multisystem-save"></input>
    <variable>btpersistent1</variable>
    <action>./fonctions.sh persistent\|$tree</action>
    <action>refresh:tree</action>
    <action>refresh:MESSAGES</action>
    </button>
    <button name="stylebt" width_request="32" height_request="40" tooltip-text="'$(eval_gettext "Créer CD pour lancer USB")'">
    <input file icon="multisystem-cdrom"></input>
    <variable>btcdamorce2</variable>
    <action>./fonctions.sh cdamorce</action>
    <action>refresh:MESSAGES</action>
    </button>
    <button name="stylebt" width_request="32" height_request="40" tooltip-text="'$(eval_gettext "Internationalisation")'">
    <input file icon="multisystem-language"></input>
    <variable>btlang1</variable>
    <action>echo 1 > /tmp/multisystem/multisystem-inputtab1</action>
    <action>echo 1 > /tmp/multisystem/multisystem-inputtab3</action>
    <action>refresh:tab1</action>
    <action>refresh:tab3</action>
    <action>refresh:MESSAGES</action>
    </button>
    </vbox>
    <vbox spacing="0">
    <button name="stylebt" width_request="32" height_request="80" tooltip-text="'$(eval_gettext "Réglages Grub")'">
    <input file stock="gtk-preferences"></input>
    <variable>btpref2</variable>
    <action>./fonctions.sh pref</action>
    <action>refresh:MESSAGES</action>
    </button>
    <button name="stylebt" width_request="32" height_request="80" tooltip-text="'$(eval_gettext "Mettre à jour Grub2")'">
    <input file icon="multisystem-grub48"></input>
    <variable>btgrub</variable>
    <action>./fonctions.sh grub</action>
    <action>refresh:MESSAGES</action>
    </button>
    <checkbox width_request="32" height_request="40" use-underline="true" active="true" tooltip-text="'$(eval_gettext "Décochez pour déplacer rapidement les menus, ne pas mettre à jour les bootloader, ATTENTION! cochez lors du dernier déplacement pour mettre à jour les bootloader.")'">
    <label>_</label>
    <variable>update_bootloader</variable>
    <action>if true echo true >/tmp/multisystem/multisystem-update-bootloader</action>
    <action>if false echo false >/tmp/multisystem/multisystem-update-bootloader</action>
    </checkbox>
    </vbox>
    <vbox spacing="0">
    <button name="stylebt" width_request="32" height_request="80" tooltip-text="'$(eval_gettext "Télécharger des LiveCD")'">
    <input file icon="multisystem-download"></input>
    <variable>btdownload1</variable>
    <action>echo All | tee /tmp/multisystem/multisystem-output-list</action>
    <action>refresh:tree_list</action>
    <action>clear:QUOI</action>
    <action>echo 1 > /tmp/multisystem/multisystem-inputtab1</action>
    <action>echo 2 > /tmp/multisystem/multisystem-inputtab3</action>
    <action>refresh:tab1</action>
    <action>refresh:tab3</action>
    <action>refresh:tree</action>
    <action>refresh:MESSAGES</action>
    </button>
    <button name="stylebt" width_request="32" height_request="80" tooltip-text="'$(eval_gettext "Mise à jour")'">
    <input file icon="multisystem-update"></input>
    <variable>btmaj1</variable>
    <action>echo 1 > /tmp/multisystem/multisystem-inputtab1</action>
    <action>echo 3 > /tmp/multisystem/multisystem-inputtab3</action>
    <action>refresh:tab1</action>
    <action>refresh:tab3</action>
    <action>refresh:MESSAGES</action>
    </button>
    <checkbox width_request="32" height_request="40" use-underline="true" tooltip-text="'$(eval_gettext 'Vérifier les mise à jour à chaque lancement')'">
    <label>_</label>
    <variable>checkupdate2</variable>
    <default>true</default>
    <action>if true echo true >"'$HOME'/.multisystem/checkupdate"</action>
    <action>if false echo false >"'$HOME'/.multisystem/checkupdate"</action>
    <input>cat "'$HOME'/.multisystem/checkupdate"</input>
    <action>refresh:checkupdate</action>
    <action>refresh:checkupdate2</action>
    </checkbox>
    </vbox>
    </hbox>
    <pixmap>
    <input file>'${theme_bdo}'</input>
    </pixmap>
    <vbox height_request="70" spacing="0">
    <text sensitive="false">
    <variable>MESSAGES</variable>
    <input>echo "'$(eval_gettext "Volume USB:")'$(cat /tmp/multisystem/multisystem-selection-usb) UUID:$(cat /tmp/multisystem/multisystem-selection-uuid-usb)\n'$(eval_gettext 'Point de montage:')'$(cat /tmp/multisystem/multisystem-mountpoint-usb)\n'$(eval_gettext 'Taille:')'$(($(df | grep ^$(cat /tmp/multisystem/multisystem-selection-usb) | awk '\''{print $2}'\'')/1024))Mio '$(eval_gettext 'Occupé:')'$(($(df | grep ^$(cat /tmp/multisystem/multisystem-selection-usb) | awk '\''{print $3}'\'')/1024))Mio '$(eval_gettext 'Libre:')'$(($(df | grep ^$(cat /tmp/multisystem/multisystem-selection-usb) | awk '\''{print $4}'\'')/1024))Mio\n'$(eval_gettext 'Nombre de LiveCD:')'$(cat /tmp/multisystem/multisystem-nombreiso-usb)"</input>
    </text>
    </vbox>
    <pixmap>
    <input file>'${theme_bdo}'</input>
    </pixmap>
    <hbox spacing="0">
    <button name="stylebt" relief="2" tooltip-text="'$(eval_gettext 'Sauvegarde/Restauration')'">
    <input file icon="multisystem-save2"></input>
    <action>./fonctions.sh save</action>
    </button>
    <frame '$(eval_gettext "Glisser/Déposer iso/img")'>
    <hbox spacing="0">
    <entry primary-icon-name="multisystem-seliso" secondary-icon-name="'${theme_btn}'"
    accept="filename" activates-default="false" fs-folder="'$HOME/'" fs-action="file"
    fs-filters="*.iso|*.img" show-hidden="false" fs-title="Select an iso file"
    tooltip-text="'$(eval_gettext "Glisser/Déposer iso/img")'"
    primary-icon-tooltip-text="'$(eval_gettext 'Utilisez ce bouton si le Glisser/Déposer ne fonctionne pas.')'"
    secondary-icon-tooltip-text="'$(eval_gettext "Ajouter un liveCD")'">
    <variable>DAG</variable>
    <width>50</width><height>50</height>
    <action signal="changed">test "$DAG" && echo "DAG:$DAG"</action>
    <action signal="changed">test "$DAG" && ./fonctions.sh add\|"${DAG}" &</action>
    <action signal="changed">clear:DAG</action>
    <action signal="changed">refresh:DAG</action>
    <action signal="changed">refresh:MESSAGES</action>
    <action signal="changed">refresh:tree</action>
    <action signal="primary-icon-press">fileselect:DAG</action>
    <action signal="secondary-icon-press">./gui_multi_sel_launch.sh</action>
    </entry>
    </hbox>
    </frame>
    <button name="stylebt" relief="2" tooltip-text="'$(eval_gettext "Quitter")'">
    <input file icon="multisystem-exit"></input>
    <action>wmctrl -c "MultiSystem-logo"</action>
    <action>wmctrl -c "MultiSystem-logo2"</action>
    <action>wmctrl -c "VBox"</action>
    <action type="exit">exit</action>
    </button>
    </hbox>
    </vbox>
    '$(comment Onglet N°1 Menus)'
    <vbox spacing="0">
    <hbox spacing="0">
    <hbox spacing="0">
    <button name="stylebt" width_request="36" height_request="36">
    <input file stock="gtk-preferences"></input>
    <variable>btpref</variable>
    <action>./fonctions.sh pref</action>
    <action>refresh:MESSAGES</action>
    </button>
    <text width_request="157" use-markup="true">
    <label>"<b>'$(eval_gettext 'Réglages Grub')'</b>"</label>
    </text>
    </hbox>
    <hbox spacing="0">
    <button name="stylebt" width_request="36" height_request="36">
    <input file icon="multisystem-grub48"></input>
    <variable>btgrub2</variable>
    <action>./fonctions.sh grub</action>
    <action>refresh:MESSAGES</action>
    </button>
    <text width_request="157" use-markup="true">
    <label>"<b>'$(eval_gettext 'Mettre à jour Grub2')'</b>"</label>
    </text>
    </hbox>
    </hbox>
    <hbox>
    <button name="stylebt" width_request="36" height_request="36">
    <input file icon="multisystem-grub48"></input>
    <variable>btburg</variable>
    <action>./fonctions.sh burg</action>
    <action>refresh:MESSAGES</action>
    </button>
    <text width_request="345" use-markup="true">
    <label>"<b>'$(eval_gettext 'Mettre à jour Burg')'</b>"</label>
    </text>
    </hbox>
    <hbox>
    <button name="stylebt" width_request="36" height_request="36">
    <input file stock="gtk-save"></input>
    <variable>btsave</variable>
    <action>./fonctions.sh save</action>
    <action>refresh:MESSAGES</action>
    </button>
    <text width_request="345" use-markup="true">
    <label>"<b>'$(eval_gettext 'Sauvegarde/Restauration')'</b>"</label>
    </text>
    </hbox>
    <hbox>
    <button name="stylebt" width_request="36" height_request="36">
    <input file icon="multisystem-save"></input>
    <variable>btpersistent2</variable>
    <action>./fonctions.sh persistent\|$tree</action>
    <action>refresh:MESSAGES</action>
    <action>refresh:tree</action>
    </button>
    <text width_request="345" use-markup="true">
    <label>"<b>'$(eval_gettext 'Ajouter mode persistent')'</b>"</label>
    </text>
    </hbox>
    <hbox>
    <button name="stylebt" width_request="36" height_request="36">
    <input file icon="multisystem-resize"></input>
    <variable>btpersistent3</variable>
    <action>./fonctions.sh persistent-resize</action>
    <action>refresh:MESSAGES</action>
    <action>refresh:tree</action>
    </button>
    <text width_request="345" use-markup="true">
    <label>"<b>'$(eval_gettext 'Redimensionner persistent')'</b>"</label>
    </text>
    </hbox>
    <hbox>
    <button name="stylebt" width_request="36" height_request="36">
    <input file icon="multisystem-download"></input>
    <variable>btdownload2</variable>
    <action>echo All | tee /tmp/multisystem/multisystem-output-list</action>
    <action>refresh:tree_list</action>
    <action>clear:QUOI</action>
    <action>echo 1 > /tmp/multisystem/multisystem-inputtab1</action>
    <action>echo 2 > /tmp/multisystem/multisystem-inputtab3</action>
    <action>refresh:tab1</action>
    <action>refresh:tab3</action>
    <action>refresh:tree</action>
    <action>refresh:MESSAGES</action>
    </button>
    <text width_request="345" use-markup="true">
    <label>"<b>'$(eval_gettext 'Télécharger des LiveCD')'</b>"</label>
    </text>
    </hbox>
    <hbox>
    <button name="stylebt" width_request="36" height_request="36">
    <input file icon="multisystem-language"></input>
    <variable>btlang2</variable>
    <action>echo 1 > /tmp/multisystem/multisystem-inputtab1</action>
    <action>echo 1 > /tmp/multisystem/multisystem-inputtab3</action>
    <action>refresh:tab1</action>
    <action>refresh:tab3</action>
    <action>refresh:MESSAGES</action>
    </button>
    <text width_request="345" use-markup="true">
    <label>"<b>'$(eval_gettext 'Internationalisation')'</b>"</label>
    </text>
    </hbox>
    <hbox>
    <button name="stylebt" width_request="36" height_request="36">
    <input file icon="multisystem-gparted64"></input>
    <variable>btformat</variable>
    <action>echo 1 > /tmp/multisystem/multisystem-inputtab1</action>
    <action>echo 5 > /tmp/multisystem/multisystem-inputtab3</action>
    <action>refresh:tab1</action>
    <action>refresh:tab3</action>
    <action>refresh:MESSAGES</action>
    </button>
    <text width_request="345" use-markup="true">
    <label>"<b>'$(eval_gettext 'Formater votre clé USB')'</b>"</label>
    </text>
    </hbox>
    <hbox spacing="0">
    <hbox spacing="0">
    <button name="stylebt" width_request="36" height_request="36">
    <input file stock="gtk-execute"></input>
    <variable>btdebug</variable>
    <action>echo "" >/tmp/multisystem/multisystem-test-usb</action>
    <action>refresh:debug_edit</action>
    <action>echo 1 > /tmp/multisystem/multisystem-inputtab1</action>
    <action>echo 4 > /tmp/multisystem/multisystem-inputtab3</action>
    <action>refresh:tab1</action>
    <action>refresh:tab3</action>
    <action>refresh:MESSAGES</action>
    </button>
    <text width_request="157" use-markup="true">
    <label>"<b>'$(eval_gettext 'Déboguer')'</b>"</label>
    </text>
    </hbox>
    <hbox spacing="0">
    <button name="stylebt" width_request="36" height_request="36">
    <input file icon="multisystem-vbox"></input>
    <variable>btinstallvbox</variable>
    <action>./fonctions.sh installvbox</action>
    <action>refresh:MESSAGES</action>
    </button>
    <text width_request="157" use-markup="true">
    <label>"<b>'$(eval_gettext 'Installer VirtualBox')'</b>"</label>
    </text>
    </hbox>
    </hbox>
    <hbox spacing="0">
    <hbox spacing="0">
    <button name="stylebt" width_request="36" height_request="36">
    <input file icon="multisystem-update"></input>
    <variable>btmaj2</variable>
    <action>echo 1 > /tmp/multisystem/multisystem-inputtab1</action>
    <action>echo 3 > /tmp/multisystem/multisystem-inputtab3</action>
    <action>refresh:tab1</action>
    <action>refresh:tab3</action>
    <action>refresh:MESSAGES</action>
    </button>
    <text width_request="157" use-markup="true">
    <label>"<b>'$(eval_gettext 'Mise à jour')'</b>"</label>
    </text>
    </hbox>
    <hbox spacing="0">
    <button name="stylebt" width_request="36" height_request="36">
    <input file stock="gtk-delete"></input>
    <variable>btuninstall</variable>
    <action>nohup xterm -title 'Uninstall' -e "sudo ./uninstall.sh" &</action>
    <action>wmctrl -c "MultiSystem-logo"</action>
    <action>wmctrl -c "MultiSystem-logo2"</action>
    <action>wmctrl -c "VBox"</action>
    <action type="exit">exit</action>
    </button><text width_request="157" use-markup="true">
    <label>"<b>'$(eval_gettext 'Désinstaller')'</b>"</label>
    </text>
    </hbox>
    </hbox>
    </vbox>
    '$(comment Onglet N°2 Démarrage)'
    <vbox spacing="0">
    <hbox>
    <button name="stylebt" width_request="36" height_request="36">
    <input file icon="multisystem-cdrom"></input>
    <variable>btcdamorce</variable>
    <action>./fonctions.sh cdamorce</action>
    <action>refresh:MESSAGES</action>
    </button>
    <text width_request="345" use-markup="true">
    <label>"<b>'$(eval_gettext 'Créer CD pour lancer USB')'</b>"</label>
    </text>
    </hbox>
    <pixmap>
    <input file>'${theme_bdo}'</input>
    </pixmap>
    <hbox>
    <button name="stylebt" width_request="36" height_request="36">
    <input file icon="multisystem-grub48"></input>
    <variable>btinfoboot</variable>
    <action>./fonctions.sh infoboot\|grub</action>
    <action>refresh:MESSAGES</action>
    </button>
    <text width_request="345" use-markup="true">
    <label>"<b>'$(eval_gettext 'Boot depuis Grub/Grub2')'</b>"</label>
    </text>
    </hbox>
    <hbox>
    <button name="stylebt" width_request="36" height_request="36">
    <input file icon="multisystem-windows48"></input>
    <variable>btinfoboot</variable>
    <action>./fonctions.sh infoboot\|xp</action>
    <action>refresh:MESSAGES</action>
    </button>
    <text width_request="345" use-markup="true">
    <label>"<b>'$(eval_gettext 'Boot depuis Windows XP')'</b>"</label>
    </text>
    </hbox>
    <hbox>
    <button name="stylebt" width_request="36" height_request="36">
    <input file icon="multisystem-windows48"></input>
    <variable>btinfoboot</variable>
    <action>./fonctions.sh infoboot\|vista</action>
    <action>refresh:MESSAGES</action>
    </button>
    <text width_request="345" use-markup="true">
    <label>"<b>'$(eval_gettext 'Boot depuis Windows Vista')'</b>"</label>
    </text>
    </hbox>
    <hbox>
    <button name="stylebt" width_request="36" height_request="36">
    <input file icon="multisystem-apple48"></input>
    <variable>btinfoboot</variable>
    <action>./fonctions.sh infoboot\|macintel</action>
    <action>refresh:MESSAGES</action>
    </button>
    <text width_request="345" use-markup="true">
    <label>"<b>'$(eval_gettext 'Boot depuis MacIntel')'</b>"</label>
    </text>
    </hbox>
    <pixmap>
    <input file>'${theme_bdo}'</input>
    </pixmap>
    <hbox>
    <button name="stylebt" width_request="36" height_request="36">
    <input file icon="multisystem-qemu"></input>
    <variable>btqemu</variable>
    <action>./fonctions.sh qemu</action>
    <action>refresh:MESSAGES</action>
    </button>
    <text width_request="345" use-markup="true">
    <label>"<b>'$(eval_gettext 'Tester votre liveUSB dans Qemu')'</b>"</label>
    </text>
    </hbox>
    <hbox>
    <button name="stylebt" width_request="36" height_request="36">
    <input file icon="multisystem-vbox"></input>
    <variable>btvbox1</variable>
    <action>./fonctions.sh vbox</action>
    <action>refresh:MESSAGES</action>
    </button>
    <text width_request="345" use-markup="true">
    <label>"<b>'$(eval_gettext 'Tester votre liveUSB dans VirtualBox')'</b>"</label>
    </text>
    </hbox>
    <hbox>
    <button name="stylebt" width_request="36" height_request="36">
    <input file icon="multisystem-vbox"></input>
    <variable>btvbox2</variable>
    <action>wmctrl -c "VBox"</action>
    <action>./VBox_livecd_gui.sh &</action>
    <action>refresh:MESSAGES</action>
    </button>
    <text width_request="345" use-markup="true">
    <label>"<b>'$(eval_gettext 'Tester un LiveCD dans VirtualBox')'</b>"</label>
    </text>
    </hbox>
    </vbox>
    '$(comment Onglet N°3 Non-Libre)'
    <vbox spacing="0">
    <text use-markup="true" wrap="true" width-chars="70" sensitive="false">
    <input>echo "\<b>\<big>'$(eval_gettext "Partie Non Libre de MultiSystem")'\</big>\</b>" | sed "s%\\\%%g"</input>
    </text>
    <pixmap>
    <input file>'${theme_bdo}'</input>
    </pixmap>
    <hbox>
    <button name="stylebt" tooltip-text="'$(eval_gettext 'PLoP Boot Manager est un freeware.')'">
    <input file icon="multisystem-plop-logo"></input>
    <label>'$(eval_gettext 'Télécharger PLoP Boot Manager')'</label>
    <action>./fonctions-nonfree.sh plop</action>
    <action>refresh:tree2</action>
    </button>
    </hbox>
    <pixmap>
    <input file>'${theme_bdo}'</input>
    </pixmap>
    <hbox>
    <button name="stylebt" tooltip-text="'$(eval_gettext 'Utilisé pour démarrer les iso de Windows XP')'">
    <input file icon="multisystem-windows48"></input>
    <label>'$(eval_gettext 'Télécharger firadisk.ima')'</label>
    <action>./fonctions-nonfree.sh firadisk</action>
    <action>refresh:tree2</action>
    </button>
    </hbox>
    <pixmap>
    <input file>'${theme_bdo}'</input>
    </pixmap>
    <vbox homogeneous="true">
    <hbox>
    <button name="stylebt" tooltip-text="'$(eval_gettext 'Utilisé pour les iso BartPE')'">
    <input file icon="multisystem-windows48"></input>
    <label>'$(eval_gettext 'Télécharger Microsoft Windows Server 2003 SP1')'</label>
    <action>./fonctions-nonfree.sh bartpe</action>
    <action>refresh:tree2</action>
    </button>
    </hbox>
    </vbox>
    <pixmap>
    <input file>'${theme_bdo}'</input>
    </pixmap>
    <hbox height_request="200">
    <tree hover_selection="true" headers_visible="false" exported_column="0">
    <label>files</label>
    <input icon_column="0">cat /tmp/multisystem/multisystem-nonfree</input>
    <variable>tree2</variable>
    <action signal="button-press-event">nohup '${navuse}' "$HOME"/.multisystem/nonfree&</action>
    </tree>
    </hbox>
    <pixmap>
    <input file>'${theme_bdo}'</input>
    </pixmap>
    </vbox>
    '$(comment Onglet N°4 À propos)'
    <vbox spacing="0">
    <text use-markup="true" wrap="true" sensitive="false">
    <input>echo "\<b>'$(eval_gettext 'MultiSystem recherche des traducteurs,\nSi vous souhaitez participer,\nMerci de nous contacter.\nContact:')'[email protected]\</b>" | sed "s%\\\%%g"</input>
    </text>
    <pixmap>
    <input file>'${theme_bdo}'</input>
    </pixmap>
    <vbox height_request="32" homogeneous="true">
    <text use-underline="true"><label>_</label></text>
    <text use-markup="true">
    <input file>/tmp/multisystem/multisystem-inputversion</input>
    </text>
    </vbox>
    <pixmap>
    <input file>'${theme_bdo}'</input>
    </pixmap>
    <hbox>
    <pixmap>
    <input file>"'${dossier}'/pixmaps/multisystem-map-flags.png"</input>
    </pixmap>
    </hbox>
    <pixmap>
    <input file>'${theme_bdo}'</input>
    </pixmap>
    <hbox height_request="160">
    <tree headers_visible="false" exported_column="1">
    <label>1|2|3</label>
    <input icon_column="0">cat /tmp/multisystem/multisystem-about</input>
    <variable>tree3</variable>
    <action>xdg-email --utf8 --subject "MultiSystem translation" --body "message" "${tree3}" &</action>
    </tree>
    </hbox>
    <pixmap>
    <input file>'${theme_bdo}'</input>
    </pixmap>
    </vbox>
    <variable>tab2</variable>
    <input file>/tmp/multisystem/multisystem-inputtab2</input>
    <action signal="show">refresh:tree</action>
    </notebook>
    </vbox>
    '$(comment Onglet masqué secondaire 1)'
    <vbox spacing="0">
    <notebook show-border="false" show_tabs="false" page="0" labels="0|1|2|3|4|5|6|7|8|9|10|11">
    '$(comment Onglet N°0 N/A)'
    <vbox spacing="0">
    <vbox height_request="370">
    <pixmap>
    <input file>'${theme_bdo}'</input>
    </pixmap>
    <text><label>N/A</label></text>
    </vbox>
    '$(FCT_HOME)'
    </vbox>
    '$(comment Onglet N°1 Internationalisation)'
    <vbox spacing="0">
    <vbox height_request="370">
    <frame '$(eval_gettext 'Changer de language')'>
    <hbox spacing="0" height_request="32">
    <pixmap>
    <input file icon="config-language"></input>
    <height>32</height>
    <width>32</width>
    </pixmap>
    <text width_request="5" use-underline="true"><label>_</label></text>
    <comboboxtext allow-empty="false" value-in-list="true" tooltip-text="'$(eval_gettext 'Changer de language')'">
    <variable>lister_lang</variable>
    <input>bash -c "FCT_lister_lang"</input>
    <action signal="changed">echo "$(grep "^$lister_lang" "'${dossier}'/lang_list.txt")" >"$HOME/.multisystem/lang_sel.txt"</action>
    <action signal="changed">nohup "${dossier}/gui_multisystem.sh" &</action>
    <action signal="changed">wmctrl -c "MultiSystem-logo"</action>
    <action signal="changed">wmctrl -c "MultiSystem-logo2"</action>
    <action signal="changed">wmctrl -c "VBox"</action>
    <action signal="changed">exit:selang</action>
    </comboboxtext>
    </hbox>
    </frame>
    <pixmap>
    <input file>'${theme_bdo}'</input>
    </pixmap>
    <frame>
    <text use-markup="true" wrap="true" sensitive="false">
    <input>echo "\<b>\<big>'$texte_annonce'\</big>\</b>" | sed "s%\\\%%g"</input>
    </text>
    </frame>
    </vbox>
    '$(FCT_HOME)'
    </vbox>
    '$(comment Onglet N°2 Télécharger des LiveCD)'
    <vbox spacing="0">
    <vbox height_request="370">
    <hbox>
    <entry activates_default="true">
    <variable>QUOI</variable>
    </entry>
    <button name="stylebt">
    <input file stock="gtk-find"></input>
    <variable>RECHERCHER</variable>
    <action>echo "$QUOI" >/tmp/multisystem/multisystem-output-list</action>
    <action>refresh:tree_list</action>
    </button>
    </hbox>
    <hbox>
    <button name="stylebt">
    <label>All</label>
    <input file stock="gtk-find"></input>
    <action>clear:QUOI</action>
    <action>echo All | tee /tmp/multisystem/multisystem-output-list</action>
    <action>refresh:tree_list</action>
    </button>
    <button name="stylebt">
    <label>Audio</label>
    <input file stock="gtk-find"></input>
    <action>clear:QUOI</action>
    <action>echo Audio | tee /tmp/multisystem/multisystem-output-list</action>
    <action>refresh:tree_list</action>
    </button>
    <button name="stylebt">
    <label>Utility</label>
    <input file stock="gtk-find"></input>
    <action>clear:QUOI</action>
    <action>echo Utility | tee /tmp/multisystem/multisystem-output-list</action>
    <action>refresh:tree_list</action>
    </button>
    <button name="stylebt">
    <label>Antivirus</label>
    <input file stock="gtk-find"></input>
    <action>clear:QUOI</action>
    <action>echo Antivirus | tee /tmp/multisystem/multisystem-output-list</action>
    <action>refresh:tree_list</action>
    </button>
    <button name="stylebt">
    <label>Gamer</label>
    <input file stock="gtk-find"></input>
    <action>clear:QUOI</action>
    <action>echo Gamer | tee /tmp/multisystem/multisystem-output-list</action>
    <action>refresh:tree_list</action>
    </button>
    </hbox>
    <tree headers_visible="true" exported_column="3" rules_hint="true">
    <label>Name|Bootloader|Category|URL Download</label>
    <variable>tree_list</variable>
    <input icon_column="0">bash -c "FCT_download_livecd"</input>
    <action>test ${tree_list} && xdg-open ${tree_list} &</action>
    </tree>
    </vbox>
    '$(FCT_HOME)'
    </vbox>
    '$(comment Onglet N°3 Mise à jour)'
    <vbox spacing="0">
    <vbox height_request="370">
    <pixmap>
    <input file>'${theme_bdo}'</input>
    </pixmap>
    <vbox width_request="400" width_request="50"scrollable="true">
    <text use-markup="true" wrap="true" width-chars="70">
    <input>echo "\<b>\<span color=\"red\">'$(eval_gettext "A ce jour MultiSystem est gratuit\nmais son développement n\\047est pas sans frais!\nSi vous l\\047utilisez régulièrement\net que vous souhaitez qu\\047il continue à évoluer,\nmerci de faire un geste de soutien via paypal.\n\npar avance MERCI!\nFrançois Fabre @frafa")'\</span>\</b>" | sed "s%\\\%%g" | sed "s%\\\\n\\\\n\\\\n%%g"</input>
    </text>
    </vbox>
    <pixmap>
    <input file>'${theme_bdo}'</input>
    </pixmap>
    <checkbox>
    <label>"'$(eval_gettext 'Vérifier les mise à jour à chaque lancement')'"</label>
    <variable>checkupdate</variable>
    <default>true</default>
    <action>if true echo true >"'$HOME'/.multisystem/checkupdate"</action>
    <action>if false echo false >"'$HOME'/.multisystem/checkupdate"</action>
    <input>cat "'$HOME'/.multisystem/checkupdate"</input>
    <action>refresh:checkupdate</action>
    <action>refresh:checkupdate2</action>
    </checkbox>
    <pixmap>
    <input file>'${theme_bdo}'</input>
    </pixmap>
    <vbox spacing="0">
    <radiobutton active="true">
    <label>"'$(eval_gettext "Faire une donation")'"</label>
    <variable>radio1</variable>
    </radiobutton>
    <radiobutton>
    <label>"'$(eval_gettext "Ne pas faire de donation")'"</label>
    <variable>radio2</variable>
    </radiobutton>
    </vbox>
    <pixmap>
    <input file>'${theme_bdo}'</input>
    </pixmap>
    <vbox spacing="0">
    <radiobutton active="true">
    <label>"'$(eval_gettext "Mise à jour")'"</label>
    <variable>radio3</variable>
    </radiobutton>
    <radiobutton>
    <label>"'$(eval_gettext "Mise à jour partielle")'"</label>
    <variable>radio4</variable>
    </radiobutton>
    </vbox>
    <pixmap>
    <input file>'${theme_bdo}'</input>
    </pixmap>
    <hbox>
    <button name="stylebt">
    <input file icon="multisystem-update"></input>
    <label>'$(eval_gettext 'Mise à jour')'</label>
    <action>bash -c "FCT_update" &</action>
    <action>wmctrl -c "MultiSystem-logo"</action>
    <action>wmctrl -c "MultiSystem-logo2"</action>
    <action>wmctrl -c "VBox"</action>
    <action type="exit">exit</action>
    </button>
    </hbox>
    </vbox>
    '$(FCT_HOME)'
    </vbox>
    '$(comment Onglet N°4 Déboguer)'
    <vbox spacing="0">
    <vbox height_request="370">
    <frame Debug>
    <vbox scrollable="true">
    <edit>
    <variable>debug_edit</variable>
    <input file>/tmp/multisystem/multisystem-test-usb</input>
    </edit>
    </vbox>
    </frame>
    <hbox homogeneous="true">
    <button name="stylebt" width_request="180">
    <input file icon="gtk-execute"></input>
    <label>"'$(eval_gettext "fdisk -l")'"</label>
    <action>fdisk -l $(cat /tmp/multisystem/multisystem-selection-usb | sed '\''s/[0-9]//'\'')>/tmp/multisystem/multisystem-test-usb</action>
    <action>refresh:debug_edit</action>
    </button>
    <button name="stylebt" width_request="180">
    <input file icon="gtk-execute"></input>
    <label>"'$(eval_gettext "parted print")'"</label>
    <action>parted -s $(cat /tmp/multisystem/multisystem-selection-usb | sed '\''s/[0-9]//'\'') unit MB print >/tmp/multisystem/multisystem-test-usb</action>
    <action>refresh:debug_edit</action>
    </button>
    </hbox>
    <hbox homogeneous="true">
    <hbox spacing="0">
    <button name="stylebt" width_request="115">
    <input file icon="gtk-execute"></input>
    <label>"'$(eval_gettext "Afficher mbr")'"</label>
    <action>dd if="$(cat /tmp/multisystem/multisystem-selection-usb | sed '\''s/[0-9]//'\'')" bs=512 count=1 | xxd >/tmp/multisystem/multisystem-test-usb</action>
    <action>refresh:debug_edit</action>
    </button>
    <button name="stylebt" width_request="65">
    <input file icon="gtk-execute"></input>
    <label>"'$(cat /tmp/multisystem/multisystem-selection-usb | sed 's@/dev/@@')'"</label>
    <action>dd if="$(cat /tmp/multisystem/multisystem-selection-usb)" bs=512 count=1 | xxd >/tmp/multisystem/multisystem-test-usb</action>
    <action>refresh:debug_edit</action>
    </button>
    </hbox>
    <button name="stylebt" width_request="180">
    <input file icon="gtk-execute"></input>
    <label>"'$(eval_gettext "udevadm info")'"</label>
    <action>udevadm info -q all -n $(cat /tmp/multisystem/multisystem-selection-usb | sed '\''s/[0-9]//'\'') >/tmp/multisystem/multisystem-test-usb</action>
    <action>refresh:debug_edit</action>
    </button>
    </hbox>
    <hbox homogeneous="true">
    <button name="stylebt" width_request="180">
    <input file icon="gtk-execute"></input>
    <label>"'$(eval_gettext "Version Grub2")'"</label>
    <action>grub-install -v >/tmp/multisystem/multisystem-test-usb</action>
    <action>refresh:debug_edit</action>
    </button>
    <button name="stylebt" width_request="180">
    <input file icon="gtk-execute"></input>
    <label>"'$(eval_gettext "Réparer fat32")'"</label>
    <action signal="button-press-event">echo '${message_debug}' >/tmp/multisystem/multisystem-test-usb</action>
    <action signal="button-press-event">refresh:debug_edit</action>
    <action signal="button-release-event">bash -c "xterm -e FCT_debug_repair"</action>
    <action signal="button-release-event">echo >/tmp/multisystem/multisystem-test-usb</action>
    <action signal="button-release-event">refresh:debug_edit</action>
    </button>
    </hbox>
    <hbox homogeneous="true">
    <button name="stylebt" width_request="180">
    <input file icon="gtk-execute"></input>
    <label>"'$(eval_gettext "Benchmark écriture")'"</label>
    <action signal="button-press-event">echo '${message_debug}' >/tmp/multisystem/multisystem-test-usb</action>
    <action signal="button-press-event">refresh:debug_edit</action>
    <action signal="button-release-event">bash -c "xterm -e FCT_debug_write"</action>
    <action signal="button-release-event">refresh:debug_edit</action>
    </button>
    <button name="stylebt" width_request="180">
    <input file icon="gtk-execute"></input>
    <label>"'$(eval_gettext "Benchmark lecture")'"</label>
    <action signal="button-press-event">echo '${message_debug}' >/tmp/multisystem/multisystem-test-usb</action>
    <action signal="button-press-event">refresh:debug_edit</action>
    <action signal="button-release-eve

    Lone_Wolf wrote:
    Not sure why the usermod command didn't have the desired effect, but the gpasswd command is the preferred way :
    try
    # gpasswd -a [user] [group]
    I tried this and restarted
    #gpasswd -a <user> adm
    Adding <user> to group adm
    and it exited successfully but still it didn't fix the problem

  • JMS load-balancing question

    Hello,
    When performing settings on JMS connection factory, one can set (check the "Load Balancing Enabled" option in the Configuration tab, Load Balance sub tab).
    In the help documentation, we can read:
    Specifies whether non-anonymous producers created through a connection factory are load balanced within a distributed destination on a per-call basis.
    *If enabled, the associated message producers are load balanced on every send() or publish() .+
    I have performed some tests and I don't see the expected behaviour that is to say load-balancing for each send or publish call.
    So first what does mean "non-anonymous producers" ? Does that mean that we have to create JMS connection with username/password arguments ? If yes, I have used the same credentials than the ones used for the admin console and again I don't see load-balancing on physical queues belonging to one distributed queue !
    Could you give, please, me advice on how to get the load-balancing working per send or publish call ?
    Best Regards.

    Hello,
    The content of the config.xml:
    <?xml version='1.0' encoding='UTF-8'?>
    <domain xmlns="http://xmlns.oracle.com/weblogic/domain" xmlns:sec="http://xmlns.oracle.com/weblogic/security" xmlns:wls="http://xmlns.oracle.com/weblogic/security/wls" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.oracle.com/weblogic/security/xacml http://xmlns.oracle.com/weblogic/security/xacml/1.0/xacml.xsd http://xmlns.oracle.com/weblogic/security/providers/passwordvalidator http://xmlns.oracle.com/weblogic/security/providers/passwordvalidator/1.0/passwordvalidator.xsd http://xmlns.oracle.com/weblogic/domain http://xmlns.oracle.com/weblogic/1.0/domain.xsd http://xmlns.oracle.com/weblogic/security http://xmlns.oracle.com/weblogic/1.0/security.xsd http://xmlns.oracle.com/weblogic/security/wls http://xmlns.oracle.com/weblogic/security/wls/1.0/wls.xsd http://www.bea.com/ns/weblogic/90/security/extension http://xmlns.oracle.com/weblogic/1.0/security.xsd">
    <name>FRANCOISdomain</name>
    <domain-version>10.3.2.0</domain-version>
    <security-configuration>
    <name>FRANCOISdomain</name>
    <realm>
    <sec:authentication-provider xsi:type="wls:default-authenticatorType">
    <sec:control-flag>OPTIONAL</sec:control-flag>
    </sec:authentication-provider>
    <sec:authentication-provider xsi:type="wls:default-identity-asserterType">
    <sec:active-type>AuthenticatedUser</sec:active-type>
    </sec:authentication-provider>
    <sec:authentication-provider xmlns:ext="http://www.bea.com/ns/weblogic/90/security/extension" xsi:type="ext:agent-authenticatorType">
    <n1:name xmlns:n1="http://www.bea.com/ns/weblogic/90/security">OpenAMProvider</n1:name>
    <n2:control-flag xmlns:n2="http://www.bea.com/ns/weblogic/90/security">OPTIONAL</n2:control-flag>
    </sec:authentication-provider>
    <sec:role-mapper xmlns:xac="http://xmlns.oracle.com/weblogic/security/xacml" xsi:type="xac:xacml-role-mapperType"></sec:role-mapper>
    <sec:authorizer xmlns:xac="http://xmlns.oracle.com/weblogic/security/xacml" xsi:type="xac:xacml-authorizerType"></sec:authorizer>
    <sec:adjudicator xsi:type="wls:default-adjudicatorType"></sec:adjudicator>
    <sec:credential-mapper xsi:type="wls:default-credential-mapperType"></sec:credential-mapper>
    <sec:cert-path-provider xsi:type="wls:web-logic-cert-path-providerType"></sec:cert-path-provider>
    <sec:cert-path-builder>WebLogicCertPathProvider</sec:cert-path-builder>
    <sec:name>myrealm</sec:name>
    <sec:password-validator xmlns:pas="http://xmlns.oracle.com/weblogic/security/providers/passwordvalidator" xsi:type="pas:system-password-validatorType">
    <sec:name>SystemPasswordValidator</sec:name>
    <pas:min-password-length>8</pas:min-password-length>
    <pas:min-numeric-or-special-characters>1</pas:min-numeric-or-special-characters>
    </sec:password-validator>
    </realm>
    <default-realm>myrealm</default-realm>
    <credential-encrypted>{AES}mq1iuVKohqULL/lwkqBF0PCxYeSXcHavSgc2TO4mKEWr81KYRukVzT/6Icj2576UhryaX5E/RzUKDJUZrEWAshpbE9B023NHogEtz7K0XQhToHxukFCiBy5I5mM8XpN4</credential-encrypted>
    <node-manager-username>myusername</node-manager-username>
    <node-manager-password-encrypted>{AES}r3SsMwpQiaNUYrGsTljMgyB9i4A0TELOfOni+RxRP/0=</node-manager-password-encrypted>
    </security-configuration>
    <jta>
    <timeout-seconds>120</timeout-seconds>
    </jta>
    <log>
    <file-name>logs/FRANCOISdomain.log</file-name>
    <rotation-type>bySize</rotation-type>
    <number-of-files-limited>true</number-of-files-limited>
    <file-count>7</file-count>
    <file-min-size>20480</file-min-size>
    <rotate-log-on-startup>true</rotate-log-on-startup>
    <log4j-logging-enabled>false</log4j-logging-enabled>
    </log>
    <snmp-agent-deployment>
    <name>ServerSNMPAgent-0</name>
    <enabled>true</enabled>
    <send-automatic-traps-enabled>true</send-automatic-traps-enabled>
    <snmp-port>1610</snmp-port>
    <snmp-trap-version>1</snmp-trap-version>
    <community-prefix>public</community-prefix>
    <community-based-access-enabled>true</community-based-access-enabled>
    <snmp-engine-id>ServerSNMPAgent-0</snmp-engine-id>
    <authentication-protocol>noAuth</authentication-protocol>
    <privacy-protocol>noPriv</privacy-protocol>
    <inform-retry-interval>10000</inform-retry-interval>
    <max-inform-retry-count>1</max-inform-retry-count>
    <localized-key-cache-invalidation-interval>3600000</localized-key-cache-invalidation-interval>
    <snmp-access-for-user-m-beans-enabled>true</snmp-access-for-user-m-beans-enabled>
    <inform-enabled>false</inform-enabled>
    <master-agent-x-port>7050</master-agent-x-port>
    <target>AdminServer</target>
    </snmp-agent-deployment>
    <server>
    <name>AdminServer</name>
    <log>
    <name>AdminServer</name>
    <file-name>logs/AdminServer__%yyyy%_%MM%_%dd%_%hh%_%mm%.log</file-name>
    <rotation-type>bySize</rotation-type>
    <file-min-size>20480</file-min-size>
    <logger-severity>Info</logger-severity>
    <log-file-severity>Notice</log-file-severity>
    <stdout-severity>Notice</stdout-severity>
    <domain-log-broadcast-severity>Notice</domain-log-broadcast-severity>
    <memory-buffer-severity>Trace</memory-buffer-severity>
    </log>
    <listen-port>20001</listen-port>
    <iiop-enabled>true</iiop-enabled>
    <default-iiop-user>iiopuser</default-iiop-user>
    <default-iiop-password-encrypted>{AES}v2+TWtuxeDCyJ5ztyFko4t3ISkqKnlXEGK350FHvCXM=</default-iiop-password-encrypted>
    <listen-address>10.10.166.103</listen-address>
    </server>
    <server>
    <name>managed1</name>
    <reverse-dns-allowed>false</reverse-dns-allowed>
    <native-io-enabled>true</native-io-enabled>
    <thread-pool-percent-socket-readers>33</thread-pool-percent-socket-readers>
    <max-message-size>10000000</max-message-size>
    <max-http-message-size>-1</max-http-message-size>
    <complete-message-timeout>60</complete-message-timeout>
    <idle-connection-timeout>65</idle-connection-timeout>
    <period-length>60000</period-length>
    <idle-periods-until-timeout>4</idle-periods-until-timeout>
    <dgc-idle-periods-until-timeout>5</dgc-idle-periods-until-timeout>
    <ssl>
    <enabled>true</enabled>
    <hostname-verifier xsi:nil="true"></hostname-verifier>
    <hostname-verification-ignored>false</hostname-verification-ignored>
    <export-key-lifespan>500</export-key-lifespan>
    <client-certificate-enforced>false</client-certificate-enforced>
    <listen-port>20012</listen-port>
    <two-way-ssl-enabled>false</two-way-ssl-enabled>
    <server-private-key-alias>myhost.mycompany.com</server-private-key-alias>
    <server-private-key-pass-phrase-encrypted>{AES}haHJwbqbttygoo71Dyb3dQck2VsEd1woFGijvFXM0sA=</server-private-key-pass-phrase-encrypted>
    <ssl-rejection-logging-enabled>true</ssl-rejection-logging-enabled>
    <inbound-certificate-validation>BuiltinSSLValidationOnly</inbound-certificate-validation>
    <outbound-certificate-validation>BuiltinSSLValidationOnly</outbound-certificate-validation>
    <allow-unencrypted-null-cipher>false</allow-unencrypted-null-cipher>
    <use-server-certs>false</use-server-certs>
    </ssl>
    <log>
    <file-name>logs/managed1_%yyyy%_%MM%_%dd%_%hh%_%mm%.log</file-name>
    <rotation-type>bySize</rotation-type>
    <number-of-files-limited>true</number-of-files-limited>
    <file-count>7</file-count>
    <rotation-time>00:00</rotation-time>
    <file-min-size>20480</file-min-size>
    <rotate-log-on-startup>true</rotate-log-on-startup>
    <logger-severity>Debug</logger-severity>
    <logger-severity-properties>com.iplanet=Debug;test.ejb=Debug;com.sun.indentity=Debug;org.apache.http=Debug;test.servlet=Debug</logger-severity-properties>
    <log-file-severity>Debug</log-file-severity>
    <stdout-severity>Debug</stdout-severity>
    <domain-log-broadcast-severity>Debug</domain-log-broadcast-severity>
    <domain-log-broadcast-filter xsi:nil="true"></domain-log-broadcast-filter>
    <memory-buffer-severity>Debug</memory-buffer-severity>
    <memory-buffer-filter xsi:nil="true"></memory-buffer-filter>
    <log4j-logging-enabled>true</log4j-logging-enabled>
    <redirect-stdout-to-server-log-enabled>false</redirect-stdout-to-server-log-enabled>
    <domain-log-broadcaster-buffer-size>50</domain-log-broadcaster-buffer-size>
    </log>
    <max-open-sock-count>-1</max-open-sock-count>
    <stuck-thread-max-time>600</stuck-thread-max-time>
    <stuck-thread-timer-interval>60</stuck-thread-timer-interval>
    <machine>FRANCOIS_Machine1</machine>
    <listen-port>20011</listen-port>
    <listen-port-enabled>true</listen-port-enabled>
    <cluster>FRANCOIS_cluster</cluster>
    <web-server>
    <web-server-log>
    <number-of-files-limited>false</number-of-files-limited>
    </web-server-log>
    <frontend-http-port>0</frontend-http-port>
    <frontend-https-port>0</frontend-https-port>
    <keep-alive-enabled>true</keep-alive-enabled>
    <keep-alive-secs>30</keep-alive-secs>
    <https-keep-alive-secs>60</https-keep-alive-secs>
    <post-timeout-secs>30</post-timeout-secs>
    <max-post-size>-1</max-post-size>
    <send-server-header-enabled>false</send-server-header-enabled>
    <wap-enabled>false</wap-enabled>
    <accept-context-path-in-get-real-path>false</accept-context-path-in-get-real-path>
    </web-server>
    <server-debug>
    <debug-scope>
    <name>weblogic.security</name>
    <enabled>false</enabled>
    </debug-scope>
    <debug-scope>
    <name>weblogic.servlet</name>
    <enabled>false</enabled>
    </debug-scope>
    <debug-scope>
    <name>default</name>
    <enabled>false</enabled>
    </debug-scope>
    <debug-scope>
    <name>weblogic</name>
    <enabled>false</enabled>
    </debug-scope>
    </server-debug>
    <listen-address>host.mycompany.com</listen-address>
    <accept-backlog>300</accept-backlog>
    <login-timeout-millis>5000</login-timeout-millis>
    <java-compiler>javac</java-compiler>
    <tunneling-enabled>true</tunneling-enabled>
    <tunneling-client-ping-secs>45</tunneling-client-ping-secs>
    <tunneling-client-timeout-secs>40</tunneling-client-timeout-secs>
    <server-start>
    <java-vendor>Sun</java-vendor>
    <java-home>/opt/32bit/jdk1.6.0_18</java-home>
    <class-path>${CLASSPATH}:/opt/32bit/jdk1.6.0_18/lib/tools.jar:/product/DSL60/wlserver_10.3/server/lib/weblogic_sp.jar:/product/DSL60/wlserver_10.3/server/lib/weblogic.jar:/product/FILES/PAF/j2ee_agents/weblogic_v10_agent/lib/agent.jar:/product/FILES/PAF/j2ee_agents/weblogic_v10_agent/lib/openssoclientsdk.jar:/product/FILES/PAF/j2ee_agents/weblogic_v10_agent/locale:/product/FILES/PAF/j2ee_agents/weblogic_v10_agent/Agent_002/config</class-path>
    <bea-home>/product/DSL60</bea-home>
    <root-directory>/product/DSL60/wls/domain/FRANCOISdomain</root-directory>
    <security-policy-file>/product/DSL60/wlserver_10.3/server/lib/weblogic.policy</security-policy-file>
    <arguments>-Dname=WL1_MYCOMPANY_PID -Dlog4j.configuration=file:///product/DSL60/wls/domain/FRANCOISdomain/lib/log4j.xml -Declipselink.register.run.mbean=true -Xms1024m -Xmx1024m -XX:MaxPermSize=256m -d32 -Doracle.net.tns.admin=/opt/oracle/11.2.0/network/admin/tnsname.ora -Djava.util.logging.config.file=/product/FILES/PAF/j2ee_agents/weblogic_v10_agent/config/OpenSSOAgentLogConfig.properties -DLOG_COMPATMODE=Off</arguments>
    <username>myusername</username>
    <password-encrypted>{AES}+o7kEIuvUEC1C4IoVveulxKTyN3upgWDglcqqgOEwt4=</password-encrypted>
    </server-start>
    <jta-migratable-target>
    <user-preferred-server>managed1</user-preferred-server>
    <cluster>FRANCOIS_cluster</cluster>
    </jta-migratable-target>
    <low-memory-time-interval>3600</low-memory-time-interval>
    <low-memory-sample-size>10</low-memory-sample-size>
    <low-memory-granularity-level>5</low-memory-granularity-level>
    <low-memory-gc-threshold>5</low-memory-gc-threshold>
    <auto-kill-if-failed>true</auto-kill-if-failed>
    <health-check-interval-seconds>30</health-check-interval-seconds>
    <managed-server-independence-enabled>true</managed-server-independence-enabled>
    <client-cert-proxy-enabled>false</client-cert-proxy-enabled>
    <key-stores>CustomIdentityAndCustomTrust</key-stores>
    <custom-identity-key-store-file-name>/product/FILES/PAF/cert/opensso.jks</custom-identity-key-store-file-name>
    <custom-identity-key-store-type>JKS</custom-identity-key-store-type>
    <custom-identity-key-store-pass-phrase-encrypted>{AES}yg0Tx8tcfZsqM2sYbfTPEDl7ceN5X5zUEALaBM58wS8=</custom-identity-key-store-pass-phrase-encrypted>
    <custom-trust-key-store-file-name>/product/FILES/PAF/cert/opensso.jks</custom-trust-key-store-file-name>
    <custom-trust-key-store-type>JKS</custom-trust-key-store-type>
    <custom-trust-key-store-pass-phrase-encrypted>{AES}8Ghgu1RUTF7st3f69sZKdb6vTfWiFvk1g+CUi63utBA=</custom-trust-key-store-pass-phrase-encrypted>
    <overload-protection>
    <shared-capacity-for-work-managers>1111</shared-capacity-for-work-managers>
    <panic-action>system-exit</panic-action>
    <failure-action>no-action</failure-action>
    <free-memory-percent-high-threshold>0</free-memory-percent-high-threshold>
    <free-memory-percent-low-threshold>0</free-memory-percent-low-threshold>
    </overload-protection>
    </server>
    <server>
    <name>managed2</name>
    <reverse-dns-allowed>false</reverse-dns-allowed>
    <native-io-enabled>true</native-io-enabled>
    <thread-pool-percent-socket-readers>33</thread-pool-percent-socket-readers>
    <max-message-size>10000000</max-message-size>
    <complete-message-timeout>60</complete-message-timeout>
    <idle-connection-timeout>65</idle-connection-timeout>
    <period-length>60000</period-length>
    <idle-periods-until-timeout>4</idle-periods-until-timeout>
    <dgc-idle-periods-until-timeout>5</dgc-idle-periods-until-timeout>
    <log>
    <file-name>logs/managed2_%yyyy%_%MM%_%dd%_%hh%_%mm%.log</file-name>
    <rotation-type>bySize</rotation-type>
    <number-of-files-limited>true</number-of-files-limited>
    <file-count>7</file-count>
    <rotation-time>00:00</rotation-time>
    <file-min-size>20480</file-min-size>
    <rotate-log-on-startup>true</rotate-log-on-startup>
    <logger-severity>Debug</logger-severity>
    <logger-severity-properties>org.apache.http=Error</logger-severity-properties>
    <log-file-severity>Debug</log-file-severity>
    <stdout-severity>Debug</stdout-severity>
    <domain-log-broadcast-severity>Debug</domain-log-broadcast-severity>
    <domain-log-broadcast-filter xsi:nil="true"></domain-log-broadcast-filter>
    <memory-buffer-severity>Debug</memory-buffer-severity>
    <memory-buffer-filter xsi:nil="true"></memory-buffer-filter>
    <log4j-logging-enabled>true</log4j-logging-enabled>
    <redirect-stdout-to-server-log-enabled>false</redirect-stdout-to-server-log-enabled>
    <domain-log-broadcaster-buffer-size>50</domain-log-broadcaster-buffer-size>
    </log>
    <max-open-sock-count>-1</max-open-sock-count>
    <stuck-thread-max-time>600</stuck-thread-max-time>
    <stuck-thread-timer-interval>60</stuck-thread-timer-interval>
    <machine>FRANCOIS_Machine1</machine>
    <listen-port>20021</listen-port>
    <cluster>FRANCOIS_cluster</cluster>
    <web-server>
    <web-server-log>
    <number-of-files-limited>false</number-of-files-limited>
    </web-server-log>
    </web-server>
    <listen-address>10.10.166.103</listen-address>
    <accept-backlog>300</accept-backlog>
    <login-timeout-millis>5000</login-timeout-millis>
    <tunneling-enabled>true</tunneling-enabled>
    <tunneling-client-ping-secs>45</tunneling-client-ping-secs>
    <tunneling-client-timeout-secs>40</tunneling-client-timeout-secs>
    <server-start>
    <java-vendor>Sun</java-vendor>
    <java-home>/opt/32bit/jdk1.6.0_18</java-home>
    <class-path>${CLASSPATH}:/opt/32bit/jdk1.6.0_18/lib/tools.jar:/product/DSL60/wlserver_10.3/server/lib/weblogic_sp.jar:/product/DSL60/wlserver_10.3/server/lib/weblogic.jar:/product/FILES/PAF/j2ee_agents/weblogic_v10_agent/lib/agent.jar:/product/FILES/PAF/j2ee_agents/weblogic_v10_agent/lib/openssoclientsdk.jar:/product/FILES/PAF/j2ee_agents/weblogic_v10_agent/locale:/product/FILES/PAF/j2ee_agents/weblogic_v10_agent/Agent_003/config</class-path>
    <bea-home>/product/DSL60</bea-home>
    <root-directory>/product/DSL60/wls/domain/FRANCOISdomain</root-directory>
    <security-policy-file>/product/DSL60/wlserver_10.3/server/lib/weblogic.policy</security-policy-file>
    <arguments>-Dname=WL1_MYCOMPANY_PID -Dlog4j.configuration=file:///product/DSL60/wls/domain/FRANCOISdomain/lib/log4j.xml -Declipselink.register.run.mbean=true -Xms1024m -Xmx1024m -XX:MaxPermSize=256m -d32 -Doracle.net.tns.admin=/opt/oracle/11.2.0/network/admin/tnsname.ora -Djava.util.logging.config.file=/product/FILES/PAF/j2ee_agents/weblogic_v10_agent/config/OpenSSOAgentLogConfig.properties -DLOG_COMPATMODE=Off</arguments>
    <username>myusername</username>
    <password-encrypted>{AES}AveXfjkD6M1nkwLoBOtN9QhrOA+C1d84AP+A2WThpN0=</password-encrypted>
    </server-start>
    <jta-migratable-target>
    <user-preferred-server>managed2</user-preferred-server>
    <cluster>FRANCOIS_cluster</cluster>
    </jta-migratable-target>
    <low-memory-time-interval>3600</low-memory-time-interval>
    <low-memory-sample-size>10</low-memory-sample-size>
    <low-memory-granularity-level>5</low-memory-granularity-level>
    <low-memory-gc-threshold>5</low-memory-gc-threshold>
    <auto-kill-if-failed>true</auto-kill-if-failed>
    <health-check-interval-seconds>30</health-check-interval-seconds>
    <managed-server-independence-enabled>true</managed-server-independence-enabled>
    </server>
    <cluster>
    <name>FRANCOIS_cluster</name>
    <cluster-address>10.10.166.103:20011,10.10.166.103:20021</cluster-address>
    <default-load-algorithm>round-robin</default-load-algorithm>
    <cluster-messaging-mode>unicast</cluster-messaging-mode>
    <cluster-broadcast-channel></cluster-broadcast-channel>
    <weblogic-plugin-enabled>true</weblogic-plugin-enabled>
    <frontend-http-port>20011</frontend-http-port>
    <frontend-https-port>20012</frontend-https-port>
    <number-of-servers-in-cluster-address>1</number-of-servers-in-cluster-address>
    </cluster>
    <production-mode-enabled>false</production-mode-enabled>
    <embedded-ldap>
    <name>FRANCOISdomain</name>
    <credential-encrypted>{AES}M6zrsdwO+PvT05M07l6QPOBMLacz4b6Z9+DT5EDxQPABYDdIzZbossnMLiXSSodJ</credential-encrypted>
    </embedded-ldap>
    <archive-configuration-count>3</archive-configuration-count>
    <config-backup-enabled>true</config-backup-enabled>
    <configuration-version>10.3.2.0</configuration-version>
    <library>
    <name>mycompany-domain-logging.jar#[email protected]</name>
    <target>FRANCOIS_cluster</target>
    <module-type xsi:nil="true"></module-type>
    <source-path>servers/AdminServer/upload/mycompany-domain-logging.jar/app/mycompany-domain-logging.jar</source-path>
    <security-dd-model>DDOnly</security-dd-model>
    <staging-mode>stage</staging-mode>
    </library>
    <library>
    <name>eclipselink-custom.jar#[email protected]</name>
    <target>FRANCOIS_cluster</target>
    <module-type xsi:nil="true"></module-type>
    <source-path>servers/AdminServer/upload/eclipselink-custom.jar/app/eclipselink-custom.jar</source-path>
    <security-dd-model>DDOnly</security-dd-model>
    <staging-mode>stage</staging-mode>
    </library>
    <machine>
    <name>FRANCOIS_Machine1</name>
    <node-manager>
    <nm-type>Plain</nm-type>
    <listen-address>10.10.166.103</listen-address>
    <listen-port>5566</listen-port>
    </node-manager>
    </machine>
    <jms-server>
    <name>JMSServer1</name>
    <target>managed1</target>
    <persistent-store>jdbcStore1</persistent-store>
    </jms-server>
    <jms-server>
    <name>JMSServer2</name>
    <target>managed2</target>
    <persistent-store>jdbcStore2</persistent-store>
    </jms-server>
    <migratable-target>
    <name>managed1 (migratable)</name>
    <notes>This is a system generated default migratable target for a server. Do not delete manually.</notes>
    <user-preferred-server>managed1</user-preferred-server>
    <cluster>FRANCOIS_cluster</cluster>
    </migratable-target>
    <migratable-target>
    <name>managed2 (migratable)</name>
    <notes>This is a system generated default migratable target for a server. Do not delete manually.</notes>
    <user-preferred-server>managed2</user-preferred-server>
    <cluster>FRANCOIS_cluster</cluster>
    </migratable-target>
    <startup-class>
    <name>AppenderStartup</name>
    <target>FRANCOIS_cluster</target>
    <class-name>com.mycompany.logging.AppenderStartup</class-name>
    <load-before-app-deployments>true</load-before-app-deployments>
    </startup-class>
    <jdbc-store>
    <name>jdbcStore1</name>
    <prefix-name>jdbcStore1</prefix-name>
    <data-source>technical_mycompany_noxa.ds</data-source>
    <target>managed1</target>
    </jdbc-store>
    <jdbc-store>
    <name>jdbcStore2</name>
    <prefix-name>jdbcStore2</prefix-name>
    <data-source>mycompany_noxa_failover.ds</data-source>
    <target>managed2</target>
    </jdbc-store>
    <jms-system-resource>
    <name>EclipseLink_Module</name>
    <target>FRANCOIS_cluster</target>
    <sub-deployment>
    <name>DeployToCluster</name>
    <target>FRANCOIS_cluster</target>
    </sub-deployment>
    <descriptor-file-name>jms/eclipselink_module-jms.xml</descriptor-file-name>
    </jms-system-resource>
    <jms-system-resource>
    <name>TESTJMS</name>
    <target>FRANCOIS_cluster</target>
    <sub-deployment>
    <name>TestQueueM1</name>
    <target>JMSServer1</target>
    </sub-deployment>
    <sub-deployment>
    <name>TestQueueM2</name>
    <target>JMSServer2</target>
    </sub-deployment>
    <descriptor-file-name>jms/testjms-jms.xml</descriptor-file-name>
    </jms-system-resource>
    <admin-server-name>AdminServer</admin-server-name>
    <jdbc-system-resource>
    <name>mycompany_xa_failover.ds</name>
    <target>FRANCOIS_cluster</target>
    <descriptor-file-name>jdbc/mycompany_xa_failover2eds-4849-jdbc.xml</descriptor-file-name>
    </jdbc-system-resource>
    <jdbc-system-resource>
    <name>mycompany_noxa_failover.ds</name>
    <target>FRANCOIS_cluster</target>
    <descriptor-file-name>jdbc/mycompany_noxa_failover2eds-3264-jdbc.xml</descriptor-file-name>
    </jdbc-system-resource>
    <jdbc-system-resource>
    <name>technical_mycompany_noxa.ds</name>
    <target>FRANCOIS_cluster</target>
    <descriptor-file-name>jdbc/technical_mycompany_noxa2eds-3047-jdbc.xml</descriptor-file-name>
    </jdbc-system-resource>
    </domain>
    Best Regards.

  • Remote Start installation question - Trying to understand

    I just want to get auto start added to my 2012 Dodge Charger.    The dealer is asking for waaay to much for OEM remote start and install so I figure Best buy would be cheaper.  I see many products ranging from $199 to $600.  I plan to get either the Viper 4205V or the 4115V1B.  My question is, I literally just want autostart. I would like to still use my existing FOB to unlock my doors, pop my trunk, etc.  Sounds like when an aftermarket is installed "stuff" needs to be bypassed and you end up using the aftermarket lock/unlock, trunk open features rendering your current key fob useless.  Is this correct?
    1) Can you confirm with he viper units listed above, that I can get autostart installed on my car, and still use my existing key FOBs for all my basic funtion (lock/unlock, truck)? 
    2) Also does the standard Geek Squad install come with the open hood auto kill feature, I seem to hear the most complaints about installers not installing this safety feature and not telling the buyer they dont install this.
    Thanks
    Solved!
    Go to Solution.

    Yes my FOB  unlock/locks my door and pops trunk while car is running. 
    So bottom line is (as far as you know), there should be no reason the viper units I selected should not work with my car.  And I shouldn't need any special (expensive) add ons to get things to work properly and my original FOB should work as usual. 
    I just dont want to get something installed that keeps something else from working properly on my car when from having autostart installed.
    Thanks

  • Maximum Number of Sessions per User

    I am using OAM 11.1.1.5.0 running on Solaris 10. When we change the "Maximum Number of Sessions per User" to 1 (per customer requirement), a user is restricted to having one active OAM session at a time (as expected). However, if the user does not explicitly log out (e.g. they just close their browser), they are unable to log back in to OAM until their existing OAM session times-out/expires. Given the above max sessions of 1 requirement, is it possible to config OAM to auto-kill the user's session and create a new one if they attempt to login before their initial OAM session times-out/expires? This was possible in Sun's Access Manager. Is it possible in Oracle's OAM? Thank you in advance for your reply.

    Hi,
    Maximum session per user 0-9 and how can configure see the below link:-
    http://help.sap.com/saphelp_nw70/helpdata/en/97/76a341ac57ef0be10000000a1550b0/content.htm
    Regards,
    Anil

  • Quicklookd and Quicksilver, cpu usage

    Hello,
    I've actually almost got this figured out, but lately I've had issues with my computer stalling and having a huge spike in the cpu temperature. By running 'top' in the terminal I found the culprit to be quicklookd--it was using up all my cpu had to give. When I kill the quicklookd a whole bunch of shearch panes for Quicksilver pop up and then disappear.
    In doing some forum crawling it seems to me that quicklook has some issues with files that are constantly changing (like torrents or, as occurred with me, a disk image) because it tries to rescan it over and over again.
    Now, I can certainly keep killing quicklookd when it messes up (it's even kind of fun to kill a process and hear the fan spin down right away, like I diffused a bomb or something,) but I can't always watch my computer when it's doing a big download for example.
    Any suggestions for fixing this? Should I move the quicklook generators from their folder one by one till i find which one is bad? Is there a way I could automate killing quicklookd when it gets above a certain percent of the cpu?
    Thanks,
    Josh

    Here is what they said:
    "quicklookd is a process that is part of QuickLook, and has nothing to do with Quicksilver.
    Quicksilver's process from within Activity Monitor is simply called 'Quicksilver'
    I suggest you have a look at some support forums, it looks like others may have had the same problem:
    http://discussions.apple.com/thread.jspa?threadID=1785292 "
    from http://github.com/tiennou/blacktree-alchemy/issues/issue/128
    Now, that is why I asked about auto-killing the process (it pops back up when ever it is needed anyway)--from other forums I learn that Quicklook sometimes has issues with certain files, quicksilver uses quicklook, I am stuck in the middle. Even if I didn't use quicksilver, there is no guaranty that quicklook would not mess up.
    So my question is not about using beta software, it's about controlling an osx process.

  • Where we can know about the stuck threads without taking thread dump.

    Hi Everyone,
    Where we can View/know about the stuck threads without taking thread dump.
    Thank You

    Hi!
    WebLogic Server diagnoses a thread as stuck if it is continually working (not idle) for a set period of time. You can tune stuck threads in the Weblogic Server.
    You can tune a server’s thread detection behavior by changing the length of time before a thread is diagnosed as stuck, and by changing the frequency with which the server checks for stuck threads.
    It can be configured using below mentioned 2 parameters. These can be configured from Admin console -> Servers ->Configuration > Tuning tab.
    1)Stuck Thread Max Time
    2)Stuck Thread Timer Interval
    Although you can change the criteria WebLogic Server uses to determine whether a thread is stuck, you cannot change the default behavior of setting the “warning” and “critical” health states when all threads in a particular execute queue become stuck.
    There is a parameter "Stuck Thread Count" which can be configured from Console
    (Servers -> Configuration ->Overload -> Stuck Thread count) which helps to transition the Server to FAILED state once the stuck threads reaches the value.
    You can also use "OverloadProtectionMBean" for tuning. In Weblogic Server 9.x and later, it is recommended that you use the "ServerFailureTriggerMBean" in the "OverloadProtectionMBean".The ServerFailureTriggerMBean transitions the server to a FAILED state after the specified number of stuck threads are detected.The OverloadProtectionMBean has options to suspend or shutdown a failed server.
    WebLogic Server checks for stuck threads periodically. If all application threads are stuck, a server instance marks itself failed, if configured to do so, exits. You can configure Node Manager or a third-party high-availability solution to restart the server instance for automatic failure recovery.
    You can configure these actions to occur when not all threads are stuck, but the number of stuck threads have exceeded a configured threshold:
    - Shut down the Work Manager if it has stuck threads. A Work Manager that is shut down will refuse new work and reject existing work in the queue by sending a rejection message. In a cluster, clustered clients will fail over to another cluster member.
    - Shut down the application if there are stuck threads in the application. The application is shutdown by bringing it into ADMIN mode. All Work Managers belonging to the application are shut down, and behave as described above.
    - Mark the server instance as failed and shut it down it down if there are stuck threads in the server. In a cluster, clustered clients that are connected or attempting to connect will fail over to another cluster member.
    You can configure the "ServerFailureTriggerMBean" in the "OverloadProtectionMBean".
    Below is documentation link for "ServerFailureTriggerMBean" methods.
    http://download.oracle.com/docs/cd/E12839_01/apirefs.1111/e13945/weblogic/management/configuration/ServerFailureTriggerMBean.html
    You can use getStuckThreadCount() method to check the number of stuck threads and transition the server to Failed State once itreaches the limit.
    getStuckThreadCount:
    int getStuckThreadCount() - The number of stuck threads after which the server is transitioned into FAILED state. There are options inOverloadProtectionMBean to suspend and shutdown a FAILED server. By default, the server continues to run in FAILED state. If the StuckThreadCount value is set to zero then the server never transitions into FAILED server irrespective of the number of stuck threads.
    Returns:
    The StuckThreadCount value
    Default Value:
    0
    Maximum Value:
    java.lang.Integer.MAX_VALUE
    Minimum Value:
    0
    Below is documentation link for "OverloadProtectionMBean" methods.
    http://download.oracle.com/docs/cd/E11035_01/wls100/javadocs_mhome/weblogic/management/configuration/OverloadProtectionMBean.html
    In the Admin console, you can set the "FailureAction" under Servers->Configuration->Overload to force shutdown the managed server once the server is in Failed state.
    The OverloadProtectionMBean has a method getFailureAction to achieve the same.
    getFailureAction:
    String getFailureAction() - Enable automatic forceshutdown of the server on failed state. The server self-health monitoring detects fatal failures and mark the server as failed. The server can be restarted using NodeManager or a HA agent.
    Valid Values:
    OverloadProtectionMBean.NO_ACTION, OverloadProtectionMBean.FORCE_SHUTDOWN, OverloadProtectionMBean.ADMIN_STATE
    If you start the managed servers using node manager, you can enable "Auto Kill if Failed" and "Auto Restart" in the Admin console, under Servers-> configuration->Health Monitoring. Node Manager will take care of restarting the managed server if you enable "Auto Restart".
    You can also configure the "Stuck Thread Count" and "Failure Action" to "Force Immediate shutdown of the Server" from Admin console under servers-> configuration-> Overload. This will help you to shutdown the server when the stuck thread count is reached. But there is no way to release the threads once they are stuck from the configuration.
    Suppose if you set the value of the Stuck Thread Count to 20, The server will be transitioned to failed state once the count reaches 20 and if you enable the Failure Action, the server self-health monitoring detects fatal failures and mark the server as failed.
    Depending on how you are starting the servers (custom scripts or Node Manager or startup scripts,...), you can restart the servers.
    For more details on this please refer to below link:
    http://www.oracle.com/technetwork/articles/entarch/workload-management-088692.html
    Hope this helps.
    Thanks,
    Cris

  • Exiting out of X causes sync issues.

    Hi all,
    I've just installed Arch onto my laptop and after a couple of hours I realised I couldn't get X to run because xf86-input-mouse and xf86-input-keyboard weren't installed when I installed the xorg suite, I found that odd...
    Anyways, X runs fine but when I exit back to the command line the screen is flickering, probably due to hsync and vsync issues; and I have to reboot to fix it. I have a Dell XPS M1210 and I'm running the nvidia driver.

    hurbie8, 
    I certainly understand why those issues would be annoying. I searched our resources and I have not heard of either of these issues as known issues after the update. It sounds like you are having an issue with the back arrow itself. To take a screenshot, you would press and hold the back arrow, then press the power button. So the phone thinks you are pressing the back arrow, and that's what causes the phone to take a screenshot. When your phone exits out of applications, do you get an error or does it just go back to the main screen? Do you have any installed task killers that are set to auto kill apps? If so, I would suggest removing.
    I would recommend doing a factory reset for this issue. A factory reset will erase all data on your device and set it to factory default settings. It will not erase anything on your memory card. You will need your Gmail address and password to setup your device again. I would also suggest creating a backup of your contacts just in case they are not all in Gmail or backup assistant. You can save them to your memory card by going to Contacts>Press the Menu button>Import/Export>Export to SD card. You complete the master reset by going to Settings>Privacy>Factory Data Reset>Reset Phone. 
    Please let us know if this resolves your issue or if you need further assistance. 

Maybe you are looking for