MBP not closing applications upon shutdown

I was very happy with Lion, until I noticed that my applications are not closed on shutdown. When my computer restarts every application that I do not force quit prior to shutdown opens.
Any help would be appreciated.

This is not a bug, it is a feature !  From Apple's description of Lion:
Now apps you close will reopen right where you left off, so you never have to start from scratch again. And when you install software updates, you no longer need to save your work, close your apps, and spend valuable time setting everything up again. With Resume, you can restart your Mac and return to what you were doing — with all your apps in the places where you left them.
In the System Preferences --> General pane, there is an option you can unclick that says "Restore windows when quitting and re-opening apps".  That may help.

Similar Messages

  • MBP not closing flush..

    Hello all,
    My dad has taken delivery of a new MBP and I have noticed the lid does not close properly, it looks bowed and there is about 3mm (1/8") gap at the L/R corners, although the latch does close. Just wanted to know if this is a common thing among MBP's. It's slightly disappointing to have spent that amount of money for a piece of hardware that has not undergone QC out inspection and allowed to reach the shelves?? Anybody of the same opinion?
    I raved about these MBP aswell to him and encouraged him to switch from his PC only to be presented with a sub standard product. Not a good start to the one that he had hoped. Apart from the hardware issue it functions ok and has connected to our wireless router with ease. Ive also noticed that the dock appears 'laggy' when running the mouse pointer across it, using my MB and Tiger the desktop experience is smooth. Again it feels like a rather inferior product and less brushed than tiger. Just my opinion but an honest one

    MeanChad thanks for support!!!
    I dont want to sound like ive turned into an Apple hater! I have other products in my house by Apple, Wireless N router, various iPods, my Black MB and my lass has a late 2006 MBP (the lid closes flush BTW) and im keen to get a new iMac. Apple has really changed my computer experience with hassle free computing. The MBP is a beautiful piece of work it just the little things in life that make it count.... and if your gonna do something...then do it right..not 1/2 finished!!! LOL! Anyway thanks for all the input to my topic, its why these forums are an essential tool in trouble shooting!!
    Regards to all
    Stu
    P.S. No Kelly i dont lift the lid by the edges i release it by the pushing the latch button then lifting it from the centre. Remember this is a new MBP and ive noticed it after ive given it the once over!!

  • I keep getting a message that Firefox is open and not responding. That I have to close the Firefox application or restart my computer. A real pain. Why is the firefox application not closing in English

    I keep getting a message that Firefox is open and not responding. That I have to close the Firefox application or restart my computer. A real pain. Why is the firefox application not closing.

    Sounds like Firefox is "hanging at exit". That problem is frequently caused by an Extension or a Plugin. Read all of the following articles.<br /><br />
    NOTE: Establish a habit of exiting/closing Firefox with Firefox button > Exit or File > Exit to allow an orderly shutdown of Firefox and closing of all of the files that Firefox has open.
    #Stop the Firefox process:
    #*[http://kb.mozillazine.org/Kill_application Mozillazine - Kill application]
    #*Windows 7 users click [http://www.techrepublic.com/blog/window-on-windows/reap-the-benefits-of-windows-7s-task-manager/2576 here]
    #*Mac users: http://techheavy.com/2011/02/the-mac-task-manager/
    #Why Firefox may hang:
    #*[http://support.mozilla.org/en-US/kb/Firefox+hangs Firefox hangs] (see Hang at exit)
    #*[http://kb.mozillazine.org/Firefox_hangs Firefox hangs (Mozillazine)] (see Hang at exit and Closing Firefox properly)
    #*[https://support.mozilla.org/en-US/kb/Firefox+is+already+running+but+is+not+responding Firefox is already running but is not responding]
    #Use Firefox Safe Mode to find a problem with an Extension or Plugin:
    #*Don't check anything when entering Safe Mode, just continue
    #*If the problem does not occur in Safe Mode it is probably an Extension or Plugin causing the problem
    #*See:
    #**[[Safe Mode]] and [http://kb.mozillazine.org/Safe_Mode Safe Mode (Mozillazine)]
    #**[http://support.mozilla.org/en-US/kb/Troubleshooting+extensions+and+themes Troubleshooting extensions and themes]
    #**[http://support.mozilla.org/en-US/kb/Troubleshooting+plugins Troubleshooting plugins]
    #**[http://support.mozilla.org/en-US/kb/Basic+Troubleshooting Basic Troubleshooting]
    '''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''
    Not related to your question, but...
    You may need to update some plug-ins. Check your plug-ins and update as necessary:
    *Plug-in check --> http://www.mozilla.org/en-US/plugincheck/
    *Adobe Shockwave for Director Netscape plug-in: [https://support.mozilla.org/en-US/kb/Using%20the%20Shockwave%20plugin%20with%20Firefox#w_installing-shockwave Installing ('''''or Updating''''') the Shockwave plugin with Firefox]
    *Adobe PDF Plug-In For Firefox and Netscape: [https://support.mozilla.org/en-US/kb/Using%20the%20Adobe%20Reader%20plugin%20with%20Firefox#w_installing-and-updating-adobe-reader Installing/Updating Adobe Reader in Firefox]
    *'''''Shockwave Flash''''' (Adobe Flash or Flash): [https://support.mozilla.org/en-US/kb/Managing%20the%20Flash%20plugin#w_updating-flash Updating Flash in Firefox]
    *'''''Next Generation Java Plug-in for Mozilla browsers''''': [https://support.mozilla.org/en-US/kb/Using%20the%20Java%20plugin%20with%20Firefox#w_installing-or-updating-java Installing or Updating Java in Firefox]

  • An alert message pops up upon opening saying could not initiate application security component, and it says to check to see if profile has no read/write restrictions.

    An alert message pops up upon opening saying could not initiate application security component, and it says to check to see if profile has no read/write restrictions. Than when it opens all of my saved passwords are gone, I use a master password and its disabled. When I try to enter in a new on e it says can't change password. I can't even open yahoo e-mail says that my ssl security is down but when I check it its clicked. I'm just very confused as to whats going on.
    == This happened ==
    Every time Firefox opened
    == 5/14/2010 ==
    == User Agent ==
    Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/532.5 (KHTML, like Gecko) Chrome/4.1.249.1064 Safari/532.5

    See [[Could not initialize the browser security component]]
    Rename (or delete) secmod.db (secmod.db.old) in the [http://kb.mozillazine.org/Profile_folder_-_Firefox Profile Folder] in case there is a problem with the file.

  • Bittorrent not closing down and preventing mac shutdown

    Bittorrent is not closing down and when I try to shut down my mac it is prevented because bittorrent is still running. Does anyone know how I can over come this problem?

    Press COMMAND-OPTION-ESC to open the Task Manager. Select BitTorrent in the list and click the Force Quit button. If that doesn't work. Open Activity Monitor in the Utilities folder, select the BitTorrent process in the process list then click on the Quit icon in the toolbar, then click on the Force Quit button.
    If none of this works then hold down the Power button for 5-10 seconds and the computer will shutdown. Then you can restart. Running down the battery is not a good solution.

  • Ending (not just closing) applications

    Before the update, I would press and hold the Home button to be sure an app was closed and not running in the background and draining my battery, but since the update, that isn't working anymore. For example, to shut off my iPod, I can only pause it, not completely shut it off.
    Can anyone help?

    Folks, this is a non issue due to the simple fact that the iPhone OS DOES NOT ALLOW APPLICATIONS TO RUN IN THE BACKGROUND! - it never did! Background processes are limited to a very few NATIVE Apple functions - iPod playback is one. When you stop a song from playing and then hit your home button, the iPod application is NOT still "running" in the background. The iPod application simply stores your last song/movie/whatever and the location within the clip to allow you to resume playback.
    Once you hit the home button to exit an application, that app is completely closed and no longer taking a toll on your processor or battery. This is the reason why Apple implemented push notifications in 3.0 - so applications can still alert you of activity (i.e. an incoming im or a news alert) without the app running in the background. Instead, the monitoring takes place in the "cloud" (remote servers) that sends a message to an Apple server which in turn pushes a txt alert to your device. No process or backgroun apps are actually ever running on the iPhone, even for these new notifications!
    Message was edited by: iFidoBark

  • Upon opening Outlook 2003 get message "Not closed properly. File is being checked for erros."

    When opening Outlook 2003 get an error message stating that is was not closed propertly and that the file is being checked. It can sometimes take up to 5-10
    minutes for outlook to open. How can I stop this?

    You need to figure out why Outlook is not closing property. The usual culprits are addins that access Outlook data. 
    Are you closing outlook before shutting down windows? If you let windows shut it down, you can corrupt the pst. 
    Does it work better in Safe mode? To open Outlook in Safe mode: Close Outlook then hold Ctrl as you click on the Outlook icon. You'll get a message asking if you want to start in Safe mode. Click Ok. 
    Diane Poremsky [MVP - Outlook]
    Outlook & Exchange Solutions Center
    Outlook Tips
    Subscribe to Exchange Messaging Outlook weekly newsletter

  • Saving state of machine upon Shutdown?

    Is there a way to save my machine state upon shutdown such that when I start-up my computer again, everything is restored to the original state? Unsaved documents should remain unsaved.
    Something similar happens when the my MBP runs out of battery and the OS saves the "state" before going on standby. Upon plugging it back in to a power source, a line of white dots flash across the screen while the system state is restored.
    I presume this works because there's still some juice left on the battery for the OS to "remember" the state. Hence, I am led to believe that the same thing should be possible upon shutdown, as long as there's some juice left to store the state. Thoughts?

    Is there a way to save my machine state upon shutdown such that when I start-up my computer again, everything is restored to the original state? Unsaved documents should remain unsaved.
    No. If it it shutdown, it is shutdown. Hibernation, as Malcolm has posted will put the machine to sleep preserving everything but that is not shut down.
    If it shuts down the files are saved. They may not be saved as in the way the application saves them but they would HAVE to be copied to the HD to keep them if the machine is shut down.

  • SAP Dialog Instance is not Starting - DISPATCHER EMERGENCY SHUTDOWN

    Hi All,
    We  are running on SAP ECC 6.0, Oracle 10, Windows 2003.
    We have One Central Instance an Two Dialog Instances, we shutdown the SAP system (  Jun 10 15:56:18 2008 ) to do an OFFLINE backup, now one of the Dialog Instances is no starting, we try to restart the system on Wed Jun 11 02:05:45 2008
    Oracle is Up and Open.
    The Central Instance and one of the Dialog Instances are Up, so you can login on the SAP System, and execute SAP transactions.
    I will Attach Our DEV_DISP, and DEV_W0 files:
    dev_dip
    trc file: "dev_disp", trc level: 1, release: "700"
    sysno      02
    sid        MIS
    systemid   562 (PC with Windows NT)
    relno      7000
    patchlevel 0
    patchno    133
    intno      20050900
    make:      multithreaded, Unicode, 64 bit, optimized
    pid        4008
    Wed Jun 11 02:05:45 2008
    kernel runs with dp version 232000(ext=109000) (@(#) DPLIB-INT-VERSION-232000-UC)
    length of sys_adm_ext is 576 bytes
    SWITCH TRC-HIDE on ***
    ***LOG Q00=> DpSapEnvInit, DPStart (02 4008) [dpxxdisp.c   1239]
         shared lib "dw_xml.dll" version 133 successfully loaded
         shared lib "dw_xtc.dll" version 133 successfully loaded
         shared lib "dw_stl.dll" version 133 successfully loaded
         shared lib "dw_gui.dll" version 133 successfully loaded
         shared lib "dw_mdm.dll" version 133 successfully loaded
    rdisp/softcancel_sequence :  -> 0,5,-1
    use internal message server connection to port 3900
    Wed Jun 11 02:05:50 2008
    WARNING => DpNetCheck: NiAddrToHost(1.0.0.0) took 5 seconds
    ***LOG GZZ=> 1 possible network problems detected - check tracefile and adjust the DNS settings [dpxxtool2.c  5371]
    MtxInit: 30000 0 0
    DpSysAdmExtInit: ABAP is active
    DpSysAdmExtInit: VMC (JAVA VM in WP) is not active
    DpIPCInit2: start server >SAPPREC2_MIS_02                         <
    DpShMCreate: sizeof(wp_adm)          37008     (1480)
    DpShMCreate: sizeof(tm_adm)          56268128     (28120)
    DpShMCreate: sizeof(wp_ca_adm)          80000     (80)
    DpShMCreate: sizeof(appc_ca_adm)     160000     (80)
    DpCommTableSize: max/headSize/ftSize/tableSize=2000/16/2208064/2208080
    DpShMCreate: sizeof(comm_adm)          2208080     (1088)
    DpSlockTableSize: max/headSize/ftSize/fiSize/tableSize=0/0/0/0/0
    DpShMCreate: sizeof(slock_adm)          0     (104)
    DpFileTableSize: max/headSize/ftSize/tableSize=0/0/0/0
    DpShMCreate: sizeof(file_adm)          0     (72)
    DpShMCreate: sizeof(vmc_adm)          0     (1864)
    DpShMCreate: sizeof(wall_adm)          (416064/346352/64/192)
    DpShMCreate: sizeof(gw_adm)     48
    DpShMCreate: SHM_DP_ADM_KEY          (addr: 000000000CCF0050, size: 59524432)
    ERROR => DpShMCreate: ShmCreate SHM_DP_CA_KEY(rc=4) [dpxxca.c     181]
    ERROR => DpIPCInit2: DpShMCreate [dpxxtool2.c  462]
    DP_FATAL_ERROR => DpSapEnvInit: DpIPCInit2
    DISPATCHER EMERGENCY SHUTDOWN ***
    NiWait: sleep (5000ms) ...
    NiISelect: timeout 5000ms
    NiISelect: maximum fd=1
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Wed Jun 11 02:05:55 2008
    NiISelect: TIMEOUT occured (5000ms)
    DpHalt: shutdown server >SAPPREC2_MIS_02                         < (normal)
    DpJ2eeDisableRestart
    Switch off Shared memory profiling
    ShmProtect( 57, 3 )
    ShmProtect(SHM_PROFILE, SHM_PROT_RW
    ShmProtect( 57, 1 )
    ShmProtect(SHM_PROFILE, SHM_PROT_RD
    call semaphore clean-up function ...
    ***LOG Q0E=> DpSigGenHandler, Exception (c0000005) [dpnttool.c   432]
    C-STACK -
    SAP (R) - R/3(TM) Callstack, Version 1.0
    Copyright (C) SAP AG. All rights reserved.
    Application exception occurred:
    Exception : c0000005 (Access Violation)
    App       : disp+work.EXE (pid=4008)
    When      : 6/11/2008 2:5:55.274
    Threads   : 2
    Computer Name       : SAPPREC2
    User Name           : SAPServiceMIS
    Number of Processors: 4
    Processor Type: EM64T Family 6 Model 15 Stepping 6
    Windows Version     : 5.2 Current Build: 3790
    State Dump for Thread Id 11ec
    --> (FAULT) Stack Back Trace <--
    FramePtr         ReturnAd         Param#1          Function Name
    0000000007d1f2e0 000000000041a395 0000000000000001 disp+work!DpVmcCheckDebugProxy [dpxxvmc.c (1211)]
    0000000007d1f3d0 000000000041d007 0000000005561401 disp+work!DpHalt [dpxxdisp.c (10016)]
    0000000007d1fc10 0000000000421a1b 0000000002671ab0 disp+work!DpFatalErr [dpxxdisp.c (17789)]
    0000000007d1feb0 000000000042d570 0000000000000000 disp+work!DpSapEnvInit [dpxxdisp.c (1388)]
    0000000007d1fee0 000000000040108d ffffffff00000002 disp+work!DpMain [dpxxdisp.c (1076)]
    0000000007d1ff10 00000000019c7dd1 0000000000000000 disp+work!nlsui_main [thxxanf.c (84)]
    0000000007d1ff70 0000000077d5966c 0000000000000000 disp+work!wmainCRTStartup [crtexe.c (498)]
    0000000007d1ffa0 0000000000000000 00000000019c7c60 kernel32!BaseProcessStart
    State Dump for Thread Id 1194
    --> Stack Back Trace <--
    FramePtr         ReturnAd         Param#1          Function Name
    000000000ccefe40 0000000077d5f651 0000000007d7bc60 ntdll!NtFsControlFile
    000000000ccefeb0 00000000018ae00f 0000000000000000 kernel32!ConnectNamedPipe
    000000000cceff40 000007ff7fc411c4 0000000000000000 disp+work!SigIMsgFunc [signt.c (679)]
    000000000cceff70 0000000077d6b69a 0000000077d6b660 msvcrt!endthreadex
    000000000cceffa0 0000000000000000 0000000000000000 kernel32!BaseThreadStart
    call clean-up function ...
    SigICallExitRoutine: call exithandler (DpHalt)
    DpHalt: shutdown server >SAPPREC2_MIS_02                         < (normal)
    DpJ2eeDisableRestart
    Switch off Shared memory profiling
    ShmProtect( 57, 3 )
    ShmProtect(SHM_PROFILE, SHM_PROT_RW
    DpShmPrfSwitch : State already set (OFF)
    ShmProtect( 57, 1 )
    ShmProtect(SHM_PROFILE, SHM_PROT_RD
    And our dev_w0
    this file was no modifued since we stop SAP System.
    M Tue Jun 10 15:56:18 2008
    M  *** WARNING => ThSndDelUser: delete client/user 020/RMENDOZA     (T60) on server SAPPREC1_MIS_01    

    S Tue Jun 10 19:07:40 2008
    S  server @>SSRV:SAPPREC1_MIS_01@< appears or changes (state 3)

    M Tue Jun 10 19:07:52 2008
    M  in_ThErrHandle: 1
    M  ThIErrHandle: new stat of W0 is WP_SHUTDOWN   
    M  ThIErrHandle: I'm during shutdown
    M  PfStatDisconnect: disconnect statistics
    M  Entering ThSetStatError
    M  ThCallDbBreak: use db_sqlbreak
    M  ThIErrHandle: don't try rollback again
    M  ThShutDownServer: shutdown server
    M  PfStatIndInit: Initializing Index-Record
    M  PfWriteIntoFile: copied shared buf (0 bytes) to local buf
    M  ThIErrHandle: do not call ThrCoreInfo (no_core_info=0, in_dynp_env=0)
    M  Entering ThReadDetachMode
    M  call ThrShutDown (1)...
    B  Disconnecting from ALL connections:
    B  Wp  Hdl ConName          ConId     ConState     TX  PRM RCT TIM MAX OPT Date     Time   DBHost         
    B  000 000 R/3              000000000 INACTIVE     NO  YES NO  000 255 255 20080610 144648 SAPPRECDB      
    C  Disconnecting from connection 0 ...
    C  Closing user session (con_hdl=0,svchp=000000000866D128,usrhp=0000000007D91058)
    C  Detaching from DB Server (con_hdl=0,svchp=000000000866D128,srvhp=0000000018D61918)
    C  Now I'm disconnected from ORACLE
    B  Disconnected from connection 0
    B  statistics db_con_commit (com_total=29203, com_tx=3253)
    B  statistics db_con_rollback (roll_total=494, roll_tx=0)
    M  ***LOG Q02=> wp_halt, WPStop (Workproc 0 2632) [dpnttool.c   327]
    Please Some Tips!
    Best Regards,
    Erick ILarraza

    Hi Deepak,
    Thanks  a lot for your reply, in this case the problem was with the Dialog Instance (Only SAP apps, not Oracle).
    We shutdown the instance with the Microsoft SAP Management Console (right  button -> Stop).
    In general to shutdown the SAP System we first:
    1. Shutdown The Dialog Instance. (SAP Management Console)
    2. Shutdown The Central Instance. (SAP Management Console)
    3. Shutdown Oracle (BR*Tools).
    4. Stop SAP and Oracle Services.
    Maybe is more a problem of Windows Memory Management.....
    Best Regards,
    Erick ILarraza

  • Why the photo app is not closing after i finish, when i take a picture accessing directly from home screen. the location is draining my battery if I'm not closing the app by double click home button. in iOS 6 was not like this

    When im taking a picture directly from home screen after im finished the application remain open. This app is ussing the location and if im not closing like other applications by doble click the home button the batery will finished fast. On the other IOS 5 and 6 was not neccesary to unblock the phone and bouble click the home bottom.

    Reinstalling OS X Without Erasing the Drive
    Boot to the Recovery HD: Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
    Reinstalling OS X Without Erasing the Drive
    Repair the Hard Drive and Permissions: Upon startup select Disk Utility from the main menu. Repair the Hard Drive and Permissions as follows.
    When the recovery menu appears select Disk Utility and press the Continue button. After Disk Utility loads select the Macintosh HD entry from the the left side list.  Click on the First Aid tab, then click on the Repair Disk button. If Disk Utility reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit Disk Utility and return to the main menu.
    Reinstall OS X: Select Reinstall OS X and click on the Continue button.
    Note: You will need an active Internet connection. I suggest using Ethernet if possible because it is three times faster than wireless.
    Alternatively, see:
    Reinstall OS X Without Erasing the Drive
    Choose the version you have installed now:
    OS X Yosemite- Reinstall OS X
    OS X Mavericks- Reinstall OS X
    OS X Mountain Lion- Reinstall OS X
    OS X Lion- Reinstall Mac OS X
         Note: You will need an active Internet connection. I suggest using Ethernet
                     if possible because it is three times faster than wireless.

  • Help to eject or unmount disk upon shutdown

    Hello all,
    Please take pity on a newbie and answer what I hope is a really simple script question. This is my first attempt at Apple Script.
    I have searched for a script that will eject (unmount) a disk upon shutdown, but haven't found anything on this board. Do you have a reference to an archived script or an example of such code?
    Background:
    I have a new FireWire drive (Western Digital MyBook). It is OSX compatible, but not well integrated. For example, it should power off when I shut down the computer. It does so, but only if I unmount it first. If you have a similar drive, I should note that this behavior began when I reformatted it to HFS+ (Journaled) from the OEM FAT32. I would like to autmate the un-mounting upon shut-down via an Apple Script.
    I am running OSX 10.3.9 on an E-Mac. As for my programming skills, I used to program in Fortran on both IBM and Unix mainframes, and do some basic Unix system administration tasks. So, I should be able to manage this scripting task if given the right advice.
    Thanks in advance for your help!
    E-Mac   Mac OS X (10.3.9)  
    E-Mac   Mac OS X (10.3.9)  
    E-Mac   Mac OS X (10.3.9)   Western Digital MyBook Firewire Drive

    The issue isn't how to unmount the disk (that's the easy part), the problem is when to trigger it.
    There is no standard mechanism for launching a script at shutdown, so there's no way to tell your script to run prior to the shutdown.
    The best solution I can think of is a stay-open script that sits around doing nothing all day, until it quits. When it quits it unmounts the drive.
    Under normal circumstances you wouldn't quit the script at all - just leave it running, but when the OS tells it to quit as part of the normal shutdown process it does its thing.
    Here's one way of doing it:
    on run
    -- nothing to do here
    end run
    on idle
    return 3600 -- do nothing, and dont' bother me again for an hour
    end idle
    on quit
    tell application "Finder"
    try
    eject disk "diskName"
    end try
    end tell
    continue quit
    end quit
    The 'run' handler is executed when the script is launched, but there's nothing we need to do there.
    The 'idle' handler is run periodically in the background - again, we don't need to do anything here, either. The return value tells AppleScript how long to wait before re-running the idle handler
    The 'quit' handler does the work - as soon as it's called it unmounts the drive, then continues with the normal quit process.
    Of course, there's no checking here to make sure you really are shutting down (vs. just quitting the script manually), so you might want to add some validation (prompt the user, maybe?). You'll notice I wrapped the eject command in a try block - that way it'll fail silently if the disk isn't mounted, otherwise it would post an error dialog "Can't get disk "diskName"".

  • Multiple JVM not closed

    Hi,
    I've noticed that sometimes the JVMs are not closed by JWS or the app launched via JWS.
    Does something goes wrong with me or is it a real known problem ?
    thanks,
    ionel

    Swing applications must call system.exit() explicitly to close dow the VM. Because Java Web Start turns non-swing apps into swing apps, it is possible that some applications that will
    properly shutdown when run stand-alone will not due so when run under java web start.
    To get around this allways call System.exit() explicitly.
    /Andy

  • SAP Gui Logon - application server shutdown

    Hi!
    I'have installed SAP Netweaver 7.0 Abap TRIAL on my Windows XP Service Pack 3.
    After lunching NSP-->Start Application Server, all is ok.
    But when i try to Logon with Sap Gui 7.10, i get this error :
    application server shutdown
    Component     DPTM
    Release                710
    Version             10
    Return Code     -17
    Counter             1
    Could you please help me?
    Thanks a lot!

    Hi!
    MaxDB seems to start correctly :
    http://www.fabiocavallo.it/sap/maxdb.jpg
    ...here comes dev_w0 :
    trc file: "dev_w0", trc level: 1, release: "700"
    ACTIVE TRACE LEVEL           1
    ACTIVE TRACE COMPONENTS      all, MJ

    B Thu May 22 19:58:50 2008
    B  create_con (con_name=R/3)
    B  Loading DB library 'C:\SAP\NSP\SYS\exe\run\dbsdbslib.dll' ...
    M  *** ERROR => DlLoadLib: LoadLibrary(C:\SAP\NSP\SYS\exe\run\dbsdbslib.dll) Error 126 [dlnt.c       237]
    M          Error 126 = "Impossibile trovare il modulo specificato."
    B  *** ERROR => Couldn't load library 'C:\SAP\NSP\SYS\exe\run\dbsdbslib.dll'
    [dbcon.c      4726]
    M sysno      00
    M sid        NSP
    M systemid   560 (PC with Windows NT)
    M relno      7000
    M patchlevel 0
    M patchno    95
    M intno      20050900
    M make:      multithreaded, ASCII, optimized
    M pid        3376
    M
    M  kernel runs with dp version 224(ext=109) (@(#) DPLIB-INT-VERSION-224)
    M  length of sys_adm_ext is 360 bytes
    M  ***LOG Q0Q=> tskh_init, WPStart (Workproc 0 3376) [dpxxdisp.c   1301]
    I  MtxInit: 30000 0 0
    M  DpSysAdmExtCreate: ABAP is active
    M  DpSysAdmExtCreate: VMC (JAVA VM in WP) is not active

    M Thu May 22 19:58:51 2008
    M  DpShMCreate: sizeof(wp_adm)          6328     (904)
    M  DpShMCreate: sizeof(tm_adm)          3605136     (17936)
    M  DpShMCreate: sizeof(wp_ca_adm)          1200     (60)
    M  DpShMCreate: sizeof(appc_ca_adm)     1200     (60)
    M  DpCommTableSize: max/headSize/ftSize/tableSize=500/8/528040/528048
    M  DpShMCreate: sizeof(comm_adm)          528048     (1048)
    M  DpSlockTableSize: max/headSize/ftSize/fiSize/tableSize=0/0/0/0/0
    M  DpShMCreate: sizeof(slock_adm)          0     (96)
    M  DpFileTableSize: max/headSize/ftSize/tableSize=0/0/0/0
    M  DpShMCreate: sizeof(file_adm)          0     (72)
    M  DpShMCreate: sizeof(vmc_adm)          0     (1280)
    M  DpShMCreate: sizeof(wall_adm)          (22440/34344/56/100)
    M  DpShMCreate: sizeof(gw_adm)     48
    M  DpShMCreate: SHM_DP_ADM_KEY          (addr: 06420040, size: 4205552)
    M  DpShMCreate: allocated sys_adm at 06420040
    M  DpShMCreate: allocated wp_adm at 06421A28
    M  DpShMCreate: allocated tm_adm_list at 064232E0
    M  DpShMCreate: allocated tm_adm at 06423310
    M  DpShMCreate: allocated wp_ca_adm at 067935A0
    M  DpShMCreate: allocated appc_ca_adm at 06793A50
    M  DpShMCreate: allocated comm_adm at 06793F00
    M  DpShMCreate: system runs without slock table
    M  DpShMCreate: system runs without file table
    M  DpShMCreate: allocated vmc_adm_list at 06814DB0
    M  DpShMCreate: allocated gw_adm at 06814DF0
    M  DpShMCreate: system runs without vmc_adm
    M  DpShMCreate: allocated ca_info at 06814E20
    M  DpShMCreate: allocated wall_adm at 06814E28
    X  EmInit: MmSetImplementation( 2 ).
    X  MM global diagnostic options set: 0
    X  <ES> client 0 initializing ....
    X  Using implementation view
    M  <EsNT> Memory Reset disabled as NT default
    X  ES initialized.
    M  ThInit: running on host PCFABIO

    M Thu May 22 19:58:52 2008
    M  calling db_connect ...
    B  create_con (con_name=R/3)
    B  Loading DB library 'C:\SAP\NSP\SYS\exe\run\dbsdbslib.dll' ...
    M  *** ERROR => DlLoadLib: LoadLibrary(C:\SAP\NSP\SYS\exe\run\dbsdbslib.dll) Error 126 [dlnt.c       237]
    M          Error 126 = "Impossibile trovare il modulo specificato."
    B  *** ERROR => Couldn't load library 'C:\SAP\NSP\SYS\exe\run\dbsdbslib.dll'
    [dbcon.c      4726]
    M  ***LOG R19=> ThInit, db_connect ( DB-Connect 008192) [thxxhead.c   1426]
    M  in_ThErrHandle: 1
    M  *** ERROR => ThInit: db_connect (step 1, th_errno 13, action 3, level 1) [thxxhead.c   10240]

    M  Info for wp 0

    M    stat = WP_RUN
    M    waiting_for = NO_WAITING
    M    reqtype = DP_RQ_DIAWP
    M    act_reqtype = NO_REQTYPE
    M    rq_info = 0
    M    tid = -1
    M    mode = 255
    M    len = -1
    M    rq_id = 65535
    M    rq_source =
    M    last_tid = 0
    M    last_mode = 0
    M    semaphore = 0
    M    act_cs_count = 0
    M    csTrack = 0
    M    csTrackRwExcl = 0
    M    csTrackRwShrd = 0
    M    control_flag = 0
    M    int_checked_resource(RFC) = 0
    M    ext_checked_resource(RFC) = 0
    M    int_checked_resource(HTTP) = 0
    M    ext_checked_resource(HTTP) = 0
    M    report = >                                        <
    M    action = 0
    M    tab_name = >                              <
    M    vm = no VM

    M  *****************************************************************************
    M  *
    M  *  LOCATION    SAP-Server PCFABIO_NSP_00 on host PCFABIO (wp 0)
    M  *  ERROR       ThInit: db_connect
    M  *
    M  *  TIME        Thu May 22 19:58:52 2008
    M  *  RELEASE     700
    M  *  COMPONENT   Taskhandler
    M  *  VERSION     1
    M  *  RC          13
    M  *  MODULE      thxxhead.c
    M  *  LINE        10439
    M  *  COUNTER     1
    M  *
    M  *****************************************************************************

    M  PfStatDisconnect: disconnect statistics
    M  Entering TH_CALLHOOKS
    M  ThCallHooks: call hook >ThrSaveSPAFields< for event BEFORE_DUMP
    M  *** ERROR => ThrSaveSPAFields: no valid thr_wpadm [thxxrun1.c   720]
    M  *** ERROR => ThCallHooks: event handler ThrSaveSPAFields for event BEFORE_DUMP failed [thxxtool3.c  260]
    M  Entering ThSetStatError
    M  ThIErrHandle: do not call ThrCoreInfo (no_core_info=0, in_dynp_env=0)
    M  Entering ThReadDetachMode
    M  call ThrShutDown (1)...
    M  ***LOG Q02=> wp_halt, WPStop (Workproc 0 3376) [dpnttool.c   327]
    Thanks again, Sergo!
    Regards.
    Fabio

  • My iPad doesn't seem to charge when plugged in to my MacBook Pro if the MBP goes to sleep. My iPhone continues to charge even if the MBP is closed. Is that normal?

    My iPad (3rd Gen) seems to stop charging if it is plugged into my MBP if either the iPad is closed or if the MBP goes to sleep. My iPhone charges whether the MBP is awake or asleep or even if the MBP is closed. There is a screen display that shows the iPhone is charging. The iPad only has the tiny icon at the top of the screen that show it is charging. However, the battery's % charged does not increase if the lid is closed when I am charging the iPad if the lid is closed on the iPad or if the iPad off after pressing the on off button. Is this normal?

    The quickest way (and really the only way) to charge your iPad is with the included 10W USB Power Adapter. iPad will also charge, although more slowly, when attached to a computer with a high-power USB port (many recent Mac computers) or with an iPhone Power Adapter (5W). When attached to a computer via a standard USB port (most PCs or older Mac computers) iPad will charge very slowly (but iPad indicates not charging). Make sure your computer is on while charging iPad via USB. If iPad is connected to a computer that’s turned off or is in sleep or standby mode, the iPad battery will continue to drain.
    Apple recommends that once a month you let the iPad fully discharge & then recharge to 100%.
    At this link http://www.tomshardware.com/reviews/galaxy-tab-android-tablet,3014-11.html , tests show that the iPad 2 battery (25 watt-hours) will charge to 90% in 3 hours 1 minute. It will charge to 100% in 4 hours 2 minutes. The new iPad has a larger capacity battery (42 watt-hours), so using the 10W charger will obviously take longer. If you are using your iPad while charging, it will take even longer. It's best to turn your new iPad OFF and charge over night. Also look at The iPad's charging challenge explained http://www.macworld.com/article/1150356/ipadcharging.html
    Also, if you have a 3rd generation iPad, look at
    Apple: iPad Battery Nothing to Get Charged Up About
    http://allthingsd.com/20120327/apple-ipad-battery-nothing-to-get-charged-up-abou t/
    Apple Explains New iPad's Continued Charging Beyond 100% Battery Level
    http://www.macrumors.com/2012/03/27/apple-explains-new-ipads-continued-charging- beyond-100-battery-level/
    New iPad Takes Much Longer to Charge Than iPad 2
    http://www.iphonehacks.com/2012/03/new-ipad-takes-much-longer-to-charge-than-ipa d-2.html
     Cheers, Tom

  • Cursors are not closed when using Ref Cursor Query in a report  ORA-01000

    Dear Experts
    Oracel database 11g,
    developer suite 10.1.2.0.2,
    application server 10.1.2.0.2,
    Windows xp platform
    For a long time, I'm hitting ORA-01000
    I have a 2 group report (master and detail) using Ref Cusor query, when this report is run, I found that it opens several cursors (should be only one cursor) for the detail query although it should not, I found that the number of these cursors is equal to the number of master records.
    Moreover, after the report is finished, these cursors are not closed, and they are increasing cumulatively each time I run the report, and finally the maximum number of open cursors is exceeded, and thus I get ORA-01000.
    I increased the open cursors parameter for the database to an unbeleivable value 30000, but of course it will be exceeded during the session because the cursors are increasing cumulatively.
    I Found that this problem is solved when using only one master Ref Cursor Query and create a breake group, the problem is solved also if we use SQL Query instead of Ref Query for the master and detail queries, but for some considerations, I should not use neither breake group nor SQL Query, I have to use REF Cursor queries.
    Is this an oracle bug , and how can I overcome ?
    Thanks
    Edited by: Mostafa Abolaynain on May 6, 2012 9:58 AM

    Thank you Inol for your answer, However
    Ref Cursor give me felxibility to control the query, for example see the following query :
    function QR_1RefCurDS return DEF_CURSORS.JOURHEAD_REFCUR is
    temp_JOURHEAD DEF_CURSORS.JOURHEAD_refcur;
              v_from_date DATE;
              v_to_date DATE;
              V_SERIAL_TYPE number;
    begin
    SELECT SERIAL_TYPE INTO V_SERIAL_TYPE
    FROM ACC_VOUCHER_TYPES
    where voucher_type='J'
    and IDENT_NO=:IDENT
    AND COMP_NO=TO_NUMBER(:COMPANY_NO);
         IF :no_date=1 then
                   IF V_SERIAL_TYPE =1 THEN     
                   open temp_JOURHEAD for select VOCH_NO, VOCH_DATE
                   FROM JOURHEAD
                   WHERE COMP_NO=TO_NUMBER(:COMPANY_NO)
                   AND IDENT=:IDENT
              AND ((TO_NUMBER(VOCH_NO)=:FROM_NO and :FROM_NO IS NOT NULL AND :TO_NO IS NULL)
              OR (TO_NUMBER(VOCH_NO) BETWEEN :FROM_NO AND :TO_NO and :FROM_NO IS NOT NULL AND :TO_NO IS NOT NULL )
              OR (TO_NUMBER(VOCH_NO)<=:TO_NO and :FROM_NO IS NULL AND :TO_NO IS NOT NULL )
              OR (:FROM_NO IS NULL AND :TO_NO IS NULL ))
                   ORDER BY TO_NUMBER(VOCH_NO);
                   ELSE
                   open temp_JOURHEAD for select VOCH_NO, VOCH_DATE
                   FROM JOURHEAD
                   WHERE COMP_NO=TO_NUMBER(:COMPANY_NO)
                   AND IDENT=:IDENT               
              AND ((VOCH_NO=:FROM_NO and :FROM_NO IS NOT NULL AND :TO_NO IS NULL)
              OR (VOCH_NO BETWEEN :FROM_NO AND :TO_NO and :FROM_NO IS NOT NULL AND :TO_NO IS NOT NULL )
              OR (VOCH_NO<=:TO_NO and :FROM_NO IS NULL AND :TO_NO IS NOT NULL )
              OR (:FROM_NO IS NULL AND :TO_NO IS NULL ))     
                   ORDER BY VOCH_NO;          
                   END IF;
         ELSE
                   v_from_date:=to_DATE(:from_date);
                   v_to_date:=to_DATE(:to_date);                         
              IF V_SERIAL_TYPE =1 THEN
                   open temp_JOURHEAD for select VOCH_NO, VOCH_DATE
                   FROM JOURHEAD
                   WHERE COMP_NO=TO_NUMBER(:COMPANY_NO)
              AND IDENT=:IDENT                         
                   AND ((voch_date between v_from_date and v_to_date and :from_date is not null and :to_date is not null)
                   OR (voch_date <= v_to_date and :from_date is null and :to_date is not null)
                   OR (voch_date = v_from_date and :from_date is not null and :to_date is null)
                   OR (:from_date is null and :to_date is null ))     
                   ORDER BY VOCH_DATE,TO_NUMBER(VOCH_NO);     
              ELSE
                   open temp_JOURHEAD for select VOCH_NO, VOCH_DATE
                   FROM JOURHEAD
                   WHERE COMP_NO=TO_NUMBER(:COMPANY_NO)
                   AND IDENT=:IDENT                         
              AND ((voch_date between v_from_date and v_to_date and :from_date is not null and :to_date is not null)
                   OR (voch_date <= v_to_date and :from_date is null and :to_date is not null)
                   OR (voch_date = v_from_date and :from_date is not null and :to_date is null)
                   OR (:from_date is null and :to_date is null ))     
                   ORDER BY VOCH_DATE,VOCH_NO;          
              END IF;
         END IF;               
         return temp_JOURHEAD;
    end;

Maybe you are looking for