Long delay during first resize of visible JFrame (help!)

I need to increase the size of a component in a visible JFrame (and with it the size of the frame itself). The way I did this using jdk 1.3.1 causes a problem in 1.4.0 and 1.4.1.
When a component in a visible JFrame (such as a JPanel) is resized - using a setPreferredSize()-pack() sequence, there is a VERY long delay (~ 5 seconds) before the frame is fully redrawn. This only occurs the FIRST time the component is resized. Subsequent setPreferredSize()-pack() sequences take a reasonable amount of time.
Here's a simple example:
import java.awt.*;
import javax.swing.*;
public class PackDelayTest extends JFrame {
    JPanel pan;
    int width;
    static long tm;
    public static void main(String[] argv) {
            tm = System.currentTimeMillis();
        PackDelayTest2 test = new PackDelayTest();
            elapsed("in constructor");
        test.replace(); elapsed("repack 1");
        test.replace(); elapsed("repack 2");
        test.replace(); elapsed("repack 2");
        test.replace(); elapsed("repack 2");  
        System.exit(0);
    public PackDelayTest() {
        pan = new JPanel();
        pan.setLayout(new BoxLayout(pan,BoxLayout.Y_AXIS));
        getContentPane().add(pan);        
        JLabel label = new JLabel("Label 0");
        pan.add(label);  
        pack();
        setVisible(true);
        width = pan.getPreferredSize().width;
    public void replace() {            
       Dimension d = pan.getPreferredSize();
       pan.setPreferredSize(new Dimension(++width,d.height));     
       pack();
    static void elapsed(String mess) {
        long ct = System.currentTimeMillis();
        System.out.println("Elapsed milliseconds, " + mess + ": " +
                           (ct - tm));
        tm = ct;
}Running this with Sun jdk 1.3.1 yields the timings:
Elapsed milliseconds, in constructor: 2226
Elapsed milliseconds, repack 1: 26
Elapsed milliseconds, repack 2: 24
Elapsed milliseconds, repack 2: 25
Elapsed milliseconds, repack 2: 24Running the same code with jdk 1.4.1_0 yields
Elapsed milliseconds, in constructor: 1773
Elapsed milliseconds, repack 1: [bold]5747[/bold]
Elapsed milliseconds, repack 2: 32
Elapsed milliseconds, repack 2: 7
Elapsed milliseconds, repack 2: 1Note the FIVE SECOND delay during the first setPreferredSize()- pack() sequence.
This problem also occurs with 1.4.0, Blackdown 1.4.1 and IBM 1.4.0, so presumably it is something in Sun's 1.4 code.
The only way I've found to avoid the initial delay is to set frame invisible
before the setPreferredSize(), pack() sequence and visible afterwards. But of course this makes the window 'flash' and is very unplesant for users.
I've looked at the source for pack() but it hasn't gotten me anywhere. If anyone has an idea about fixing this problem or working around it, I'd appreciate hearing about it.
FYI I ran these tests under Linux, vanilla installations of SuSE 8.0 and 8.1
Thanks,
bw

It turns out that this problem occurs under SuSE (8.0 and 8.1) but NOT under Redhat 8.0
I do NOT understand how this is possible, but it is the case. Has anyone encountered any SuSE specific problems?
fyi I've reproduced the problem on two rather different i386 machines (an AMD k7 and a Pentium III thinkpad), so it certainly doesn't have anything to do with hardware.
bw

Similar Messages

  • BPEL web service is taking long time during first invoke

    Hello All,
    I have a BPEL process where I am calling a webservice which returns invoices.
    The issue is during first invoke of webservice it is taking 3 minutes to return the data. After that it returned the data for further invokes in 5 – 10 seconds on average time.
    Could anyone please provide your help on this. This is running on PRODUCTION box and is very urgent.
    Thanks Prashant
    Edited by: 879543 on 16-Aug-2011 02:09

    Hello All,
    I have a BPEL process where I am calling a webservice which returns invoices.
    The issue is during first invoke of webservice it is taking 3 minutes to return the data. After that it returned the data for further invokes in 5 – 10 seconds on average time.
    Could anyone please provide your help on this. This is running on PRODUCTION box and is very urgent.
    Thanks Prashant
    Edited by: 879543 on 16-Aug-2011 02:09

  • Long Delay During Boot

    I think this fits in the Kernel & Hardware Issues section...
    Loaded my brand new HP DV7 laptop with Linux over the weekend (during the downtime!) and mostly works very well. A few bugs to irons out...
    One of the most annoying ones at the moment is that during boot, it takes a long time to load the 'boot' screen after grub - the screen where the Arch Logo's appear and then all the kernel bootup messages. And when I say long, I mean like 10 - 12 seconds! It just sits on a blank screen like it's trying to download those Arch logos over a 14.4 modem or something
    I have my framebuffer set to 792. It behaved like this both on the Install image (from USB key) and the finished installation.
    What's it actually doing there? Is there any way to speed it up?
    Thanks all

    As certain brands of laptops are known to have badly written acpi-tables for linux (though your version may be well- supported even), you may try passing acpi=off to your kernel cmd-line. Lets' see what it does, it may narrow down our problem...
    PS. In 2.6.27, they 've also removed that message that says "Booting..." or such just after lilo or grub. So we don't know as to when does it get to the actual execution of the kernel [i.e It spends a lot of time loading it]. I know I sound strange
    PS2. I guess the "Booting..." message is from the bootloader, not the kernel (as dmesg doesn't show it).
    Last edited by Onwards (2008-11-03 04:51:13)

  • Long delays during WLS 9.2 startup (2-3min)

    Hi all,
    I've tried installing WLS9.2MP2 on several boxes but still having the same problem. During startup, weblogic stops for several minutes (with no cpu/disk/network activity) and continues without any errors displayed.
    Have anyone seen this?
    Thanks for hints
    Mira Tempir
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_10-b03)
    Java HotSpot(TM) Client VM (build 1.5.0_10-b03, mixed mode, sharing)
    Starting WLS with line:
    /opt/bea/jdk150_10/bin/java -client -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=48m -XX:MaxPermSize=128m -Xverify:none -da -Dplatform.home=/opt/bea/weblogic92 -Dwls.home=/opt/bea/weblogic92/server -Dwli.home=/opt/bea/weblogic92/integration -Dweblogic.management.discover=true -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=/opt/bea/patch_weblogic922/profiles/default/sysext_manifest_classpath -Dweblogic.Name=AdminServer -Djava.security.policy=/opt/bea/weblogic92/server/lib/weblogic.policy weblogic.Server
    <Oct 16, 2007 4:38:43 AM CEST> <Notice> <WebLogicServer> <BEA-000395> <Following extensions directory contents added to the end of the classpath:
    /opt/bea/weblogic92/platform/lib/p13n/p13n-schemas.jar:/opt/bea/weblogic92/platform/lib/p13n/p13n_common.jar:/opt/bea/weblogic92/platform/lib/p13n/p13n_system.jar:/opt/bea/weblogic92/platform/lib/wlp/netuix_common.jar:/opt/bea/weblogic92/platform/lib/wlp/netuix_schemas.jar:/opt/bea/weblogic92/platform/lib/wlp/netuix_system.jar:/opt/bea/weblogic92/platform/lib/wlp/wsrp-common.jar>
    <Oct 16, 2007 4:38:43 AM CEST> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) Client VM Version 1.5.0_10-b03 from Sun Microsystems Inc.>
    <Oct 16, 2007 4:38:43 AM CEST> <Info> <Management> <BEA-141107> <Version: WebLogic Server 9.2 MP2 Mon Jun 25 01:32:01 EDT 2007 952826 >
    <Oct 16, 2007 4:42:06 AM CEST> <Info> <WebLogicServer> <BEA-000215> <Loaded License : /opt/bea/license.bea>
    <Oct 16, 2007 4:42:06 AM CEST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>

    David Olszynski <> wrote:
    Hi all,
    I've tried installing WLS9.2MP2 on several boxes but still having the same
    problem. During startup, weblogic stops for several minutes (with no
    cpu/disk/network activity) and continues without any errors displayed.
    Have anyone seen this? Thanks for hints Mira Tempir
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_10-b03)
    Java HotSpot(TM) Client VM (build 1.5.0_10-b03, mixed mode, sharing)
    Starting WLS with line:
    /opt/bea/jdk150_10/bin/java -client -Xms256m -Xmx512m
    -XX:CompileThreshold=8000 -XX:PermSize=48m -XX:MaxPermSize=128m
    -Xverify:none -da -Dplatform.home=/opt/bea/weblogic92
    -Dwls.home=/opt/bea/weblogic92/server
    -Dwli.home=/opt/bea/weblogic92/integration What I think:
    - Check the connectivity to the administration server.
    - Check for network issues on your box (netstat -an| grep SYN)
    If I had this kind of issue, it was always network related.
    If you have JMS , it can also doing recovery.
    B
    Schelstraete Bart
    [email protected]
    http://www.schelstraete.org
    http://www.linkedin.com/in/bschelst

  • Oracle Linux 6.3: Very Long Delay During Installation

    After booting the system using the Free Oracle Linux CD-ROM (Ver. 6.3) and selecting the GRUB option "Install or upgrade existing installation" the terminal goes blank for a very long time. On terminal widow #4, however, the message:
    ERR kernel:Buffer I/O error on device fd0, logical block 0
    ...scrolls by for what seems like a very long time (4-5 minutes) before being replaced with another message:
    WARNING NetworkManager: <warn> error requesting auth for org.freedesktop.NetworkManager.enable-disable-network: (26) Remote Exception invoking org.freedesktop.PolicyKit1.Authority.CheckAuthorization() on /org/freedesktop/PolicyKit1/Authority at name org.freedesktop.PolicyKit1: org.freedesktop.DBus.Error.Spawn.ExecFailed: Cannot launch daemon, file not found or permissions invalid
    ...and then, after choosing not to verify the installation media, installation finally begins.
    How can I speed this process up?
    Eric Pretorious
    Truckee, CA

    The I/O error on fd0 probably means you do not have a floppy disk attached. I suggest to check the boot device list and their priority in your system's BIOS settings.

  • CP 7 Bug? Long delay between preloader and first slide

    I am using OSX Mavericks 10.9.2 and recenly created my first project since upgrading to CP 7. My project is 15 slides and contains only audio (mp3) and image files. My preloader is set to 25%. When I upload the published project to my web server and test, there is a fairly long delay after the preloader loads and before the course begins. It last several seconds and appears as if all the elements on the first slide are missing (the only thing that shows is the playbar - I have only the CC button turned on):
    Is this a bug with CP 7? I have never experienced anything like this in CP 5.5 and 6.

    jon8979 wrote:
    During the latter part of the sync, I can open the Music app and scroll down to find the first last Artist with more songs than albums, and that is the one the device is currently working on.
    That should have been the "last" Artist, not "first". I would've edited the message, but I guess I'm too late as the option isn't available.

  • Bridge CS4 has LONG delay in opening the first image

    Photoshop CS4 upgrade was my Christmas present this year. I've been fighting this annoying "problem" ever since then...
    I DO see this "problem" on my desktop PC, which is a Dell XPS-400 PC (with 2 GB of memory) running Windows XP (Media Center Edition) with SP3 installed. I DO NOT see this "problem" on my laptop, which is a Dell XPS-1530 (4 GB of memory) running Windows Vista SP1. I installed the Photoshop CS4 software exactly the same way on both machines, and I have the preferences set the same in both Photoshop and Bridge (and Camera Raw) on both machines.
    Here's the situation: I first open Photoshop CS4 and then click on the Bridge icon in the Application Bar to open Bridge. When I use Bridge to open a photo, by either double-clicking the thumbnail, or right-clicking on the thumbnail and choose "Open" from the context menu, there is a 42 second delay before Photoshop opens the file. This long delay only occurs when opening the very first file.
    Once that first image file is opened, double-clicking any thumbnail in Bridge will have it open in Photoshop CS4 in about 2 seconds. There will never be another long delay in having Bridge pass a file to Photoshop (or Camera Raw) again - until I close the applications and restart them. Once I restart the applications, the first photo takes 42 seconds to open....
    This delay does not occur in opening the first image file if I right-click on the thumbnail in Bridge CS4 and choose "Open With" and manually choose Photoshop CS4.
    Even if that is how I open the first (or several) image file(s), the first time I try to open a file from Bridge by double-clicking on a thumbnail (or right-click on a thumbnail and choose "Open") there will be that annoying 42 second delay before it opens.
    It does not matter what the file format the first image file is (JPG, PSD, TIFF, or DNG), or what the file format of any subsequent image file is. As long as I do not close the Bridge and Photoshop applications, any subsequent file will be passed from Bridge to Photoshop in only a couple of seconds.
    I have manually set the File Name Extensions in Windows XP, and in the Preferences in Bridge. Both have been set to open the file types listed above with Photoshop CS4.
    I have uninstalled CS4, and have used two seperate Registry cleaners (CCleaner and jv16 Power Tools) before re-installing Photoshop CS4. This had no effect on this situation. I've run "chkdsk C: /r" several times, with no problems reported.
    I have been searching through these forums for over 2 weeks now, and I have not seen anyone else report such a problem. I use my XP desktop much more than my Vista laptop, so I'd really like to fix this situation, but I don't know what else to try.
    Gregg Mack

    Don,
    Thanks for all of your suggestions. I tried them all, but the problem remains exactly as it was. To properly document my efforts:
    In Bridge's Preferences, I Purged and Compacted the Bridge Cache, then changed it's location to D:\Bridge_Cache (D:\ is a second physical internal SATA drive).
    I can not tell the exact size the Cache is set to, but the slider in Bridge's Preference is very close to the left end (10,000) of the slider.
    The Windows Page File is set to 3072 MB min and 4096 max, and it is entirely on the D:\ drive. (I have 2GB of physical RAM in the PC.)
    I defragmented the C:\ drive using Diskeeper 2008 Pro Premier, and even ran a Boot Time Defrag.
    Rather than set some exclusions for Norton Anti-Virus, I jsut disbled that Virus checking program for all of my experiments.
    I deleted the Bridge Preference File by holding down the Ctrl key as Bridge was restarted.
    I even deleted the entire contents of the C:\Windows\Prefetch folder. I then rebooted the PC - twice. I then re-disabled Norton Anti-Virus.
    The PC is approaching 3 years of age, but it is a 3.2 GHz Pentium D machine with 2 GB of RAM and two internal SATA drives. Every other application that I run on this machine responds reponsively. Again it is only the FIRST image file that I have Bridge hand off to Photoshop (or Camera Raw) that takes forever. The second and subsequent image files take a second or two.... That doesn't sound like it's an "old hardware" problem to me.
    I'm willing to try anything else that you, or anyone else would like to suggest.
    Thanks
    Gregg Mack

  • Since downloading Rosemite I have had long delays in starting up my iMac ?

    I downloaded Yosemite on my iMac on 20.10.14 and have been experiencing long delays in starting up each day ?

    These instructions must be carried out as an administrator. If you have only one user account, you are the administrator.
    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
    Step 1
    For this step, the title of the Console window should be All Messages. If it isn't, select
              SYSTEM LOG QUERIES ▹ All Messages
    from the log list on the left. If you don't see that list, select
              View ▹ Show Log List
    from the menu bar at the top of the screen.
    In the top right corner of the Console window, there's a search box labeled Filter. Initially the words "String Matching" are shown in that box. Enter "BOOT_TIME" (without the quotes.)
    Each message in the log begins with the date and time when it was entered. Select the BOOT_TIME log message that corresponds to the last boot time when you had the problem. Now clear the search box to reveal all messages. Select the ones logged after the boot, during the time something abnormal was happening. Copy them to the Clipboard by pressing the key combination command-C. Paste into a reply to this message by pressing command-V.
    For example, if the problem is a slow startup taking three minutes, post the messages timestamped within three minutes   after the boot time, not before. Please include the BOOT_TIME message at the beginning of the log extract—not at the end.
    If there are long runs of repeated messages, please post only one example of each. Don’t post many repetitions of the same message.
    When posting a log extract, be selective. In most cases, a few dozen lines are more than enough.
    Please don't indiscriminately dump thousands of lines from the log into this discussion.
    Please don't post screenshots of log messages—post the text.
    Some private information, such as your name, may appear in the log. Anonymize before posting.
    Step 2
    In the Console window, select
              DIAGNOSTIC AND USAGE INFORMATION ▹ System Diagnostic Reports
    (not Diagnostic and Usage Messages) from the log list on the left. If you don't see that list, select
              View ▹ Show Log List
    from the menu bar.
    There is a disclosure triangle to the left of the list item. If the triangle is pointing to the right, click it so that it points down. You'll see a list of reports. A crash report has a name that begins with the name of the crashed process and ends in ".crash". A panic report has a name that begins with "Kernel" and ends in ".panic". A GPU restart report has a name that begins with "Kernel" and ends in ".gpuRestart". Select the most recent of each. The contents of the report will appear on the right. Use copy and paste to post the entire contents—the text, not a screenshot.
    I know the report is long, maybe several hundred lines. Please post all of it anyway.
    If you don't see any reports listed, but you know there was a crash or panic, you may have chosen Diagnostic and Usage Messages from the log list. Choose DIAGNOSTIC AND USAGE INFORMATION instead.
    In the interest of privacy, I suggest that, before posting, you edit out the “Anonymous UUID,” a long string of letters, numbers, and dashes in the header of the report, if it’s present (it may not be.)
    Please don’t post other kinds of diagnostic report—they're very long and rarely helpful.

  • Long delay from receiving INVITE from PSTN gateway and actual end client call

    I was wondering if there is anyone who can assist me in some troubleshooting long delays within the mediation server. I have a lab environment which has the front end and mediation server on the same box. I also have an audiocodes MP-114 connected to two
    test PSTN lines and this is configured as a trunk to the mediation server and there is two polycom IP phones within the test environment.
    Now everything works - SIP invites and media but certain aspects have significant delays.
    The problem is with inbound calls from the PSTN line
    PSTN via Audiocodes MP-114 to Polycom phone - When I dial the PSTN number from my mobile the audiocodes sends a SIP invite to the Mediation Server within just under a second - I was able to determine this by using the syslog and to be honest that seems a
    reasonable time.
    Now moving onto the OCSlogger I logged the mediation and SIP logs and the mediation server is showing the SIP invite about half a second later (I am assuming some network latency clock drift etc) which again seems fine.
    I then receive various logs showing TLS negotiation between ports 5061 and high ports on the server, and dial plan matching which all seems ok and this seems to take about 1 second not great but not the biggest issue However I then dont receive any message
    logs for over 3 seconds until the the mediation server states "SDP Answer to Gateway, SDP is :v=0"
    Then another 4 seconds go by until another tls session is negotiated and the SIP invite is sent to the lync registered polycom phone and then the IP phone starts ringing - so it appears the mediation server is not doing anything anything for 7 seconds.
    Now looking at the detailed Trace logs I get three TL_ERROR from the proxysdp.cs(1417) proxysdp.cs(422)  during the delay that states
    TL_ERROR(TF_PROTOCOL) [0]12EC.1ED8::02/05/2014-12:22:45.305.000b07d8 (MediationServer,ProxySdpProcessor.InternalTryParseSdpT<GlobalDescription_TMediaDescription>:proxysdp.cs(1417))
    (0000000003CB324D)SDP parsing error: Empty SDP offer
    and then a warning
    TL_WARN(TF_COMPONENT) [0]12EC.1ED8::02/05/2014-12:22:49.028.000b080e (MediationServer,ProxyCall.FinishGetOffer:proxycall.cs(4578))[57060297]
    57060297Could not get MRAS candidates from the Media Relay token. Connectivity Servers List = SRV-0003.LOCAL.COM.NULL
    and an error from SIPSTACK
    TL_ERROR(TF_COMPONENT) [0]1298.25DC::02/05/2014-12:22:49.034.000b1d72 (SIPStack,CISIPProxy::CreateUriFromString:ISIPProxy.cpp(1333))
    ( 00000000002061A0 ) Exit - not a valid SIP address. Returned 0xC3E93F25(SIPPROXY_E_INVALID_URI_SCHEME)
    Now the call goes though and works fine but the delay is considerable for the first ring - Has anyone got any ideas as I am stumped at the moment
    Cheers
    Adam

    Adam, you did not mention Edge and so, I will assume one is not deployed yet. Is this the case? Do you have edge defined in topology but not physically configured? "Could
    not get MRAS candidates from the Media Relay token" indicates Mediation is trying to get Media Relay address from Edge via FE, but could not.
    Drago
    http://www.lynclog.com

  • How long did your first wireless back up take??

    After doing the initial back up via ethernet, how long did your first wireless back up take?? I can't seem to get past the preparing stage. However I have recently learned that the first time backing up wirelessly, the finder indexes the back up & this can take a while. I'm leaving it a little longer now. It has been preparing for about half an hour now.
    Is this normal?
    How long does this indexing take?
    What are your experiences?
    Thanks.

    So far for me it's been five days. I hooked up Time Capsule Thursday night, and after monitoring the progress for a few hours, I calculated that it should take three days, which I figured would mean that it should finish up by Sunday evening. (My MacBookPro had 103 gigs on it.)
    It would have been nice if the instructions that came with the **** thing said something up front about hooking up via an ethernet cable for the initial backup. If I had seen those instructions before I started this nightmare, I might be done by now. Instead I started the backup wirelessly, which I'm sure accounts for some of the delay and hassle.
    Unfortunately, the backup pace slowed steadily over the course of the weekend. By Saturday night, it had only done about 60 gigabyites, and by Sunday afternoon, it was only up to around 65. At that pace I figured I might be waiting another week before it finished, and since I actually take my computer with me when I leave my house, this would have deprived me of my computer for an unacceptable period. After doing some internet research and learning that using an ethernet cable would speed up the process, I therefore stopped the wireless backup, hooked up a cable, and restarted it at around 4 p.m. on Sunday afternoon.
    The backup then proceeded steadily at a faster (although not exactly zippy) pace. By midnight it had gotten through about 60 gigabytes, and after timing the rate at which it was proceeding by that time, I estimated that it should finish sometime around 8 p.m. tonight (Monday).
    I left the computer along during the day while I ran errands away from home. When I got back around 6:30, it appeared to have finished the initial backup and to be in the process of finishing up an incremental backup. The progress bar said "backing up 12,443 items...51.3 MB of 51.3 MB." Unfortunately, it seems to be stuck there. It's now 8 p.m., and it still says it's working on those 51.3 MB. I don't know how much longer I should wait before deciding that it's frozen.
    I'd like to just set this thing on fire. I bought the Time Capsule because I liked the idea of wireless, automatic backups. It was supposed to make my life easier, not make it a living ****.

  • For installing software packages, long delay in recognizing startup disk

    I have found that any time I install software using an installer package (e.g. flip4mac) on my iMac, there is a long delay before my startup disk is recognized as a valid installation location. All of the other drives are evaluated immediately, but I'd say it's about 20 seconds before I get the option of my startup disk (green arrow pointing down at a picture of a hard drive).
    Does anyone know what is causing this and how I might alleviate the problem? It's annoying, and I wonder if it's a sign of some deeper problem.
    I do have a bootcamp partition that I rarely use, and I have an external USB drive that I use for time machine backups.

    The more external storage devices you have connected to your computer the longer it's going to take to for your computer to evaluate which volumes it can install on. Short of dismounting the external HD's first this is the price you will be paying for all the external devices. BTW I'm in the same boat, I have 3 EHD's daisy chained together using FW 800.

  • Problem With Listener Service: Long Delay Starting Listener, Intermittent Connections

    I am having trouble connecting to my Oracle database.  I'm not sure what the cause was, but now when I connect to a database that has been working fine for the past two years, I usually get a ORA-12541 error.
    I run lsnrctl status on the server and get a prinout like this:
    Copyright (c) 1991, 2010, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=dqaswn02)(PORT=1521)))
    TNS-12541: TNS:no listener
    TNS-12560: TNS:protocol adapter error
      TNS-00511: No listener
       64-bit Windows Error: 61: Unknown error
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
    TNS-12541: TNS:no listener
    TNS-12560: TNS:protocol adapter error
      TNS-00511: No listener
       64-bit Windows Error: 2: No such file or directory
    I've also tried manually stopping the service via services.msc and then restarting via lsnrctl start, but when I do this I get a really long delay (10+ minutes) before it returns with something like:
    TNS-01153: Failed to process string: 0í≈♥
    I'm pretty lost as to what is wrong.  I've been messing around with listener.ora, but I don't see anything problematic in there.  Here's a copy:
    # listener.ora Network Configuration File: E:\app\myc0714\product\11.2.0\dbhome_1\NETWORK\ADMIN\listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = CLRExtProc)
          (ORACLE_HOME = E:\app\myc0714\product\11.2.0\dbhome_1)
          (PROGRAM = extproc)
          (ENVS = "EXTPROC_DLLS=ONLY:E:\app\myc0714\product\11.2.0\dbhome_1\BIN\OraClr11.dll")
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = TCP)(HOST = dqaswn02)(PORT = 1521))
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    # ADR_BASE_LISTENER = E:\app\myc0714
    LOG_FILE_LISTENER = LISTENER
    TRACE_LEVEL_LISTENER = SUPPORT
    TRACE_FILE_LISTENER = LISTENER
    However, a few times during this I've been able to connect to the server, via sqlplus, but it has taken 10 minutes before the connection comes online.  Once I'm connected, I can query my tables as expected, but I need an application to connect.
    If anyone has any ideas on what could be wrong, please let me know.

    When I opened up netca, I didn't have any listeners configured, which seems very strange.  When adding it, I get this message in the cmd window:
    Oracle Net Services Configuration:
    Configuring Listener:LISTENER
    ServiceAliasException: Could not save Service Alias: TNS-04406: Object already e
    xists
    Default local naming configuration complete.
    Listener configuration complete.
    Oracle Net Listener Startup:
        Running Listener Control:
          E:\app\myc0714\product\11.2.0\dbhome_1\bin\lsnrctl start LISTENER
        Listener Control complete.
        Listener start failed.
    I killed the service via services.msc again and tried starting the lsnrctl.  This time I've got a new listening service going:
    Starting tnslsnr: please wait...
    TNSLSNR for 64-bit Windows: Version 11.2.0.1.0 - Production
    System parameter file is E:\app\myc0714\product\11.2.0\dbhome_1\network\admin\li
    stener.ora
    Log messages written to e:\app\myc0714\diag\tnslsnr\DQASWN02\listener\alert\log.
    xml
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=DQASWN02.petroleumplace.
    com)(PORT=1521)))
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521
    ipc)))
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=DQASWN02.petroleumplace.
    com)(PORT=1521)))
    TNS-01153: Failed to process string: X☺∙♥
    I just tried starting the trace.  I'm waiting for it to connect, I guess.  I'll post anything I get out of it when it returns.

  • Bootup: long delay before sysinit.target.

    My system seems to have a strange delay during boot that I don't know how to account for. In the SVG plot, there is a long delay before `sysinit.target` comes on, but it doesn't seem that anything is blocking it.
    Also, systemd-blame shows everything starting prety quickly.
    1.332s lightdm.service
    1.255s systemd-logind.service
    1.254s avahi-daemon.service
    1.150s systemd-update-utmp.service
    539ms NetworkManager.service
    437ms [email protected]
    393ms accounts-daemon.service
    360ms systemd-udev-trigger.service
    323ms systemd-tmpfiles-setup.service
    316ms systemd-vconsole-setup.service
    316ms dev-hugepages.mount
    316ms dev-mqueue.mount
    316ms sys-kernel-debug.mount
    295ms kmod-static-nodes.service
    276ms ntpd.service
    231ms systemd-sysctl.service
    224ms [email protected]
    216ms systemd-user-sessions.service
    176ms polkit.service
    170ms systemd-journal-flush.service
    127ms systemd-random-seed.service
    127ms rtkit-daemon.service
    111ms upower.service
    98ms colord.service
    90ms sys-kernel-config.mount
    82ms systemd-backlight@acpi_video0.service
    67ms sys-fs-fuse-connections.mount
    66ms systemd-tmpfiles-setup-dev.service
    55ms wpa_supplicant.service
    53ms dev-sda2.swap
    33ms alsa-restore.service
    30ms udisks2.service
    3ms systemd-remount-fs.service
    2ms tmp.mount
    2ms systemd-udevd.service
    2ms systemd-tmpfiles-clean.service
    And here is what the journal says in that time gap (nothing):
    Dec 26 07:39:51 yvne systemd[1]: Starting Swap.
    Dec 26 07:39:51 yvne systemd[1]: Reached target Swap.
    Dec 26 07:40:26 yvne systemd[1]: Starting System Initialization.
    Dec 26 07:40:26 yvne systemd[1]: Reached target System Initialization.
    Last edited by shawnjgoff (2013-12-26 13:13:19)

    My system seems to have a strange delay during boot that I don't know how to account for. In the SVG plot, there is a long delay before `sysinit.target` comes on, but it doesn't seem that anything is blocking it.
    Also, systemd-blame shows everything starting prety quickly.
    1.332s lightdm.service
    1.255s systemd-logind.service
    1.254s avahi-daemon.service
    1.150s systemd-update-utmp.service
    539ms NetworkManager.service
    437ms [email protected]
    393ms accounts-daemon.service
    360ms systemd-udev-trigger.service
    323ms systemd-tmpfiles-setup.service
    316ms systemd-vconsole-setup.service
    316ms dev-hugepages.mount
    316ms dev-mqueue.mount
    316ms sys-kernel-debug.mount
    295ms kmod-static-nodes.service
    276ms ntpd.service
    231ms systemd-sysctl.service
    224ms [email protected]
    216ms systemd-user-sessions.service
    176ms polkit.service
    170ms systemd-journal-flush.service
    127ms systemd-random-seed.service
    127ms rtkit-daemon.service
    111ms upower.service
    98ms colord.service
    90ms sys-kernel-config.mount
    82ms systemd-backlight@acpi_video0.service
    67ms sys-fs-fuse-connections.mount
    66ms systemd-tmpfiles-setup-dev.service
    55ms wpa_supplicant.service
    53ms dev-sda2.swap
    33ms alsa-restore.service
    30ms udisks2.service
    3ms systemd-remount-fs.service
    2ms tmp.mount
    2ms systemd-udevd.service
    2ms systemd-tmpfiles-clean.service
    And here is what the journal says in that time gap (nothing):
    Dec 26 07:39:51 yvne systemd[1]: Starting Swap.
    Dec 26 07:39:51 yvne systemd[1]: Reached target Swap.
    Dec 26 07:40:26 yvne systemd[1]: Starting System Initialization.
    Dec 26 07:40:26 yvne systemd[1]: Reached target System Initialization.
    Last edited by shawnjgoff (2013-12-26 13:13:19)

  • 790GX-G65 long delay before POST

    Hi there, when I turn my comp on there is a long delay, about 20 seconds or so, until it POSTs. There is a flashing cursor on the top left corner of the screen in the meantime. Afterwards it will boot up as normal and is stable. However, if I reboot the system there is no delay, it only happens when I shut down and then turn it on.
    Specs:
    Phenom II X4 810 2.6GHz
    4GB (2x 2GB) Corsair XMS3 1066 (unganged)
    GeForce 7800 GTX 512MB
    BIOS is the latest version - v1.6
    I browsed these forums but the other posts I found were about systems not POSTing at all. This seems to be a different problem.
    Thanks.

    Quote from: Bas on 23-December-09, 02:31:40
    Do you have the Winki edition or not?
    No, I don't have the Winki edition
    Quote from: Hans on 23-December-09, 02:41:40
    What drives are installed?
    I've got:
    400GB Hitachi SATA HDD (boot)
    250GB Samsung IDE HDD
    80GB Maxtor IDE HDD
    LiteOn DVD-RW. It's IDE but connected to SATA via an adaptor
    Quote from: Fredrik on 24-December-09, 08:44:03
    Don't forget to clear CMOS after the BIOS update, with the power cable unplugged first of course.
    How did you go about updating BIOS?
    What PSU have you got?
    If you have a different graphics card to try you should do so.
    I updated via USB M-Flash and I did a CMOS reset.
    My PSU is a PC Power & Cooling Silencer 470W
    The only other graphics card I have is the on-board one, the rest are AGP.

  • Can opening shot be a long, delayed, fade of a still photo from blur to clear?

    I'd like to have the first clip of an iMovie be a long, delayed fade of a still photo from blur to clear. Using the blur transition is not working; it can't be made long enough. Any ideas?
    I'd like it so that the fade from blur lasts around 18 seconds, and the photo is clear for about 4 seconds...
    I should also say I'm using the latest version of iMovie... just bought the computer a few months ago.
    Many thanks for any suggestions!

    Further to Karsten's explanation, a workaround is to create a project using your photo with a duration of 36 seconds (or more). Insert the 18 second transition. Then export the project and re-import the exported file to an Event. Now create a new project from that Event. In that new project, trim off the unrequired section from the end of the clip, so that all that remains is the transition plus the extra 4 seconds.
    For best results, when exporting the 36 second clip (or whatever length), choose Share>Export using QuickTime. For the Export setting (on the pop-up menu) choose Movie to QuickTime Movie. For "Options>Video>Settings>Compression Type" choose Apple Intermediate Codec (AIC). Leave other settings as they are. This will give you a full quality movie file (.mov) in the AIC format, which is iMovie's preferred editing format.
    John

Maybe you are looking for