PrintServiceLookup takes ages!

How comes the following line takes about 40 to 90 seconds to return?
PrintService[] services = PrintServiceLookup.lookupPrintServices(null, null);
I don't know how to tell our customers they can't even choose a printer inde first two minutes after the application has initialized.. ;)

Have you tried turning the phone off and back on? It may also be a carrier issue.

Similar Messages

  • FAST enabled MView takes ages to refresh

    Hi All,
    I have a materlialized view which is based on a single fact table ( OAS_BALANCE_UNIONED 11,445,156 rows) and a bunch of dimension tables each containing limited number of rows (a typical start schema).
    The conditioins to make the mview fast refreshable have been met so the mview created successfully with the FAST option.
    The mview then worked just fine after than and had been refreshing FAST (6 minutes) for the whole day till other mviews started to refresh in the same time. Some of those mviews read from some of the base tables of the mview in question. Since then, the mivew has started to take ages (3 hours) to refresh. There is surely something wrong because the COMPLETE refresh was faster than that.
    Later, I stopped all the refresh jobs of the other mviews. Yet, the FAST mview still has the same problem of taking ages to refresh.
    When I monitored the session that refreshes the mview, I noticed in the "Long Ops" that
    most of the time is spent on a step named as "Hash Join" (it appears in the Message column). Hash join occurrs because of the outer join.
    Why my FAST mview suddenly started to take so long time to refresh?
    How can I make my FAST mivew really refresh fast?
    Technical Details are below:
    OS: Windows 2003 32-bit
    DB version: Oracle 10g R1 ( 10.1.0.2.0 )
    CREATE MATERIALIZED VIEW FACT_BAL_MV
    BUILD DEFERRED
    REFRESH FAST ON DEMAND
    WITH PRIMARY KEY
    AS
    SELECT B.cmpcode  BAL_KEY,
           B.CMPCODE,
           B.YR,
           B.PERIOD,
           B.BALCODE,
           B.CURCODE,
           B.REPBASIS,
           TO_NUMBER (B.YR || LPAD (B.PERIOD, 2, 0)) DIM_PERIOD_MV,
           D_CMP.DIM_KEY DIM_COMPANY,
           D_CUR.DIM_KEY DIM_CURRENCY,
           D_EL_1.DIM_KEY DIM_EL_1,
           D_EL_2.DIM_KEY DIM_EL_2,
           D_EL_3.DIM_KEY DIM_EL_3,
           D_EL_4.DIM_KEY DIM_EL_4,
           GRP_1_P_EL.DIM_KEY DIM_GRP_1_P_EL,
           D_GRP_1_B_EL.DIM_KEY DIM_GRP_1_B_EL,
           D_GRP_1_K_EL.DIM_KEY DIM_GRP_1_K_EL,
           D_GRP_2_D_EL.DIM_KEY DIM_GRP_2_D_EL,
           D_GRP_3_E_EL.DIM_KEY D_GRP_3_E_EL,
           B.ROWID X_OB_ROWID,
           D_CMP.ROWID X_CMP_ROWID,
           D_CUR.ROWID X_CUR_ROWID,
           D_EL_1.ROWID X_EL_1_ROWID,
           D_EL_2.ROWID X_EL_2_ROWID,
           D_EL_3.ROWID X_EL_3_ROWID,
           D_EL_4.ROWID X_EL_4_ROWID,
           GRP_1_P_EL.ROWID X_GRP_1_P_EL_ROWID,
           GRP_1_P.ROWID X_GRP_1_P_ROWID,
           D_GRP_1_B_EL.ROWID X_GRP_1_B_EL_ROWID,
           D_GRP_1_B.ROWID X_GRP_1_B_ROWID,
           D_GRP_1_K_EL.ROWID X_GRP_1_K_EL_ROWID,
           D_GRP_1_K.ROWID X_GRP_1_K_ROWID,
           D_GRP_2_D_EL.ROWID X_GRP_2_D_EL_ROWID,
           D_GRP_2_D.ROWID X_GRP_2_D_ROWID,
           D_GRP_3_E_EL.ROWID X_GRP_3_E_EL_ROWID,
           D_GRP_3_E.ROWID X_GRP_3_E_ROWID
      FROM CLVE_STAGING.OAS_BALANCE_UNIONED B,
           FINANCE.DW_DIM_COMPANY D_CMP,
           FINANCE.DW_DIM_CURRENCY D_CUR,
           FINANCE.DW_DIM_EL_1 D_EL_1,
           FINANCE.DW_DIM_EL_2 D_EL_2,
           FINANCE.DW_DIM_EL_3 D_EL_3,
           FINANCE.DW_DIM_EL_4 D_EL_4,
           FINANCE.DW_DIM_GRP_1_P_EL GRP_1_P_EL,
           FINANCE.DW_DIM_GRP_1_P GRP_1_P,
           FINANCE.DW_DIM_GRP_1_B_EL D_GRP_1_B_EL,
           FINANCE.DW_DIM_GRP_1_B D_GRP_1_B,
           FINANCE.DW_DIM_GRP_1_K_EL D_GRP_1_K_EL,
           FINANCE.DW_DIM_GRP_1_K D_GRP_1_K,
           FINANCE.DW_DIM_GRP_2_D_EL D_GRP_2_D_EL,
           FINANCE.DW_DIM_GRP_2_D D_GRP_2_D,
           FINANCE.DW_DIM_GRP_3_E_EL D_GRP_3_E_EL,
           FINANCE.DW_DIM_GRP_3_E D_GRP_3_E
    WHERE     B.CMPCODE = D_CMP.CODE
           AND (B.CMPCODE = D_CUR.CMPCODE(+) AND B.CURCODE = D_CUR.CODE(+))
           AND (B.CMPCODE = D_EL_1.CMPCODE(+) AND B.EL1 = D_EL_1.EL_CODE(+))
           AND (B.CMPCODE = D_EL_2.CMPCODE(+) AND B.EL2 = D_EL_2.EL_CODE(+))
           AND (B.CMPCODE = D_EL_3.CMPCODE(+) AND B.EL3 = D_EL_3.EL_CODE(+))
           AND (B.CMPCODE = D_EL_4.CMPCODE(+) AND B.EL3 = D_EL_4.EL_CODE(+))
           AND (GRP_1_P_EL.CMPCODE = GRP_1_P.CMPCODE(+)
                AND GRP_1_P_EL.GRP_CODE = GRP_1_P.GRP_CODE(+))
           AND (B.CMPCODE = GRP_1_P_EL.CMPCODE(+)
                AND B.EL1 = GRP_1_P_EL.EL_CODE(+))
           AND (D_GRP_1_B_EL.CMPCODE = D_GRP_1_B.CMPCODE(+)
                AND D_GRP_1_B_EL.GRP_CODE = D_GRP_1_B.GRP_CODE(+))
           AND (B.CMPCODE = D_GRP_1_B_EL.CMPCODE(+)
                AND B.EL1 = D_GRP_1_B_EL.EL_CODE(+))
           AND (D_GRP_1_K_EL.CMPCODE = D_GRP_1_K.CMPCODE(+)
                AND D_GRP_1_K_EL.GRP_CODE = D_GRP_1_K.GRP_CODE(+))
           AND (B.CMPCODE = D_GRP_1_K_EL.CMPCODE(+)
                AND B.EL1 = D_GRP_1_K_EL.EL_CODE(+))
           AND (D_GRP_2_D_EL.CMPCODE = D_GRP_2_D.CMPCODE(+)
                AND D_GRP_2_D_EL.GRP_CODE = D_GRP_2_D.GRP_CODE(+))
           AND (B.CMPCODE = D_GRP_2_D_EL.CMPCODE(+)
                AND B.EL2 = D_GRP_2_D_EL.EL_CODE(+))
           AND (D_GRP_3_E_EL.CMPCODE = D_GRP_3_E.CMPCODE(+)
                AND D_GRP_3_E_EL.GRP_CODE = D_GRP_3_E.GRP_CODE(+))
           AND (B.CMPCODE = D_GRP_3_E_EL.CMPCODE(+)
                AND B.EL3 = D_GRP_3_E_EL.EL_CODE(+));
    CREATE INDEX FINANCE.DW_FACT_BAL_MV_INX
    ON FACT_BAL_MV (X_OB_ROWID);
    SQL> select count(X_OB_ROWID) from FACT_BAL_MV ;
    COUNT(X_OB_ROWID)
             11444816
    Elapsed: 00:00:27.85
    SQL> select bytes/1024/1024/1024 GB from
    user_segments where segment_name='FACT_BAL_MV';
            GB
    4.4296875search id: redcorolla

    Hard to say why the refresh is now slow. Possibilties include
    * system resources implemented by the fast refresh
    * something changed on the query making the background query run slowly
    Look at the query first. 18 tables, with almost every join an outer join. Some of the tables appear more than once in the query.
    Get an executioion plan to see how the query is being executed.

  • TS1368 I want to delete a lot of things childrens stories, albums which are not used which that are on my ipad. However when I go through Itunes it wont show me most of the stuff in my library. it takes ages to delete one at a time.

    I want to delete a lot of things childrens stories, albums which are not used which that are on my ipad. However when I go through Itunes it wont show me most of the stuff in my library. it takes ages to delete one at a time.
    Can you help please?

    Thanks King_Penguin for taking time to read and reply. 
    I just purchased this movie on Thursday, May 15, so just a few days ago.  I have never had any trouble whatsoever since I have been in Vietnam.  I have downloaded several movies and even music and they have all synced to my respected Apple products except for this purchase. 
    Sorry, I don't quite understand what you mean by studios and different versions.  Could you please explain? 
    I checked my purchased list in my purchase history under my account and there are no hidden items. 

  • When i log on to thunderbird, the in box has the message, 'building summary file', this then takes ages to do . how do I stop it doing this every time I log on?

    Hello,
    This problem has only started happening in the last few days. Every time i log on the get emails, the inbox has a message saying 'building summary file'. it then takes ages to do this. i have tried deleting most of the in box and compacting the file but it still continues.

    Try restart the operating system in '''[http://en.wikipedia.org/wiki/Safe_mode safe mode with Networking]'''. This loads only the very basics needed to start your computer while enabling an Internet connection. Click on your operating system for instructions on how to start in safe mode: [http://windows.microsoft.com/en-us/windows-8/windows-startup-settings-including-safe-mode Windows 8], [http://windows.microsoft.com/en-us/windows/start-computer-safe-mode#start-computer-safe-mode=windows-7 Windows 7], [http://windows.microsoft.com/en-us/windows/start-computer-safe-mode#start-computer-safe-mode=windows-vista Windows Vista], [http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/boot_failsafe.mspx?mfr=true" Windows XP], [http://support.apple.com/kb/ht1564 OSX]
    ; If safe mode for the operating system fixes the issue, there's other software in your computer that's causing problems. Possibilities include but not limited to: AV scanning, virus/malware, background downloads such as program updates.

  • Setting up my Line6 UX1 with Audtion 3.0 on Win7 - settings dialog takes ages to respond

    I downloaded the trial of Adobe Audition 3.0 (I've been using 1.5 on WinXP for a few years now and it's always been fine to use!)
    I am trying to set up my Line6 POD Studio UX1 with Audtion 3.0 on Windows 7 Pro (64 Bit - 32GB RAM Quad Core Intel i7 3770 Processor)
    I am noticing that the Settings dialog takes ages to respond and update with the changes I make - when I eventually managed to get playback - the playback only came out on the left monitor.
    I should mention that I am doing this on a previous Audition 1.5 session - Audition 3.0 saved the session as a new session so I think that should be fine.
    What I'm looking for here is the correct settings I need to use in Audition 3.0 to use my UX1.
    I don't want to pay for Audition 3.0 if it's not going to work for me!

    You won't be able to pay for Audition 3 since it was discontinued several years ago. However you may be able to upgrade to AA3 for free as a previous Audition user.
    http://forums.adobe.com/thread/1129138?tstart=0

  • My ipod touch 2g a1288 wont restore. The download takes ages then ipod puts itself back in2 DISABLED mode, HELP!!

    Ok so my ipod is making me really angry. If I don't figure this thing out today after trying for so long I think I'm going to take my car and repeatedly run the thing over until its in a million pieces.
    Right now heres the long story which ill try keep kinda short but I do need to explain whats happened thus far
    Ipod touch (2G), Mondel: A1288 which has gone into disabled mode and is basically useless at the moment.
    Now I've done the thing where you hold the two buttons while plugged into laptop until itunes detects ipod in recovery mode. Then I try to hit restore, this starts up the download/ update thing which will not download because here in the dark ages of New Zealand our internet is slow. So because its so slow the ipod touch takes itself back into disabled mode! ahhhhhhhhhhhhh so FRUSTRATING
    Now I'm aware that I can pre-download the firmware (which will still probably take ages but may save the ipod from timing out and going back into disabled screen) and then just hit control and select it when ipod is detected in recovery mode by itunes. The only thing wrong with doing this however, is when I go to the site to get the firmware from http://http://www.felixbruns.de/iPod/firmware/ and look in the drop down menu of 2G ipod touches, I don't see my model listed there so I'm wondering what firmware I can download for the A1288? Is it compatible with a different version? because it wasn't even listed in the drop-down menu of ipod touches.
    I just wan't the thing going again! they put these things into technology that make it useless because they know the average joe like me will just give up trying to fix it and buy a new one. Well not this time, if I cant fix this, I'm going to run the thing over and that will be that!
    Many thanks for reading my speal, I hope somebody can help

    lol yea when i inserted the link i just copied and pasted thats why that happend... Lets try again... http://www.felixbruns.de/iPod/firmware/
    Anyways when I go to it theres a drop-down list and you select the one you want and I know the number next to it identifies the model but the thing is they don't have my model listed so my main question is, what version eg. 2.1.1. or 2.2.1 etc. etc. etc. etc. will work with my model of ipod touch which is the 2g Model A1288?
    Does anybody know? Does it work with any firmware thats for 2G ipod touches or do i have to get firmware thats model specific?

  • My new iphone is running extremley slow, internet takes ages to load, apps take ages to install and has trouble connecting to app store. and the apps dont work properly like ebay wont open or refresh items, plz help

    my new iphone is running extremley slow, internet takes ages to load, apps take ages to install and has trouble connecting to app store. and the apps dont work properly like ebay wont open or refresh items, plz help
    my iphone4 is 10 times faster
    i have backed up on itunes and restored but still no luck
    even siri is lagging

    my new iphone is running extremley slow, internet takes ages to load, apps take ages to install and has trouble connecting to app store. and the apps dont work properly like ebay wont open or refresh items, plz help
    my iphone4 is 10 times faster
    i have backed up on itunes and restored but still no luck
    even siri is lagging

  • It take ages to download and install flash player

    i realize that from some time it take ages to download and install adobe flash player!! is there a problem with the server i just cant install it i use windows 7 and windows 8 in both i download but wen try to install it starts to install and it says it takes to long to download and stops instalation   what can i do to install flash player? thank you very much

    Try the offline installer from http://helpx.adobe.com/content/help/en/flash-player/kb/installation-problems-flash-player- windows.html#main-pars_header

  • Finder extremely slow, trash takes ages and some USB-devices don't work

    My MacPro is lightning fast when booted without extensions (shift down), but when I boot normally some apps work fine, but the Eye TV usb receiver won't work.
    Emptying trash might take hours for 1 or 2 files.
    Copying files from one HDD to another takes ages
    Finder is extremely slow (takes forever to show contents of a mounted DMG).
    installing software will often not work.
    awkwardly enough FCP seems to work fine while simple use of the finder is nerve wrecking.
    iTunes won't launch.
    I've tried adding extra memory (got screwed into buying 4GB at extorniate price at the Apple retaier), cleaning up cache, flushing pram, removing Norton AV, removing all old Adobe apps, all tools I never use...
    I tried booting without USB and firewire devices.
    now the pc HDD connected show full size empty disks where one cannot write...
    I already learned to live with the fact that Snow leopard makes my HP Designjet and all my labelprinters from Brother useless, but I need to work. Does someone have an idea on how to get Snow Laggard to become a Snow Leopard?

    See:
    Mac Maintenance Quick Assist,
    Mac OS X speed FAQ,
    Speeding up Macs,
    Macintosh OS X Routine Maintenance
    Essential Mac Maintenance: Get set up,
    Essential Mac Maintenance: Rev up your routines,
    Maintaining OS X,
    Five Mac maintenance myths, and
    Myths of required versus not required maintenance for Mac OS X for information.

  • Nokia N95 8GB takes ages refreshing even for one t...

    Hi All.
    I have had this REALLY frustrating problem...
    Every time i add a track to my phone, then i refresh it takes AGES to update the library.
    Does anyone know how to fix this?
    Nokia N97 Mini
    V: 10.0.020 : 14/10/09
    RM-555
    Old: N95 8GB : V 20.0.016 : 28/09/08 : RM-320

    The reason it takes a while is that the phone has to scan all memory every time you refresh, doesn't matter whether you're adding/removing 1 track or 1,000 as the phone doesn't know what needs to be added without checking.
    One of the downsides of having more space.
    If you're deleting tracks from the library, you can still listen to other tracks while this is happening: I listen to a lot of podcasts and always delete the ones I've aleady listened to as I'm listening to a new one. Again, deleting 10 tracks together takes the same time as deleting one.
    If you want to listen to a track you've just added, you can do this while the music player library refreshes, just start playing it using file manager then switch to the library to do the refresh.

  • My imac 21" takes ages to load videos and websites. HELP

    i have a imac 21" that i got like 4 months ago and it was running safari and google chrome very fast but now its is very slow it takes ages for it to load a video from youtube or any other place and it takes longer time for it to load a page then it did befor...
    when i first got it i could open 1080 HD videos from youtube easly and the hole thing would load very fast but now i takes like 10 mins to load a very short video thats like 360p... Befor it could open a page in like 1 second and now its takes like 1 minute for it to load a very simple page...
    I have alot of memory left and i have ATT u-vers internet, and other apps that need internet run normal like itunes, twitter...
    plz help its getting really annoying. sometimes when i play Starcraft 2 it kinda slow too.

    anyone!?

  • TS3276 ppl i fed up with my mac air while using my exchange email account, it takes ages to refresh and it doesn't send or receive instantly , no clue although that the same setting and server names has been set up on my iPhone and it is working fine

    ppl i fed up with my mac air while using my exchange email account, it takes ages to refresh and it doesn't send or receive instantly , no clue although that the same setting and server names has been set up on my iPhone and it is working totally fine

    Install ClamXav and run a scan with that. It should pick up any trojans.   
    17" 2.2GHz i7 Quad-Core MacBook Pro  8G RAM  750G HD + OCZ Vertex 3 SSD Boot HD 
    Got problems with your Apple iDevice-like iPhone, iPad or iPod touch? Try Troubleshooting 101

  • ITunes takes ages to load

    When it finally does it takes ages to be able to select anything and when I plug in either my iPhone or iPad it freezes and has to be shut down throughout the control menu.
    Everything else starts and play correctly on the laptop

    Small update...
    WHen Itunes did eventually load... a few odd things happened.
    1. The icons on my toolbar flicked to white / blank and then came back
    2. Windows Update sprang into life and asked me to install 1 important update
    3. I got an error message
    The software required for communicating with iPods and mobile phones was not installed correctly. Do you want iTunes to try to repair this for you?
    5. I clicked Yes...
    6. It said it was checking my itunes library
    7. I got a message The Bonjour service has been disabled. Bonjour is required to share music with others. Please re-enable the service to use this feature
    8. This didn't seem to bad so clicked OK
    9. BUt then Itunes disappeared again. It is still running in processes but isn't open.
    Gah!!!!!!!!!!!!!!!!!

  • My iphone 3g is getting really slow. I done full restore ,deleted most apps . Not many photos in my album. i have no videos on my iphone. When taking photo with my iphone it takes ages for camera to open up. Very slow to take photo. Any suggestions? Help!

    My iphone 3g is getting really slow. I done full restore ,deleted most apps . Not many photos in my album. i have no videos on my iphone. When taking photo with my iphone it takes ages for camera to open up. Very slow to take photo. Any suggestions? Please help !!!!

    Thank you very much for your reply gdgmacguy :) I did all you suggested apart from restore as new device . Didn't know I could do that . After restore I did restore from back up only,  as I didn't want to end up without contacts details on my phone. If I restore as new device how do I get my all contacts? Still will have to use back up? Sorry if it sounds like I don't know what i am doing, i just have no one to ask who would know. Thank you

  • Google, Facebook etc take ages to load on Safari (and Firefox)

    There have been a few threads on this issue...but none seem to have a solution that works for us.
    We have two laptops (MacBook (MB) and MacBook Pro (MBP)) using an airport wireless.   The MP has all of a sudden decided that google and facebook will not load up straight away like they have always done in the past...they take ages to load up (we are talking "go get a coffee..and read the newspaper" times).  Other websites just fire up as fast as ever.   All sites fire up super fast on the MBP.
    What we have tried:
    1. Rebooted the modem, wireless router and computers
    2. Reset Safari, deleted and reinstalled Firefox 4.0.1.  Wiped out all caches , cookies etc
    3. Restored entire computer from time tunnel from a month ago...when life was good!
    4.. Changed/added DNS numbers to airport (via airport utilities) and change the airport settings (using openDNS numbers).
    5. Flushed the DNS resolver caches...
    Still no good....
    What are we missing?   What can the MB have to cause the issue that the MPB does not?
    MB is on OSX 10.5.8
    MBP is on OSX 10.6.7
    Please help...my wife uses the MB and is angry that her beloved Facebook and Google are just not working

    Ok.. from the Safari menu bar click Safari / Preferences then select the Extensions tab. If you have any installed, turn that off, quit then relaunch Safari, try Facebook.
    If it's not Extensions...  try troubleshooting Safari third party add ons.
    Safari: Unsupported third-party add-ons may cause Safari to unexpectedly quit or have performance issues

Maybe you are looking for

  • Connecting iPod Classic to new computer

    I recently changed computers and want to set up my iPod on the new one. The last time I changed computers, I lost all of my iPod contents. Is there a secret to setting up a new computer and being able to sync my iPod to that new computer without a lo

  • Can I avoid a FileNotFoundException when i run program on 1st time?

    I did a google on theis exception and didnt find the help i need. I just want an example of avoiding this exception on a 1st run of program that has had no data saved or entered. Is there a method to see if the file exists?

  • MIRO user exit  at material document creation

    I need to find out where or how material documents are created.  Right now we have one material document per day per invoice so a single document can have many payments made against it (if they are made in the same day).  What I need to do is change

  • Edit with Photoshop issue

    Whenever I right-click on an element from the scene or the library and I click "Edit with Adboe Photoshop CS5" it brings the element into Photoshop really tiny, and even just by clicking back in Flash without having saved the file fom photoshop it ma

  • Smart Collection as filter param

    Hi, I've created Smart Collection, which acts on my complete library. But, at times I want to use the 'same criteria' defined in the smart collection - but confine them to a group of pictures, based on keyword/folder. So, is it possible to add my 'Sm