Set/unset VCPU to VM

Hello,
As to the "Oracle White Paper - Hard Partitioning With Oracle VM Server for x86" it is clear how to set VCPU for VM's, but there is nothing mentioned how to unset already pinned VCPU's.
For example:
Oracle VM 3: Configuring Hard Partitioning
Let's bind the vCPUs to core 0 by running the following command:
# ./ovm_vmcontrol -u admin -p Manager1 -h localhost -v apitest -c vcpuset -s 0
Oracle VM VM Control utility 0.5.2.
Connected.
Command : vcpuset
Pinning virtual CPUs
Pinning of virtual CPUs to physical threads '0' 'apitest' completed.
Now, running the
xm vcpu-list command, the CPU binding immediately took effect (and also will on subsequent startups of the VM):
# xm vcpu-list 1
Name ID VCPU CPU State Time(s) CPU Affinity
0004fb00000600007c351fa24276c63f 1 0 0 -b- 4687.6 0
0004fb00000600007c351fa24276c63f 1 1 0 -b- 4547.2 0
What should be the command to revert that back to VCPU "any" ?
Manually editing the vm.cfg does not effect the output retured from the "vcpuget
Thank you.

Hi,
Oracle VM Server for x86 utilizes CPU pinning to bind Virtual CPUs (vCPUs) to physical CPUs. This prevents the vCPUs from running workloads on physical CPUs other than the ones specified. and to revert to the default configuration.
Verify with the help how to set "CPU Affinity" to any.
     # ./ovm_vmcontrol --help
I hope this can help you
Thinks to share with us the solution
Best Regards

