Gracefully exit from a Linux kill

Is there a way to gracefully exit from a Linux kill command?
Given the following code:
  public static void main(String[] args) throws IOException
    boolean bExit = false;
    while (!bExit)
      try
        Thread.sleep(1000L);
      catch (InterruptedException ex)
        bExit = true;
    System.out.println("Program exiting gracefully.");
  }Is there a way for the Linux kill command to make the message "Program exiting gracefully." appear?

Certainly not for kill -9.
But you can look at Runtime.addShutdownHook().The problem I have with Runtime.addShutdownHook() is (from the API Javadoc):
"Shutdown hooks should also finish their work quickly. When a program invokes exit the expectation is that the virtual machine will promptly shut down and exit. When the virtual machine is terminated due to user logoff or system shutdown the underlying operating system may only allow a fixed amount of time in which to shut down and exit. It is therefore inadvisable to attempt any user interaction or to perform a long-running computation in a shutdown hook."
I just was wondering if there was a built-in hook for the kill command like the hook for "kill -3" that calls the Thread.interrupt() method on the main thread of execution.
My actual code is more like:
  public static void main(String[] args) throws IOException
    boolean bExit = false;
    SubThreadManager1.init();
    SubThreadManager2.init();
    while (!bExit)
      try
        Thread.sleep(1000);
      catch (InterruptedException ex)
        bExit = true;
    // After these shutdown methods are called it could take up
    // to 30 seconds before they reach the stopped state.
    SubThreadManager1.shutdown();
    SubThreadManager2.shutdown();
    while (!SubThreadManager1.isStopped() || !SubThreadManager2.isStopped())
      try
        Thread.sleep(500L);
      catch (InterruptedException ex)
    System.out.println("Program exiting gracefully.");
  }I was just simplifiying the test case to get the point across.

