How to correctly use adfUtils.waitForServer()?

I used PMD to check OATS automation scripts code. The quick fix automatically added adfUtils.waitForServer() to my scripts. But when i run scripts, it got stuck at this method. Anyone knows what's wrong?
Example:
adfUtils.waitForServer();
web.window("/web:window[@index='0']").navigate(url);
The time is out before the URL is entered.

Do only use System Update if you have problems with a driver or Thinkvantage Tool - feature.
In my company we never used System update and the laptops are running without any changes (except Windows update) since 5 to 6 years. So i have removed TVSU from all computers.
System Update is a very excellent tool after a clean install from a Windows CD/DVD to install all Lenovo drivers and tools you want to use. A disadvantage of cyclic updates via System Update is, that parts of old drivers in most cases will be kept because the newer driver will be installed over the old one in most cases, which leads after several updates to an instability of the system.
Just my private opinion...
My home-forum: http://www.thinkpad-forum.de
Wiki: Deutsches ThinkPad-Wiki English ThinkWiki
My ThinkPad-Collection

Similar Messages

  • How to correctly use ThinkVantage System Update?

    Hello,
    I have ThinkPad E520 for two months and I still don't know how to correctly use System Update. From the beginning I've downloaded and installed all updates, but now I want to do it right. How do you do it? Do you install only updates that you need? Or all updates of program that you use? Or just all updates that System Update offers?
    Here is interesting sentence: "If it's not broken, don't fix it!". So how?
    I don't want to risk and do unnecessary things... But there is a problem with me, that I don't know, which update do I need... So I really need know, how to do it correctly...
    Thank you.

    Do only use System Update if you have problems with a driver or Thinkvantage Tool - feature.
    In my company we never used System update and the laptops are running without any changes (except Windows update) since 5 to 6 years. So i have removed TVSU from all computers.
    System Update is a very excellent tool after a clean install from a Windows CD/DVD to install all Lenovo drivers and tools you want to use. A disadvantage of cyclic updates via System Update is, that parts of old drivers in most cases will be kept because the newer driver will be installed over the old one in most cases, which leads after several updates to an instability of the system.
    Just my private opinion...
    My home-forum: http://www.thinkpad-forum.de
    Wiki: Deutsches ThinkPad-Wiki English ThinkWiki
    My ThinkPad-Collection

  • How to correctly use Hide All/Show All in RH HTML review?

    When using the Hide All or Show All filter options seen in RH HTML's Review Pane it states that all "comments and changes are hidden or seen in Review Pane as well as in Design Editor."  I cannot see any change when I look at the inserted or deleted items in the Design View.  Am I missing something?  I am trying to find a way to show all changes as "final' like Word 2010 does by using "Final" before we accept/reject these changes.  It appears that "View Selected Item" of the active topic may work the same way as I am hoping and shows all changes as if they were already accepted. Am I correct?
    I haven't heard from anyone in the forum so I wonder if I wasn't clear enough?  I am just trying to find out how you can view track changes seen inside a project's topics as if they were accepted, without having actually accepted them yet.  I see that when I select the "View Selected Item" button I see everything, whether it inserted or deleted.  Is that the only way to get a feel of what the final topic would 'look' like?

    Resolved using the Conditions on the workbook.

  • How to correctly use a fixed size thread pool?

    I am quite new to using concurrency in Java, so please forgive if this is a trivial question.
    I would like to make use of something like pool=Executors.newFixedThreadPool(n) to automatically use a fixed number of threads to process pieces of work. I understand that I can asynchronously run some Runnable by one of the threads in the threadpool using pool.execute(someRunnable).
    My problem is this: I have some fixed amount of N datastructures myDS (which are not reentrant or sharable) that get initialized at program start and which are needed by the runnables to do the work. So, what I really would like to do is that I not only reuse N threads but also N of these datastructures to do the work.
    So, lets say I want to have 10 threads, then I would want to create 10 myDS objects once and for all. Each time some work comes in, I want that work to get processed by the next free thread, using the next free datastructure. What I was wondering is if there is something in the library that lets me do the resusing of threads AND datastructures as simply as just reusing a pool of threads. Ideally, each thread would get associated with one datastructure somehow.
    Currently I use an approach where I create 10 Runnable worker objects, each with its own copy of myDS. Those worker objects get stored in an ArrayBlockingQueue of size 10. Each time some work comes in, I get the next Runner from the queue, pass it the piece of work and submit it to the thread pool.
    The tricky part is how to get the worker object back into the Queue: currently I essentially do queue.put(this) at the very end of each Runnable's run method but I am not sure if that is safe or how to do it safely.
    What are the standard patterns and library classes to use for solving this problem correctly?

    Thank you for that feedback!
    There is one issue that worries me though and I obviously do not understand it enough: as I said I hand back the Runnable to the blocking queue at the end of the Runnable.run method using queue.put(this). This is done via a static method from the main class that creates the threads and runnable objects in a main method. Originally I tried to make that method for putting back the Runnable objects serialized but that inevitably always led to a deadlock or hang condition: the method for putting back the runnable was never actually run. So I ended up doing this without serializing the put action in any way and so far it seems to work ... but is this safe?
    To reiterate: I have a static class that creates a thread pool object and a ArrayBlockingQueue queue object of runnable objects. In a loop I use queue.take() to get the next free runnable object, and pass this runnable to pool.execute. Inside the runnable, in method run, i use staticclass.putBack(this) which in turn does queue.put(therunnableigot). Can I trust that this queue.put operation, which can happen from several threads at the same time works without problem without serializing it explicitly? And why would making the staticclass.putBack method serialized cause a hang? I also tried to serialize using the queue object itself instead of the static class, by doing serialize(queue) { queue.put(therunnable) } but that also caused a hang. I have to admit that I do not understand at all why that hang occurred and if I need the serialization here or not.

  • How to correctly use spot colours in Photoshop?

    Hi,
    Using CS2, I've created one of those swooshy Macintosh Panther wallpaper images, with various layers of sweeping lines and tinted gradient arcs.
    Now I want to create the image using just tints of pantone 519 but I'm unsure of how to work with pantone colours in photoshop. I've pulled up the solid coated pantone library and located the swatch, but how do I specify various tints of this colour?
    I've searched the forum and come across spot channels, and have read the photoshop help entry on this, but still can't understand how to do it. From what I've read, I make a selection, then create a spot channel of the colour and set the solidity to 100%. If I want an 80% tint, I just adjust the solidity to 80%. Is this correct, or is the solidity more like transparency than tint?
    In addition, how do I create a gradient between these two colours?
    Final question - I have an element I want to import from Illustrator that uses the same spot colour. Do I have to deal with this any differently to the normal copy and paste as a smart object?
    Sorry, I'm sure this is really quite easy.
    Thanks for any help.
    Steven

    Why not just mode grayscale (or better yet a black and white adjustment layer, then mode grayscale), adjust levels, new spot channel, move dot from gray channel to spot channel? If it was made in RGB 519, your green channel is probably best to make the move to grayscale. If you're working in CMYK, then the magenta channel (unless of course you're using pictures with UCR/GCR).
    <br />
    <br />I guess I don't understand how you can say "I'll set it up best in CMYK" but can't get it to one color.
    <br />
    <br />Here's the tut version using the green channel only. If you do some channel mixing, I'm sure you could get something a little nicer.
    <br />
    <br />
    <a href="http://www.pixentral.com/show.php?picture=1jaDKpRgglatQZJhuknYJ4TLhAUUq1" /></a>
    <img alt="Picture hosted by Pixentral" src="http://www.pixentral.com/hosted/1jaDKpRgglatQZJhuknYJ4TLhAUUq1_thumb.jpg" border="0" />

  • How to correctly use TM

    Hi, I have a few questions about TM.
    1. I've set up TM to back up by mac 250g HD onto a 500G external HD. My understanding was that it would back up the whole HD initially, and then just back up changes made to my iMac after that every hour. After only 3 days, it's telling me that it needs to delete old backups to continue. I've made very few changes to my machine so I don't understand why it could be full if it only backs up the changes. What could be wrong or is this normal?
    2. Secondly, once I've backed up, I'm confused how to view the data. I tried going into iPhoto and Itunes and opening up the apps to see my pictures and songs. I only get a window that says how large the file is. Can we view the data, or is it only there if we need to restore the full libraries? What if I only need a few pictures or songs retrieved? How would I view these items and get them back onto my machine?
    I hope I was clear enough and would appreciate your input. Thanks.

    Matthew Jackson wrote:
    Hi, I have a few questions about TM.
    1. I've set up TM to back up by mac 250g HD onto a 500G external HD. My understanding was that it would back up the whole HD initially, and then just back up changes made to my iMac after that every hour. After only 3 days, it's telling me that it needs to delete old backups to continue. I've made very few changes to my machine so I don't understand why it could be full if it only backs up the changes. What could be wrong or is this normal?
    not really normal give your drive sizes. use TimeTracker to see what exactly TM backs up every time
    http://www.charlessoft.com/
    There are a few things that can cause very large incremental backups. mostly that would be large database files like entourage database or any virtual machine database. do you have any of those?
    2. Secondly, once I've backed up, I'm confused how to view the data. I tried going into iPhoto and Itunes and opening up the apps to see my pictures and songs.
    vast majority of apps including itunes are not integrated with time machine. that means that to restore something you have to do it from finder. in finder go to your music folder->itunes->itunes music and start time machine. locate the song you want to restore and restore it. then double-click it to import it back into itunes.
    if you have ilife 08 or later then iPhoto IS integrated with TM. this means that you can use TM in iphoto interface. when you start TM in iphoto you should see a series of iphoto windows going back in time. you can scroll back and restore what you want. if you have a n earlier version of iphoto then it is not integrated with TM and you have to use TM from finder to restore your iphoto picture.
    I only get a window that says how large the file is.
    I'm not sure what you are talking about. which file?
    Can we view the data, or is it only there if we need to restore the full libraries? What if I only need a few pictures or songs retrieved? How would I view these items and get them back onto my machine?
    I hope I was clear enough and would appreciate your input. Thanks.

  • How to correctly use force?

    i have this type

    Hi,
    Your code (with a / after the second CREATE TYPE command) works fine for me.
    Whenever you have a problem, post a complete test script that anyone can run to re-create the problem.
    Always say what version of Oracle you're using (e.g. 11.2.0.2.0).
    See the forum FAQ: https://forums.oracle.com/message/9362002
    What do you mean be "not working"?  If you're getting an error message, why not post it?
    How do you know that FORCE causes the problem?  Does the second CREATE TYPE statement work for you if you remove FORCE?

  • How to correctly use the evaluate() method in Xpath?

    I have this sample code. I would expect the output to be something like
    Channel #0
    Channel Name : Ch1
    Channel #1
    Channel Name : Ch2
    Channel #2
    Channel Name : Ch3
    but all I get is
    Channel #0
    Channel Name : Ch1
    Channel #1
    Channel Name : Ch1
    Channel #2
    Channel Name : Ch1
    Do I misuse the evaluate() method? It seems the evaluate method disregards the"doc" start node I pass in and always start from the beginning of the XML...
    Very appreciate your suggestion. Thank you very much.
    import javax.xml.xpath.*;
    import org.xml.sax.InputSource;
    import java.io.StringReader;
    import org.w3c.dom.Document;
    import org.w3c.dom.NodeList;
    import javax.xml.parsers.DocumentBuilder;
    import javax.xml.parsers.DocumentBuilderFactory;
    public class EvaluateTest {
         * @param args
         public static void main(String[] args) {
              String myxml = "<?xml version='1.0' encoding='utf-8' ?><mytest><ChannelList>" +
              "<Channel><ChannelId>0001</ChannelId><ChannelName>Ch1</ChannelName></Channel>" +
              "<Channel><ChannelId>0002</ChannelId><ChannelName>Ch2</ChannelName></Channel>" +
              "<Channel><ChannelId>0003</ChannelId><ChannelName>Ch3</ChannelName></Channel>" +
              "</ChannelList></mytest>";
              //Get the Document object
              Document doc = null;
              try {
                   InputSource inputSource = new InputSource();
                   inputSource.setCharacterStream( new StringReader(myxml));
                   DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
                   DocumentBuilder db = factory.newDocumentBuilder();
                   doc = db.parse(inputSource);
                   //Iterate thru the Channel list
                   NodeList channellist = getSubElements(doc, "/mytest/ChannelList/Channel");
                   if (channellist==null)
                        System.out.println("the channel list is null");
                   for (int i=0, len=channellist.getLength(); i<len; i++) {
                        System.out.println("Channel #" + i);
                        /*{XPathFactory factory = XPathFactory.newInstance();
                        XPath anxpath = factory.newXPath();
                        String result = (String)anxpath.evaluate(".", channellist.item(i), XPathConstants.STRING);
                        out.println(result);}*/
                        String name = getTagValue(channellist.item(i), "//ChannelName/text()", -1);
                        System.out.println("Channel Name : " + name);
              catch ( Exception e ) {
                   e.printStackTrace();
                   return;
         //Get the text value of a tag from a document object using XPath method
         static public String getTagValue(Object doc, String xpathstr, int index) throws Exception {
              String result = "";
              if ((doc==null)     || (xpathstr==null) || "".equals(xpathstr))
                   return result;
              XPathFactory factory = XPathFactory.newInstance();
              XPath xpath = factory.newXPath();
              result = (String)xpath.evaluate(xpathstr, doc, XPathConstants.STRING);
              if (result==null)
                   result = "";
              return result;
         static public NodeList getSubElements(Object doc, String xpathstr) throws Exception {
              if ((doc==null)     || (xpathstr==null) || "".equals(xpathstr))
                   return null;
              XPathFactory factory = XPathFactory.newInstance();
              XPath xpath = factory.newXPath();
              Object result = xpath.evaluate(xpathstr, doc, XPathConstants.NODESET);
              return (NodeList)result;
    }

    Sorry here is a repost of the code. Didn't realize there is a code tag feature.
    import javax.xml.xpath.*;
    import org.xml.sax.InputSource;
    import java.io.StringReader;
    import org.w3c.dom.Document;
    import org.w3c.dom.NodeList;
    import javax.xml.parsers.DocumentBuilder;
    import javax.xml.parsers.DocumentBuilderFactory;
    public class EvaluateTest {
        * @param args
       public static void main(String[] args) {
          String myxml = "<?xml version='1.0' encoding='utf-8' ?><mytest><ChannelList>" +
                      "<Channel><ChannelId>0001</ChannelId><ChannelName>Ch1</ChannelName></Channel>" +
                                 "<Channel><ChannelId>0002</ChannelId><ChannelName>Ch2</ChannelName></Channel>" +
                      "<Channel><ChannelId>0003</ChannelId><ChannelName>Ch3</ChannelName></Channel>" +
                      "</ChannelList></mytest>";
          //Get the Document object
          Document doc = null;
          try {
                InputSource inputSource = new InputSource();
                inputSource.setCharacterStream( new StringReader(myxml));
                DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
                DocumentBuilder db = factory.newDocumentBuilder();
                doc = db.parse(inputSource);
                //Iterate thru the Channel list
                NodeList channellist = getSubElements(doc, "/mytest/ChannelList/Channel");
                if (channellist==null)
                      System.out.println("the channel list is null");
                for (int i=0, len=channellist.getLength(); i<len; i++) {
                      System.out.println("Channel #" + i);
                      String name = getTagValue(channellist.item(i), "//ChannelName/text()", -1);
                      System.out.println("Channel Name : " + name);
          } catch ( Exception e ) {
                e.printStackTrace();
                return;
       //Get the text value of a tag from a document object using XPath method
       static public String getTagValue(Object doc, String xpathstr, int index) throws Exception {
          String result = "";
          if ((doc==null)     || (xpathstr==null) || "".equals(xpathstr))
                return result;
          XPathFactory factory = XPathFactory.newInstance();
          XPath xpath = factory.newXPath();
          result = (String)xpath.evaluate(xpathstr, doc, XPathConstants.STRING);
          if (result==null)
                result = "";
          return result;
       static public NodeList getSubElements(Object doc, String xpathstr) throws Exception {
          if ((doc==null)     || (xpathstr==null) || "".equals(xpathstr))
                return null;
          XPathFactory factory = XPathFactory.newInstance();
          XPath xpath = factory.newXPath();
          Object result = xpath.evaluate(xpathstr, doc, XPathConstants.NODESET);
          return (NodeList)result;
    }

  • All web pages appear with a blinking cursor like in a "word document". i can't scroll down or up using the buttons of my key board. i have to pull down the scroll bar. something in settings has changed. how to correct it??

    all web pages appear with a blinking cursor like in a "word document". i can't scroll down or up using the buttons of my key board. i have to pull down the scroll bar. something in settings has changed. how to correct it??
    == This happened ==
    Just once or twice
    == 2 days ago.

    See also this article about caret browsing: http://kb.mozillazine.org/Scrolling_with_arrow_keys_no_longer_works
    In Firefox 3.6 and later versions you can disable the F7 shortcut that toggles caret browsing by setting the pref accessibility.browsewithcaret_shortcut.enabled to false.
    To open the ''about:config'' page, type '''about:config''' in the location (address) bar and press the Enter key, just like you type the url of a website to open a website.
    If you see a warning then you can confirm that you want to access that page.

  • TS3991 I organazied my contacts by the address of my tenants. I just joined to Icloud and I am not able to find my tenants in the directory in the computer at all. I could search when I am using my phone but they do not show at first.how can correct this?

    I am a landlord and I organazied my contacts by the address of my tenants. I just joined to Icloud and I am not able to find my tenants in the directory in the computer at all. I could search when I am using my phone but they do not show at first.how can correct this? as an example 37 31 1 and when i type this nothing is showing.

    I am a landlord and I organazied my contacts by the address of my tenants. I just joined to Icloud and I am not able to find my tenants in the directory in the computer at all. I could search when I am using my phone but they do not show at first.how can correct this? as an example 37 31 1 and when i type this nothing is showing.

  • Since installing the newest version of Firefox 4.0, I am unable to access my work e-mail which uses Lotus Domino Web Access. Can anyone please tell me how to correct this problem?

    Since installing the newest version of Firefox 4.0, I am unable to access my work e-mail which uses Lotus Domino Web Access. Can anyone please tell me how to correct this problem?

    Sheesh. That looks hard. I think it will fall over at this point:
    "Connect to my Exchange mailbox using HTTP" 'cos Thunderbird uses only the regular email protocols: POP, IMAP and SMTP.
    Here (at work) we have in the past have had IMAP and SMTP enabled on our Exchange server so Thunderbird could then connect just like to any other regular internet-based service.
    With the change here to outlook365/outlook 2010 I've had to switch to using DavMail which lets Thunderbird talk to the mail server using OWA.
    I haven't (seriously) tried Exquilla. Whilst I have great respect for its author and some of his other add-ons, I saw no reason to use an add-on that required payment when DavMail works for free.

  • I am trying to upgrade from Tiger to Snow Leopard.  When I insert the disk and install starts, it states "This disk is used for Time Machine backups" and Mac OSX can't be installed.  Does anyone know how to correct this (since Tiger doesn't have Time Mach

    I am trying to upgrade from Tiger to Snow Leopard.  When I insert the disk and install starts, it states "This disk is used for Time Machine backups" and Mac OSX can't be installed.  Does anyone know how to correct this (since Tiger doesn't have Time Machine)?

    http://support.apple.com/kb/TS2986

  • I am using system 10.7.3 and my I photo 9.2.3 keeps crashing upon start up.  Does anyone know how to correct this without losing my photos?

    I am using system 10.7.3 and my I photo 9.2.3 keeps crashing upon start up.  Does anyone know how to correct this without losing my photos?

    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.
    ☞ If you’re running Mac OS X 10.7 or later, open LaunchPad. Click Utilities, then Console in the page that opens.
    Step 1
    Enter the name of the crashed application or process in the Filter text field. Post the messages from the time of the last crash, if any — the text, please, not a screenshot.
    Important: Some private information, such as your name, may appear in the log. Edit it out by search-and-replace in a text editor before posting.
    Step 2
    Still in the Console window, look under User Diagnostic Reports for crash reports related to the process. The report name starts with the name of the crashed process, and ends with ".crash". Select the most recent report and post the contents — again, the text, not a screenshot. For privacy’s sake, 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 shutdownStall or hang logs — they're very long and not helpful.

  • How can I use the "Correct camera distortion" filter and process multiple files in PSE 11?

    How can I use the "Correct camera distortion" filter and process multiple files in PSE 11?

    Did you check the help page for Correct Camera Distortion and Process multiple file
    Correct Camera Distortion: http://helpx.adobe.com/photoshop-elements/using/retouching-correcting.html#main-pars_headi ng_5
    Process multiple files: http://help.adobe.com/en_US/photoshopelements/using/WS287f927bd30d4b1f89cffc612e28adab65-7 fff.html#WS287f927bd30d4b1f89cffc612e28adab65-7ff6

  • My MacBook is incorrectly recognizing fresh DVDs as needing to be erased before use, and then announces that this disc cannot be erased.  How to correct?

    My MacBook is incorrectly recognizing fresh DVDs as needing to be erased before use, and then announces that this disc cannot be erased.  How to correct?

    All over the internet, you can also pick them up in any electronics store or electronics section of a store (wal-mart for example).

Maybe you are looking for

  • Trying to use Java Stored Procedure to create  directories

    Hello, I have the followqing simple Java code I am using to run OS commands from PL SQL. When I call my function, it does not create the directory, but it does say completed successfully. Here is the code and the call I am using: CREATE OR REPLACE AN

  • Why are my radio buttons not renaming in pages spawned from a hidden template?

    Hi Everyone, I am new to PDF forms, and have never before tried to use JavaScripts. However, I have been able to learn a lot and I have followed many threads and have almost accomplished what I want, but have hit a block. I don't understand the JavaS

  • Difference in Clearing through T Code F-44

    Hi Gurus There is a PO which was in currency AUD and advance has been given to vendor wrongly in Currency INR. advance has been cleared through f-54 in AUD. now when i am clearing the invoice and advance through F-44, it is showing difference of AUD

  • DropDV

    OK, I'm going to try this again. Lots of help out there, but no resolution yet. I have been using DropDV for a couple of years with no problem. I connect my Sony Handycam DVD camera to my G5 and it puts a DVD icon on my desktop. I drag this icon over

  • How to implement milkmangames admob tool

    Hi, We have been trying to implement admob adobe air native extension in cs4 , we tried and did everything as per the requirement, even the creator alex is not able to find a solution, i have requested him to contact his coder to help us better  - a)