Stream is empty after read

Hello, 
I,m new in programming, and now trying save email message body to disk, i have stream with body that sucessfully saved to disk, but after my original stream is empty? Why? What i should do? Thank you very much!

This is because a Stream is designed to work like a single pass through the data.  If you want to read the data a second time, then you'll need to reset the stream back to the beginning, or save the data somewhere so that you can
read it again.
"I read a book and now my book is empty!"  Solution, turn back to page 1.  In other words, if your stream is
seekable, then seek back to the beginning.  
If the stream is not seekable, if it's truly a stream, like a network stream, then you'll have to reopen your saved file to read the data again.  Much like, "My wife said something important to me, but now she's not talking to me anymore!"
 You should have remembered/recorded/written-down what your wife said to you!  ;)

Similar Messages

  • I bought my mac book pro 4 years ago and it is really slow now. I have downloaded Etrecheck after reading some threads on here and here are the results

    I got my MacBook Pro 4 years ago and its getting really slow.
    After reading dome threads on this site i downloaded Etrecheck and here are the results.
    Any help would be greatly appreciated.
    EtreCheck version: 2.1.8 (121)
    Report generated 21 March 2015 9:41:28 PM AEDT
    Download EtreCheck from http://etresoft.com/etrecheck
    Click the [Click for support] links for help with non-Apple products.
    Click the [Click for details] links for more information about that line.
    Hardware Information: ℹ️
        MacBook Pro (15-inch, Mid 2010) (Technical Specifications)
        MacBook Pro - model: MacBookPro6,2
        1 2.4 GHz Intel Core i5 CPU: 2-core
        4 GB RAM
            BANK 0/DIMM0
                2 GB DDR3 1067 MHz ok
            BANK 1/DIMM0
                2 GB DDR3 1067 MHz ok
        Bluetooth: Old - Handoff/Airdrop2 not supported
        Wireless:  en1: 802.11 a/b/g/n
        Battery Health: Normal - Cycle count 814
    Video Information: ℹ️
        NVIDIA GeForce GT 330M - VRAM: 256 MB
            Color LCD 1440 x 900
            spdisplays_display_connector
        Intel HD Graphics - VRAM: 288 MB
            spdisplays_display_connector
    System Software: ℹ️
        Mac OS X 10.6.8 (10K549) - Time since boot: one day 2:7:40
    Disk Information: ℹ️
        TOSHIBA MK3255GSXF disk0 : (298.09 GB)
            - (disk0s1) <not mounted> : 210 MB
            Macintosh HD (disk0s2) / : 319.73 GB (150.44 GB free)
        MATSHITADVD-R   UJ-898
    USB Information: ℹ️
        Apple Inc. BRCM2070 Hub
            Apple Inc. Bluetooth USB Host Controller
        Apple Internal Memory Card Reader
        Apple Inc. Apple Internal Keyboard / Trackpad
        Apple Computer, Inc. IR Receiver
        Apple Inc. Built-in iSight
    Configuration files: ℹ️
        /etc/hosts - Count: 31
    Kernel Extensions: ℹ️
            /Library/Application Support/MacKeeper/AntiVirus.app
        [not loaded]    com.zeobit.kext.AVKauth (2.3.3 - SDK 10.8) [Click for support]
        [not loaded]    com.zeobit.kext.Firewall (2.3.3 - SDK 10.8) [Click for support]
            /System/Library/Extensions
        [not loaded]    com.devguru.driver.SamsungComposite (1.2.63 - SDK 10.6) [Click for support]
        [not loaded]    com.leapfrog.codeless.kext (2) [Click for support]
        [not loaded]    com.leapfrog.driver.LfConnectDriver (1.11.1 - SDK 10.10) [Click for support]
        [not loaded]    com.wibu.codemeter.CmUSBMassStorage (1.0.7) [Click for support]
            /System/Library/Extensions/ssuddrv.kext/Contents/PlugIns
        [not loaded]    com.devguru.driver.SamsungACMControl (1.2.63 - SDK 10.6) [Click for support]
        [not loaded]    com.devguru.driver.SamsungACMData (1.2.63 - SDK 10.6) [Click for support]
        [not loaded]    com.devguru.driver.SamsungMTP (1.2.63 - SDK 10.5) [Click for support]
        [not loaded]    com.devguru.driver.SamsungSerial (1.2.63 - SDK 10.6) [Click for support]
    Problem System Launch Daemons: ℹ️
        [running]    com.wibu.CodeMeter.Server.plist [Click for support]
        [not loaded]    org.samba.winbindd.plist [Click for support]
    Launch Agents: ℹ️
        [not loaded]    com.adobe.AAM.Updater-1.0.plist [Click for support]
        [loaded]    com.adobe.CS5ServiceManager.plist [Click for support]
        [loaded]    com.google.keystone.agent.plist [Click for support]
        [running]    com.hp.devicemonitor.plist [Click for support]
        [loaded]    com.hp.messagecenter.launcher.plist [Click for support]
    Launch Daemons: ℹ️
        [loaded]    com.adobe.fpsaud.plist [Click for support]
        [loaded]    com.adobe.SwitchBoard.plist [Click for support]
        [loaded]    com.google.keystone.daemon.plist [Click for support]
        [loaded]    com.leapfrog.connect.authdaemon.plist [Click for support]
        [loaded]    com.microsoft.office.licensing.helper.plist [Click for support]
        [loaded]    com.skype.skypeinstaller.plist [Click for support]
        [running]    com.zeobit.MacKeeper.AntiVirus.plist [Click for support]
    User Launch Agents: ℹ️
        [loaded]    com.adobe.AAM.Updater-1.0.plist [Click for support]
        [loaded]    com.adobe.ARM.[...].plist [Click for support]
        [loaded]    com.adobe.ARM.[...].plist [Click for support]
        [running]    com.akamai.single-user-client.plist [Click for support]
        [failed]    com.apple.CSConfigDotMacCert-[...]@me.com-SharedServices.Agent.plist [Click for details]
        [running]    com.leapfrog.connect.monitor.plist [Click for support]
        [running]    com.spotify.webhelper.plist [Click for support]
        [failed]    com.zeobit.MacKeeper.Helper.plist [Click for support] [Click for details]
    User Login Items: ℹ️
        LOGINserver    Application  (/Library/Printers/Brother/Utilities/Server/LOGINserver.app)
        InstUtilLaunch    Application  (/Library/Printers/Brother/Utilities/InstallUtility.app/Contents/Resources/Inst UtilLaunch.app)
    Internet Plug-ins: ℹ️
        o1dbrowserplugin: Version: 5.38.6.0 - SDK 10.8 [Click for support]
        OVSHelper: Version: 1.1 [Click for support]
        OfficeLiveBrowserPlugin: Version: 12.2.9 [Click for support]
        net.juniper.DSSafariExtensions: Version: Unknown [Click for support]
        Silverlight: Version: 4.0.60129.0 [Click for support]
        FlashPlayer-10.6: Version: 16.0.0.305 - SDK 10.6 [Click for support]
        DivXBrowserPlugin: Version: 2.1 [Click for support]
        Flash Player: Version: 16.0.0.305 - SDK 10.6 Outdated! Update
        iPhotoPhotocast: Version: 7.0 - SDK 10.7
        googletalkbrowserplugin: Version: 5.38.6.0 - SDK 10.8 [Click for support]
        QuickTime Plugin: Version: 7.6.6
        AdobePDFViewer: Version: 10.0.3 [Click for support]
        SharePointBrowserPlugin: Version: 14.0.0 [Click for support]
        JavaAppletPlugin: Version: 13.9.8 - SDK 10.6 Check version
    Safari Extensions: ℹ️
        Searchme  [Adware! - Remove]
        DivX Plus Web Player HTML5 <video>
    Audio Plug-ins: ℹ️
        iSightAudio: Version: 7.6.6
    3rd Party Preference Panes: ℹ️
        Akamai NetSession Preferences  [Click for support]
        CodeMeter  [Click for support]
        DivX  [Click for support]
        Flash Player  [Click for support]
        Growl  [Click for support]
    Time Machine: ℹ️
        Time Machine information requires OS X 10.7 "Lion" or later.
    Top Processes by CPU: ℹ️
            14%    firefox
             5%    WindowServer
             0%    ps
             0%    fontd
             0%    DirectoryService
    Top Processes by Memory: ℹ️
        528 MB    firefox
        176 MB    Finder
        159 MB    AntiVirus
        112 MB    WindowServer
        82 MB    mds
    Virtual Memory Information: ℹ️
        1.07 GB    Free RAM
        1.29 GB    Active RAM
        1.01 GB    Inactive RAM
        784 MB    Wired RAM
        962 MB    Page-ins
        3 MB    Page-outs
    Diagnostics Information: ℹ️
        Mar 20, 2015, 07:32:46 PM    Self test - passed

    Hardware Information: ℹ️
        MacBook Pro (15-inch, Mid 2010) (Technical Specifications)
        MacBook Pro - model: MacBookPro6,2
        1 2.4 GHz Intel Core i5 CPU: 2-core
        4 GB RAM
            BANK 0/DIMM0
                2 GB DDR3 1067 MHz ok
            BANK 1/DIMM0
                2 GB DDR3 1067 MHz ok
        Bluetooth: Old - Handoff/Airdrop2 not supported
        Wireless:  en1: 802.11 a/b/g/n
        Battery Health: Normal - Cycle count 814
    ***Hardware looks fine
    ***Increasing the RAM can always help with slowness issues
    Video Information: ℹ️
        NVIDIA GeForce GT 330M - VRAM: 256 MB
            Color LCD 1440 x 900
            spdisplays_display_connector
        Intel HD Graphics - VRAM: 288 MB
            spdisplays_display_connector
    ***Looks fine
    System Software: ℹ️
        Mac OS X 10.6.8 (10K549) - Time since boot: one day 2:7:40
    ***You are running an Operating system over 4 years old but it shouldn't effect the speed of your computer
    Disk Information: ℹ️
        TOSHIBA MK3255GSXF disk0 : (298.09 GB)
            - (disk0s1) <not mounted> : 210 MB
            Macintosh HD (disk0s2) / : 319.73 GB (150.44 GB free)
        MATSHITADVD-R   UJ-898
    ***Looks fine
    USB Information: ℹ️
        Apple Inc. BRCM2070 Hub
            Apple Inc. Bluetooth USB Host Controller
        Apple Internal Memory Card Reader
        Apple Inc. Apple Internal Keyboard / Trackpad
        Apple Computer, Inc. IR Receiver
        Apple Inc. Built-in iSight
    Configuration files: ℹ️
        /etc/hosts - Count: 31
    ***Looks fine
    Kernel Extensions: ℹ️
            /Library/Application Support/MacKeeper/AntiVirus.app
        [not loaded]    com.zeobit.kext.AVKauth (2.3.3 - SDK 10.8) [Click for support]
        [not loaded]    com.zeobit.kext.Firewall (2.3.3 - SDK 10.8) [Click for support]
            /System/Library/Extensions
        [not loaded]    com.devguru.driver.SamsungComposite (1.2.63 - SDK 10.6) [Click for support]
        [not loaded]    com.leapfrog.codeless.kext (2) [Click for support]
        [not loaded]    com.leapfrog.driver.LfConnectDriver (1.11.1 - SDK 10.10) [Click for support]
        [not loaded]    com.wibu.codemeter.CmUSBMassStorage (1.0.7) [Click for support]
            /System/Library/Extensions/ssuddrv.kext/Contents/PlugIns
        [not loaded]    com.devguru.driver.SamsungACMControl (1.2.63 - SDK 10.6) [Click for support]
        [not loaded]    com.devguru.driver.SamsungACMData (1.2.63 - SDK 10.6) [Click for support]
        [not loaded]    com.devguru.driver.SamsungMTP (1.2.63 - SDK 10.5) [Click for support]
        [not loaded]    com.devguru.driver.SamsungSerial (1.2.63 - SDK 10.6) [Click for support]
    ***I'm honestly not super familiar with most kernal extensions but I do see you have MacKeeper running which can slow the computer down
    ****** This next section talks about Launch agents and Launch Daemons.
    ****Something to keep in mind is that when you first get the computer that all of these folders are empty and the files in them are all third party.
    ****If you want to see if the system runs better without them Shut the computer down and turn it on while holding the shift key
    ****This will put the computer into safemode which turns off third party files and extensions and does not let any launch agent/daemons files run.
    Problem System Launch Daemons: ℹ️
        [running]    com.wibu.CodeMeter.Server.plist [Click for support]
        [not loaded]    org.samba.winbindd.plist [Click for support]
    Launch Agents: ℹ️
        [not loaded]    com.adobe.AAM.Updater-1.0.plist [Click for support]
        [loaded]    com.adobe.CS5ServiceManager.plist [Click for support]
        [loaded]    com.google.keystone.agent.plist [Click for support]
        [running]    com.hp.devicemonitor.plist [Click for support]
        [loaded]    com.hp.messagecenter.launcher.plist [Click for support]
    ***This is the root launch agent folder
    ***I'd remove all but the first three
    Launch Daemons: ℹ️
        [loaded]    com.adobe.fpsaud.plist [Click for support]
        [loaded]    com.adobe.SwitchBoard.plist [Click for support]
        [loaded]    com.google.keystone.daemon.plist [Click for support]
        [loaded]    com.leapfrog.connect.authdaemon.plist [Click for support]
        [loaded]    com.microsoft.office.licensing.helper.plist [Click for support]
        [loaded]    com.skype.skypeinstaller.plist [Click for support]
        [running]    com.zeobit.MacKeeper.AntiVirus.plist [Click for support]
    ***This is the root Launch Daemons folder
    ***I'd only keep com.adobe.fpsaud.plist and com.microsfot.office.licensing.helper.plist all the others will reinstall them selves if needed.
    User Launch Agents: ℹ️
        [loaded]    com.adobe.AAM.Updater-1.0.plist [Click for support]
        [loaded]    com.adobe.ARM.[...].plist [Click for support]
        [loaded]    com.adobe.ARM.[...].plist [Click for support]
        [running]    com.akamai.single-user-client.plist [Click for support]
        [failed]    com.apple.CSConfigDotMacCert-[...]@me.com-SharedServices.Agent.plist [Click for details]
        [running]    com.leapfrog.connect.monitor.plist [Click for support]
        [running]    com.spotify.webhelper.plist [Click for support]
        [failed]    com.zeobit.MacKeeper.Helper.plist [Click for support] [Click for details]
    ***This is your users Launch Agent folder
    ***I'd remove everything here
    User Login Items: ℹ️
        LOGINserver    Application  (/Library/Printers/Brother/Utilities/Server/LOGINserver.app)
        InstUtilLaunch    Application  (/Library/Printers/Brother/Utilities/InstallUtility.app/Contents/Resources/Inst UtilLaunch.app)
    Internet Plug-ins: ℹ️
        o1dbrowserplugin: Version: 5.38.6.0 - SDK 10.8 [Click for support]
        OVSHelper: Version: 1.1 [Click for support]
        OfficeLiveBrowserPlugin: Version: 12.2.9 [Click for support]
        net.juniper.DSSafariExtensions: Version: Unknown [Click for support]
        Silverlight: Version: 4.0.60129.0 [Click for support]
        FlashPlayer-10.6: Version: 16.0.0.305 - SDK 10.6 [Click for support]
        DivXBrowserPlugin: Version: 2.1 [Click for support]
        Flash Player: Version: 16.0.0.305 - SDK 10.6 Outdated! Update
        iPhotoPhotocast: Version: 7.0 - SDK 10.7
        googletalkbrowserplugin: Version: 5.38.6.0 - SDK 10.8 [Click for support]
        QuickTime Plugin: Version: 7.6.6
        AdobePDFViewer: Version: 10.0.3 [Click for support]
        SharePointBrowserPlugin: Version: 14.0.0 [Click for support]
        JavaAppletPlugin: Version: 13.9.8 - SDK 10.6 Check version
    Safari Extensions: ℹ️
        Searchme  [Adware! - Remove]
        DivX Plus Web Player HTML5 <video>
    ***The first extension in safari is adware and can be uninstalled
    ***The second one is a video web player and you could probably remove that as well but it wont effect your speed
    Audio Plug-ins: ℹ️
        iSightAudio: Version: 7.6.6
    3rd Party Preference Panes: ℹ️
        Akamai NetSession Preferences  [Click for support]
        CodeMeter  [Click for support]
        DivX  [Click for support]
        Flash Player  [Click for support]
        Growl  [Click for support]
    Time Machine: ℹ️
        Time Machine information requires OS X 10.7 "Lion" or later.
    Top Processes by CPU: ℹ️
            14%    firefox
             5%    WindowServer
             0%    ps
             0%    fontd
             0%    DirectoryService
    Top Processes by Memory: ℹ️
        528 MB    firefox
        176 MB    Finder
        159 MB    AntiVirus
        112 MB    WindowServer
        82 MB    mds
    Virtual Memory Information: ℹ️
        1.07 GB    Free RAM
        1.29 GB    Active RAM
        1.01 GB    Inactive RAM
        784 MB    Wired RAM
        962 MB    Page-ins
        3 MB    Page-outs
    Diagnostics Information: ℹ️
        Mar 20, 2015, 07:32:46 PM    Self test - passed
    ***Everything else seems fine

  • File Browse is emptied after failed validation

    Why does the file browse text box get emptied after a failed validation? Is there any way to prevent this?
    To further explain, create a form on a page with two page items, a text box and a file browse item, then put a not null validation on the text box. When you submit the page with a null text box, but with a file selected for the browse button, then validation catches and throws the error message back to the user when the page refreshes. However, the file browse text box is emptied, and the user has to reselect the file before resubmitting the page.
    Is this a bug, or just the way it is supposed to work? Any way around it?
    Thanks,
    Kris
    Edited by: kshenn on Oct 31, 2008 7:06 AM

    Hello,
    >> Is this a bug, or just the way it is supposed to work?
    This is not a bug. Actually, it has nothing to do with APEX. The behavior of the file browse item is controlled by the HTML standard, which clears the field for security reasons.
    If you pay close attention to Denes example, you’ll see that even when the validation error page is displayed, the file browse item itself is being cleared. The JavaScript generated file path is the one that retain its value. I don’t have access to Denes code, but I’m assuming that in his uploading procedure he’s using the JavaScript generated path.
    >> Any way around it?
    Where the file browse item is concern, no workaround.
    In your specific case, where the validation you need is “not null”, you can create a JavaScript validation, and fire it before submitting the page (as part of the submit button). That way, the browser will not clear the file browse item, because the page will not be submitted without proper values in your items.
    Regards,
    Arie.

  • I am trying to send photos to the cloud from my phone to my iPad but they are not appearing in the stream. I have read the instructions and I think I am doing it right or am I missing a part of the process?

    I am trying to send photos to the cloud from my phone to my iPad but they are not appearing in the stream. I have read the instructions and I think I am doing it right or am I missing a part of the process?

    HI,
    Have you done this before ? And if so, is photo stream turned on on your iphone and ipad. and as Alfred DeRose pointed out they must both on the same icloud account.
    If you're new to this, you might want to do some research. Photo stream is different from camera roll and albums. Many have been on this sight looking for their photos stored in icloud after restore, etc. and they're not there. Also, after thirty days icloud deletes your photos from photo stream.
    So if you're not aware, you might want to google your question. We're using the camera connection kit soon and I am learning about it. From all I've read, I'm also not the biggest icloud fan. I use dropbox. We plan to put photos taken on ipad with a camera/iphones into albums on the ipad. We'll keep all on the sd card until (and after) they can be uploaded to a computer.
    An example of an article we can learn from -
    http://www.macobserver.com/tmo/article/how-to-understand-and-work-with-your-iclo ud-photo-stream
    Hope this helps.

  • I downloaded the free upgrade for OS X Mavericks can you delete a download before installation ?  i don't want it after reading reviews.

    i downloaded the free upgrade for OS X Mavericks, can i  delete this download before installation ?  i don't want it after reading reviews.

    Yes, it's in your Applications folder and is called "Install OS X". Make sure to empty your trash afterwards to clear the space.
    Matt

  • USOBT_C almost empty after changing default values with SU24

    After the implementation of OSS Notes 0001378328, 0001382895 and 0001404093 I performed a change in SU24 on the default values of authorization object (2nd tab) S_ALV_LAYO for all transactions involved.
    I filtered all transactions with default value u2018Yesu2019 for this object and selected all these entries and changed them to u2018Nou2019.
    When creating new roles afterwards I noticed that no objects were pulled in in PFCG and when checking table USOBT_C I noticed that, apart from the 328 records I changed to No for S_ALV_LAYO the whole table was empty! In the development client  there are now just 328 records in this table whereas in de acceptance client there are 233,124 entries!
    Could you please find out the following:
    -          How could this happen?
    -          What can I do to restore table USOBT_C?
    I reported this bug also on OSS but maybe someone of you has had the same experience and can share the causes and solutions.
    Thank you!
    Lodewijk Borsboom

    > > To read such a huge text in the above suggested notes may become tiresome of not ofcourse worthless.
    > What is the use of posting a list of links or randon OSS note hits, when you are not sure whether they are usefull or not?
    >
    hmm.... though I am not sure and agree with the raise of OSS message for this issue, but when I read these notes after reading the query I found them to be notified to op.
    > Lodewijk can do that simple search himself. I always assume that the person asking a question has done a search before hand...
    >
    Agreed again. But not sure of his search result. May be his string missed some of these notes and can help him to check the program errors rectified in couple of Notes in 2009. But of course I confess about the uncertainty of the exact solution from my side.
    > If it is a basic requestion and easy answer with a link, then I delete it. It has no value to SDN. You are just attempting to do someone else's work for them, and that it not the case here.
    >
    > Please read the question carefully and answer specifically.
    >
    read and then posted the message. Also as I was not sure of solution to this particular error I surrendered in advance [mainly for you ]. Still I would like op to view the following notes on SAP Default value maintenance and if he has already done then that is great and I am just not helping with proper suggestion.
    [Note 1287998 - Problems when you maintain default authorization values|https://websmp230.sap-ag.de/sap%28bD1lbiZjPTAwMQ==%29/bc/bsp/spn/sapnotes/index2.htm?numm=1287998]
    [Note 1378328 - SU24: Error after deleting authorization default values|https://websmp230.sap-ag.de/sap%28bD1lbiZjPTAwMQ==%29/bc/bsp/spn/sapnotes/index2.htm?numm=1378328]
    Note 1382895 - SU24|Default value maintenance for authorization objects
    Note 1235912 - SU24|Display and maintenance of authorization default values|
    Hi Lodewijk,
    Did you check the change header for USOBT_C in CDHDR and CDPOS? Also let us updated with the reply from OSS please.
    regards,
    Dipanjan

  • How can you close an email after reading without either deleting it or saving it somewhere?  I use AOL and it just goes to "old mail" after you have read the email.

    How can you close an email in Apple iPad after reading it without deleting it.  I use AOL and in their application it just goes to "old mail" after you have read it.  In Apple's email it stays open. Very annoying.

    You cannot actually close an email in the mail app on the iPad. You can tap on the drafts folder or any empty folder that you migh have when you are done reading the email and then the blank white window will appear in the mail app.
    The mail app will always show emails otherwise. That is just the way that it works currently on the iPad.

  • After installing iphoto 9.5 some of my  projects are  completely or partly empty after regenerating, how can I get them back?

    After installing iphoto 9.5 some of my  projects (photobooks) are  completely or partly empty after regenerating, how can I get them back?

    Define "everything" because if you've tried everything then your last recourse is:
    1 - restore your backup copy of your iPhoto Library created just prior to your Yosemite upgrade or
    2 - Starting over from scratch with new library
    Start over with a new library and import the Originals (iPhoto 09 and earlier) or the Masters (iPhoto 11) folder from your original library as follows:
    1. Open the library package like this.
    2. Launch iPhoto with the Option key held down and, when asked, select the option to create a new library.
    3. Drag the subfolders of the Originals (iPhoto 09 and earlier) or the Masters (iPhoto 11) folder from the open iPhoto Library package into the open iPhoto window a few at a time.
    This will create a new library with the same Events (but not necessarily the same Event names) as the original library but will not keep the metadata, albums, books slideshows and other projects.
    Note:  your current library will be left untouched for further attempts at a fix if so desired.

  • Audio stream (LCCS) persisted after browser closed

    In our app, audio and video streams are published into a room while the users are chatting.
    We were told that it is not necessary to explicitly stop publication; logging out of the room is sufficient.
    Tonight I just had an experience where my chat partner tried to leave the room, experienced a bug, and then closed his browser (Chrome).  He used a tool to kill the process (Chrome) but the audio stream was still being published and audio was going both ways.  He could still hear me, and I him, even though his browser was no longer open.

    I might have to switch to the dreaded Internet Explorer over this. Chrome has no way to change the menu bars around.... which is too Microsoft-like for me. I don't even know if IE lets you modify menu sizes/positions. I left IE because a past version wouldn't let you mess with the menus.
    I found to stop an audio stream from playing after you close a browser window killing the Firefox process works. But I don't know if that is because it is a Firefox issue, or killing Firefox also kills any Flash add-ons.
    Grrrrrrrrr.

  • Ipod Shuffle suddenly emptied after two to three days not use..

    I had a problem which is my ipod shuffle suddenly emptied after two to three days i left in my room. What's the problem actually can be turn be like this since it's the first time i through it..please send me an email regarding this at [email protected] Thank You!

    Okay, and thanks for re-posting your photos. I have to agree that it definitely does look like crimping and would expect any continuity checks run on it to show an open or two. That would certainly explain your symptoms, but it's not the answer for all such cases, i.e., BLD, being reported here.
    I've now purchased two 'broken' Shuffle's on eBay, both coming off of M$ systems and reporting the blinkies. The first was Alive on Arrival and is still living happily on a daughter's eMac. The second was totally dead, with no reaction at all to anything I did; it's now disassembled, with no evidence of your crimping on the ribbon cable, while I mull over buying an LI battery and getting someone to solder it in for me.
    In your place I'd certainly be taking my evidence to Apple and pointing out that, at the end of the day, it was just a matter of pure luck that it managed to last as long with this defect as it did. I think you should be able to convince them to give you some sort of satisfaction on this, but appreciate your desire not to go through the bother of it.

  • HT204478 How do I migrate? My Photos library is empty after upgrade.

    How do I migrate? My Photos library is empty after upgrade.

    I read here that I need to start while holding Option Key to select my iPhoto library. Seems to be "Preparing Library"
    photos won't import from iPhoto to photos app

  • The Music and Sound section is completely empty after downloading FCPX.

    The music and sound section of my FCPX is empty after dowloading the app to my newly purchased Mac Book Pro. On my I7 it has tons of stock music and sound, the laptop seems to be missing this.  Any ideas why?

  • After reading and resetting everything with Keyboard I still get blank white screen. The only way I can boot to Mavericks is unplug power cord, push and hold power button while plugging power cord in. Fans at full speed.

    After reading and resetting everything with Keyboard I still get blank white screen on 2nd? page of boot. The only way I can boot to Mavericks is unplug power cord, push and hold power button while plugging power cord in. Fans run at full speed, machine boots then runs normal except the dvdrw will not . The mid 2011 IMAC had the same problem with LION. I changed hard drives, formatted, and installed a clean install of latest os x mavericks. Any help would be greatly appreciated.
    EtreCheck version: 1.9.15 (52)
    Report generated August 30, 2014 at 6:56:41 PM EDT
    Hardware Information: ?
        iMac (21.5-inch, Mid 2011) (Verified)
        iMac - model: iMac12,1
        1 2.5 GHz Intel Core i5 CPU: 4 cores
        4 GB RAM
    Video Information: ?
        AMD Radeon HD 6750M - VRAM: 512 MB
            iMac 1920 x 1080
    System Software: ?
        OS X 10.9.4 (13E28) - Uptime: 0 days 0:16:53
    Disk Information: ?
        ST3120026AS disk0 : (120.03 GB)
        S.M.A.R.T. Status: Verified
            EFI (disk0s1) <not mounted>: 209.7 MB
            Untitled (disk0s2) / [Startup]: 119.17 GB (87.12 GB free)
            Recovery HD (disk0s3) <not mounted>: 650 MB
        HL-DT-STDVDRW  GA32N 
    USB Information: ?
        Apple Inc. FaceTime HD Camera (Built-in)
        CHICONY USB NetVista Full Width Keyboard
        Apple Inc. BRCM2046 Hub
            Apple Inc. Bluetooth USB Host Controller
        Apple Computer, Inc. IR Receiver
        Apple Internal Memory Card Reader
    Thunderbolt Information: ?
        Apple Inc. thunderbolt_bus
    Gatekeeper: ?
        Anywhere
    Kernel Extensions: ?
        [loaded]    com.nvidia.CUDA (1.1.0) Support
        [loaded]    com.sophos.kext.sav (9.0.61 - SDK 10.7) Support
        [loaded]    com.sophos.nke.swi (9.0.53 - SDK 10.8) Support
    Startup Items: ?
        CUDA: Path: /System/Library/StartupItems/CUDA
        FanControlDaemon: Path: /Library/StartupItems/FanControlDaemon
    Launch Daemons: ?
        [loaded]    com.adobe.fpsaud.plist Support
        [running]    com.arcsoft.eservutil.plist Support
        [running]    com.bjango.istatmenusdaemon.plist Support
        [loaded]    com.oracle.java.Helper-Tool.plist Support
        [running]    com.sophos.autoupdate.plist Support
        [running]    com.sophos.configuration.plist Support
        [running]    com.sophos.intercheck.plist Support
        [running]    com.sophos.notification.plist Support
        [running]    com.sophos.scan.plist Support
        [running]    com.sophos.sxld.plist Support
        [running]    com.sophos.webd.plist Support
    Launch Agents: ?
        [running]    com.arcsoft.esinter.plist Support
        [running]    com.bjango.istatmenusagent.plist Support
        [loaded]    com.nvidia.CUDASoftwareUpdate.plist Support
        [loaded]    com.oracle.java.Java-Updater.plist Support
        [running]    com.sophos.uiserver.plist Support
    User Login Items: ?
        Macs Fan Control
        Firefox
    Internet Plug-ins: ?
        FlashPlayer-10.6: Version: 14.0.0.176 - SDK 10.6 Support
        Flash Player: Version: 14.0.0.176 - SDK 10.6 Support
        QuickTime Plugin: Version: 7.7.3
        JavaAppletPlugin: Version: Java 7 Update 67 Check version
        Default Browser: Version: 537 - SDK 10.9
    Audio Plug-ins: ?
        BluetoothAudioPlugIn: Version: 1.0 - SDK 10.9
        AirPlay: Version: 2.0 - SDK 10.9
        AppleAVBAudio: Version: 203.2 - SDK 10.9
        iSightAudio: Version: 7.7.3 - SDK 10.9
    iTunes Plug-ins: ?
        Quartz Composer Visualizer: Version: 1.4 - SDK 10.9
    3rd Party Preference Panes: ?
        CUDA Preferences  Support
        Fan Control  Support
        Flash Player  Support
        Java  Support
    Time Machine: ?
        Time Machine not configured!
    Top Processes by CPU: ?
             1%    WindowServer
             1%    fontd
             0%    firefox
             0%    SystemUIServer
             0%    SophosWebIntelligence
    Top Processes by Memory: ?
        229 MB    firefox
        156 MB    SophosScanD
        152 MB    InterCheck
        131 MB    com.apple.IconServicesAgent
        115 MB    SophosAntiVirus
    Virtual Memory Information: ?
        424 MB    Free RAM
        1.53 GB    Active RAM
        1.37 GB    Inactive RAM
        699 MB    Wired RAM
        1.26 GB    Page-ins
        0 B    Page-outs

    I'd start by getting rid of the following software responsible for these extensions.
    Kernel Extensions: ?
        [loaded]    com.nvidia.CUDA (1.1.0) Support
        [loaded]    com.sophos.kext.sav (9.0.61 - SDK 10.7) Support
        [loaded]    com.sophos.nke.swi (9.0.53 - SDK 10.8) Support
    Startup Items: ?
        CUDA: Path: /System/Library/StartupItems/CUDA
        FanControlDaemon: Path: /Library/StartupItems/FanControlDaemon
    Use the uninstaller provided with the Sophos software. You can uninstall CUDA via the preference pane. Be sure you remove the com.nvidia.CUDA extension which is located in the /System/Library/Extensions/ folder. Not sure if Fan Control has an uninstaller so you will have to do it manually:
    Uninstalling Software: The Basics
    Most OS X applications are completely self-contained "packages" that can be uninstalled by simply dragging the application to the Trash.  Applications may create preference files that are stored in the /Home/Library/Preferences/ folder.  Although they do nothing once you delete the associated application, they do take up some disk space.  If you want you can look for them in the above location and delete them, too.
    Some applications may install an uninstaller program that can be used to remove the application.  In some cases the uninstaller may be part of the application's installer, and is invoked by clicking on a Customize button that will appear during the install process.
    Some applications may install components in the /Home/Library/Applications Support/ folder.  You can also check there to see if the application has created a folder.  You can also delete the folder that's in the Applications Support folder.  Again, they don't do anything but take up disk space once the application is trashed.
    Some applications may install a startupitem or a Log In item.  Startupitems are usually installed in the /Library/StartupItems/ folder and less often in the /Home/Library/StartupItems/ folder.  Log In Items are set in the Accounts preferences.  Open System Preferences, click on the Accounts icon, then click on the LogIn Items tab.  Locate the item in the list for the application you want to remove and click on the "-" button to delete it from the list.
    Some software use startup daemons or agents that are a new feature of the OS.  Look for them in /Library/LaunchAgents/ and /Library/LaunchDaemons/ or in /Home/Library/LaunchAgents/.
    If an application installs any other files the best way to track them down is to do a Finder search using the application name or the developer name as the search term.  Unfortunately Spotlight will not look in certain folders by default.  You can modify Spotlight's behavior or use a third-party search utility, EasyFind, instead.
    Some applications install a receipt in the /Library/Receipts/ folder.  Usually with the same name as the program or the developer.  The item generally has a ".pkg" extension.  Be sure you also delete this item as some programs use it to determine if it's already installed.
    There are many utilities that can uninstall applications.  Here is a selection:
        1. AppZapper
        2. AppDelete
        3. Automaton
        4. Hazel
        5. AppCleaner
        6. CleanApp
        7. iTrash
        8. Amnesia
        9. Uninstaller
      10. Spring Cleaning
    For more information visit The XLab FAQs and read the FAQ on removing software.
    Be sure to remove your two Login Items. Finally do this:
    Reinstall Lion, Mountain Lion, or Mavericks without erasing 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.
    Repair
    When the recovery menu appears select Disk Utility. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported then click on the Repair Permissions button. When the process is completed, then quit DU and return to the main menu.
    Reinstall Lion, Mountain Lion, or Mavericks
    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.

  • Delete File's after Reading on server

    Hi All,
    I am uploading & reading a CSV or Txt file which contains data. The servlet reads & successfully inserting date into the backend db tables.
    For the uploading purposes i am using com.oreilly.servlet.MultipartWrapper servlet class which does successfully upload's the selected file from JSP page to the server location which i mentioned in web.xml.
    Now my requirement is after reading the file from the uploaded location i want to delete the file. can anyone suggest me on this??
    I have tried using file.delete(); method but it does not seem working. Any suggestions???
    Code :
    web.xml
    <filter>
    <filter-name>MultipartFilter</filter-name>
    <filter-class>com.oreilly.servlet.MultipartFilter</filter-class>
    <init-param>
    <param-name>uploadDir</param-name>               
    <param-value>C:/Temp/</param-value>
    </init-param>          
    </filter>
    <filter-mapping>
    <filter-name>MultipartFilter</filter-name>
    <url-pattern>FileUpload</url-pattern>
    </filter-mapping>
    <servlet>
    <servlet-name>FileUpload</servlet-name>
    <servlet-class>com.test.FileUpload</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>FileUpload</servlet-name>
    <url-pattern>FileUpload</url-pattern>
    </servlet-mapping>
    JSP Code :
    <FORM name="file_upload" action="<%=request.getContextPath()%>/FileUpload" method="post"      enctype="multipart/form-data">
    <TABLE border="1" width="400" CELLPADDING="4">
                   <tr>
                        <td colspan="2" align="center">Enter or Select the file for Upload</td>
                   </tr>
                   <tr>
                        <td align="center">Enter or Select a file: <input type="file" name="fileInfo" value="" /></td>
                   </tr>
                   <tr>
                        <td colspan="2" align="center"><input type="submit" name="button" value="Upload File" />
                        </td>
                   </tr>
              </TABLE>
    </FORM>
    Servlet Code :
    import import javax.servlet.*;
    import com.Ostermiller.util.CSVParser;
    import com.oreilly.servlet.MultipartWrapper;
    public class FileUpload extends HttpServlet {
    boolean recordInserted = false;
    Connection dbconn = null;
    CallableStatement cstmt1 = null;
    DatabaseUtils dbUtils = new DatabaseUtils();
    protected void doPost(HttpServletRequest request,
                   HttpServletResponse response) throws ServletException, IOException,
                   FileNotFoundException {
              HttpSession session = request.getSession();
              PrintWriter out = response.getWriter();
    try {
                   dbconn = dbUtils.getConnection(session);
                   // to get the content type information from JSP Request Header
                   String contentType = request.getContentType();
                   Enumeration enum1 = request.getParameterNames();
                   while (enum1.hasMoreElements()) {
                        String name = (String) enum1.nextElement();
                        String values[] = request.getParameterValues(name);
                        if (values != null) {
                             for (int i = 0; i < values.length; i++) {
                                  cat.debug(name + " (" + i + "): " + values);
    if (request instanceof MultipartWrapper) {
                        try {
                             // Cast the request to a MultipartWrapper
                             MultipartWrapper multi = (MultipartWrapper) request;
                             // Show which files we received
                             Enumeration files = multi.getFileNames();
                             while (files.hasMoreElements()) {
                                  String names = (String) files.nextElement();
                                  String filename = multi.getFilesystemName(names);
                                  String type = multi.getContentType(names);
                                  File f = multi.getFile(names);
                                  cat.debug("name: " + names);
                                  cat.debug("filename: " + filename);
                                  cat.debug("type: " + type);
                                  if (f != null) {
                                       if (type.equals("application/vnd.ms-excel") || type.equals("text/plain")) {
                                            cat.debug(filename);
                                            cat.debug(" | length: " + f.length() + "\r");
                                            cat.debug("File Uploaded Successfully");                                                  String filePath = "C:/Temp/" + filename;
                                            cat.debug("FILE PATH : " + filePath);
                                            // mergeStatenos.setUploadedFilePath(filePath);
                                            values = CSVParser.parse(new FileReader(filePath));
                                            cat.debug("VALUES LENGTH : " + values.length);
                                            String[][] values = CSVParser.parse(new FileReader(f));
                                            for (int i = 0; i < values.length; i++) {
                                                 for (int j = 0; j < values[i].length; j++) {
                                                      try {                                                       
                                                           cstmt1 = dbconn.prepareCall("{call spj_add_file_records (?, ?, ?, ?, ?)}");
                                                           cstmt1.setString(1, values[i][0]);
                                                           cstmt1.setString(2, values[i][1]);
                                                           cstmt1.setString(3, values[i][2]);
                                                           cstmt1.setString(4, values[i][3]);
                                                           cstmt1.setString(5, "1");
                                                      recordInserted = cstmt1.execute();
                                                                                                                       // // create the return message container
                                                                ReturnMessages rm = new ReturnMessages(session);
                                                           rm.add(new ReturnMessage("File upload records inserted successful"));                                                                                                         
                                                                                                             } catch (SQLException sqle) {
                                                           cat.error(LogException.convertStackTraceToString(sqle));
                                                           new LogDBException(sqle.getMessage(), request);
                                                           ReturnMessages rm = new ReturnMessages(session);
                                                           rm.add(new ReturnMessage("A Database Error Occurred while inserting records. Please Try Again. "));
                                                                                                             } finally {                                                       
                                                           dbUtils.cleanUp(cstmt1);
                                                           f.delete();
                                       } else {
                                            f.delete();
                                            cat.debug(filename+ " is not a XLS file or text file, cannot upload.");
                        } catch (Exception e) {
                             cat.debug("Could not upload file/files");
                             cat.debug(e.getMessage());                         
                             e.printStackTrace();
                             // out.println("</PRE>");
    Any Suggestions???

    rajeshchenji wrote:
    Files are with minimum 10,000+ records...so can you tell me how i can upload & read into memory.I would read the documentation for that tool you are using to do the file upload. I am not at all interested in rummaging through that unformatted mess of code you dumped there. You're looking for something that can upload to an OutputStream rather than a File, then use that to output to a ByteArrayOutputStream.
    Or something that can give you an InputStream that reads directly from the upload.

  • How to call jsp after reading from ServletInputStream?

              if the client submit a form including FILE type, I usually use ServletInputStream
              to read it and return next page by calling JSP file. but In weblogic6.0Sp1, the
              server will report a exception: One of the getParameter family of methods called
              after reading from the ServletInputStream(), can't mix these two!
              can anyone help me? thanx a lot.
              

    I've seen these messages in the WLS 5.1.0 logs when POSTing to servlets.
              All the reading is done in the servlet and then a JSP handles the view
              rendering. However, I don't actually call getParameter() or it's kin
              anywhere. I thought maybe something inside the JSP generated servlet is
              calling getParameter(), but I've looked at the generated code and can't find
              any calls. If I had a stack trace it would be easier to sort out.
              Is this a warning or an error? Is there a bad side effect. I imagine the
              getParameter() call would fail.
              Dave
              "dancy" <[email protected]> wrote in message
              news:3ac85201$[email protected]..
              >
              > if the client submit a form including FILE type, I usually use
              ServletInputStream
              > to read it and return next page by calling JSP file. but In
              weblogic6.0Sp1, the
              > server will report a exception: One of the getParameter family of methods
              called
              > after reading from the ServletInputStream(), can't mix these two!
              > can anyone help me? thanx a lot.
              

Maybe you are looking for

  • IPhoto can not be open, can i get back my photo?

    Hi all, My iPhoto is not woring, it can not be open , but no any message. It just can't and keeping loading for a longgg time. What can i do? i have a lot of photo inside , and i don't wanna lost it. Someone told me to take it back in the iPhoto Libr

  • MacBook won't fully boot and shows caution icon ??

    I have just applied some updates to my MacBook air from the Apple support site. Now my MacBook air boots with a caution icon showing briefly and then you shuts down. This booting process cycles three times and then my MacBook air shuts down for good.

  • Pages to Image conversion

    1.Is there any efficient way of exporting or converting a Pages file to an image file e.g. .jpg? Has anyone built a patch for this or can a script be used. It's very frustrating as we used to use the AW Suite for this conversion. A number of people h

  • Parental Controls do not stay.

    I have set up parental controls on each individual box top in my home.  I set time controls from 12 am to 6 pm Monday - Friday.  The tvs should require the parental pin code during these hours but does not.  In fact, when trying to manage my box tops

  • Printing of landscape forms

    Hi Friends , i am trying to take a printout from dotmatrix printer of smartform which is in made on A4 landscape . the issue is i'm getting printout in porttrait form only. Note : Dot matrix printer have landscape papers only , no portrait papers tha