Similar Messages

  • ITunes graceful exit from using SDK

    hello,
    im developing a c# application that uses the iTunes sdk to copy and share the playlists.
    i've also found a way to detect the iTunes shutdown to shutdown my application, however, i also need to prevent iTunes from asking this annoying question,
    "One or more applications are using the iTunes scripting interface. Are you sure you want to quit?"
    I hope people who developed the iTunes sdk for c# could help me out here.
    Thank you so much!

    Okay, I think I need some more help with my problem. This is how I have constructed the code per the suggestion mentioned above:
    class NewThread implements Runnable {
         Thread t;
         NewThread() {
              t.start();
         public void run() {
              try
                   Thread.sleep(60000);
              catch (Exception e) {
                   System.out.println(e);
    public class ExecuteCommand {
      static int run( String[] cmdvars ) {
        try {
          Runtime rt = Runtime.getRuntime();
          Process proc = rt.exec( cmdvars );
    NewThread(); //This starts the sleep thread
          int exitVal = proc.waitFor();
           return exitVal;
        } catch ( Exception e ) {
          System.out.println(e);
          return -1;
      }So, over here the NewThread() starts the sleeping part while the original thread continues running the external program until it finishes. What is the best way to check for the status of proc, and how do I destroy proc if NewThread() finishes first? Also, the way it is written right now, will it still wait if proc finishes first?
    Any pointers will be much appreciated.
    Thanks.

  • Can't exit from vncviewer fullscreen

    I've just finished my first install of arch linux on my laptop the other day and I'm having a few problems that I'm hoping the community could help me with. I've got an Ubuntu server that I connect to via vnc, my problem is whenever I use the command
    vncviewer -fullscreen <server address>
    the vnc window opens just fine but I cant exit from the window. The only way that I can close out the vncviewer window is to either do a hard reboot of my laptop or kill the vnc server.
    I've tried F8, F11, Ctrl-ESC, Ctrl-Alt-Shift-F none of which have worked. I've also tried using Ctrl-Alt-Right Arrow and Left Arrow to switch virtual desktops but that doesn't seem to work either.
    I'm sure It's probably something stupid that I'm doing either forgetting an argument or not using the right keystroke combination or something like that, but at this point I'm not sure what.
    Thank you everyone in advance for your help

    can confirm this problem also exists in a setting with X.Org X Server 1.15.0; MATE Desktop Environment 1.6.2;  TightVNC Viewer version 1.3.10 all from the arch repos. The documentation says hit f8 to open a menu which does not happen.
    ctrl+c still get captured by the spawning terminal, so that works, but this is clearly not the intended way to close the viewer.

  • Passing a FILENAME from a LINUX SHELL Script to an SQLPLUS Script

    I written a LINUX Shell Script to receive a FILENAME. This FILENAME is the name of the file that I want to SPOOL into.
    So, below are two items.
    The first item is the LINUX Shell Script that has the FILENAME
    The last item is the SQLPLUS Script that is suppose to receive the name
    The LINUX Shell Script:
    #! /bin/sh
    LOGFILE="$(date +"%Y-%m-%d %H:%M") Oracle REPORT LOG.TXT"
    FILENAME="$(date +"%Y-%m-%d") PROD Unfinished Spot Bids.CSV"
    echo "File Name for the spool is:" "$FILENAME"
    #spool "$FILENAME"
    #sqlplus /nolog @run_test_query.sql
    #sqlplus -S @Unfinished_Spot_Bids_Run_V1.sql >$LOGFILE
    sqlplus -S /nolog <<EOF >$LOGFILE
    /* I want to pass to the SQL file below */
    /* The value that is contained in the the variable $FILENAME */
    /* How do you do that? */
    @@Unfinished_Spot_Bids_V1.sql
    spool
    set echo on
    EOF
    RV=$?
    #if {$RV -ne 0}
    #exit $RV
    #else
    echo "The return code fronm the sqlplus was:" "$RV"
    #fi
    Here is the SQLPLUS Script
    CONNECT glog_read/parker@OTMPROD
    set linesize 32000 trimspool on pagesize 3000
    set echo off
    SET TERMOUT OFF
    set heading off
    /* I want to parameterize the name of the file below */
    /* This file is executed from inside a LINUX Shell Script */
    /* That LINUX SHELL script is passed a file name */
    /* I want that filename used in the "SPOOL" statement below */
    /* So, how do I do that? */
    spool PROD_Unfinished.CSV
    prompt Shipment Update Date|Shipment Number|No of Shipments|Auctions per Shipment|No. of Carriers Notified|No of Bidders|Duration of Auction|Elapse time for first bid|Elapse time for last bid|Elapse time of bidding|Lead Time of Auction to P/U|High Bid- Low Bid Diff|
    set feedback off
    SELECT
    to_char(c.update_date, 'FMMonth, YYYY')||'|'|| b.SHIPMENT_GID
    ||'|'|| count (distinct (b.SHIPMENT_GID))
    ||'|'|| count(distinct(a.i_transaction_no))
    ||'|'|| count(*)
    ||'|'|| sum (case when a.responding_gl_user_gid is null then 0 else 1 end)
    ||'|'|| min (numtodsinterval((b.expected_response - b.insert_date),'day'))
    ||'|'|| min (numtodsinterval((a.update_date - a.transaction_time),'day'))
    ||'|'|| max (numtodsinterval((a.update_date - a.transaction_time),'day'))
    ||'|'|| numtodsinterval((max(a.update_date) - min(a.update_date)),'day')
    ||'|'|| numtodsinterval((max(b.shipment_time) - max(c.insert_date)),'day')
    ||'|'|| (max(a.bid_amount) - min(a.bid_amount))
    from tender_collab_servprov a, tender_collaboration b, shipment c
    where a.i_transaction_no = b.i_transaction_no
    and b.shipment_gid not in (select sqa.shipment_gid from tender_collaboration sqa, tender_collab_servprov sqb where sqa.i_transaction_no = sqb.i_transaction_no and sqb.acceptance_code = 'A')
    and a.i_transaction_no in (select i_transaction_no from tender_collaboration where tender_type = 'Spot Bid')
    and b.shipment_gid = c.shipment_gid
    AND c.update_date >= trunc(last_day(to_date((to_char(add_months(SYSDATE,-2), 'MM-DD-YYYY')),'MM-DD-YYYY')) + 1)
    group by c.update_date, b.SHIPMENT_GID
    order by c.update_date, b.shipment_GID;
    spool off

    ParadicePGMR wrote:
    First, I was getting an error on the SPOOL ${FILENAME}. Also, my file did have spaces and I did replace it with "_". It still did not work on the SPOOL Command. So, with or without the _, I never got the SPOOL command to work!
    It seems that the FILENAME value from the LINUX script was not being passed into the SQLPLUS procedure.
    How do you pass LINUX variables into the SQLPLUS procedure>
    Not sure if I had the right usage => ${FILENAME}above is correct syntax

  • How to exit from Enter-Query mode

    Hi
    I am not being able to exit from the Enter-Query mode if the result set is not returned.
    I tried to exit using ABORT_QUERY, exit_form( as we used to do in earlier version) and CTRL+Q. Nothing seems to work and I have to kill the form
    This seems to be an easy topic, but I need your help.
    Thanks in advance
    Bijay

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by bj ():
    Hi
    I am not being able to exit from the Enter-Query mode if the result set is not returned.
    I tried to exit using ABORT_QUERY, exit_form( as we used to do in earlier version) and CTRL+Q. Nothing seems to work and I have to kill the form
    This seems to be an easy topic, but I need your help.
    Thanks in advance
    Bijay<HR></BLOCKQUOTE>you maybe include a not null item,you can set the item's property
    not need .
    null

  • X crash the PC when exit from X (dixGetPrivateAddr: Assertion)

    I installed Arch Linux on my new PC (had Arch on my 6 year old notebook for about 2 years) but each time I want to exit form X (KDE or TWN) crash the video output. The display switch to standby and the keyboard doesn't work any more, so I can't switch to a terminal.
    My PC config:
    Arch x86_64, new net installation up-to-date (pacman -Syu)
    AMD X6, Radeon HD5830, dual head installation
    I tried some AUR radeon-git driver (a lot of artefacts, exit from X works) , catalyst (closed source , radeon r300g on my notebook just rocks ). After all this installation of different drivers I set a new Arch Linux installation up (no KDE, only TWN). But the problem remains. With a remote ssh login I can access the crashed PC and shut it down or restart X and X starts again (now I can switch to a terminal until I exit again from X).
    Terminal output when I start X over ssh:
    abc@xsix ~]$ su root
    Passwort:
    [root@xsix abc]# startx
    X.Org X Server 1.9.2
    Release Date: 2010-10-30
    X Protocol Version 11, Revision 0
    Build Operating System: Linux 2.6.35-ARCH x86_64
    Current Operating System: Linux xsix 2.6.36-ARCH #1 SMP PREEMPT Sat Jan 8 14:15:27 CET 2011 x86_64
    Kernel command line: BOOT_IMAGE=/vmlinuz26 root=/dev/disk/by-uuid/ed0f04ab-b16c-4a11-8c1b-175c25f7ddb1 ro
    Build Date: 01 November 2010 10:29:19PM
    Current version of pixman: 0.20.0
    Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
    Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    (==) Log file: "/var/log/Xorg.0.log", Time: Sat Jan 15 00:24:48 2011
    (==) Using config directory: "/etc/X11/xorg.conf.d"
    (II) [KMS] Kernel modesetting enabled.
    The XKEYBOARD keymap compiler (xkbcomp) reports:
    > Warning: Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 symbols
    > Ignoring extra symbols
    Errors from xkbcomp are not fatal to the X server
    xinit: connection to X server lost
    waiting for X server to shut down XIO: fatal IO error 4 (Unterbrechung während des Betriebssystemaufrufs) on X server ":0"
    after 1027 requests (1027 known processed) with 2 events remaining.
    X: ../../../include/privates.h:122: dixGetPrivateAddr: Assertion `key->initialized' failed.
    [root@xsix abc]#
    Xorg log:
    http://archlinux.pastebin.com/MaBAbWJL
    no EE errors
    Xorg config:
    [root@xsix log]# cat /etc/X11/xorg.conf.d/20-radeon.conf
    Section "Device"
    Identifier "HD5830"
    Driver "radeon"
    EndSection
    [root@xsix log]#
    radeon is in /etc/rc.conf under MODULES and dbus is in DAEMONS, late KMS enabled.
    Has someone an idea to solve this problem or has/had a similar problems with X,radeon,...? Any piece of information is welcome.
    Last edited by devnow (2011-01-15 00:03:40)

    After add Repo from https://bbs.archlinux.org/viewtopic.php?id=79509 and install
    - dri2proto-git
    - glproto-git
    - libdrm-git
    - mesa-full (replaces mesa, libgl and ati-dri)
    - mesa-demos-git (optional: needed for glxinfo and glxgears)
    - mesa-full-gallium (optional)
    - xf86-video-ati-git
    with Kernel 2.6.37 from testing (kernel26-drm-radeon-testing and linux-firmware-git not installed)
    X don't crash any more
    But exit from X isn't clean compare last few lines:
    [root@xsix abc]# startx
    This is a pre-release version of the X server from The X.Org Foundation.
    It is not supported in any way.
    Bugs may be filed in the bugzilla at http://bugs.freedesktop.org/.
    Select the "xorg" product for bugs you find in this release.
    Before reporting bugs in pre-release versions please check the
    latest version in the X.Org Foundation git repository.
    See http://wiki.x.org/wiki/GitPage for git access instructions.
    X.Org X Server 1.9.3.901 (1.9.4 RC 1)
    Release Date: 2011-01-07
    X Protocol Version 11, Revision 0
    Build Operating System: Linux 2.6.36-ARCH x86_64
    Current Operating System: Linux xsix 2.6.37-ARCH #1 SMP PREEMPT Fri Jan 7 17:32:33 CET 2011 x86_64
    Kernel command line: BOOT_IMAGE=/vmlinuz26 root=/dev/disk/by-uuid/ed0f04ab-b16c-4a11-8c1b-175c25f7ddb1 ro
    Build Date: 08 January 2011 11:24:47PM
    Current version of pixman: 0.20.0
    Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
    Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    (==) Log file: "/var/log/Xorg.0.log", Time: Sat Jan 15 16:56:08 2011
    (==) Using config directory: "/etc/X11/xorg.conf.d"
    (II) [KMS] Kernel modesetting enabled.
    The XKEYBOARD keymap compiler (xkbcomp) reports:
    > Warning: Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 symbols
    > Ignoring extra symbols
    Errors from xkbcomp are not fatal to the X server
    xinit: connection to X server lost
    waiting for X server to shut down XIO: fatal IO error 4 (Unterbrechung während des Betriebssystemaufrufs) on X server ":0"
    after 1354 requests (1354 known processed) with 2 events remaining.
    Now I will install KDE again and hope there are no wired artefacts with this driver.
    Btw, is it possible to move this topic to Desktop Environments?

  • Error when exiting from ANY JavaFX app. (any workaround?)

    I've had an ongoing problem when working with JavaFX, and even using applications created with it like SceneBuilder and FXExperience tools. As I reported in this bug: http://javafx-jira.kenai.com/browse/RT-27458 , any time I exit from any application that uses JavaFX, I get an error. My bug turned out to be a duplicate, and looking at the other report, it seems to be a result of the combination of the ATI-Radeon graphics card, Ubuntu, and JavaFX. It doesn't seem to matter whether the app is solely JavaFX, or embedded in Swing, whether it is installed as a native bundle or run directly from class files, or an executable jar. If it uses JavaFX and I run it, when I close it I get this error. It also doesn't matter whether I use jdk7 or an early-access build of jdk8.
    This is becoming increasingly irritating as I further explore the technology and begin trying to work with it, going beyond simply following tutorials and whatnot, because it means I frequently run my programs to see if they actually work, and am much more frequently using tools like SceneBuilder. It doesn't seem to matter whether I run things from the command line, start them from an IDE, or in the case of installed applications, run them through Ubuntu's Launcher or Dash, when I exit I get an error message and an error log shows up somewhere. Especially when testing an application I'm working on, these logs quickly clutter up my directories and become an annoyance.
    Does anyone have any suggestions or workarounds which might help avoid some of the annoyances from the problem? I have the ability to dual-boot Windows 7, and as the problem becomes increasingly annoying, have given some thought to doing my development there. However, I'm really not very comfortable in Windows, and it would involve making some pretty big changes to my workflow, so this isn't my favorite option.
    I imagine that using another distro like Linux Mint would probably continue to have the same issues, since I think it would be using the same drivers for the graphics.
    Changing computers is not currently an option for me. I'd love a Mac to develop on, but that's just not possible currently.
    If anyone has any ideas, suggestions, workaround or tips I would greatly appreciate them. Thanks in advance for your help.

    Okay. Do you have any third-party iTunes plug-ins/add-ons installed?
    (They can sometimes produce similar symptoms if they were written for an earlier version of iTunes, and they aren't liking a new version ... last time I can think of a major outbreak of add-on-related crashes-when-quitting was with the transition from iTunes versions 6.0.x to 7.0.x, though.)
    If so, the following document might be of some assistance:
    Troubleshooting issues with 3rd-party iTunes add-ons

  • Stopping OC4J with a Linux kill command -- is it OK?

    Hello All,
    Has anyone had any problems with stopping OC4J using the Linux kill command?
    Is this the appropriate way to stop OC4J in Linux?
    We've had a problem several times where OC4J did not seem to stop completely, and, subsequently, wouldn't start.
    I decided to try and avoid using the kill command and instead use the "stop" command employed by MS Windows installations.
    But in Linux it produced errors in the oc4j log file.
    The stop command I am testing right now in Linux is identical to its counterpart in Windows. It looks like this:
    java -jar $ORACLEBI_HOME/oc4j_bi/j2ee/home/admin.jar ormi://localhost:23791 oc4jadmin `~/.ops/.ex oc4jadmin` -shutdown
    The `~/.ops/.ex oc4jadmin` part is just a crafty Linux way of hiding the password.
    The errors generated in OracleBIData/web/log/javahost.out.log are as follows:
    <br>
    <br>
    <br>
    <br>
    Mon Apr 27 18:24:14 PDT 2009
    Stopping Java Host...
    Apr 27, 2009 6:24:14 PM MessageProcessorImpl processMessage
    WARNING: Unexpected exception. Connection will be closed
    java.io.EOFException
    at com.siebel.analytics.web.sawconnect.sawprotocol.SAWProtocol.readInt(SAWProtocol.java:167)
    at com.siebel.analytics.javahost.MessageProcessorImpl.processMessage(MessageProcessorImpl.java:133)
    at com.siebel.analytics.javahost.Listener$Job.run(Listener.java:223)
    at com.siebel.analytics.javahost.standalone.SAJobManagerImpl.threadMain(SAJobManagerImpl.java:205)
    at com.siebel.analytics.javahost.standalone.SAJobManagerImpl$1.run(SAJobManagerImpl.java:153)
    at java.lang.Thread.run(Thread.java:619)
    Apr 27, 2009 6:24:15 PM MessageProcessorImpl processMessage
    WARNING: Unexpected exception. Connection will be closed
    java.io.EOFException
    at com.siebel.analytics.web.sawconnect.sawprotocol.SAWProtocol.readInt(SAWProtocol.java:167)
    at com.siebel.analytics.javahost.MessageProcessorImpl.processMessage(MessageProcessorImpl.java:133)
    at com.siebel.analytics.javahost.Listener$Job.run(Listener.java:223)
    at com.siebel.analytics.javahost.standalone.SAJobManagerImpl.threadMain(SAJobManagerImpl.java:205)
    at com.siebel.analytics.javahost.standalone.SAJobManagerImpl$1.run(SAJobManagerImpl.java:153)
    at java.lang.Thread.run(Thread.java:619)
    waiting for javahost process to complete (pid:28305)
    ./shutdown.sh: line 51: wait: pid 28305 is not a child of this shell
    Apr 27, 2009 6:24:16 PM Startup shutdown
    INFO: Server shutdown request received.
    Apr 27, 2009 6:24:16 PM Acceptor listen
    SEVERE: Server socket was closed.
    java.nio.channels.AsynchronousCloseException
    at java.nio.channels.spi.AbstractInterruptibleChannel.end(AbstractInterruptibleChannel.java:185)
    at sun.nio.ch.ServerSocketChannelImpl.accept(ServerSocketChannelImpl.java:152)
    at com.siebel.analytics.javahost.Acceptor.listen(Acceptor.java:92)
    at com.siebel.analytics.javahost.ApplicationImpl.listen(ApplicationImpl.java:41)
    at com.siebel.analytics.javahost.standalone.Main.listen(Main.java:33)
    at com.siebel.analytics.javahost.standalone.Main.main(Main.java:28)
    Apr 27, 2009 6:24:16 PM Application listen
    INFO: Stopped listening socket port
    Apr 27, 2009 6:24:16 PM Application listen
    INFO: Closed open sockets
    Apr 27, 2009 6:24:16 PM Main listen
    INFO: Canceled pending jobs. Exiting
    <br>
    <br>
    <br>
    <br>
    I have absolutely no idea what these error messages mean.
    I saw that there is an option to do a "-shutdown force" as opposed to just "-shutdown". Should I use that?
    Or should I revert back to using the Linux kill command?
    Thank you very much for any help or insight.
    -sb

    Hello All,
    The start and stop scripts that I posted earlier in this discussion thread are outdated. In fact, the stop script is wrong.
    The ones I am posting below are actually what I am using right now. These are still work in progress, though.
    Just wanted to post the correct stuff in case someone is interested.
    obistart.sh
    <br>
    <br>
    # Start the BI server.
    echo "$(basename "$0"): Now initiating the BI server startup..."
    $ORACLEBI_HOME/setup/run-sa.sh start
    success=
    while \[ ! $success \]
    do
    status=`tail -1 $ORACLEBI_HOME/server/Log/NQServer.log 2>/dev/null`
    \[\[ $status =~ "Oracle BI Server started" \]\] && success=yes
    done
    echo $status
    echo
    # Start the presentation server.
    echo "$(basename "$0"): Now initiating the presentation server startup..."
    $ORACLEBI_HOME/setup/run-saw.sh start
    sleep 3
    echo
    # Start the OC4J server.
    echo "$(basename "$0"): Now initiating the OC4J server startup..."
    nohup $ORACLEBI_HOME/setup/oc4j -start > $ORACLEBI_HOME/setup/nohup_oc4j_start.out &
    echo $! > $ORACLEBI_HOME/setup/nohup_oc4j_start.pid
    <br>
    <br>
    obistop.sh
    <br>
    <br>
    # Stop OBIEE BI server.
    echo "$(basename "$0"): Now initiating the BI server shutdown..."
    $ORACLEBI_HOME/setup/run-sa.sh stop
    sleep 3
    echo
    # Stop OBIEE Presentation server.
    echo "$(basename "$0"): Now initiating the presentation server shutdown..."
    $ORACLEBI_HOME/setup/run-saw.sh stop
    sleep 3
    echo
    # Stop OBIEE oc4j application server.
    echo "$(basename "$0"): Now initiating the OC4J server shutdown..."
    \[\[ -e $ORACLEBI_HOME/setup/nohup_oc4j_stop.out \]\] && rm -f $ORACLEBI_HOME/setup/nohup_oc4j_stop.out
    $ORACLEBI_HOME/setup/oc4j -shutdown -port 23791 -password `~/.ops/.ex oc4jadmin` 2>$ORACLEBI_HOME/setup/nohup_oc4j_stop.out
    if \[ `grep Error nohup_oc4j_stop.out` \]
    then
    echo "$(basename "$0"): OC4J shutdown error. The server might be already down. Look in $ORACLEBI_HOME/setup/nohup_oc4j_stop.out for info."
    exit 1
    fi
    oc4j_pid=`cat $ORACLEBI_HOME/setup/nohup_oc4j_start.pid`
    cpid=`ps no-headers ppid $oc4j_pid | head -n1 | awk '{print $1}'`
    \[\[ -n $cpid \]\] && kill $cpid
    \[\[ -n $oc4j_pid \]\] && kill $oc4j_pid
    <br>
    <br>
    Thank you.
    -sb

  • Call an applications 'user exit' from a PL/SQL procedure

    My question is a technical PL/SQL question related to Oracle Applications. I need to call a standard applications 'user exit' from a stored PL/SQL procedure. Can anyone tell me if this is possible and how to do it?
    (i.e. I am attempting to call the AR user exit SALESTAX)
    Thanks,
    Michelle Dodge

    Hi,
    Read this thread, perhaps is there your response :
    Host...
    Nicolas.

  • How can I exit from full-screen View?

    On the View menu, I clicked "Full screen View", but then I couldn't find any way back to normal view. I had to Force-Quit Firefox to escape.
    How do you exit from Full Screen View?
    (I tried Esc, Ctrl-C, and many other key combinations)
    Thanks, PeterR

    Try F11.

  • Connect to MSSQL from OWB Linux.

    Hi,
    This is almost an embarrasing question to ask because I should be able to find this information but Alas! such is life.
    So here goes, I want to be able to connect from my OWB 10gR2 on Linux to Microsoft SQL Server on some windows box. I went into MY_PROJECT->Databases->Non-Oracle->SQL Server and hit create.
    I got details for a location that I filled as follows -
    User Name: username
    Password: password
    Host: Host\Instance
    Port: 1433
    Service Name: Instance
    Use Global Name: unchecked
    Schema: username
    When I test this, I get -
    ORA-28545: error diagnosed by Net8 when connecting to an agent
    Unable to retrieve text of NETWORK/NCR message 65535
    ORA-02063: preceding 2 lines from OWB_1087
    Am I missing something? Do I need to do something else? I saw this posting -
    Connect to MS SQL server from OWB on Linux platform
    but it seems dated.
    I don't know if there are easier ways to connect from OWB Linux to MSSQL Windows in the newer versions. Any help is greatly appreciated.
    Thanks.

    I recommend watching this viewlet: http://www.oracle.com/technology/products/warehouse/htdocs/sql_server_source_all/sql_server_source_all_viewlet_swf.html
    It shows how to setup connections to SQL Server. However, there is one major change. The viewlet shows how to do this on Windows and you need to do this on Linux. The only step that changes is step 1: setting up the ODBC driver. You will need to find a Linux ODBC driver and driver manager for SQL Server and get that setup. After that you can use the viewlet to setup the Heterogeneous Services.
    Bryan

  • Exiting from ABAP Web Dynpro application

    Hi,
    In ESS portal we have one tab Personal info, there I have created one link and integrated my ABAP web dynpro application.
    I want to exit from the application and go back to the Personal info sub area. created one exit button in my application on press of that i need take this action.
    Please guide me with this
    Thanks!
    Piyush

    Piyush,
    I am not sure whether it works or not just get the navigation url of personalinfo subarea and using portal APIs navigate to that url when you click on exit button
    Thanks
    Bala Duvvuri

  • Acrobat 9.2 crash after exit from Acrobat

    I have a plugin for Acrobat 8.0 and re-compiled for Acrobat 9.0 using the 9.0 SDK.  It works fine except when I exit from Acrobat, Acrobat always crash in any of the Acrobat Pro 9.x versions. The crash log always show the same place.  It does not matter if I disable or enable the update. Always the same place to crash. Does anyone have any ideas?
    Process:         AdobeAcrobat [29144]
    Path:            /Applications/Adobe Acrobat 9 Pro/Adobe Acrobat Pro.app/Contents/MacOS/AdobeAcrobat
    Identifier:      com.adobe.Acrobat.Pro
    Version:         9.2.0 (9.2.0)
    Code Type:       X86 (Native)
    Parent Process:  launchd [119]
    Interval Since Last Report:          668 sec
    Crashes Since Last Report:           1
    Per-App Interval Since Last Report:  24 sec
    Per-App Crashes Since Last Report:   1
    Date/Time:       2009-10-14 15:10:00.939 -0400
    OS Version:      Mac OS X 10.5.8 (9L30)
    Report Version:  6
    Anonymous UUID:  F9997425-181F-4A46-8222-B1BAA9558760
    Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
    Exception Codes: KERN_INVALID_ADDRESS at 0x0000000015fffcc1
    Crashed Thread:  18
    Thread 0:
    0   dyld                              0x8fe1764c ImageLoaderMachO::doBindLazySymbol(unsigned long*, ImageLoader::LinkContext const&) + 300
    1   dyld                              0x8fe06ed5 dyld::bindLazySymbol(mach_header const*, unsigned long*) + 149
    2   dyld                              0x8fe18c2f stub_binding_helper_interface2 + 21
    3   ...adobe.acrobat.amtlibwrapper    0x188c42e2 0x1883b000 + 561890
    4   ...adobe.acrobat.amtlibwrapper    0x188c4343 0x1883b000 + 561987
    5   ...adobe.acrobat.amtlibwrapper    0x18851355 AVAMTForegroundUpdateCheckEnabled + 84063
    6   ...adobe.acrobat.amtlibwrapper    0x18843989 AVAMTForegroundUpdateCheckEnabled + 28307
    7   ...adobe.acrobat.amtlibwrapper    0x1883cc26 AVAMTForegroundUpdateCheckEnabled + 304
    8   com.adobe.Acrobat.framework       0x803d4a07 AcroSecurityBailOutImpl + 2997119
    9   com.adobe.Acrobat.framework       0x803d4a79 AcroSecurityBailOutImpl + 2997233
    10  com.adobe.Acrobat.framework       0x800ffc97 AcroSecurityBailOutImpl + 28175
    11  com.adobe.Acrobat.framework       0x8038cb91 AcroSecurityBailOutImpl + 2702601
    12  com.adobe.Acrobat.framework       0x8007ff72 AcroBundleThreadQuitProc + 3096
    13  com.adobe.Acrobat.framework       0x7fe43320 RunAcrobat + 326
    14  com.adobe.Acrobat.Pro             0x00002e8b start + 2371
    15  com.adobe.Acrobat.Pro             0x0000264a start + 258
    16  com.adobe.Acrobat.Pro             0x00002571 start + 41

    iPhoto is missing bits of itself. You need to reinstall it.
    To re-install iPhoto
    1. Put the iPhoto.app in the trash (Drag it from your Applications Folder to the trash)
    2a: On 10.5:  Go to HD/Library/Receipts and remove any pkg file there with iPhoto in the name.
    2b: On 10.6: Those receipts may be found as follows:  In the Finder use the Go menu and select Go To Folder. In the resulting window type
    /var/db/receipts/
    2c: on 10.7 they're at
    /private/var/db/receipts
    A Finder Window will open at that location and you can remove the iPhoto pkg files.
    3. Re-install.
    If you purchased an iLife Disk, then iPhoto is on it.
    If iPhoto was installed on your Mac when you go it then it’s on the System Restore disks that came with your Mac. Insert the first one and opt to ‘Install Bundled Applications Only.
    If you purchased it on the App Store you can find it in your Purchases List.

  • What is the best client for ARD from ubuntu linux?

    I attempt to connect to my mac mini running osx 10.7 from ubuntu linux using the default vncviewer application and the tightvnc client and I get to the login display but am unable to click on any of the users nor log in.  I was successful from my windows7 laptop, but not from my windows xp HTPC--ultravnc gets to the login prompt, showed me the password field, but didn't allow me to change focus to that field, however, this isn't reproducable since I get a different behavior each time I try to remote in.

    Back up all data. Update all third-party software to the latest version and remove any you don't need. Download the Yosemite installer from the App Store. Run it.

  • Redirecting control to portal page after exiting from SAP R/3 transaction

    Hai,
    In my portal Top Level Navigtion, I have two Option, "HOME", "HR FUNCTION".
    When a user login to portal by default the first node "Home" is opened and its content is opened in detailed navigation. Then the first content from detailed navigation which is  URL iview is opened on the content area.
    When a user opens the second node "HR Function", in the detailed navigation, SAP transcaction IViews are shown. When a SAP transaction IView is clicked, its content are opened in content area. After the user finished working with that transaction, he/she is exiting from the transaction by clicking the "Exit" button. This action, makes the content area to show as blank screen.
    Is it possible to show the URL ivew from the "Home" menu when ever the control is coming out of SAP transaction IView.  In otherwords in need to fill the blank screen with  URL Iview. I don't know from where and how to call this URL IVIEW.
    Please let me know how to do this.
    Thanks & Regards,
    H.K.Hayath Baha.

    Hai Anant,
    Thanks for the suggestion. Can you tell me where I have to give the code.
    Regards,
    H.K.Hayath Basha.

Maybe you are looking for

  • Can I have 2 apple ID on one computer

    Can I have 2 iTune accounts on one computer

  • Mail "unexpectedly quits" -- connection to iCloud migration?

    I'm stumped. I upgraded to 10.5 iTunes recently and since then, my mail, iCal, and address book are all on the fritz. Mail is a constant bomb... 3 seconds up and crash. iCal and AddressBook are a bit more stabile. Running 10.6.8, MacBookPro 2010. Rei

  • ISCSI connections for guests: how to set up?

    A couple of questions: 1. If we wanted to set up iSCSI connections for guests such as SQL servers, what is the best way to handle this? For example, if we had four 10-Gb NICs and wanted to use as few of them as possible, is it common to turn two of t

  • IPhoto duplicates all my pictures?!!!

    Hi, i found out that after i add a pict to the library and than modify it (via iPhoto), if i spotlight the file name of that picture it finds 3 copies in 3 different folders of the library: one in "originals", one in "data" and one in "modified". is

  • MacBook Pro name sticker

    Am I going crazy or is the "MacBook Pro" name/logo which is located under the display, a sticker. Just today I was wiping some dust off the screen, and the 'c' in 'Mac' came halfway off. I managed to stick it back on, but now I afraid that the rest o