My upload hangs after 30 kb

Am working with uploading a file from one client to another
client through a server(because of securety reasons) but somehow
only 30kb og data can be uploadet then the application just stops.
No errors are givin it just hangs. If the file is smaller than 30 kb
then the hole file is uploadet without any problems.
Can anyone help me with this? This is my code:
****upload client:
    private void upload(File file){
        System.out.println("Starting UploadClientThread");
        try{
            InputStream is = new FileInputStream(file);
            long fileSize = file.length();
            System.out.println("Filesize is: "+fileSize);
            byte[] b = new byte[1000];
            int n;
            while((n = is.read(b)) >= 0) {
                fileSize = fileSize-n;
                System.out.println("sending: "+n+" left of file: "+fileSize);
                os.write(b, 0, n);
                os.flush();
            System.out.println("Finished sending file");
            os.close();
            is.close();
            socket.close();
        }catch(FileNotFoundException fe){
            fe.printStackTrace();
        }catch(IOException io){
            io.printStackTrace();
*****download client:
    private void download(){
        System.out.println("Starting DownloadClientThread");
        System.out.println("Saving file: "+file.toString());
        try{
            OutputStream os = new FileOutputStream(file);
            byte[] b = new byte[1000];
            int n;
            while((n = is.read(b)) >= 0) {
                System.out.println("receiving "+n);
                os.write(b, 0, n);
            System.out.println("Finished receiving file");
            os.close();
            is.close();
            socket.close();
        }catch(FileNotFoundException fe){
            fe.printStackTrace();
        }catch(IOException io){
            io.printStackTrace();
*****uploadhandler (on server):
        while(true){
            try{
                Socket s = ss.accept();
                clientList.add(s);
                FileThread fileThread = new FileThread(s,this);
                fileThread.start();
            }catch(IOException io){
                io.printStackTrace();
******FileThread (on server):
    public void run(){
        byte[] b = new byte[1000];
        List<Socket> clientList = uh.getClientList();
        try{
            while(true) {              
                int n;
                while((n = is.read(b)) >= 0) {
                    System.out.println("send to clients "+n);
                    for(Socket socket : clientList){
                        if(socket != null && !socket.isClosed()){
                            OutputStream os =  socket.getOutputStream();
                            os.write(b, 0, n);
                   os.flush();     
        }catch(IOException io){
            io.printStackTrace();
    }

This output is from the client who sends the file:
Full thread dump Java HotSpot(TM) Client VM (1.5.0_03-b07 mixed mode, sharing):
"Thread-6" prio=4 tid=0x03e2dbd0 nid=0x914 runnable [0x08adf000..0x08adf9e8]
     at java.net.SocketOutputStream.socketWrite0(Native Method)
     at java.net.SocketOutputStream.socketWrite(Unknown Source)
     at java.net.SocketOutputStream.write(Unknown Source)
     at java.io.BufferedOutputStream.flushBuffer(Unknown Source)
     at java.io.BufferedOutputStream.flush(Unknown Source)
     - locked <0x2166f160> (a java.io.BufferedOutputStream)
     at dk.aslani.chat_client.control.UploadClientThread.upload(UploadClientThread.java:83)
     at dk.aslani.chat_client.control.UploadClientThread.run(UploadClientThread.java:101)
"ConsoleWriterThread" daemon prio=7 tid=0x03f32398 nid=0xce0 in Object.wait() [0x03aff000..0x03affa68]
     at java.lang.Object.wait(Native Method)
     - waiting on <0x2129c250> (a java.lang.Object)
     at java.lang.Object.wait(Unknown Source)
     at com.sun.deploy.util.ConsoleTraceListener$ConsoleWriterThread.run(Unknown Source)
     - locked <0x2129c250> (a java.lang.Object)
"Thread-7" prio=5 tid=0x03f4f2a8 nid=0x2b4 runnable [0x00000000..0x07d7f71c]
"Thread-5" prio=4 tid=0x051a0a80 nid=0xa3c runnable [0x087ff000..0x087ffc68]
     at java.net.SocketInputStream.socketRead0(Native Method)
     at java.net.SocketInputStream.read(Unknown Source)
     at sun.nio.cs.StreamDecoder$CharsetSD.readBytes(Unknown Source)
     at sun.nio.cs.StreamDecoder$CharsetSD.implRead(Unknown Source)
     at sun.nio.cs.StreamDecoder.read(Unknown Source)
     - locked <0x21608510> (a java.io.InputStreamReader)
     at java.io.InputStreamReader.read(Unknown Source)
     at java.io.BufferedReader.fill(Unknown Source)
     at java.io.BufferedReader.readLine(Unknown Source)
     - locked <0x21608510> (a java.io.InputStreamReader)
     at java.io.BufferedReader.readLine(Unknown Source)
     at dk.aslani.chat_client.control.ChatThread.run(ChatThread.java:24)
"AWT-EventQueue-2" prio=4 tid=0x03e919c0 nid=0x5c0 in Object.wait() [0x0827f000..0x0827fd68]
     at java.lang.Object.wait(Native Method)
     at java.lang.Object.wait(Unknown Source)
     at java.awt.EventQueue.getNextEvent(Unknown Source)
     - locked <0x212a7508> (a java.awt.EventQueue)
     at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
     at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
     at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
     at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
     at java.awt.EventDispatchThread.run(Unknown Source)
"TimerQueue" daemon prio=4 tid=0x05125300 nid=0x9f0 in Object.wait() [0x07f7f000..0x07f7f9e8]
     at java.lang.Object.wait(Native Method)
     - waiting on <0x215cc9c8> (a javax.swing.TimerQueue)
     at javax.swing.TimerQueue.run(Unknown Source)
     - locked <0x215cc9c8> (a javax.swing.TimerQueue)
     at java.lang.Thread.run(Unknown Source)
"TimerQueue" daemon prio=5 tid=0x05169d40 nid=0x590 in Object.wait() [0x085ff000..0x085ffae8]
     at java.lang.Object.wait(Native Method)
     at javax.swing.TimerQueue.run(Unknown Source)
     - locked <0x213ecc28> (a javax.swing.TimerQueue)
     at java.lang.Thread.run(Unknown Source)
"TimerQueue" daemon prio=5 tid=0x05162b08 nid=0x5b4 in Object.wait() [0x0847f000..0x0847fb68]
     at java.lang.Object.wait(Native Method)
     - waiting on <0x213e7398> (a javax.swing.TimerQueue)
     at javax.swing.TimerQueue.run(Unknown Source)
     - locked <0x213e7398> (a javax.swing.TimerQueue)
     at java.lang.Thread.run(Unknown Source)
"AWT-EventQueue-1" prio=7 tid=0x05156c20 nid=0xa4c waiting on condition [0x0837f000..0x0837fbe8]
     at sun.plugin.JavaRunTime.dumpAllStacks(Native Method)
     at sun.plugin.util.PluginConsoleController.dumpAllStacks(Unknown Source)
     at com.sun.deploy.util.ConsoleWindow$1.actionPerformed(Unknown Source)
     at javax.swing.JComponent$ActionStandin.actionPerformed(Unknown Source)
     at javax.swing.SwingUtilities.notifyAction(Unknown Source)
     at javax.swing.JComponent.processKeyBinding(Unknown Source)
     at javax.swing.KeyboardManager.fireBinding(Unknown Source)
     at javax.swing.KeyboardManager.fireKeyboardAction(Unknown Source)
     at javax.swing.JComponent.processKeyBindingsForAllComponents(Unknown Source)
     at javax.swing.JComponent.processKeyBindings(Unknown Source)
     at javax.swing.JComponent.processKeyEvent(Unknown Source)
     at java.awt.Component.processEvent(Unknown Source)
     at java.awt.Container.processEvent(Unknown Source)
     at java.awt.Component.dispatchEventImpl(Unknown Source)
     at java.awt.Container.dispatchEventImpl(Unknown Source)
     at java.awt.Component.dispatchEvent(Unknown Source)
     at java.awt.KeyboardFocusManager.redispatchEvent(Unknown Source)
     at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(Unknown Source)
     at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(Unknown Source)
     at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(Unknown Source)
     at java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown Source)
     at java.awt.Component.dispatchEventImpl(Unknown Source)
     at java.awt.Container.dispatchEventImpl(Unknown Source)
     at java.awt.Window.dispatchEventImpl(Unknown Source)
     at java.awt.Component.dispatchEvent(Unknown Source)
     at java.awt.EventQueue.dispatchEvent(Unknown Source)
     at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
     at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
     at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
     at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
     at java.awt.EventDispatchThread.run(Unknown Source)
"thread applet-dk.aslani.chat_client.view.AppletForm.class" prio=4 tid=0x03e9fdf0 nid=0xa10 in Object.wait() [0x0807f000..0x0807f9e8]
     at java.lang.Object.wait(Native Method)
     - waiting on <0x2128c538> (a sun.plugin.AppletViewer)
     at java.lang.Object.wait(Unknown Source)
     at sun.applet.AppletPanel.getNextEvent(Unknown Source)
     - locked <0x2128c538> (a sun.plugin.AppletViewer)
     at sun.applet.AppletPanel.run(Unknown Source)
     at java.lang.Thread.run(Unknown Source)
"AWT-EventQueue-0" prio=7 tid=0x03d6a950 nid=0xcc8 in Object.wait() [0x07e7f000..0x07e7fb68]
     at java.lang.Object.wait(Native Method)
     at java.lang.Object.wait(Unknown Source)
     at java.awt.EventQueue.getNextEvent(Unknown Source)
     - locked <0x212488c8> (a java.awt.EventQueue)
     at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
     at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
     at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
     at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
     at java.awt.EventDispatchThread.run(Unknown Source)
"traceMsgQueueThread" daemon prio=5 tid=0x03eba7a0 nid=0x384 in Object.wait() [0x07c7f000..0x07c7fc68]
     at java.lang.Object.wait(Native Method)
     - waiting on <0x21255b28> (a java.util.ArrayList)
     at java.lang.Object.wait(Unknown Source)
     at com.sun.deploy.util.Trace$TraceMsgQueueChecker.run(Unknown Source)
     - locked <0x21255b28> (a java.util.ArrayList)
     at java.lang.Thread.run(Unknown Source)
"AWT-Windows" daemon prio=7 tid=0x03d65860 nid=0xba0 runnable [0x07a7f000..0x07a7fce8]
     at sun.awt.windows.WToolkit.eventLoop(Native Method)
     at sun.awt.windows.WToolkit.run(Unknown Source)
     at java.lang.Thread.run(Unknown Source)
"AWT-Shutdown" prio=5 tid=0x02ffed78 nid=0xb0 in Object.wait() [0x0797f000..0x0797fd68]
     at java.lang.Object.wait(Native Method)
     - waiting on <0x21254d48> (a java.lang.Object)
     at java.lang.Object.wait(Unknown Source)
     at sun.awt.AWTAutoShutdown.run(Unknown Source)
     - locked <0x21254d48> (a java.lang.Object)
     at java.lang.Thread.run(Unknown Source)
"Java2D Disposer" daemon prio=10 tid=0x02fa6828 nid=0x624 in Object.wait() [0x0787f000..0x0787f9e8]
     at java.lang.Object.wait(Native Method)
     - waiting on <0x21254dd0> (a java.lang.ref.ReferenceQueue$Lock)
     at java.lang.ref.ReferenceQueue.remove(Unknown Source)
     - locked <0x21254dd0> (a java.lang.ref.ReferenceQueue$Lock)
     at java.lang.ref.ReferenceQueue.remove(Unknown Source)
     at sun.java2d.Disposer.run(Unknown Source)
     at java.lang.Thread.run(Unknown Source)
"Low Memory Detector" daemon prio=5 tid=0x02f8c480 nid=0x1d4 runnable [0x00000000..0x00000000]
"CompilerThread0" daemon prio=10 tid=0x02f8b1e0 nid=0xb98 waiting on condition [0x00000000..0x0757f84c]
"Signal Dispatcher" daemon prio=10 tid=0x02f893a0 nid=0xf80 runnable [0x00000000..0x00000000]
"Finalizer" daemon prio=9 tid=0x02f58008 nid=0x26c in Object.wait() [0x0737f000..0x0737fc68]
     at java.lang.Object.wait(Native Method)
     - waiting on <0x21254f78> (a java.lang.ref.ReferenceQueue$Lock)
     at java.lang.ref.ReferenceQueue.remove(Unknown Source)
     - locked <0x21254f78> (a java.lang.ref.ReferenceQueue$Lock)
     at java.lang.ref.ReferenceQueue.remove(Unknown Source)
     at java.lang.ref.Finalizer$FinalizerThread.run(Unknown Source)
"Reference Handler" daemon prio=10 tid=0x03e10850 nid=0xa64 in Object.wait() [0x04e4f000..0x04e4fce8]
     at java.lang.Object.wait(Native Method)
     - waiting on <0x21254ff8> (a java.lang.ref.Reference$Lock)
     at java.lang.Object.wait(Unknown Source)
     at java.lang.ref.Reference$ReferenceHandler.run(Unknown Source)
     - locked <0x21254ff8> (a java.lang.ref.Reference$Lock)
"main" prio=5 tid=0x03dd9948 nid=0xb80 runnable [0x00000000..0x02cef8dc]
"VM Thread" prio=10 tid=0x02f03158 nid=0xf98 runnable
"VM Periodic Task Thread" prio=10 tid=0x02fc19a8 nid=0xdd4 waiting on condition
Done.

Similar Messages

  • USING WEBUTIL TO READ TEXT FILE INTO TABLE HANGS AFTER CERTAIN NUMBER OF RE

    Dear
    when we use webutil to retrieve data from text file into database table
    (using text_io) it hangs after certain number of records ( approx. 1300
    records) while the total number of records to be inserted in the table exceeds
    12000 records while it works properly on forms6i with the normal text_io any
    help please...?
    thanks and regards

    WebUtil uploads the files as Binary - so yes you could have some issues if you have a Unix host - however, that would only mean that there is an extra character to trim off of the end of the line read by Text_io.

  • Ovi Maps work, then hang after a period of time

    Hi,
    When I use Ovi maps for navigation, I am able to set up my route, but then after a period of say 10 or 15 minutes, the application hangs and the screen freezes on the last know location.
    I then have to exit out of the app, either by resetting the phone or sometimes just exiting.
    I am then able to set up my route, where again after 10 mins or so it freezes
    I have the latest firmware that is available in the phone, 21.0.004
    The version of maps I am using is V3.04
    I have performed several full factory / system resets, ie where I setup the country and time
    I have no third party apps installed
    I do also notice that quite often the email app does not always automatically push emails to me device, so I again have to turn it off and then back on for it to pick up my emails.
    So I think in summary my device keeps half hanging, if that is possible
    Anyone have any ideas what I can do before taking the device to my local Nokia service centre?
    Thanks.
    Solved!
    Go to Solution.

    ok, I now have a fix,
    Not that anyone was able to assist, but it may help some one in the future.
    I spoke to T-mobile and explained that Ovi maps works when the phone network connection is switched off, but hangs after about 10mins, when the network connection is switched on.
    The guy from T-Mobile then went on to say that there are a choice of two configurations that can be applied to my account, that control picture messaging (Yes I did say picture messaging) He went on to say that he would swap me to the alternative method for picture messaging.
    I assume that picture messaging just controls the down and upload of data, so impacts the data throughput.
    Anyway, he changed my setting on the account, and to my amazement when I went and tested out on the road Ovi maps no longer hung, and now works very well! 
    My biggest shock was that T-Mobile sorted this all out for me in 10 mins! althought it has taken me many months of testing and trying different things
    Cheers

  • Satellite U400-22n and Win7 - screen hangs after 5 min

    Hi, This is my first post
    Ive purchased a new U400 with Vista preinstalled, last week ; 2 days ago Ive upgraded to windows 7 32bit professional when I stared Installing it windows prompted me that it requires a full installation , so I done a normal full install, windows 7 installed normally .
    Now my screen hangs after 5 min and windows gos black and reboots after 3-5 min, Ive downloaded all the drivers from the Toshiba site Ive used the auto detect, and installed the drivers one by one and tested if the reboot stops , Ive reinstalled windows now 4-5 time returned my copy to the shop and got a new copy of the windows DVD, its the same,
    Please has some one any advice for me. As the shop Ive perched this from will not upgrade to windows 7 for me.

    hi Mather,
    any bluescreens visible?
    win7 32bit i guess...
    you have to install all the drivers for win7 provided by toshiba in the right order!
    first chipset and patchfiles if available...
    i think a clean install will do the job!
    make sure that the hdd is error free!
    you can upgrade from vista 32bit to win7 32bit
    but no chance to upgrade to a win7 64bit when a vista 32bit is installed...

  • Iphoto hangs after upgrading to Yosemite and latest iPhoto version

    It tells me the library needs upgrading, and starts to search the library. The progress bar suggests something is happening then hangs after about 99% completion. I have had to force close twice after several hours stuck at that point and then start the whole process from scratch when I restart.

    Have you followed these instructions - http://www.fatcatsoftware.com/iplm/Help/rebuilding%20a%20corrupted%20iphoto%20li brary.html
    iPhoto Library Manager > Help > Rebuilding a corrupted iPhoto library
    Printable help
    Rebuilding a corrupted iPhoto library
    If you have an iPhoto library that is corrupt and causing iPhoto to crash or otherwise be unusable, iPhoto Library Manager provides the ability to rebuild your library based on the information found in its library data files. Note that iPhoto also has a built-in rebuild function that can be sometimes be used to repair a corrupted library database. You can find instructions on how to use that on Apple's website at http://support.apple.com/kb/HT2638 (iPhoto 6 or later) or http://support.apple.com/kb/HT2042 (iPhoto 5 or earlier).
    iPhoto Library Manager's rebuild works differently, in that instead of trying to repair the library in place, it creates a brand new library and tries to reimport the entire contents of the original library into the new one, including reconstructing albums, photo metadata, etc. Note that rebuilding a library has all the same limitations as other photo transfer operations as far as what can and can't be copied between libraries. Also, depending on how badly damaged the library is, iPhoto Library Manager may or may not be able to piece together some or all of the library metadata.
    To start a rebuild, select the library you would like to rebuild, then choose the "Rebuild Library" item from the "Library" menu. You will be prompted to choose a location for the rebuilt library, and whether or not you want iPLM to scavenge orphaned photos it finds in the library package. Once you've made your choices, iPLM will examine the library and rebuild the library structure and photos as best it can, then display you a preview of what it was able to find. If your library is badly damaged and the preview is missing a lot of content from the original library, this can save you from going through with a rebuild that won’t end up being of much help.
    Once you've had a chance to examine the preview, if you want to go forward and create the rebuilt library, click the "Rebuild" button in the upper right. iPhoto Library Manager will create a new library and start importing the contents of the original library into the new one.
    Scavenging photos
    In some cases, either the iPhoto library database is too damaged for iPhoto Library Manager to be able to salvage any information from it, or the library data is incomplete and there are photos that still exist inside the library package, but iPhoto has lost track of them. In these cases, you may want to check the "Scavenge orphaned photos" checkbox when choosing a location for the rebuilt library. After iPhoto Library Manager has read the library data as best it can, it will perform an additional pass through the package and locate any photos that are no longer referenced in the library database. Any additional photos that are found will be included in the rebuild, and a new "Scavenged Photos" album will be created in the rebuilt library containing any scavenged photos.
    LN

  • Am facing issue on my iphone 5s after updating to ios 7.1.1, every while the phone hang after lock it and cannot unlock and even cannot turn on the screen this is so annoying, kindly advice if i have to go back to the store as device still under warranty

    Am facing issue on my iphone 5s after updating to ios 7.1.1, every while the phone hang after lock it and cannot unlock and even cannot turn on the screen this is so annoying, kindly advice if i have to go back to the store as device still under warranty, and if its a hardware issue or software ??

    Hello HaithamOkeely,
    We've an article that provides the following troubleshooting steps that may help stabilize your iPhone.
    If the device is unresponsive or if certain controls aren't working as expected, restart your device.
    If the device remains unresponsive or does not turn on (or power on), reset your device.
    If there is no video or if the screen remains black, verify that the device has enough charge to turn on:
    If you are using an iPad, ensure that it's connected to the USB Power Adapter supplied with the device.
    Let it charge for at least twenty minutes, then see if it starts normally.
    If there is no image on the screen, press the Sleep/Wake button to attempt to wake the device.
    If the screen displays a red battery icon, continue charging the device until the battery is fully charged. Learn more about charging iPhone and iPod touch, or iPad.
    If the above steps do not resolve the issue, or the if the screen remains black or shows a persistent Apple logo, try restoring with iTunes:
    Connect the device to your computer and open iTunes.
    If the device appears in iTunes, select and click Restore on the Summary pane. Learn more aboutrestoring iOS software.
    If the device doesn't appear in iTunes, try to force the device into recovery mode, and then restore it.
    If the above steps do not resolve the issue, contact Apple.
    iOS: Not responding or does not turn on
    http://support.apple.com/kb/TS3281
    Cheers,
    Allen

  • Oracle 11g R2 client installation on Windows 7 64 bit hangs after performing prerequisite checks

    Windows 7 Professional SP1 64bit OS
    6 GB RAM
    380 GB free space
    Extracted client to C:\Stage\win64_11gR2_client\client
    Ran setup.exe as administrator, but the installation always hangs after step 5 of 7 is completed (Perform Prerequisite checks). Install log ends with entry "INFO: Get view named [SummaryUI]"
    What am I missing here? Any help would be greatly appreciated.
    C:\Stage\win64_11gR2_client\client>dir
    Directory of C:\Stage\win64_11gR2_client\client
    06/15/2013  02:56 PM    <DIR>          .
    06/15/2013  02:56 PM    <DIR>          ..
    06/15/2013  02:56 PM    <DIR>          doc
    06/15/2013  02:56 PM    <DIR>          install
    06/15/2013  02:56 PM    <DIR>          response
    06/15/2013  02:55 PM           341,304 setup.exe
    06/15/2013  02:55 PM                56 setup.ini
    06/15/2013  02:59 PM    <DIR>          stage
    06/15/2013  02:55 PM             4,327 welcome.html
                   3 File(s)        345,687 bytes
                   6 Dir(s)  412,474,404,864 bytes free
    Last few lines of install log:
    WARNING: Active Help Content for InstallLocationPane.cbxOracleBases do not exist. Error :Can't find resource for bundle oracle.install.ivw.client.resource.ContextualHelpResource, key InstallLocationPane.cbxOracleBases.conciseHelpText
    WARNING: Active Help Content for InstallLocationPane.cbxSoftwareLoc do not exist. Error :Can't find resource for bundle oracle.install.ivw.client.resource.ContextualHelpResource, key InstallLocationPane.cbxSoftwareLoc.conciseHelpText
    INFO: View for [InstallLocationUI] is oracle.install.ivw.client.view.InstallLocationGUI@75f0f8ff
    INFO: Initializing view <InstallLocationUI> at state <getOracleHome>
    INFO: inventory location isC:\Program Files\Oracle\Inventory
    INFO: Completed initializing view <InstallLocationUI> at state <getOracleHome>
    INFO: Displaying view <InstallLocationUI> at state <getOracleHome>
    INFO: Completed displaying view <InstallLocationUI> at state <getOracleHome>
    INFO: Loading view <InstallLocationUI> at state <getOracleHome>
    INFO: Completed loading view <InstallLocationUI> at state <getOracleHome>
    INFO: Localizing view <InstallLocationUI> at state <getOracleHome>
    INFO: Completed localizing view <InstallLocationUI> at state <getOracleHome>
    INFO: Waiting for completion of background operations
    INFO: Completed background operations
    INFO: Executing action at state getOracleHome
    INFO: Completed executing action at state <getOracleHome>
    INFO: Waiting for completion of background operations
    INFO: Completed background operations
    INFO: Moved to state <getOracleHome>
    INFO: inventory location isC:\Program Files\Oracle\Inventory
    INFO: Waiting for completion of background operations
    INFO: Completed background operations
    INFO: Validating view at state <getOracleHome>
    INFO: Completed validating view at state <getOracleHome>
    INFO: Validating state <getOracleHome>
    INFO: custom prereq file name: oracle.client_Administrator.xml
    INFO: refDataFile: C:\Stage\win64_11gR2_client\client\stage\cvu\oracle.client_Administrator.xml
    INFO: isCustomRefDataFilePresent: false
    INFO: InstallAreaControl exists: false
    INFO: Checking:NEW_HOME
    INFO: Checking:COMP
    INFO: Checking:COMP
    INFO: Checking:COMP
    INFO: Checking:COMP
    INFO: Checking:COMP
    INFO: Checking:COMP
    INFO: Checking:COMP
    INFO: Checking:COMP
    INFO: Checking:ORCA_HOME
    INFO: Reading shiphome metadata from c:\Stage\win64_11gR2_client\client\install\..\stage\shiphomeproperties.xml
    INFO: Loading beanstore from file:/c:/Stage/win64_11gR2_client/client/install/../stage/shiphomeproperties.xml
    INFO: Translating external format into raw format
    INFO: Restoring class oracle.install.driver.oui.ShiphomeMetadata from file:/c:/Stage/win64_11gR2_client/client/install/../stage/shiphomeproperties.xml
    INFO: inventory location isC:\Program Files\Oracle\Inventory
    INFO: inventory location isC:\Program Files\Oracle\Inventory
    INFO: size estimation for Administratorinstall is 1068.0003070831299
    INFO: PATH has :==>C:\Temp\OraInstall2013-06-17_02-55-15PM\jdk\jre\bin;.;C:\windows\system32;C:\windows;C:\Perl\site\bin;C:\Perl\bin;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Windows Live\Shared;C:\APPS\PuTTY\;C:\Program Files (x86)\IDM Computer Solutions\UltraEdit\
    INFO: Completed validating state <getOracleHome>
    INFO: InstallLocationAction to INVENTORY_NO
    INFO: Verifying route INVENTORY_NO
    INFO: Waiting for completion of background operations
    INFO: Completed background operations
    INFO: Executing action at state prereqExecutionDecider
    INFO: Completed executing action at state <prereqExecutionDecider>
    INFO: Waiting for completion of background operations
    INFO: Completed background operations
    INFO: Moved to state <prereqExecutionDecider>
    INFO: Waiting for completion of background operations
    INFO: Completed background operations
    INFO: Validating view at state <prereqExecutionDecider>
    INFO: Completed validating view at state <prereqExecutionDecider>
    INFO: Validating state <prereqExecutionDecider>
    WARNING: Validation disabled for the state prereqExecutionDecider
    INFO: Completed validating state <prereqExecutionDecider>
    INFO: Verifying route executeprereqs
    INFO: Get view named [PrereqUI]
    INFO: View for [PrereqUI] is [email protected]e4b
    INFO: Initializing view <PrereqUI> at state <checkPrereqs>
    INFO: Completed initializing view <PrereqUI> at state <checkPrereqs>
    INFO: Displaying view <PrereqUI> at state <checkPrereqs>
    INFO: Completed displaying view <PrereqUI> at state <checkPrereqs>
    INFO: Loading view <PrereqUI> at state <checkPrereqs>
    INFO: Completed loading view <PrereqUI> at state <checkPrereqs>
    INFO: Localizing view <PrereqUI> at state <checkPrereqs>
    INFO: Completed localizing view <PrereqUI> at state <checkPrereqs>
    INFO: Waiting for completion of background operations
    INFO: Completed background operations
    INFO: Executing action at state checkPrereqs
    INFO: custom prereq file name: oracle.client_Administrator.xml
    INFO: refDataFile: C:\Stage\win64_11gR2_client\client\stage\cvu\oracle.client_Administrator.xml
    INFO: isCustomRefDataFilePresent: false
    INFO: Completed executing action at state <checkPrereqs>
    INFO: Waiting for completion of background operations
    INFO: Finishing all forked tasks at state checkPrereqs
    INFO: Waiting for completion all forked tasks at state checkPrereqs
    INFO: Creating PrereqChecker Job for leaf task Physical Memory
    INFO: Creating CompositePrereqChecker Job for container task Free Space
    INFO: Creating PrereqChecker Job for leaf task Free Space: PN-PC:C:\Temp
    INFO: Creating PrereqChecker Job for leaf task Architecture
    INFO: Creating PrereqChecker Job for leaf task Environment variable: "PATH"
    INFO: CVU tracingEnabled = false
    INFO: Nodes are prepared for verification.
    INFO: *********************************************
    INFO: Physical Memory: This is a prerequisite condition to test whether the system has at least 128MB (131072.0KB) of total physical memory.
    INFO: Severity:IGNORABLE
    INFO: OverallStatus:SUCCESSFUL
    INFO: -----------------------------------------------
    INFO: Verification Result for Node:PN-PC
    INFO: Expected Value:128MB (131072.0KB)
    INFO: Actual Value:5.9491GB (6238064.0KB)
    INFO: -----------------------------------------------
    INFO: *********************************************
    INFO: Free Space: PN-PC:C:\Temp: This is a prerequisite condition to test whether sufficient free space is available in the file system.
    INFO: Severity:IGNORABLE
    INFO: OverallStatus:SUCCESSFUL
    INFO: -----------------------------------------------
    INFO: Verification Result for Node:PN-PC
    INFO: Expected Value:130MB
    INFO: Actual Value:384.1495GB
    INFO: -----------------------------------------------
    INFO: *********************************************
    INFO: Architecture: This is a prerequisite condition to test whether the system has a certified architecture.
    INFO: Severity:CRITICAL
    INFO: OverallStatus:SUCCESSFUL
    INFO: -----------------------------------------------
    INFO: Verification Result for Node:PN-PC
    INFO: Expected Value:64-bit
    INFO: Actual Value:64-bit
    INFO: -----------------------------------------------
    INFO: *********************************************
    INFO: Environment variable: "PATH": This test checks whether the length of the environment variable "PATH" does not exceed the recommended length.
    INFO: Severity:CRITICAL
    INFO: OverallStatus:SUCCESSFUL
    INFO: -----------------------------------------------
    INFO: Verification Result for Node:PN-PC
    INFO: Expected Value:1023
    INFO: Actual Value:369
    INFO: -----------------------------------------------
    INFO: All forked task are completed at state checkPrereqs
    INFO: Completed background operations
    INFO: Moved to state <checkPrereqs>
    INFO: Waiting for completion of background operations
    INFO: Completed background operations
    INFO: Validating view at state <checkPrereqs>
    INFO: Completed validating view at state <checkPrereqs>
    INFO: Validating state <checkPrereqs>
    INFO: Using default Validator configured in the Action class oracle.install.ivw.client.action.PrereqAction
    INFO: Completed validating state <checkPrereqs>
    INFO: Verifying route success
    INFO: Get view named [SummaryUI]

    Yes, I've tried using the -jreLoc option but it doesn't seem to like the path.
    Version 6.0.200.2 is at C:\Program Files (x86)\Java\jre6\bin
    C:\Stage\win64_11gR2_client\client>setup.exe -jreLoc "C:\Program Files (x86)\Java\jre6"
    Starting Oracle Universal Installer...
    Checking monitor: must be configured to display at least 256 colors Higher than 256 .    Actual 4294967296     Passed
    Preparing to launch Oracle Universal Installer from C:\Temp\OraInstall2013-06-17_04-47-16PM. Please wait ...
    The Java RunTime Environment was not found at "C:\Program Files (x86)\Java\jre6"\bin\javaw.exe. Hence, the Oracle Universal Installer cannot be run.
    Please visit http://www.javasoft.com and install JRE version 1.3.1 or higher and try again
    I downloaded a newer version to C:\APPS\Java thinking the space in the path for Program Files (x86) might be a problem, but that also fails with the same error message
    Version 7.0.210.11 is at C:\APPS\Java\bin
    C:\Stage\win64_11gR2_client\client>setup.exe -jreLoc "C:\APPS\Java\"
    Starting Oracle Universal Installer...
    Checking monitor: must be configured to display at least 256 colors Higher than 256 .    Actual 4294967296     Passed
    Preparing to launch Oracle Universal Installer from C:\Temp\OraInstall2013-06-17_05-09-13PM. Please wait ...
    The Java RunTime Environment was not found at C:APPS\Java"\bin\javaw.exe. Hence, the Oracle Universal Installer cannot be run.
    Please visit http://www.javasoft.com and install JRE version 1.3.1 or higher and try again

  • Powerbook G4 hangs after few minutes of usage

    Since February 06 I have a PB G4: 1.67GHZ, model Powerbook5,8
    Since this weekend it hangs after a few minutes of usage.
    I tried a whole load of possible solutions, like resetting the RAM, removing the battery and holding the powerbutton for 5 seconds...I even held it once for half a minute, but that didn't help. Checking the harddrive with disk utility (tried it often, but only once did the PB work long enough to get the end result: hard drive is healthy).
    Often, when it hangs, I can get it to work by simply turning it off and on again. That gives me another window of 2 minutes of usage! Handy throughout the day when I need a file, or a document: I simply boot the machine, get the file and shut it down.
    Carbon copy to an external HD does not work: the system hangs a few minutes after copying.
    I installed a utility named applejack, and the first time I tried it, I got an interesting error: there were errors with the USB controller or USB bus, and system hangs. I didn't make a screenshot so this is out of the top of my head.
    This was interesting because when I tried to make a HD copy (and believe me: I tried lots and lots of times), the system freezes first, and then an error about not unmounting a device popped into the screen. As if the touchpad, keyboards, and all other i/o devices stop working, and the system goes on for a few seconds more.
    Sometimes the system just hangs, sometimes I get that black kernel panic screen.
    Just before writing this, I tried the hardware test on the install CD once more:
    Held down the option key, chose the hardware test -> quick test and..
    system hangs after completion of the test
    A message appeared in the bottom-left corner. Several lines of information, starting with:
    "ERROR, Write to location ZERO detected!!, Loc zero was originally zero
    Current File: Localization/en/Scripts/enAHTscript.sc"
    etc
    I live on a nice island in the Caribbean, so popping into the nearest Apple store means getting on a flight to Miami first.
    What -if any- are my options? Is there something I can try to do myself before shipping it to Apple? Opening the case, checking this or that?
    By the way, I originally posted this in the Titanium folder, but someone mentioned that I might actually have a Aluminum PB.
    see http://discussions.apple.com/message.jspa?messageID=2074854#2074854

    hi joeuu,
    I have 1.5GB mem: one 512 stick and one 1GB and I already tried the sticks one at a time: it hangs with the original 512, it hangs with the 1GB and it hangs with them together in both possible slot settings.
    I managed to copy the panic.log in /Library/Logs/ and here it is:
    Fri Apr 7 15:27:21 2006
    panic(cpu 0 caller 0x000A8D00): Uncorrectable machine check: pc = 00000000000AF340, msr = 0000000000141020, dsisr = 42000000, dar = 000000000280C200
    AsyncSrc = 0000000000000000, CoreFIR = 0000000000000000
    L2FIR = 0000000000000000, BusFir = 0000000000000000
    Latest stack backtrace for cpu 0:
    Backtrace:
    0x00095698 0x00095BB0 0x0002683C 0x000A8D00 0x000A7F90 0x000ABC80
    Proceeding back via exception chain:
    Exception state (sv=0x41381A00)
    PC=0x000AF340; MSR=0x00141020; DAR=0x0280C200; DSISR=0x42000000; LR=0x000AF158; R1=0x2211B8E0; XCP=0x00000008 (0x200 - Machine check)
    Backtrace:
    0x404E9F24 0x404E1F6C 0x404E7B2C 0x002CEFB8 0x41C3F2C8 0x002BC0E8
    0x002CDA70 0x002BC690 0x002BBB4C 0x002BBA5C 0x404E3954 0x404E3B98 0x002CE900 0x002CD7C8
    0x000A9814
    Kernel loadable modules in backtrace (with dependencies):
    com.apple.driver.AppleUSBTrackpad(1.3.0f1)@0x41c3d000
    dependency: com.apple.iokit.IOUSBFamily(2.2.5)@0x404aa000
    dependency: com.apple.iokit.IOHIDFamily(1.4.3)@0x32671000
    com.apple.driver.AppleUSBOHCI(2.2.5)@0x404df000
    dependency: com.apple.iokit.IOUSBFamily(2.2.5)@0x404aa000
    dependency: com.apple.iokit.IOPCIFamily(1.7)@0x323bf000
    Exception state (sv=0x402ABA00)
    PC=0x00000000; MSR=0x0000D030; DAR=0x00000000; DSISR=0x00000000; LR=0x00000000; R1=0x00000000; XCP=0x00000000 (Unknown)
    Kernel version:
    Darwin Kernel Version 8.2.2: Mon Aug 22 18:43:11 PDT 2005; root:xnu-792.5.11.obj~1/RELEASE_PPC
    Now what can we read from this?
    I see in here "AppleUSBTrackpad" and "AppleUSBOHCI".
    Referring to my original post: I have seen an error (a few days ago, when working with applejack) that also mentioned USB.
    I'm very afraid that this is a hardware issue. Reading through some other posts, I saw something about a ribbon that gave problems. What are your thoughts?

  • File upload abort after long time

    Hi,
    I am trying to upload big files to individual table with BLOB column. During upload process after long time approx. 2h I get the following error message:
    [#|2012-08-01T19:03:01.667+0200|WARNING|sun-appserver2.1|java.lang.Class|_ThreadID=27;_ThreadName=httpSSLWorkerThread-8082-2;_Reques
    tID=4cec5fc8-b9e1-4017-a859-8759ec1f5d37;|oracle.jdbc.driver.OracleBlobOutputStream.flushBuffer(OracleBlobOutputStream.java:236)
    java.io.IOException: ORA-01013: user requested cancel of current operation
    at oracle.jdbc.driver.OracleBlobOutputStream.flushBuffer(OracleBlobOutputStream.java:236)
    at oracle.jdbc.driver.OracleBlobOutputStream.write(OracleBlobOutputStream.java:151)
    at java.nio.channels.Channels$WritableByteChannelImpl.write(Channels.java:296)
    at oracle.dbtools.apex.utilities.StreamCopy.drain(StreamCopy.java:43)
    at oracle.dbtools.apex.utilities.StreamCopy.drain(StreamCopy.java:30)
    at oracle.dbtools.apex.hooks.fileUpload.ApexFileLoader.getBlob(ApexFileLoader.java:207)
    at oracle.dbtools.apex.hooks.fileUpload.ApexFileLoader.processApexFileUtil(ApexFileLoader.java:167)
    at oracle.dbtools.apex.hooks.fileUpload.ApexFileLoader.processFile(ApexFileLoader.java:55)
    at oracle.dbtools.apex.hooks.ProcessorRegistry.fileUploadPreProcess(ProcessorRegistry.java:94)
    at oracle.dbtools.apex.FileUpload.loadFiles(FileUpload.java:52)
    at oracle.dbtools.apex.ModApex.doPost(ModApex.java:121)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:754)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
    at oracle.dbtools.rt.web.HttpEndpointBase.defaultServlet(HttpEndpointBase.java:133)
    at oracle.dbtools.rt.web.HttpEndpointBase.service(HttpEndpointBase.java:90)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
    at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:427)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:315)
    at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:287)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:218)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
    at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
    at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:98)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:222)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1093)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:166)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1093)
    at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:291)
    at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:666)
    at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:597)
    at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:872)
    at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341)
    at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:263)
    at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:214)
    at com.sun.enterprise.web.portunif.PortUnificationPipeline$PUTask.doTask(PortUnificationPipeline.java:382)
    at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:264)
    at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)
    Caused by: java.sql.SQLTimeoutException: ORA-01013: user requested cancel of current operation
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:440)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:389)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:382)
    at oracle.jdbc.driver.T4C8TTILob.processError(T4C8TTILob.java:789)
    at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:445)
    at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:191)
    at oracle.jdbc.driver.T4C8TTILob.write(T4C8TTILob.java:178)
    at oracle.jdbc.driver.T4CConnection.putBytes(T4CConnection.java:2412)
    at oracle.sql.BLOB.setBytes(BLOB.java:881)
    at oracle.jdbc.driver.OracleBlobOutputStream.flushBuffer(OracleBlobOutputStream.java:228)
    ... 43 more
    |#]
    [#|2012-08-01T19:03:01.743+0200|WARNING|sun-appserver2.1|javax.enterprise.system.stream.err|_ThreadID=27;_ThreadName=httpSSLWorkerTh
    read-8082-2;_RequestID=4cec5fc8-b9e1-4017-a859-8759ec1f5d37;|
    init: # headers=47
    declare nm owa.vc_arr := ?;
    vl owa.vc_arr := ?;
    begin
    owa.init_cgi_env( ?, nm, vl );
    htp.init; htp.HTBUF_LEN := 63;
    ? := sys_context('USERENV','SID');
    end;
    INIT FAILED:The connection is closed: The connection is closed|#]
    [#|2012-08-01T19:03:01.743+0200|WARNING|sun-appserver2.1|javax.enterprise.system.stream.err|_ThreadID=27;_ThreadName=httpSSLWorkerTh
    read-8082-2;_RequestID=4cec5fc8-b9e1-4017-a859-8759ec1f5d37;|
    nm(1) := 'accept';
    vl(1) := 'text/html, application/xhtml+xml, */*';
    nm(2) := 'referer';
    vl(2) := 'http://degtlun1118.server.arvato-systems.de:8082/apex/f?p=108:19:151527714221001::NO';
    nm(3) := 'accept-language';
    vl(3) := 'de-DE';
    nm(4) := 'user-agent';
    vl(4) := 'Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)';
    nm(5) := 'content-type';
    vl(5) := 'multipart/form-data; boundary=---------------------------7dc10a1f5001c';
    nm(6) := 'accept-encoding';
    vl(6) := 'gzip, deflate';
    nm(7) := 'host';
    vl(7) := 'degtlun1118.server.arvato-systems.de:8082';
    nm(8) := 'content-length';
    vl(8) := '1002208860';
    nm(9) := 'connection';
    vl(9) := 'Keep-Alive';
    nm(10) := 'cache-control';
    vl(10) := 'no-cache';
    nm(11) := 'cookie';
    vl(11) := 'WWV_CUSTOM-F_3062908104789135_108=0B847723FCDB7B7246A26318ACA79A41; LOGIN_USERNAME_COOKIE=scaub01; ORA_WWV_REMEMBER_UN=SC
    AUB01:rzsam_irlacc; ORA_WWV_USER_63105666364946=4D6F39F871BFB3EBFBA81249BBC0BF0B';
    nm(12) := 'APEX_LISTENER_VERSION';
    vl(12) := '1.1.3.243.11.40';
    nm(13) := 'DAD_NAME';
    vl(13) := '';
    nm(14) := 'DOC_ACCESS_PATH';
    vl(14) := '';
    nm(15) := 'DOCUMENT_TABLE';
    vl(15) := '';
    nm(16) := 'GATEWAY_IVERSION';
    vl(16) := '3';
    nm(17) := 'GATEWAY_INTERFACE';
    vl(17) := 'CGI/1.1';
    nm(18) := 'HTTP_ACCEPT';
    vl(18) := 'text/html, application/xhtml+xml, */*';
    nm(19) := 'HTTP_ACCEPT_ENCODING';
    vl(19) := 'gzip, deflate';
    nm(20) := 'HTTP_ACCEPT_LANGUAGE';
    vl(20) := 'de-DE';
    nm(21) := 'HTTP_ACCEPT_CHARSET';
    vl(21) := 'null';
    nm(22) := 'HTTP_COOKIE';
    vl(22) := 'WWV_CUSTOM-F_3062908104789135_108=0B847723FCDB7B7246A26318ACA79A41; LOGIN_USERNAME_COOKIE=scaub01; ORA_WWV_REMEMBER_UN=SC
    AUB01:rzsam_irlacc; ORA_WWV_USER_63105666364946=4D6F39F871BFB3EBFBA81249BBC0BF0B';
    nm(23) := 'HTTP_IF_MODIFIED_SINCE';
    vl(23) := 'null';
    nm(24) := 'HTTP_IF_NONE_MATCH';
    vl(24) := 'null';
    nm(25) := 'HTTP_HOST';
    vl(25) := 'degtlun1118.server.arvato-systems.de:8082';
    nm(26) := 'HTTP_ORACLE_ECID';
    vl(26) := '';
    nm(27) := 'HTTP_PORT';
    vl(27) := '8082';
    nm(28) := 'HTTP_REFERER';
    vl(28) := 'http://degtlun1118.server.arvato-systems.de:8082/apex/f?p=108:19:151527714221001::NO';
    nm(29) := 'HTTP_USER_AGENT';
    vl(29) := 'Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)';
    nm(30) := 'PATH_ALIAS';
    vl(30) := ' ';
    nm(31) := 'PATH_INFO';
    vl(31) := '/wwv_flow.accept';
    nm(32) := 'PLSQL_GATEWAY';
    vl(32) := 'WebDb';
    nm(33) := 'QUERY_STRING';
    vl(33) := 'null';
    nm(34) := 'REMOTE_ADDR';
    vl(34) := '162.49.176.225';
    nm(35) := 'REMOTE_USER';
    vl(35) := 'APEX_PUBLIC_USER';
    nm(36) := 'REQUEST_CHARSET';
    vl(36) := 'AL32UTF8';
    nm(37) := 'REQUEST_IANA_CHARSET';
    vl(37) := 'UTF-8';
    nm(38) := 'REQUEST_METHOD';
    vl(38) := 'POST';
    nm(39) := 'REQUEST_PROTOCOL';
    vl(39) := 'http';
    nm(40) := 'REQUEST_SCHEME';
    vl(40) := 'http';
    nm(41) := 'SCRIPT_NAME';
    vl(41) := '/apex';
    nm(42) := 'SCRIPT_PREFIX';
    vl(42) := '';
    nm(43) := 'SERVER_NAME';
    vl(43) := 'degtlun1118.server.arvato-systems.de';
    nm(44) := 'SERVER_PORT';
    vl(44) := '8082';
    nm(45) := 'SERVER_PROTOCOL';
    vl(45) := 'HTTP/1.1';
    nm(46) := 'SERVER_SOFTWARE';
    vl(46) := 'Mod-Apex';
    nm(47) := 'WEB_AUTHENT_PREFIX';
    vl(47) := ' ';
    |#]
    [#|2012-08-01T19:03:01.744+0200|WARNING|sun-appserver2.1|javax.enterprise.system.stream.err|_ThreadID=27;_ThreadName=httpSSLWorkerTh
    read-8082-2;_RequestID=4cec5fc8-b9e1-4017-a859-8759ec1f5d37;|
    The connection is closed: The connection is closed|#]
    [#|2012-08-01T19:03:01.744+0200|WARNING|sun-appserver2.1|javax.enterprise.system.stream.err|_ThreadID=27;_ThreadName=httpSSLWorkerTh
    read-8082-2;_RequestID=4cec5fc8-b9e1-4017-a859-8759ec1f5d37;|
    The connection is closed: The connection is closed|#]
    I am using Glassfish Server v2.1.1 with APEX Listener v1.1.3.243.11.40
    The Timeout parameters for JDBC settings in APEX Listener are default. Thus I would expect to abort earlier to be an issue of JDBC Connection?
    Anybody an idea?
    Thanks!

    Appears to be a question for the {forum:id=858} forum.

  • APEX  File upload abort after long time

    Hi,
    I am trying to upload big files to individual table with BLOB column. During upload process after long time approx. 2h I get the following error message:
    [#|2012-08-01T19:03:01.667+0200|WARNING|sun-appserver2.1|java.lang.Class|_ThreadID=27;_ThreadName=httpSSLWorkerThread-8082-2;_Reques
    tID=4cec5fc8-b9e1-4017-a859-8759ec1f5d37;|oracle.jdbc.driver.OracleBlobOutputStream.flushBuffer(OracleBlobOutputStream.java:236)
    java.io.IOException: ORA-01013: user requested cancel of current operation
    at oracle.jdbc.driver.OracleBlobOutputStream.flushBuffer(OracleBlobOutputStream.java:236)
    at oracle.jdbc.driver.OracleBlobOutputStream.write(OracleBlobOutputStream.java:151)
    at java.nio.channels.Channels$WritableByteChannelImpl.write(Channels.java:296)
    at oracle.dbtools.apex.utilities.StreamCopy.drain(StreamCopy.java:43)
    at oracle.dbtools.apex.utilities.StreamCopy.drain(StreamCopy.java:30)
    at oracle.dbtools.apex.hooks.fileUpload.ApexFileLoader.getBlob(ApexFileLoader.java:207)
    at oracle.dbtools.apex.hooks.fileUpload.ApexFileLoader.processApexFileUtil(ApexFileLoader.java:167)
    at oracle.dbtools.apex.hooks.fileUpload.ApexFileLoader.processFile(ApexFileLoader.java:55)
    at oracle.dbtools.apex.hooks.ProcessorRegistry.fileUploadPreProcess(ProcessorRegistry.java:94)
    at oracle.dbtools.apex.FileUpload.loadFiles(FileUpload.java:52)
    at oracle.dbtools.apex.ModApex.doPost(ModApex.java:121)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:754)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
    at oracle.dbtools.rt.web.HttpEndpointBase.defaultServlet(HttpEndpointBase.java:133)
    at oracle.dbtools.rt.web.HttpEndpointBase.service(HttpEndpointBase.java:90)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
    at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:427)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:315)
    at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:287)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:218)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
    at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
    at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:98)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:222)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1093)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:166)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1093)
    at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:291)
    at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:666)
    at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:597)
    at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:872)
    at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341)
    at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:263)
    at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:214)
    at com.sun.enterprise.web.portunif.PortUnificationPipeline$PUTask.doTask(PortUnificationPipeline.java:382)
    at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:264)
    at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)
    Caused by: java.sql.SQLTimeoutException: ORA-01013: user requested cancel of current operation
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:440)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:389)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:382)
    at oracle.jdbc.driver.T4C8TTILob.processError(T4C8TTILob.java:789)
    at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:445)
    at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:191)
    at oracle.jdbc.driver.T4C8TTILob.write(T4C8TTILob.java:178)
    at oracle.jdbc.driver.T4CConnection.putBytes(T4CConnection.java:2412)
    at oracle.sql.BLOB.setBytes(BLOB.java:881)
    at oracle.jdbc.driver.OracleBlobOutputStream.flushBuffer(OracleBlobOutputStream.java:228)
    ... 43 more
         2012-08-01T19:03:01.743+0200      WARNING      sun-appserver2.1      javax.enterprise.system.stream.err      ThreadID=27;ThreadName=httpSSLWorkerTh
    read-8082-2;_RequestID=4cec5fc8-b9e1-4017-a859-8759ec1f5d37;
    init: # headers=47
    declare nm owa.vc_arr := ?;
    vl owa.vc_arr := ?;
    begin
    owa.init_cgi_env( ?, nm, vl );
    htp.init; htp.HTBUF_LEN := 63;
    ? := sys_context('USERENV','SID');
    end;
    INIT FAILED:The connection is closed: The connection is closed|#]
    [#|2012-08-01T19:03:01.743+0200|WARNING|sun-appserver2.1|javax.enterprise.system.stream.err|_ThreadID=27;_ThreadName=httpSSLWorkerTh
    read-8082-2;_RequestID=4cec5fc8-b9e1-4017-a859-8759ec1f5d37;|
    nm(1) := 'accept';
    vl(1) := 'text/html, application/xhtml+xml, */*';
    nm(2) := 'referer';
    vl(2) := 'http://degtlun1118.server.arvato-systems.de:8082/apex/f?p=108:19:151527714221001::NO';
    nm(3) := 'accept-language';
    vl(3) := 'de-DE';
    nm(4) := 'user-agent';
    vl(4) := 'Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)';
    nm(5) := 'content-type';
    vl(5) := 'multipart/form-data; boundary=---------------------------7dc10a1f5001c';
    nm(6) := 'accept-encoding';
    vl(6) := 'gzip, deflate';
    nm(7) := 'host';
    vl(7) := 'degtlun1118.server.arvato-systems.de:8082';
    nm(8) := 'content-length';
    vl(8) := '1002208860';
    nm(9) := 'connection';
    vl(9) := 'Keep-Alive';
    nm(10) := 'cache-control';
    vl(10) := 'no-cache';
    nm(11) := 'cookie';
    vl(11) := 'WWV_CUSTOM-F_3062908104789135_108=0B847723FCDB7B7246A26318ACA79A41; LOGIN_USERNAME_COOKIE=scaub01; ORA_WWV_REMEMBER_UN=SC
    AUB01:rzsam_irlacc; ORA_WWV_USER_63105666364946=4D6F39F871BFB3EBFBA81249BBC0BF0B';
    nm(12) := 'APEX_LISTENER_VERSION';
    vl(12) := '1.1.3.243.11.40';
    nm(13) := 'DAD_NAME';
    vl(13) := '';
    nm(14) := 'DOC_ACCESS_PATH';
    vl(14) := '';
    nm(15) := 'DOCUMENT_TABLE';
    vl(15) := '';
    nm(16) := 'GATEWAY_IVERSION';
    vl(16) := '3';
    nm(17) := 'GATEWAY_INTERFACE';
    vl(17) := 'CGI/1.1';
    nm(18) := 'HTTP_ACCEPT';
    vl(18) := 'text/html, application/xhtml+xml, */*';
    nm(19) := 'HTTP_ACCEPT_ENCODING';
    vl(19) := 'gzip, deflate';
    nm(20) := 'HTTP_ACCEPT_LANGUAGE';
    vl(20) := 'de-DE';
    nm(21) := 'HTTP_ACCEPT_CHARSET';
    vl(21) := 'null';
    nm(22) := 'HTTP_COOKIE';
    vl(22) := 'WWV_CUSTOM-F_3062908104789135_108=0B847723FCDB7B7246A26318ACA79A41; LOGIN_USERNAME_COOKIE=scaub01; ORA_WWV_REMEMBER_UN=SC
    AUB01:rzsam_irlacc; ORA_WWV_USER_63105666364946=4D6F39F871BFB3EBFBA81249BBC0BF0B';
    nm(23) := 'HTTP_IF_MODIFIED_SINCE';
    vl(23) := 'null';
    nm(24) := 'HTTP_IF_NONE_MATCH';
    vl(24) := 'null';
    nm(25) := 'HTTP_HOST';
    vl(25) := 'degtlun1118.server.arvato-systems.de:8082';
    nm(26) := 'HTTP_ORACLE_ECID';
    vl(26) := '';
    nm(27) := 'HTTP_PORT';
    vl(27) := '8082';
    nm(28) := 'HTTP_REFERER';
    vl(28) := 'http://degtlun1118.server.arvato-systems.de:8082/apex/f?p=108:19:151527714221001::NO';
    nm(29) := 'HTTP_USER_AGENT';
    vl(29) := 'Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)';
    nm(30) := 'PATH_ALIAS';
    vl(30) := ' ';
    nm(31) := 'PATH_INFO';
    vl(31) := '/wwv_flow.accept';
    nm(32) := 'PLSQL_GATEWAY';
    vl(32) := 'WebDb';
    nm(33) := 'QUERY_STRING';
    vl(33) := 'null';
    nm(34) := 'REMOTE_ADDR';
    vl(34) := '162.49.176.225';
    nm(35) := 'REMOTE_USER';
    vl(35) := 'APEX_PUBLIC_USER';
    nm(36) := 'REQUEST_CHARSET';
    vl(36) := 'AL32UTF8';
    nm(37) := 'REQUEST_IANA_CHARSET';
    vl(37) := 'UTF-8';
    nm(38) := 'REQUEST_METHOD';
    vl(38) := 'POST';
    nm(39) := 'REQUEST_PROTOCOL';
    vl(39) := 'http';
    nm(40) := 'REQUEST_SCHEME';
    vl(40) := 'http';
    nm(41) := 'SCRIPT_NAME';
    vl(41) := '/apex';
    nm(42) := 'SCRIPT_PREFIX';
    vl(42) := '';
    nm(43) := 'SERVER_NAME';
    vl(43) := 'degtlun1118.server.arvato-systems.de';
    nm(44) := 'SERVER_PORT';
    vl(44) := '8082';
    nm(45) := 'SERVER_PROTOCOL';
    vl(45) := 'HTTP/1.1';
    nm(46) := 'SERVER_SOFTWARE';
    vl(46) := 'Mod-Apex';
    nm(47) := 'WEB_AUTHENT_PREFIX';
    vl(47) := ' ';
         2012-08-01T19:03:01.744+0200      WARNING      sun-appserver2.1      javax.enterprise.system.stream.err      ThreadID=27;ThreadName=httpSSLWorkerTh
    read-8082-2;_RequestID=4cec5fc8-b9e1-4017-a859-8759ec1f5d37;
    The connection is closed: The connection is closed|#]
    [#|2012-08-01T19:03:01.744+0200|WARNING|sun-appserver2.1|javax.enterprise.system.stream.err|_ThreadID=27;_ThreadName=httpSSLWorkerTh
    read-8082-2;_RequestID=4cec5fc8-b9e1-4017-a859-8759ec1f5d37;|
    The connection is closed: The connection is closed|#]
    I am using Glassfish Server v2.1.1 with APEX Listener v1.1.3.243.11.40
    The Timeout parameters for JDBC settings in APEX Listener are default. Thus I would expect to abort earlier to be an issue of JDBC Connection?
    Anybody an idea?
    Thanks!

    Appears to be a question for the {forum:id=858} forum.

  • Database hangs after retrieving some records....

    hi,
    I create a two level B+-tree index, for the first level i'm using key as logical database name, for the second level B+-tree i'm using some other field in my data. I am retrieving the records based on logical database name. I am using C++ to implement my index.
    In the following code i'm retrieving records from database. Program is behaving differently for different logical database names. For example in my database i have around 4 lakhs records with logical database name 'A' and around 1 lakh of records with logical database name 'B'. The following code displays all B records but programs hangs after retrieving some A records.
    I'm using PAGE_SIZE=8192, numBuffers=2048, and runnig in Fedora Core3.
    DbEnv myEnv(0);
         myEnv.set_cachesize(0, PAGE_SIZE * numBuffers, 0);
         myEnv.set_data_dir("/home/raviov/new/database");
              try {
                   myEnv.open("./", DB_CREATE | DB_INIT_MPOOL, 0);
              catch (DbException &e) {
                   cerr << "Exception occurred: " << e.what() << endl;
                   exit(1);
              db=new Db(&myEnv,0);
              db->set_pagesize(PAGE_SIZE);     
              db->set_bt_compare(compare_int);
         dbname=itoa(p);
         try
         db->open(NULL,
                   "treedb.db",
                   dbname,
                   DB_BTREE,
                   0,
                   0);
         catch(DbException &e)
              cerr << "Failed to open DB object" << endl;
              exit(1);
         db->cursor(NULL,&cursorp,0);
         key=new Dbt();
         data=new Dbt();
         while(ret=(cursorp->get(key,data,DB_NEXT))==0)
              j=*((int*)key->get_data());
              q=(*((struct tuple*)data->get_data())).startPos;
              r=(*((struct tuple*)data->get_data())).endPos;
              s=(*((struct tuple*)data->get_data())).level;
              cout<<"position : "<<j<<"\t";
              cout<<"start : "<<q<<"\t";
              cout<<"end : "<<r<<"\t";
              cout<<"level : "<<s<<"\n";
         if(ret==DB_NOTFOUND)
              cout<<"no records";
              exit(1);
         if(cursorp!=NULL)
              cursorp->close();
         try
              db->close(0);
         catch(DbException &e)
              cerr << "Failed to close DB object" << endl;
              exit(1);
         myEnv.close(0);

    HI Andrei,
    thank you for giving reply, I'm not using any secondary indecies, subdatabases and not using any threads.
    the following code displays index...
    #include <stdio.h>
    #include <db_cxx.h>
    #include <iostream.h>
    #include <db.h>
    #include <stdlib.h>
    #include <string.h>
    #include <sys/types.h>
    int PAGE_SIZE=8192;
    int numBuffers=2048;
    char *itoa(const int x)
          char buf[100];
          snprintf(buf, sizeof(buf), "%d", x);
           return strdup(buf);
    int compare_int(Db dbp, const Dbt a, const Dbt *b)
      int ai;
      int bi;
      memcpy(&ai,a->get_data(),sizeof(int));
      memcpy(&bi,b->get_data(),sizeof(int));
      return(ai-bi);
    struct tuple
           int startPos;
           int endPos;
           int level;
    main()
         FILE *fp;
         int i,j,k,l,m,n,total=0;
         char dbname[500],filename[500],str [500];
         tuple t;
         Db *db;
         Dbt key,data;
         DbEnv myEnv(0);
         myEnv.set_cachesize(0, PAGE_SIZE * numBuffers, 0);
         try {
                myEnv.open("/home/raviov/Desktop/example", DB_CREATE | DB_INIT_MPOOL, 0);
           catch (DbException &e) {
                  cerr << "Exception occurred: " << e.what() << endl;
                  exit(1);
         for(n=0;n<=84;n++)
              db = new Db(&myEnv, 0);     // Instantiate the Db object
                    db->set_bt_compare(compare_int);
               db->set_pagesize(PAGE_SIZE);
              strcpy(filename,"/home/raviov/Desktop/GTCReport/code/sequence/splitter/tree/");
              strcat(filename,itoa(n));
              fp=fopen(filename,"r");
              if(fp==NULL)
                   cout<<"error in opening the file";
                   exit(0);
              while(fgets (str , 500 , fp)!=NULL)
                   sscanf(str,"%d(%d,%d,%d,%d)",&i,&j,&k,&l,&m);
                   key=new Dbt(&i,sizeof(int));
                   if(total==0)
                        strcpy(dbname,itoa(j));
                   t.startPos=k;
                   t.endPos=l;
                   t.level=m;
                   data=new Dbt(&t,sizeof(t));     
                   if(total==0)
                        try
                             db->open(NULL,
                             "tree.db",
                                       dbname,
                              DB_BTREE,
                                DB_CREATE,
                                0);
                        catch(DbException &e)
                               cerr << "Failed to create DB object" << endl;
                             exit(1);
                        total=99;
                   int ret=db->put(NULL,key,data,DB_NOOVERWRITE);
                   if(ret==DB_KEYEXIST)
                        cout<<"key already exist\n";
                        exit(1);
                   delete key;
                   delete data;
              total=0;
              fclose(fp);
              try
                   db->close(0);
              catch(DbException &e)
                     cerr << "Failed to close DB object" << endl;
                   exit(1);
         myEnv.close(0);
    }The following code retrieves the records from database that we had built above...
    #include <stdio.h>
    #include <db_cxx.h>
    #include <iostream.h>
    #include <db.h>
    #include <stdlib.h>
    #include <string.h>
    #include <sys/types.h>
    int PAGE_SIZE=8192;
    int numBuffers=2048;
    char *itoa(const int x)
          char buf[100];
          snprintf(buf, sizeof(buf), "%d", x);
           return strdup(buf);
    int compare_int(Db dbp, const Dbt a, const Dbt *b)
      int ai;
      int bi;
      memcpy(&ai,a->get_data(),sizeof(int));
      memcpy(&bi,b->get_data(),sizeof(int));
      return(ai-bi);
    struct tuple
           int startPos;
           int endPos;
           int level;
    main()
         FILE *fp;
         int i,j,k,l,m,n,total=0;
         char *dbname;
         char filename[200],str [100];
         tuple t;
         Db *db;
         Dbt key,data;
         Dbc *cursorp=NULL;
         int ret,x=4;
         char *ravi;
         int p=84763;
         int y=2134872;
         int r,s,q,count=0;
         DbEnv myEnv(0);
         myEnv.set_cachesize(0, PAGE_SIZE * numBuffers, 0);
         myEnv.set_data_dir("/home/raviov/new/database");
              try {
                      myEnv.open("./", DB_CREATE | DB_INIT_MPOOL, 0);
               catch (DbException &e) {
                      cerr << "Exception occurred: " << e.what() << endl;
                      exit(1);
              db=new Db(&myEnv,0);
              db->set_pagesize(PAGE_SIZE);     
              db->set_bt_compare(compare_int);
         dbname=itoa(p);
         try
              db->open(NULL,
                    "tree.db",
                     dbname,
                     DB_BTREE,
                     0,
                     0);
         catch(DbException &e)
                cerr << "Failed to open DB object" << endl;
              exit(1);
         db->cursor(NULL,&cursorp,0);
         key=new Dbt();
         data=new Dbt();
         while(ret=(cursorp->get(key,data,DB_NEXT))==0)
              j=*((int*)key->get_data());
              q=(*((struct tuple*)data->get_data())).startPos;
              r=(*((struct tuple*)data->get_data())).endPos;
              s=(*((struct tuple*)data->get_data())).level;
              cout<<"position   : "<<j<<"\t";
              cout<<"start : "<<q<<"\t";
              cout<<"end   : "<<r<<"\t";
              cout<<"level   : "<<s<<"\n";
              delete key;
              delete data;
         if(ret==DB_NOTFOUND)
              cout<<"no records";
              exit(1);
         if(cursorp!=NULL)
              cursorp->close();
         try
              db->close(0);
         catch(DbException &e)
                cerr << "Failed to close DB object" << endl;
              exit(1);
         myEnv.close(0);     
    }

  • System hang after key in YF98 (Report for sales tax payable)

    Hi all,
    do u know wat is the problem of sys hang? i already terminate the transaction code, but sys hang also........
    Thanks for helping

    Dear V.Krishnan ,
    I already told BASIS to restart the server, but they reject to restart the server cos they worry later they cannot up the server.
    They keep asking me debug the program, but the problem is the sys hang after i key in the transaction code, i cant do nothing after that. In development server, the sys is OK after i enter the transaction code. Can u tell me wat to do now?
    regards;
    jee

  • Problem in reading data from serial port continuously- application hangs after sometimes

    I need to read data from two COM port and order of data appearance from COM port is not fixed. 
    I have used small timeout and reading data in while loop continously . If my application is steady for sometime it gets hangs and afterwards it doesnt receive any data again. 
    Then I need to restart my application again to make it work.
    I am attaching VI. Let me know any issue.
    Kudos are always welcome if you got solution to some extent.
    I need my difficulties because they are necessary to enjoy my success.
    --Ranjeet
    Attachments:
    Scanning.vi ‏39 KB

    billko wrote:
    Ranjeet_Singh wrote:
    I need to read data from two COM port and order of data appearance from COM port is not fixed. 
    I have used small timeout and reading data in while loop continously . If my application is steady for sometime it gets hangs and afterwards it doesnt receive any data again. 
    Then I need to restart my application again to make it work.
    I am attaching VI. Let me know any issue.
    What do you mean, "not fixed?"  If there is no termination character, no start/stop character(s) or even a consistent data length, then how can you really be sure when the data starts and stops?
    I probably misunderstood you though.  Assuming the last case is not ture - there is a certain length to the data - then you should use the bytes at port, like in the otherwise disastrous serial port read example.  In this case, it's NOT disastrous.  You have to make sure that you read all the data that came through.  Right now you have no idea how much data you just read.  Also, if this is streaming data, you might want to break it out into a producer/consumer design pattern.
    Not fixed means order is not fixed, data from any com port can come anytime. lenght is fixed, one com port have 14 byte and other 8 byte fixed..
    Reading data is not an issue for me as it works nice but I have a query that why my application hangs after sometime and stops reading data from COM PORT.
    Kudos are always welcome if you got solution to some extent.
    I need my difficulties because they are necessary to enjoy my success.
    --Ranjeet

  • Lenovo T61 (Product 6458-W2R): explorer.exe hangs after logon - WinXP SP2

    +++ english below +++
    [german/deutsch]
    Wir setzen in unserem Unternehmen mehrere ThinkPad T61 ein.  Bei einigen dieser ThinkPad T61 (und nur beim ThinkPad T61!) haben wir inzwischen ein seltsames Phänomen, welches im Laufe der letzten 1-2 Monate auftrat und noch auftritt.  Dieses Phänomen trat nicht gleichzeitig auf, sondern nacheinander.  Und es tritt willkürlich auf.  Der jüngste Fall ist gerade 1 Tag alt.  Inzwischen sind 6 ThinkPad T61 davon betroffen.
    Alle ThinkPad T61 sind Mitglieder einer Domäne (Windows Server 2003) und durchlaufen ein Loginscript.  Das Loginscript beinhaltet Batchbefehle, Kix32 (für das Mappen von Netzwerklaufwerken und Druckern) und Teile der Matrix42 Empirum Management Software (für Softwaredistribution und Inventarisierung).  Es werden Gruppenrichtlinien angewendet.  Es werden via Matrix42 Empirum automatisch die neuen Patches und Updates seitens Microsoft auf alle Computer verteilt.  Alle Computer erhalten eine unbeaufsichtigte/standardisierte Installation via Matrix42 Empirum Management Software (ähnlich einem Image und der unbeaufsichtigten Windows-Installation).  Auf allen Rechnern ist Windows XP mit Service Pack 2 installiert.  Spezielle Software ist in der Regel nicht drauf, nur Microsoft Office 2003, der aktuelle Acrobat Reader sowie die aktuellen Standardplayer: Windows Media Player, Quicktime Player, RealPlayer, VLC media player.  Ggf. noch Nero 7 Standard bzw. Platinum (Spezielle Version).  Alle IBM/Lenovo ThinkPad verwenden zusätzlich die IBM/Lenovo-Utilities „ThinkVantage“.  Das Phänomen tritt unabhängig davon auf, ob das ThinkPad T61 in einer Dockingstation betrieben wird oder nicht.  Es ist auf jedem Computer in der Windows Registrierung eingestellt, dass der Desktop erst geladen wird, wenn das Loginscript durchgelaufen ist.
    Nun zur genauen Fehlerbeschreibung:
    Manchmal kann es bei einem Kaltstart vorkommen, dass nach der Anmeldung und nach dem Loginscript –während der komplette Desktop und die Startleiste bereits sichtbar sind und noch einige Dienste geladen werden– sich die explorer.exe aufhängt.  Die Startleiste lässt sich nicht bedienen.  Ebenfalls lassen sich dann auch auf dem Desktop keine Symbole doppelklicken.
    Wir setzen auch andere Computer ein, wo dieses Phänomen nicht auftritt, u.a.:
    - HP-Computer (Desktops, Evo SFF Series)
    - Fujitsu-Siemens-Computer (Desktops, ESPRIMO E Series)
    - IBM ThinkPad T20/21
    - IBM ThinkPad T40/T41/T42
    - IBM/Lenovo ThinkPad T60
    Das Problem tritt nur auf den noch relativ neuen ThinkPad T61 auf.
    Wir haben bereits einen ziemlich ähnlichen Fall unter…
    http://forums.techarena.in/showthread.php?t=694888&page=1
    http://forums.techarena.in/showthread.php?t=694888&page=2
    http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/Windows/XP/Q_22718276.html …gefunden.
    [english]
    Unfortunately, I’m not fluent in the english language.
    We use a few ThinkPad T61’s in our company.  Meanwhile, at some ThinkPad T61’s (only ThinkPad T61!) we have a strange problem. This problem appears since the last 1-2 months and it still does exist.  This problem does not appear at the same time, it does appear successive.  And it appears random.  The last case is 1 day old.  Meanwhile, 6 ThinkPad T61 are concerned.
    All ThinkPad T61 are members of a domain (Windows Server 2003) and do execute a logon script.  The logon script contains Batch commands, Kix32 (for mapping network drives and printers) and parts of the Matrix42 Empirum Management software (for software distribution and inventory scan).  Group policies will apply.  Patches and updates will install on every computer via Matrix42 Empirum automatically.  All computers get a default/unattended installation via Matrix42 Empirum Management software (everywhere between an image and an unattended Windows installation).  All computers have installed Windows XP with Service Pack 2.  As a rule, special software isn’t installed, only Microsoft Office 2003, the actual Acrobat Reader and the actual default players: Windows Media Player, Quicktime Player, RealPlayer, VLC media player.  Sometimes, there is installed the Nero 7 Standard or rather Platinum (Special Edition) yet.  All IBM/Lenovo ThinkPad use IBM/Lenovo-Utilities „ThinkVantage“ additionally.  The problem exists if the ThinkPad T61 is connected to a docking station and also if the ThinkPad T61 is disconnected from a docking station.  On every computer exists a registry key which arranges it that the desktop only will be loaded after the logon script did run.
    Now the detailed error description:
    Sometimes the explorer.exe hangs after the cold start.  i.e.: The desktop (with icons and task bar) appears complete.  But the computer hangs if you try to click on the task bar or double click on any icons.  The computer will only run if we kill the process ‘explorer.exe’ and if we restart the explorer.exe.
    We use also other computers with the same installation and the same group policies where the problem does not exist, for example:
    - HP-Computer (Desktops, Evo SFF Series)
    - Fujitsu-Siemens-Computer (Desktops, ESPRIMO E Series)
    - IBM ThinkPad T20/21
    - IBM ThinkPad T40/T41/T42
    - IBM/Lenovo ThinkPad T60
    Only the new ThinkPad T61’s have this problem.
    We have found a similar case at…
    http://forums.techarena.in/showthread.php?t=694888&page=1
    http://forums.techarena.in/showthread.php?t=694888&page=2
    http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/Windows/XP/Q_22718276.html
    Vielen Dank / Many thanks!

    I would run System Update and make sure I had all the updates available.
    Another thing to try is:
    1. Right-click on My Computer and click Properties
    2. Click on the Advanced tab
    3. Click on Settings under Performance
    4. Click on Data Execution Prevention
    5. Click on Turn on DEP for all programs and services except those I select, then check Windows Explorer
    We had to do that to some machines here after a push from corporate of the new ScriptLogic.This solved the problem.
    ThinkPad T61 15 Widescreen with nVidia Quadro graphics 6459CTO
    Windows 7 Enterprise and Windows XP Pro

  • Video hangs after burning on a DVD

    Hi,
    after burning a project with menus and several chapters, I notice the DVD is hanging after a few chapters. My DVD burner itself should be ok, I got no hardware failures and it's working fine with Nero Burning ROM. Any suggestions??
    Tx a lot,
    Kristof

    You used iTunes to burn the CD? If so, it should work. The question is, did you choose "back up to disc," or did you create a playlist, and choose "Burn playlist to disc?"
    If you do it the first way, you are just saving the actual music files (not in CD format) to a CD.
    If you create playlist and burn playlist to disc, you are making an actual Audio CD that will play in any CD player.
    If you are already using the second method, are you using a CD-R, or CD-RW? Some players have problems w/RW's.
    Btw, iTunes songs are not MP3 format, so I don't think you'll be able to find a "converter." LOL

Maybe you are looking for

  • Is Apple's weather widget for the IMAC no longer supported?

    Is Apple's weather widget for the IMAC no longer supported?  It hasn't worked for the last two days.

  • Music distorted after creating disk image of iDVD file

    I was getting encoding errors so I saved the DVD file as a disk image and then used Disk Utility to burn it. Everything worked except for the video is small and the music sounds like it's being over amplified to the point of distortion. If you have s

  • Cant print from Word/Excel/Outlook to Onenote (Office 2010)

    Have a weird problem. The problem started quite resently....for a lot of users in our domain! As the title says I cant print from word/outlook/... to onenote.....the only thing i can print from is IE10 to onenote (all other printers work ofc pdf/phys

  • Approvals/Delegation

    If one needs to delegate his/her approvals to somebody does that 'somebody'(the person who is being delegated to) need to have any special capabilities such as having to be setup as an 'Approver'? What are the requirements for somebody to be a delega

  • Personalization disabled at site level.

    Hi Gurus, I am trying to personalize the following page in iSupplier Portal. Personalization Context: Scope Page: Create Advance Shipment Notice Document Name /oracle/apps/pos/asn/webui/PosAsnCreatePG Site Include I want to apply a custom controller