Similar Messages

  • Apple please add album art (set/unset) to Smart Playlist criteria

    Please allow me to define a smart playlist defining all tracks that have album art vs those that don't. I don't think the criteria allows this right now.

    BTW it works just fine too, creating a playlist of all your songs that lack artwork.
    I agree. I had been meaning to download and use the no artwork script for some time and this topic got me to finally do it. I had no problems whatsoever, although I learned that a third of my tracks have no cover art.

  • PP-PI - System status LKD for a process order - how to set/unset it

    Hi gurus,
    I need some help.
    I have to lock / unlock process orders inside a program (not manually).
    I would like to do this without using Batch Inputs, which are not reliable.
    I know the function STATUS_CHANGE_INTERN can modify the order status; but I don't know if the result I get is the same I get doing manually: "Process order" --> "Functions" --> "Restrict processing" --> "Lock"/"Unlock".
    Can anybody help me?
    Thanks in advance.
    J.

    Hi
    I found this thread which is talking about Internal Order Status change and also a solution for the same.
    [Status change|http://forums.sdn.sap.com/thread.jspa?threadID=1516496]
    Br,
    Vijay V

  • Delivery Completed Indicator(ELIKZ:0COMPL_DEL) in 2LIS_02_SCL

    Hi Experts,
    I am using the datasource 2LIS_02_SCL for Purchasing reports and this extractor has the 'Delivery Completed Indicator'[ELIKZ] which is mapped to 0COMPL_DEL in BW. The ODS which in our system has the 0PROCESSKEY as one of the key fields. Hence there are multiple records for one PO item with different 0PROCESSKEY. However the 'Delivery Completed Indicator' is not correctly extracted. For example, for one of the PO items which are not marked as delivery completed in R/3, the records extracted are as follows:
    Purch.Doc. Item( Deliv.date Pur Purc D
    POD Doc             Item    Schedule Line Process Key Delivery Completed Indicator
    3000000583          00001 0001               001             
    3000000583          00001 0001               002                X
    The delivery completed indicator was set & unset in R/3. This is an issue with all the similar PO items. The indicator in not set for all the records. Is there any rule that only certain process keys should be considered to identify the indicator?.
    Kindly help.
    Regards,
    Shilpa

    Hi,
    You can have more than these 3 depending on your system setup. 
    If remember correctly, everything ending with 1 is PO related, 2 is GR related and 3 is invoice related.  So, for GR related records, look at Process Keys 1 (so you know the Line Item quantity), 2 for GR's, 12 (GR reversals or issues?), 22 (GR issues or reversals?).
    Of course, with all things SAP, every system is different and you may have other keys you need to include.  As someone else wrote, looking to the transaction key mapping for the movement types. 
    Also, you should ask the functional guys or the business (if there are no functional people) for all of the GR related scenarios for Purchasing.  They should give you a list of 5 -10 scenarios on how material can be bought and brought into the system.  With that list, run through each one and see what records are created and when.  This will display to you how the system works and you can program based on the results.  This will take a while, but will be very beneficial to you.
    Brian

  • Macbook Pro 8,2 EFI_STUB loading with rEFInd Failing

    Hello fellow Arch users, I've been struggling with trying to get Arch running on my Macbook Pro 8,2 (Early 2011) for the past couple of days and I was hoping that the collective intelligence of the community might be able to help me. I feel that the combination of recent changes in the installation medium, using a Macbook, and my hardware modifications have all converged to make it hard to diagnose what is wrong.  First off for hardware I have:
    Processor: Core i7 (I7-2820QM)
    Integrated Graphics: Intel HD Graphics 3000
    Dedicated Graphics: AMD Radeon HD 6750M 1024 MB
    Ram: 16G (8Gx2) 1333 MHz
    Internal Harddrive: 1Tb WDC WD10TPVT-00HT5T1
    Internal Harddrive (in optical drive spot with an OWC Data Doubler): 128Gb APPLE SSD TS128C
    I have the SSD setup with only OSX and I planned on installing Arch to the HHD and using rEFInd to boot everything with EFI_STUB.  Initially started by trying to install from an external source, but was unable to do so.  In the past I had attempted to install windows 7 from an external CD drive only to learn that it is essentially imposible (it would appear to firmware constraint as the Macbook Airs and rMacbook Pros as able to) and I wonder if the same constraint applies for linux live CDs.  I tried the "Remove UEFI boot support from ISO" from the UEFI page as well and that did not help.  Oddly enough I also was unable to get any usb medium to work as well (both the regular install disk and Archboot, the "Create UEFI bootable USB from ISO" method of the UEFI page) even though it seems that many others have successfully gotten this to work and it should not be affected by my modifications.
    At this point I removed the SSD from inside and replaced it with the original super drive.  rEFInd will not boot it through efi, but will boot it through BIOS emulation (the partition is listed as windows in rEFInd).  From there I followed the standard insertion procedure to get Arch installed (following UEFI_Bootloaders#Linux_Kernel_EFISTUB, Unified_Extensible_Firmware_Interface#Create_an_UEFI_System_Partition_in_Linux and MacBook_Pro_8,1_/_8,2_/_8,3_(2011_Macbook_Pro):
    $ cgdisk /dev/sda
        512M partition of type EF00, name efi
        the rest default type (linux), name root
    $ mkfs.vfat -F32 /dev/sda1
    $ mkfs.ext4 /dev/sda2
    $ mount /dev/sda2 /mnt
    $ mkdir /mnt/boot/efi
    $ mount /dev/sda1 /mnt/boot/efi
    $ mkdir /mnt/boot/efi/EFI/arch/
    $ pacstrap /mnt base{,-devel}
    $ genfstab -p /mnt >> /mnt/etc/fstab
    $ arch-chroot /mnt
    $ nano /etc/mkinitcpio.conf
        MODULES="..ahci libahci.."  #The Macbook page recommends this and I tried it with sd_mod as well based off some previous forum posts.
    $ mkinitcpio -p linux
    $ cp /boot/vmlinuz-linux /boot/efi/EFI/arch/vmlinuz-arch.efi
    $ cp /boot/initramfs-linux.img /boot/efi/EFI/arch/initramfs-arch.img
    $ cp /boot/initramfs-linux-fallback.img to /boot/efi/EFI/arch/initramfs-arch-fallback.img
    # create /boot/efi/EFI/arch/refind_linux.conf as instructed with the UUID of sda2
    $ echo “archy” >> /etc/hostname
    $ ln -s /usr/share/zoneinfo/America/New_York /etc/localtime
    $ echo “America/New_York” >> /etc/timezone
    $ vi /etc/locale.gen
        /#en_US and uncomment
    $ locale-gen
    $ hwclock --systohc --utc
    $ echo “KEYMAP=us” >> /etc/vconsole.conf
    $ passwd root
    $ exit
    $ umount /mnt/boot/efi
    $ umount /mnt
    $ reboot
    When I reboot rEFInd does not show the arch partition, but if I boot holding option to bring up the built in partition selection and select the efi partition, rEFInd loads showing the arch linux partition.  At this point it loads and gets stuck displaying:
    Error: device '' not found.  Skipping fsck
    Error: Unable to find root device ''.
    You are being dropped to a recovery shell
        Type 'exit' to try and continue booting
    sh: cant access tty; job control turned off
    [rootfs /]#
    I've tried mounting /dev/sda and I simply presents the same error again.
    I can confirm the default kernel has EFI_STUB enable as:
    $ zcat /proc/config.gz | grep EFI_STUB
    displays:
    CONFIG_EFI_STUB=y
    Any help would be greatly appreciated.  I have refined installed on the SSD with OSX and most guides have it installed on the EFI partition with Arch.  Is there a different approach I should be taking to set this up with two disks? Thanks.

    So, I really don't want to hijack this thread, but seeing that I've now 'repaired' my system from the damage mentioned before, I feel I should.
    @WonderWoofy:
    Well, I very much doubt that this was an issue with my firmware, my reasoning being that it quite simply did not change, the arch-packages however did, quite invasively I may add.
    To clarify,
    linux (3.6.2-1 -> 3.6.4-1) was the update that broke my systen boot for me.
    linux (3.6.4-1 -> 3.6.6-1) since today has again fixed it.
    My custom kernel was just vanilla 3.6.0.
    So what I did to repair, was to boot up using a live-cd and after discovering I still had my custom-built kernel I copied it back to my EFI-partition, and guess what, it no longer booted!!
    to be more precise, it booted, but no display, and after my hdd seemed to have settled, unresponsive/frozen system, hard-reset the only option. The stock kernel(3.6.4-1) never did boot, just froze immediately on load(I could still see the efi-shell).
    So, I figured it must be systemd`s fault (because its responsible for loading my system and it was probably no longer working properly with the older kernel version + udev).
    My solution was to boot using an older arch-installation cd (in bios-mode!!! again efimode broken) and chroot, update the system, and for now it seems to work again.
    So I restate, that arch+efi can be quite unstable at times, even though it could well be my 'luck' to have multiple issues all at once.
    To round this off, and maybe benefit the OP, I thought I'd clarify my setup.
    I have a single disk, gpt formatted. It holds 7 partitions:
    /dev/sda1 -> EFI
    /dev/sda2 -> MSRESERVE
    /dev/sda3 -> WINDOWS
    /dev/sda4 -> DATA
    /dev/sda5 -> LINUX
    /dev/sda6 -> HOME
    /dev/sda7 -> SWAP
    Note, I do not have a separate boot partition.
    My LINUX partition is laid out in the following way:
    /boot -> contains the stock vmlinuz-linux and initramfs-linux.img
    /boot/efi -> mountpoint for the EFI partition
    fstab entry:
    /dev/sda1 /boot/efi vfat rw,noexec,fmask=0113,dmask=0022 0 0
    When mounted in such a way, /boot/efi contains:
    ls -l /boot/efi/ ->
    drwxr-xr-x 8 root root 2.0K Nov 20 14:29 EFI/
    ls -l /boot/efi/EFI/ ->
    drwxr-xr-x 2 root root 2.0K Nov 20 14:30 arch/
    drwxr-xr-x 2 root root 2.0K Nov 20 14:30 archmy/
    drwxr-xr-x 2 root root 2.0K Jun 15 19:41 Boot/
    drwxr-xr-x 3 root root 2.0K Jun 15 19:25 Microsoft/
    drwxr-xr-x 4 root root 2.0K Aug 9 14:48 refind/
    drwxr-xr-x 2 root root 2.0K Aug 9 15:09 tools/
    Now of interest are the /boot/efi/EFI/refind/ and /boot/efi/EFI/arch folders.
    Notice the /boot/efi/EFI/archmy folder is for my custom kernel mentioned above.
    Separate folders are one way to use refind's auto-detection mechanism (hence no need to mess with manual boot stanzas) and not have the arch-specific problem of unversioned kernel files.
    So /boot/efi/EFI/arch contains:
    -rw-rw-r-- 1 root root 13M Nov 21 13:08 initramfs-linux-fallback.img
    -rw-rw-r-- 1 root root 4.0M Nov 21 13:08 initramfs-linux.img
    -rw-rw-r-- 1 root root 200 Nov 20 14:14 refind_linux.conf
    -rw-rw-r-- 1 root root 3.4M Nov 21 13:08 vmlinuz-linux.efi
    and /boot/efi/EFI/refind contains:
    drwxr-xr-x 2 root root 2.0K Aug 9 14:48 drivers_x64/
    drwxr-xr-x 2 root root 4.0K Aug 9 14:48 icons/
    -rw-rw-r-- 1 root root 12K Nov 20 14:14 refind.conf
    -rw-rw-r-- 1 root root 137K Jun 23 23:26 refind_x64.efi
    The two important configuration files are /boot/efi/EFI/arch/refind_linux.conf:
    "Boot with Default Options" "root=/dev/sda5 ro rootfstype=ext4 add_efi_memmap"
    "Boot with More Options" "root=/dev/sda5 ro rootfstype=ext4 add_efi_memmap radeon.modeset=1 iommu=pt radeon.pcie_gen2=1"
    In this case I have two seperate kernel-cmd lines, each with different options. I can select which to use, by selecting the 'kernel-entry' I want when refind loads up(each directory, arch/ and archmy/ are a seperate icon)
    and pressing'+'. A menu will appear which will show both those lines and I can choose the one I want. This can also be handy when wanting to boot with debugging options.
    For instance, the 'radeon-options' are specific to my hw-setup.
    Notice that there is no mention of which initramfs file to use, this is handled by refind automatically, BUT can be wonky if not separating kernel versions properly!!!
    The only required option is 'root=/dev/sda5' which obviously points at my root partition. (in this case /dev/sda5 -> LINUX)
    And /boot/efi/EFI/refind/refind.conf:
    timeout 7
    hideui banner,label
    #icons_dir myicons
    #banner hostname.bmp
    #selection_big selection-big.bmp
    #selection_small selection-small.bmp
    #textonly
    #resolution 1024 768
    use_graphics_for osx,windows
    #showtools shell, about, reboot
    #scan_driver_dirs EFI/tools/drivers,drivers
    #scanfor internal,external,optical
    #also_scan_dirs boot,EFI/linux/kernels
    dont_scan_dirs EFI/boot
    #scan_all_linux_kernels
    #max_tags 0
    #default_selection 1
    These are just the configuration options I have set/unset. Note that some of the commented-out options are still in use, they are just the defaults.
    This gives me automatic kernel detection (as long as properly separating things!) and at least when the image itself is working, results in a boot-able system

  • Can you select the row in a table view without highlighting the cell?

    I have an an app with a table view which is presented modally. Cell selections in this table are saved in the parent controller so that they can be reselected if the table is reloaded after being dismissed.
    When the cell is first highlighted, I want to momentarily highlight the cell and have it fade out, which I do by unselecting the cell from the modal view controller's didSelectRowAtIndexPath by calling setSelected:animated on the table view cell.
    However, when I present the table view controller modally again and want to display the previously selected cell as selected, I don't want the cell background to be highlighted, and I'm having trouble doing this.
    In order to make sure the table view knows the cell is selected, I am calling selectRowAtIndexPath. I need to make sure the cell is selected so that I can set/unset the cell's accessoryType. However, this has the sideeffect of highlighting the cell too, which looks weird and confusing to the user.
    I've tried things like temporarily setting the cell's selection style to none, but while that stops the cell background from highlighting? I've tried setting the selectionStyle to UITableViewSelectionStyleNone, but while this prevents the cell background from highlighting, the cell text still changes to white, so it the text is invisible against the white background.
    Is there a easy way of setting a cell to selected in the table view without also changing the highlight and text colour of the actual cell? Immediately setting the cell to be unselected still makes the highlight visible for a split second.

    I tried that, but setting the highlighted property doesn't seem to affect it.
    I figured out how what I was doing wrong though. I was setting selection style UITableViewSelectionStyleNone, selecting the cell, then setting the selection style back to whatever it had previously been. This causes the background not to draw highlighted, but the text and accessory type to still draw highlighted.
    In order to fix this, I moved the code to set the cell selection style to whatever it had previously been to the didDeselectRowAtIndexPath method.

  • Why are pdfs so much larger with Mac than a pc?

    I have a MacBook Pro and I use the "save as" feature to create pdfs. These are much, much larger than when I used a pc. In fact, most times they are 2-3x the KB of the orginal document. How can I fix this?
    Debbie

    They arent.....you just have your settings set DIFFERENT on you MAC......I work with  Acrobat PDF creation everyday...., and make pdf every day on both Mac and Windows..
    .......10 scanned books created in Acrobat for creation is the same as Win Acrobat pdf creation.
    Check your pdf settings, optimization settings, dpi settings (for scans)
    Make sure youre saving them as the same kind of PDF, there are ....>
    archival PDF (pdf-a)
    pdf-x
    pdf-e
    and other PDF embedding. Embedded fonts set/unset in default.

  • MSPT/MACM status at network header - Missing Parts

    I have a query with regards to how the MSPT(missing parts) status is set/unset at the network header level.
    My question is why is the Missing Part status set to INACTIVE at the Network Header level when several components have the Missing Part indicator set.
    The MACM status is set as ACTIVE instead at the network header level.

    Dear Chandra shekar,
    check for the production order type and plant combination in OPJK for business function 1 - material availability check during order
    creation for the check box - check material availability during order creation and likewise for business function 2 - material
    availability during order release and the setting for release material .
    Kindly make the required setting after discussing with your PP consultant and go ahead.
    Regards
    Mangalraj.S

  • Error while trying to retrieve text for error ORA-12705

    I am getting the message "Error while trying to retrieve text for error ORA-12705" when trying to connect to a remote oracle database on the network.
    I can access this database using:
    sqlplus username/password@database
    from a dos prompt.
    For some reason I can't connect when using PHP (through my local Apache2 server on Windows XP).
    'phpinfo' says oracle in enabled (installed as per: http://www.oracle.com/technology/pub/notes/technote_php_instant.html), so I'm pretty sure the problem isn't with php itself.
    My guess is it's something with Apache, and maybe environment variables or user permissions or instantclient (10).
    All the folders, from instantclient to the Apache server have full permissions set for "Everyone" which I would assume includes this mysterious "nobody" user I've read about.
    As for instantclient, I have placed that "tnsnames.ora" file from the oracle server there, and that hasn't changed much.
    I've tried setting, unsetting, editing (environment variables):
    LD_LIBRARY_PATH
    ORACLE_HOME
    ORACLE_SID
    TNS_ADMIN
    NLS_LANG
    ORA_NLS33
    in both the system environment, and even with PHP's "putenv" function. (Note: and restarting each time I changed a system var.)
    In PHP i'm using:
    $c = oci_connect("username","pasword", "database")
    I've tried OCILogon instead of oci_connect
    For "database" I've tried:
    - using the path to the oracle db: //Oracle1/e/oracle/ora81
    - mapping the path to x: drive and using: x:/oracle/ora81
    - using the name of the database by itself
    - using the name of the database underscored with the database name
    - using "(ADDRESS=(PROTOCOL=TCP)(HOST = host)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=database)))"
    I have tried everything I can find from:
    the Oracle installation page: http://www.oracle.com/technology/pub/notes/technote_php_instant.html
    the Oracle troubleshooting page: http://www.oracle.com/technology/tech/php/htdocs/php_troubleshooting_faq.html#connect
    and these forumswith no results, just the same error.
    I have also spent about 16 hours Googling for help, and nothing.
    Can someone please tell me, what exactly does a user using:
    Windows XP
    Apache 2
    PHP
    intantclient10
    Oracle 8i (on a remote server)
    need to do to connect to Oracle before jumping off a bridge?

    Turns out Oracle was previously installed on this company laptop :(
    I deleted any 'Oracle' mention in the registry with 'regedit' (from the command line) using the Find option. Not sure if it's always a good idea to do that, but I backed up the important stuff first anyway.
    I uninstalled and reinstalled everything using the same guide mentioned above, and then it worked.
    Now I can be friends with Oracle again.
    Would be nice if the "Deinstall" removed the registry entries that caused this issue...

  • Sharing network problem - again

    Hi, i hoped to avoid posting this problem, but i just can't get internet sharing working!
    My setup is this: I have a PC connected directly to a adsl-modem via a netcard, and via a second netcard (and a crossed cable) i have a second PC connected to the first, both are running Archlinux, the first is up to date, but the second is 0.6 (since i can't update...).
    The 2 PC's have no problems communicating, ping and ssh is working perfectly both ways.
    To share the connection, i have this in the rc.conf:
    The one connected to the modem:
    lo="lo 127.0.0.1"
    eth0="dhcp"
    eth1="eth1 192.168.1.1 netmask 255.255.255.0 broadcast 192.168.1.255"
    INTERFACES="lo eth0 eth1"
    # Routes to start at boot-up (in this order)
    # Declare each route then list in ROUTES
    # (prefix a route in ROUTES with a ! to disable it)
    gateway="default gw 192.168.0.1"
    ROUTES=(!gateway)
    The one needing the connection:
    lo="lo 127.0.0.1"
    eth0="eth0 192.168.1.2 netmask 255.255.255.0 broadcast 192.168.1.255"
    #eth0="dhcp"
    INTERFACES=(lo eth0)
    # Routes to start at boot-up (in this order)
    # Declare each route then list in ROUTES
    # (prefix a route in ROUTES with a ! to disable it)
    gateway="default gw 192.168.1.1"
    ROUTES=(gateway)
    And i have this "firewall" installed on the one connected to the internet:
    #!/bin/sh
    # rc.firewall-2.4
    FWVER=0.75
    # Initial SIMPLE IP Masquerade test for 2.4.x kernels
    # using IPTABLES.
    # Once IP Masquerading has been tested, with this simple
    # ruleset, it is highly recommended to use a stronger
    # IPTABLES ruleset either given later in this HOWTO or
    # from another reputable resource.
    # Log:
    # 0.75 - Added more kernel modules to the comments section
    # 0.74 - the ruleset now uses modprobe vs. insmod
    # 0.73 - REJECT is not a legal policy yet; back to DROP
    # 0.72 - Changed the default block behavior to REJECT not DROP
    # 0.71 - Added clarification that PPPoE users need to use
    # "ppp0" instead of "eth0" for their external interface
    # 0.70 - Added commented option for IRC nat module
    # - Added additional use of environment variables
    # - Added additional formatting
    # 0.63 - Added support for the IRC IPTABLES module
    # 0.62 - Fixed a typo on the MASQ enable line that used eth0
    # instead of $EXTIF
    # 0.61 - Changed the firewall to use variables for the internal
    # and external interfaces.
    # 0.60 - 0.50 had a mistake where the ruleset had a rule to DROP
    # all forwarded packets but it didn't have a rule to ACCEPT
    # any packets to be forwarded either
    # - Load the ip_nat_ftp and ip_conntrack_ftp modules by default
    # 0.50 - Initial draft
    echo -e "nnLoading simple rc.firewall version $FWVER..n"
    # The location of the iptables and kernel module programs
    # If your Linux distribution came with a copy of iptables,
    # most likely all the programs will be located in /sbin. If
    # you manually compiled iptables, the default location will
    # be in /usr/local/sbin
    # ** Please use the "whereis iptables" command to figure out
    # ** where your copy is and change the path below to reflect
    # ** your setup
    #IPTABLES=/sbin/iptables
    IPTABLES=/usr/sbin/iptables
    DEPMOD=/sbin/depmod
    MODPROBE=/sbin/modprobe
    #Setting the EXTERNAL and INTERNAL interfaces for the network
    # Each IP Masquerade network needs to have at least one
    # external and one internal network. The external network
    # is where the natting will occur and the internal network
    # should preferably be addressed with a RFC1918 private address
    # scheme.
    # For this example, "eth0" is external and "eth1" is internal"
    # NOTE: If this doesnt EXACTLY fit your configuration, you must
    # change the EXTIF or INTIF variables above. For example:
    # If you are a PPPoE or analog modem user:
    # EXTIF="ppp0"
    EXTIF="eth0"
    INTIF="eth1"
    echo " External Interface: $EXTIF"
    echo " Internal Interface: $INTIF"
    #======================================================================
    #== No editing beyond this line is required for initial MASQ testing ==
    echo -en " loading modules: "
    # Need to verify that all modules have all required dependencies
    echo " - Verifying that all kernel modules are ok"
    $DEPMOD -a
    # With the new IPTABLES code, the core MASQ functionality is now either
    # modular or compiled into the kernel. This HOWTO shows ALL IPTABLES
    # options as MODULES. If your kernel is compiled correctly, there is
    # NO need to load the kernel modules manually.
    # NOTE: The following items are listed ONLY for informational reasons.
    # There is no reason to manual load these modules unless your
    # kernel is either mis-configured or you intentionally disabled
    # the kernel module autoloader.
    # Upon the commands of starting up IP Masq on the server, the
    # following kernel modules will be automatically loaded:
    # NOTE: Only load the IP MASQ modules you need. All current IP MASQ
    # modules are shown below but are commented out from loading.
    # ===============================================================
    echo "----------------------------------------------------------------------"
    #Load the main body of the IPTABLES module - "iptable"
    # - Loaded automatically when the "iptables" command is invoked
    # - Loaded manually to clean up kernel auto-loading timing issues
    echo -en "ip_tables, "
    $MODPROBE ip_tables
    #Load the IPTABLES filtering module - "iptable_filter"
    # - Loaded automatically when filter policies are activated
    #Load the stateful connection tracking framework - "ip_conntrack"
    # The conntrack module in itself does nothing without other specific
    # conntrack modules being loaded afterwards such as the "ip_conntrack_ftp"
    # module
    # - This module is loaded automatically when MASQ functionality is
    # enabled
    # - Loaded manually to clean up kernel auto-loading timing issues
    echo -en "ip_conntrack, "
    $MODPROBE ip_conntrack
    #Load the FTP tracking mechanism for full FTP tracking
    # Enabled by default -- insert a "#" on the next line to deactivate
    echo -en "ip_conntrack_ftp, "
    $MODPROBE ip_conntrack_ftp
    #Load the IRC tracking mechanism for full IRC tracking
    # Enabled by default -- insert a "#" on the next line to deactivate
    echo -en "ip_conntrack_irc, "
    $MODPROBE ip_conntrack_irc
    #Load the general IPTABLES NAT code - "iptable_nat"
    # - Loaded automatically when MASQ functionality is turned on
    # - Loaded manually to clean up kernel auto-loading timing issues
    echo -en "iptable_nat, "
    $MODPROBE iptable_nat
    #Loads the FTP NAT functionality into the core IPTABLES code
    # Required to support non-PASV FTP.
    # Enabled by default -- insert a "#" on the next line to deactivate
    echo -en "ip_nat_ftp, "
    $MODPROBE ip_nat_ftp
    #Loads the IRC NAT functionality into the core IPTABLES code
    # Required to support NAT of IRC DCC requests
    # Disabled by default -- remove the "#" on the next line to activate
    #echo -e "ip_nat_irc"
    #$MODPROBE ip_nat_irc
    echo "----------------------------------------------------------------------"
    # Just to be complete, here is a partial list of some of the other
    # IPTABLES kernel modules and their function. Please note that most
    # of these modules (the ipt ones) are automatically loaded by the
    # master kernel module for proper operation and don't need to be
    # manually loaded.
    # ip_nat_snmp_basic - this module allows for proper NATing of some
    # SNMP traffic
    # iptable_mangle - this target allows for packets to be
    # manipulated for things like the TCPMSS
    # option, etc.
    # ipt_mark - this target marks a given packet for future action.
    # This automatically loads the ipt_MARK module
    # ipt_tcpmss - this target allows to manipulate the TCP MSS
    # option for braindead remote firewalls.
    # This automatically loads the ipt_TCPMSS module
    # ipt_limit - this target allows for packets to be limited to
    # to many hits per sec/min/hr
    # ipt_multiport - this match allows for targets within a range
    # of port numbers vs. listing each port individually
    # ipt_state - this match allows to catch packets with various
    # IP and TCP flags set/unset
    # ipt_unclean - this match allows to catch packets that have invalid
    # IP/TCP flags set
    # iptable_filter - this module allows for packets to be DROPped,
    # REJECTed, or LOGged. This module automatically
    # loads the following modules:
    # ipt_LOG - this target allows for packets to be
    # logged
    # ipt_REJECT - this target DROPs the packet and returns
    # a configurable ICMP packet back to the
    # sender.
    echo -e " Done loading modules.n"
    #CRITICAL: Enable IP forwarding since it is disabled by default since
    # Redhat Users: you may try changing the options in
    # /etc/sysconfig/network from:
    # FORWARD_IPV4=false
    # to
    # FORWARD_IPV4=true
    echo " Enabling forwarding.."
    echo "1" > /proc/sys/net/ipv4/ip_forward
    # Dynamic IP users:
    # If you get your IP address dynamically from SLIP, PPP, or DHCP,
    # enable this following option. This enables dynamic-address hacking
    # which makes the life with Diald and similar programs much easier.
    echo " Enabling DynamicAddr.."
    echo "1" > /proc/sys/net/ipv4/ip_dynaddr
    # Enable simple IP forwarding and Masquerading
    # NOTE: In IPTABLES speak, IP Masquerading is a form of SourceNAT or SNAT.
    # NOTE #2: The following is an example for an internal LAN address in the
    # 192.168.0.x network with a 255.255.255.0 or a "24" bit subnet mask
    # connecting to the Internet on external interface "eth0". This
    # example will MASQ internal traffic out to the Internet but not
    # allow non-initiated traffic into your internal network.
    # ** Please change the above network numbers, subnet mask, and your
    # *** Internet connection interface name to match your setup
    #Clearing any previous configuration
    # Unless specified, the defaults for INPUT and OUTPUT is ACCEPT
    # The default for FORWARD is DROP (REJECT is not a valid policy)
    echo " Clearing any existing rules and setting default policy.."
    $IPTABLES -P INPUT ACCEPT
    $IPTABLES -F INPUT
    $IPTABLES -P OUTPUT ACCEPT
    $IPTABLES -F OUTPUT
    $IPTABLES -P FORWARD DROP
    $IPTABLES -F FORWARD
    $IPTABLES -t nat -F
    echo " FWD: Allow all connections OUT and only existing and related ones IN"
    $IPTABLES -A FORWARD -i $EXTIF -o $INTIF -m state --state ESTABLISHED,RELATED -j ACCEPT
    $IPTABLES -A FORWARD -i $INTIF -o $EXTIF -j ACCEPT
    $IPTABLES -A FORWARD -j LOG
    echo " Enabling SNAT (MASQUERADE) functionality on $EXTIF"
    $IPTABLES -t nat -A POSTROUTING -o $EXTIF -j MASQUERADE
    echo -e "nrc.firewall-2.4 v$FWVER done.n"
    And to start it:
    #!/bin/sh
    # chkconfig: 2345 11 89
    # description: Loads the rc.firewall-2.4 ruleset.
    # processname: firewall-2.4
    # pidfile: /var/run/firewall.pid
    # config: /etc/rc.d/rc.firewall-2.4
    # probe: true
    # v05/24/03
    # Part of the copyrighted and trademarked TrinityOS document.
    # http://www.ecst.csuchico.edu/~dranch
    # Written and Maintained by David A. Ranch
    # [email protected]
    # Updates
    # 05/24/03 - removed a old networking up check that had some
    # improper SGML ampersand conversions.
    # Source function library.
    . /etc/rc.d/functions
    # Check that networking is up.
    [ "XXXX${NETWORKING}" = "XXXXno" ] && exit 0
    [ -x /sbin/ifconfig ] || exit 0
    # The location of various iptables and other shell programs
    # If your Linux distribution came with a copy of iptables, most
    # likely it is located in /sbin. If you manually compiled
    # iptables, the default location is in /usr/local/sbin
    # ** Please use the "whereis iptables" command to figure out
    # ** where your copy is and change the path below to reflect
    # ** your setup
    IPTABLES=/usr/sbin/iptables
    # See how we were called.
    case "$1" in
    start)
    /etc/rc.firewall-2.4
    stop)
    echo -e "nFlushing firewall and setting default policies to DROPn"
    $IPTABLES -P INPUT DROP
    $IPTABLES -F INPUT
    $IPTABLES -P OUTPUT DROP
    $IPTABLES -F OUTPUT
    $IPTABLES -P FORWARD DROP
    $IPTABLES -F FORWARD
    $IPTABLES -F -t nat
    # Delete all User-specified chains
    $IPTABLES -X
    # Reset all IPTABLES counters
    $IPTABLES -Z
    restart)
    $0 stop
    $0 start
    status)
    $IPTABLES -L
    mlist)
    cat /proc/net/ip_conntrack
    echo "Usage: firewall-2.4 {start|stop|status|mlist}"
    exit 1
    esac
    exit 0
    But it just won't work! If you can spot any problems please let me know!
    UPDATE:
    Just talked to my ISP, and they tell me that my IP-adress is locked to one PC. Could this be the problem? or does the forwarding handles this as well?

    Hey tgc, thank you for posting your problem so generously explained!
    I had no idea of how to do it, and I only had to change a small obvious typo to make it work. At least I suppose the typo is the reason for your sharing not to work....
    Lets see...did you change the
    eth0="eth0 192.168.1.2 netmask 255.255.255.0 broadcast 192.168.0.255"
    to
    eth0="eth0 192.168.1.2 netmask 255.255.255.0 broadcast 192.168.1.255"
    just now? I'm sure I had to change that, but I have a strange memory
    So, the way the configuraton looks now, works perfectly for sharing my isdn connection with my laptop over wlan.
    Desktop: isdn, eth0 -> wireless router / hub
    Laptop: wlan0
    So, what I'm saying anyway, is that your configuration works for me Thanks!

  • PO under Confirm Goods Receipt/Services Performed

    Hi Gurus,
    We are currently under SRM5.0 using classic scenario. Last year we had our technical upgrade from SP4 to SP12.
    The scenario is that a requestor did the PO confirmation per line item level and has been approved and posted backend. However, he can still view the PO under Confirm Goods Receipt/Services Performed screen. He then tried to create another confirmation but this time warning message "PO XXXXXX contains no items for confirmation" occured while creating confirmation.
    Before the upgrade, requestor is claiming that once confirmation has been approved, they will no longer see the PO under Confirm Goods Receipt/Services Performed screen since no more action is required on their part.
    Kindly advise if the behaviour is due to the recent upgrade from SP4 to SP12.
    Thanks.
    Jho Sotoya

    Hello Joanna Marie,
    Some points to check (if not done):
    - is method BBP_WF_LIST from BAdI BBP_WF_LIST implemented ?
    - are PO items concerned have flag "No further confirmations expected" set or not (i think it is set because you have pop-up error message),
    -  is parameter 'Delivery Completed Ind. not set' unset for report BBP_GET_STATUS_2 ?
    Regards.
    Laurent.

  • Lauching JNLP through Javascript gives viewRoot null exception

    Hi All,
    I have a requirement where I am creating jnlp file dynamically at runtime and launch it with Java web start.
    I used the java script to do this.
    here is the sample code:here is the jsff page code:
    <ui:composition xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
                    xmlns:f="http://java.sun.com/jsf/core" xmlns:c="http://java.sun.com/jsp/jstl/core"
                    xmlns:cht="/oracle/hsgbu/trc/cohortcommon/ui/component">              
          <script type="text/javascript;version=1.8" xmlns="http://www.w3.org/1999/xhtml">
              function callappRequest(port, dataUrl, genomeID, mergeFlag, locusString, trackName) {
              alert('first');
                 alert('2nd'+port +dataUrl);            
              appRequest(port, dataUrl, genomeID, mergeFlag, locusString, trackName,jnlpLocation);
              alert('3rd');
        </script> 
       <af:resource type="javascript" source="/javascript/westart.js"/>
    <af:outputText value="File to launch IGV" id="ot4"/>
                            <af:spacer width="10" height="10" id="s24"/>
                        <af:commandButton text="View the file In IGV browser" id="cb3"
                                          action="#{pageFlowScope.managedBeanBean.openIGVBrwoser}"/>
                    </af:panelGroupLayout>
    </ui:composition>
    java code to call the javaScript for launching the jnlp file:
    public String openIGVBrwoser() {
    try {
    File dataUrl = new File("D://user//test//test1.vcf");
    FacesContext fctx = FacesContext.getCurrentInstance();
    ExtendedRenderKitService erks = null;
    erks =org.apache.myfaces.trinidad.util.Service.getRenderKitService(fctx, ExtendedRenderKitService.class);
                      FacesContext fctx = FacesContext.getCurrentInstance();
                      ExtendedRenderKitService erks = null;
                      erks =
                      org.apache.myfaces.trinidad.util.Service.getRenderKitService(fctx, ExtendedRenderKitService.class);
                      String  genomeID = "";
                      String mergeFlag = "";
                      String locusString = "";
                      String trackName = "";
                      String port = "60151";
                      URL dataUrl = vcfFile.toURL();
                      System.out.println("------dataUrl------"+dataUrl.getPath());
                      //System.out.println("----fileurl---------"+jnlpLocation);
                      erks.addScript(fctx,"callappRequest("+port+",'" + dataUrl.getPath() + "','"+genomeID+"','"+mergeFlag+"','"+locusString+"','"+trackName+"');");
                      System.out.println("------- end ------------"+vcfFile);
            } catch (IOException ioe) {
                      // TODO: Add catch code
                      ioe.printStackTrace();
    when I run the page by inserting it in jspx . on pageloading I am getting the following error
    StyleContextImpl> <isDisableStyleCompression> Your environment is configured as production and Apache Trinidad is running with uncompressed CSS. See the "org.apache.myfaces.trinidad.DISABLE_CONTENT_COMPRESSION" parameter in /WEB-INF/web.xml
    <SkinImpl> <_isDisableContentCompressionParameterTrue> Your environment is configured as production and Apache Trinidad is running with uncompressed CSS. See the "org.apache.myfaces.trinidad.DISABLE_CONTENT_COMPRESSION" parameter in /WEB-INF/web.xml
    <StateManagerImpl> <restoreView> Could not find saved view state for token sm6fdj1z7
    <RichExceptionHandler> <_logUnhandledException> ADF_FACES-60098:Faces lifecycle receives unhandled exceptions in phase RESTORE_VIEW 1
    java.lang.NullPointerException
        at oracle.adfinternal.view.faces.context.RichPhaseListener.handleStartAndStopActiveData(RichPhaseListener.java:478)
        at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:487)
        at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:202)
        at javax.faces.webapp.FacesServlet.service(FacesServlet.java:508)
        at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
        at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
        at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
        at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
        at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:173)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
        at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:125)
        at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
        at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
        at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
        at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:293)
        at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:199)
        at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
        at oracle.hsgbu.trc.shell.ui.filters.TRCAuthenticationFilter.doFilter(TRCAuthenticationFilter.java:46)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
        at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:180)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
        at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
        at java.security.AccessController.doPrivileged(Native Method)
        at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
        at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
        at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
        at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
        at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
        at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
        at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
        at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
        at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
        at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
        at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
        at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
        at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
        at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
        at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
        at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    <RichExceptionHandler> <_reportFailureForMissingViewRoot> ADF_FACES-30179:For more information, please see the server's error log for an entry beginning with: The UIViewRoot is null. Fatal exception during PhaseId: RESTORE_VIEW 1.
    java.lang.NullPointerException
        at oracle.adfinternal.view.faces.context.RichPhaseListener.handleStartAndStopActiveData(RichPhaseListener.java:478)
        at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:487)
        at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:202)
        at javax.faces.webapp.FacesServlet.service(FacesServlet.java:508)
        at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
        at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
        at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
        at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
        at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:173)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
        at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:125)
        at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
        at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
        at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
        at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:293)
        at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:199)
        at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
        at oracle.hsgbu.trc.shell.ui.filters.TRCAuthenticationFilter.doFilter(TRCAuthenticationFilter.java:46)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
        at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:180)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
        at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
        at java.security.AccessController.doPrivileged(Native Method)
        at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
        at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
        at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
        at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
        at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
        at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
        at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
        at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
        at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
        at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
        at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
        at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
        at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
        at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
        at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
        at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    <XmlHttpServletResponse> <_logException>
    javax.servlet.ServletException: ADF_FACES-60101:HTTP Error Status Code: 500."
        at oracle.adfinternal.view.faces.config.rich.XmlHttpServletResponse._logException(XmlHttpServletResponse.java:140)
        at oracle.adfinternal.view.faces.config.rich.XmlHttpServletResponse.sendError(XmlHttpServletResponse.java:106)
        at com.sun.faces.context.ExternalContextImpl.responseSendError(ExternalContextImpl.java:835)
        at javax.faces.context.ExternalContextWrapper.responseSendError(ExternalContextWrapper.java:789)
        at javax.faces.context.ExternalContextWrapper.responseSendError(ExternalContextWrapper.java:789)
        at javax.faces.context.ExternalContextWrapper.responseSendError(ExternalContextWrapper.java:789)
        at javax.faces.context.ExternalContextWrapper.responseSendError(ExternalContextWrapper.java:789)
        at javax.faces.context.ExternalContextWrapper.responseSendError(ExternalContextWrapper.java:789)
        at oracle.adfinternal.view.faces.context.RichExceptionHandler._reportFailureForMissingViewRoot(RichExceptionHandler.java:305)
        at oracle.adfinternal.view.faces.context.RichExceptionHandler._handleMissingViewRoot(RichExceptionHandler.java:287)
        at oracle.adfinternal.view.faces.context.RichExceptionHandler._invokeRichExceptionHandling(RichExceptionHandler.java:243)
        at oracle.adfinternal.view.faces.context.RichExceptionHandler._handleUnexpectedException(RichExceptionHandler.java:178)
        at oracle.adfinternal.view.faces.context.RichExceptionHandler._handleException(RichExceptionHandler.java:128)
        at oracle.adfinternal.view.faces.context.RichExceptionHandler._handleNextEvent(RichExceptionHandler.java:113)
        at oracle.adfinternal.view.faces.context.RichExceptionHandler.handle(RichExceptionHandler.java:98)
        at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:210)
        at javax.faces.webapp.FacesServlet.service(FacesServlet.java:508)
        at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
        at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
        at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
        at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
        at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:173)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
        at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:125)
        at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
        at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
        at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
        at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:293)
        at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:199)
        at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
        at oracle.hsgbu.trc.shell.ui.filters.TRCAuthenticationFilter.doFilter(TRCAuthenticationFilter.java:46)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
        at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:180)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
        at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
        at java.security.AccessController.doPrivileged(Native Method)
        at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
        at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
        at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
        at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
        at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
        at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
        at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
        at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
        at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
        at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
        at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
        at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
        at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
        at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
        at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
        at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    <StateManagerImpl> <restoreView> Could not find saved view state for token sm6fdj1z7
    <RichExceptionHandler> <_logUnhandledException> ADF_FACES-60098:Faces lifecycle receives unhandled exceptions in phase RESTORE_VIEW 1
    java.lang.NullPointerException
        at oracle.adfinternal.view.faces.context.RichPhaseListener.handleStartAndStopActiveData(RichPhaseListener.java:478)
        at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:487)
        at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:202)
        at javax.faces.webapp.FacesServlet.service(FacesServlet.java:508)
        at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
        at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
        at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
        at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
        at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:173)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
        at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:125)
        at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
        at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
        at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
        at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:293)
        at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:199)
        at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
        at oracle.hsgbu.trc.shell.ui.filters.TRCAuthenticationFilter.doFilter(TRCAuthenticationFilter.java:46)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
        at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:180)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
        at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
        at java.security.AccessController.doPrivileged(Native Method)
        at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
        at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
        at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
        at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
        at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
        at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
        at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
        at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
        at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
        at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
        at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
        at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
        at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
        at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
        at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
        at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    <RichExceptionHandler> <_reportFailureForMissingViewRoot> ADF_FACES-30179:For more information, please see the server's error log for an entry beginning with: The UIViewRoot is null. Fatal exception during PhaseId: RESTORE_VIEW 1.
    java.lang.NullPointerException
        at oracle.adfinternal.view.faces.context.RichPhaseListener.handleStartAndStopActiveData(RichPhaseListener.java:478)
        at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:487)
        at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:202)
        at javax.faces.webapp.FacesServlet.service(FacesServlet.java:508)
        at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
        at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
        at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
        at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
        at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:173)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
        at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:125)
        at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
        at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
        at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
        at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:293)
        at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:199)
        at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
        at oracle.hsgbu.trc.shell.ui.filters.TRCAuthenticationFilter.doFilter(TRCAuthenticationFilter.java:46)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
        at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:180)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
        at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
        at java.security.AccessController.doPrivileged(Native Method)
        at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
        at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
        at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
        at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
        at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
        at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
        at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
        at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
        at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
        at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
        at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
        at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
        at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
        at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
        at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
        at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    <XmlHttpServletResponse> <_logException>
    javax.servlet.ServletException: ADF_FACES-60101:HTTP Error Status Code: 500."
        at oracle.adfinternal.view.faces.config.rich.XmlHttpServletResponse._logException(XmlHttpServletResponse.java:140)
        at oracle.adfinternal.view.faces.config.rich.XmlHttpServletResponse.sendError(XmlHttpServletResponse.java:106)
        at com.sun.faces.context.ExternalContextImpl.responseSendError(ExternalContextImpl.java:835)
        at javax.faces.context.ExternalContextWrapper.responseSendError(ExternalContextWrapper.java:789)
        at javax.faces.context.ExternalContextWrapper.responseSendError(ExternalContextWrapper.java:789)
        at javax.faces.context.ExternalContextWrapper.responseSendError(ExternalContextWrapper.java:789)
        at javax.faces.context.ExternalContextWrapper.responseSendError(ExternalContextWrapper.java:789)
        at javax.faces.context.ExternalContextWrapper.responseSendError(ExternalContextWrapper.java:789)
        at oracle.adfinternal.view.faces.context.RichExceptionHandler._reportFailureForMissingViewRoot(RichExceptionHandler.java:305)
        at oracle.adfinternal.view.faces.context.RichExceptionHandler._handleMissingViewRoot(RichExceptionHandler.java:287)
        at oracle.adfinternal.view.faces.context.RichExceptionHandler._invokeRichExceptionHandling(RichExceptionHandler.java:243)
        at oracle.adfinternal.view.faces.context.RichExceptionHandler._handleUnexpectedException(RichExceptionHandler.java:178)
        at oracle.adfinternal.view.faces.context.RichExceptionHandler._handleException(RichExceptionHandler.java:128)
        at oracle.adfinternal.view.faces.context.RichExceptionHandler._handleNextEvent(RichExceptionHandler.java:113)
        at oracle.adfinternal.view.faces.context.RichExceptionHandler.handle(RichExceptionHandler.java:98)
        at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:210)
        at javax.faces.webapp.FacesServlet.service(FacesServlet.java:508)
        at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
        at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
        at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
        at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
        at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:173)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
        at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:125)
        at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
        at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
        at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
        at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:293)
        at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:199)
        at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
        at oracle.hsgbu.trc.shell.ui.filters.TRCAuthenticationFilter.doFilter(TRCAuthenticationFilter.java:46)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
        at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:180)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
        at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
        at java.security.AccessController.doPrivileged(Native Method)
        at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
        at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
        at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
        at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
        at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
        at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
        at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
        at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
        at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
        at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
        at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
        at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
        at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
        at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
        at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
        at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    <Jan 9, 2014 11:08:41 PM IST> <Critical> <Health> <BEA-310003> <Free memory in the server is 4,851,040 bytes. There is danger of OutOfMemoryError>
    <MetadataServiceImpl$Bootstrap> <add> ADFc: /META-INF/adfc-config.xml:
    <MetadataServiceImpl$Bootstrap> <add> ADFc: Duplicate managed bean definition for 'loginPageBean' detected.
    <StyleContextImpl> <isDisableStyleCompression> Your environment is configured as production and Apache Trinidad is running with uncompressed CSS. See the "org.apache.myfaces.trinidad.DISABLE_CONTENT_COMPRESSION" parameter in /WEB-INF/web.xml
    <SkinImpl> <_isDisableContentCompressionParameterTrue> Your environment is configured as production and Apache Trinidad is running with uncompressed CSS. See the "org.apache.myfaces.trinidad.DISABLE_CONTENT_COMPRESSION" parameter in /WEB-INF/web.xml
    <StyleContextImpl> <isDisableStyleCompression> Your environment is configured as production and Apache Trinidad is running with uncompressed CSS. See the "org.apache.myfaces.trinidad.DISABLE_CONTENT_COMPRESSION" parameter in /WEB-INF/web.xml
    <SkinImpl> <_isDisableContentCompressionParameterTrue> Your environment is configured as production and Apache Trinidad is running with uncompressed CSS. See the "org.apache.myfaces.trinidad.DISABLE_CONTENT_COMPRESSION" parameter in /WEB-INF/web.xml
    and here is the JavaScript:
    * Javascript library to communication with java webstart application
    // globals
    var SCRIPT_ELEMENT_ID = "igv";
    var timeoutVar; // used to set/unset timeout handlers
    var sessionURL; // the session (or data) url
    var genome; // the genome parameter
    var locus;  // the locus parameter
    var name;   // the name parameter
    var merge;
    * Function to determine webstart version - taken from sun site
    function webstartVersionCheck(versionString) {
        // Mozilla may not recognize new plugins without this refresh
        navigator.plugins.refresh(true);
        // First, determine if Web Start is available
        if (navigator.mimeTypes['application/x-java-jnlp-file']) {
            // Next, check for appropriate version family
            for (var i = 0; i < navigator.mimeTypes.length; ++i) {
                var pluginType = navigator.mimeTypes[i].type;
                if (pluginType == "application/x-java-applet;version=" + versionString) {
                    return true;
        return true;
    * Handler function to launch IGV via java web start.  This handler is scheduled in the appRequest() function, and
    * is canceled by the callBack() function called in the response to the "localhost" request.  If callBack() is not
    * invoked we conclude IGV is not running and launch it via Java WebStart.
    function timeoutHandler() {
        // construct webstart url
        var hostname = window.location.hostname;
        var port = window.location.port;
        if (port) {
            hostname += (":" + port);
       //  note: context_path is set in stylesAndScripts.jsp
         var webstart_url = "http://www.broadinstitute.org/igv/projects/current/igv.php";
        if (sessionURL) {
            webstart_url += "?sessionURL=" + sessionURL;
            if (genome) {
                webstart_url += "&genome=" + genome;
            if (locus) {
                webstart_url += "&locus=" + locus;
            if (name) {
                webstart_url += "&name=" + name;
            if (merge) {
                webstart_url += "&merge=" + merge;
         // window.open(webstart_url,"needdownload");
        // determine if webstart is available - code taken from sun site
        var userAgent = navigator.userAgent.toLowerCase();
        // user is running windows
        if (userAgent.indexOf("msie") != -1 && userAgent.indexOf("win") != -1) {
            document.write("<OBJECT " +
                "codeBase=http://java.sun.com/update/1.5.0/jinstall-1_5_0_05-windows-i586.cab " +
                "classid=clsid:5852F5ED-8BF4-11D4-A245-0080C6F74284 height=0 width=0>");
            document.write("<PARAM name=app VALUE=" + webstart_url + ">");
            document.write("<PARAM NAME=back VALUE=true>");
            // alternate html for browsers which cannot instantiate the object
            document.write("<A href=\"http://java.sun.com/j2se/1.5.0/download.html\">Download Java WebStart</A>");
            document.write("</OBJECT>");
         //user is not running windows
        else if (webstartVersionCheck("1.6")) {
            window.location = webstart_url;
        // user does not have jre installed or lacks appropriate version - direct them to sun download site
        else {
            window.open("http://jdl.sun.com/webapps/getjava/BrowserRedirect?locale=en&host=java.com",
                "needdownload");
    * This function is called by IGV in the response to the GET request to load the data.  It cancels the JNLP load.
    function callBack() {
        clearTimeout(timeoutVar);
    * Called to disable a link to the webstart.
    function disableLink(linkID) {
        var link = document.getElementById(linkID);
        if (link) {
            link.onclick = function() {
                return false;
            link.style.cursor = "default";
            link.style.color = "#000000";
    * This function is called from a link or button to load data into IGV.  First,  an attempt is made to load the
    * supplied data into a running IGV.  If this is not successful, as detected by a failure to cancel the timeoutHandler,
    * IGV is launched by JNLP.
    * The first 2 arguments are required.  Remaining arguments are optional but must appear in the prescribed order.
    * @param port -- the IGV port, typically 60151
    * @param dataUrl -- an http or ftp url to the data.
    * @param genomeID -- the genomeID,  e.g. hg18
    * @param mergeFlag -- flag to indicate if data should be merged with current IGV session, or should start a new session
    * @param locusString -- an IGV locus string, e.g. chr1:100,000-200,000  or EGFR.  See IGV doc for full details
    * @param trackName -- name for the track resulting from dataURL.  This only works for "single-track" formats, e.g. wig.
    function appRequest(port, dataUrl, genomeID, mergeFlag, locusString, trackName) {
        // be good and remove the previous cytoscape script element
        // although, based on debugging, i'm not sure this really does anything
        var oldScript = document.getElementById(SCRIPT_ELEMENT_ID);
        if (oldScript) {
            oldScript.parentNode.removeChild(oldScript);
        alert('in app request...'+port+dataUrl);
       var localURL = "http://127.0.0.1:" + port + "/load?callback=callBack();";
        sessionURL = dataUrl;
        genome = genomeID;
        locus = locusString;
        merge = mergeFlag;
        name = trackName;
        if(dataUrl != null) {
            localURL += "&file=" + dataUrl;
        if (genomeID != null) {
            localURL += "&genome=" + genomeID;
        if (locusString != null) {
            localURL += "&locus=" + locusString;
        if (mergeFlag != null) {
            localURL += "&merge=" + mergeFlag;
        if (trackName != null) {
            localURL += "&name=" + trackName;
         alert('local url'+localURL);
        // create new script
        var newScript = document.createElement("script");
        newScript.id = SCRIPT_ELEMENT_ID;
        newScript.setAttribute("type", "text/javascript");
        newScript.setAttribute("src", localURL);
        // add new script to document (head section)
        var head = document.getElementsByTagName("head")[0];
        head.appendChild(newScript);
         //disable link
        // we do this because some browsers
         //will not fetch data if the url has been fetched in the past
        disableLink("1");
        // set timeout - handler for when IGV is not running
        timeoutVar = setTimeout("timeoutHandler()");
    I am not getting why its getting veiwRoot null. even though the script still didn't get call.
    Please let me know where I'm making mistake.
    your suggestions are welcome.
    Thanks
    Ashwini

    Hi,
    the problem typically is when a navigation references a view that does not exist in JSF. I suggest to start from the JSPX page and then add more and more content to it until the error shows. This helps you to narrow the problem. I did not read the whole JavaScript you posted, but you should make sure it performs a proper redirect replacing the whole JSPX page and that the redirect does not include /faces/ in the path
    Frank

  • ALV problems, trying to click Back button, Filtering, download (Excel)

    Hi
    When I try to click Back button, Filtering or download (Excel) on ALV grid this dumps appear:
    Runtime Error          MOVE_TO_LIT_NOTALLOWED_NODATA
    Error analysis
        The program tried to assign a new value to the field "<L_BOX>" even though
        it is protected against changes.
        The following objects are protected:
        - Character or numeric literals
        - Constants (CONSTANTS)
        - Parameters of the category IMPORTING REFERENCE for functions
          and methods
        - Untyped field symbols to which a field has not yet been assigned
          using ASSIGN
        - TABLES parameters if the corresponding actual parameter is protected
          against changes
        - USING reference parameters and CHANGING parameters for FORMs if
          the actual parameter for this is protected against changes
        - Field symbols if the field assigned using ASSIGN or ASSIGNING
          is protected against changes
        - External write accesses to READ-ONLY attributes
        - Key components of lines in internal tables of the type HASHED or
          SORTED TABLE
          SORTED TABLE.
    Line  SourceCde
    681 * set/unset <box> of all items
    682     if l_ucomm eq '&SAL' or l_ucomm eq '&ALL'.
    683       if l_ucomm eq '&SAL'.
    684         loop at t_outtab.
    685           l_tabix = l_tabix + 1.
    ->>>           <l_box> = ' '.
    687           modify t_outtab index l_tabix.
    688         endloop.
    689       endif.
    690       if l_ucomm eq '&ALL'.
    691         loop at t_outtab.
    692           l_tabix = l_tabix + 1.
    693           <l_box> = 'X'.
    694           modify t_outtab index l_tabix.
    695         endloop.
    696       endif.
    What I must check on my ALV settings:
    ch_alv_layout-zebra          = 'X'.
      ch_alv_layout-box_fieldname  = 'SELE'.
      ch_alv_layout-box_tabname    = v_nametab.
      ch_alv_layout-reprep         = 'X'.
      ch_alv_layout-info_fieldname = 'COLOR'. "infofield for listoutput
      ch_alv_layout-colwidth_optimize = 'X'.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
        EXPORTING
          i_callback_program = sy-repid
          is_layout          = ch_alv_layout
          it_fieldcat        = ch_alv_fieldcat
          it_sort            = ch_alv_sortinfo
          i_save             = 'X'
          it_events          = ch_slis_event
        TABLES
          t_outtab           = p_control
        EXCEPTIONS
          program_error      = 1
          OTHERS             = 2.
    Thanks in advance.

    ch_alv_layout-info_fieldname = 'COLOR'. "infofield for listoutput
      ch_alv_layout-colwidth_optimize = 'X'.
    try commenting the above values.and also check the Fieldcatlog.
    Check the issue similar issue was resolve by checking catalog and layout:
    [ALV Issue solution|Re: Problem when export ALV.]
    Regards,
    Gurpreet

  • FM for BUPA_PRE_DA

    Hi,
    anybody knows a fm for setting/unsetting archive flag for business partners,
    which does something like BUPA_PRE_DA transaction?
    I've created a bdc for bupa_pre_da but the popup (prog. 'SAPLSP01'  , screen  '0500' )
    appears and can't be closed automatically.
    Regards,
    Ladislav

    Hi,
    Check the function module:
    BAPI_BUPA_EXISTENCE_CHECK - Check existence of business partner.
    Regards,
    Bhaskar

  • Could not install SOA on my linux box

    Hi,
    I downloaded soa_linux_x86_101310_disk1.cpio from OTN (http://www.oracle.com/technology/products/ias/business_rules/index.html). unzip it, and run the install/runInstaller, but I got the following error. I also run the uname, and "cat /etc/issue" command. As you can see from below, my OS is Red Hat Enterprise Linux AS release 4 (Nahant Update 3). I do not know why the OUI said my OS does not meet the requirement. I also tried to set/unset ORACLE_HOME before the install, same error for both cases. This is pretty urgent. I appreciate your quick response.
    [nba@stack39 install]$ ./runInstaller
    Starting Oracle Universal Installer...
    Checking installer requirements...
    Checking operating system version: must be redhat-Red Hat Enterprise Linux AS release 3, redhat-Red Hat Enterprise Linux AS release 4, redhat-Red Hat Enterprise Linux ES release 3, redhat-Red Hat Enterprise Linux ES release 4 or SuSE-9
    Failed <<<<
    Exiting Oracle Universal Installer, log for this session can be found at /tmp/OraInstall2008-02-19_08-50-10AM/installActions2008-02-19_08-50-10AM.log
    [nba@stack39 install]$ uname -a
    Linux stack39 2.6.9-55.0.0.0.2.ELsmp #1 SMP Wed May 2 14:59:56 PDT 2007 i686 i686 i386 GNU/Linux
    [nba@stack39 install]$ cat /etc/issue
    Red Hat Enterprise Linux AS release 4 (Nahant Update 3)
    Kernel \r on an \m
    Thanks,
    Ningning

    Should work. The installation guide suggests to check two files in /etc. Check both.
    --olaf                                                                                                                                                                                       

Maybe you are looking for

  • Slow FTP?

    I apologize if this isn't appropriate for this category. I'm new to the Mac, have had my MacBook Pro less than a year, and continue to be delighted. But I'm still new enough that I don't know where to look or whom to ask when a problem comes up. I wa

  • BT Sport on Sky

    Forgive me if this has been asked before, but is it still possible to get BT Sport for free if the BT Infinity package is in my name but the Sky viewing card/subscription is in my partners name at the same address? Any help with this would be appreci

  • WheelMouse Probs.

    Hi I wonder if anyone can help trying to get my wheelmouse working on Sol. 10 x86. Here's an extract from my xorg.conf but it still doesn't work, is there something else i am missing here. If I can remember correctly the first time after install the

  • Who do I inform/contact about my intentions to migrate my hosting from Business Catalyst to another hosting platform?

    I intend to transfer my hosting to another platform, which is asking if I have informed my current host (BC) of my intentions. I'm not sure who I should speak to about this.

  • Internal Server Error when Uploading Contect in c#

    Well there is another post about this http://discussions.apple.com/thread.jspa?messageID=4471561&#4471561 but it didn't have a solution and the person having the issue never mentioned getting it working. Here is the function I'm using to post http da