Java doesn't pick up system's DNS settings change until restarted

Hello,
I have a service running on a few Linux computers. Those computers have a NIC, which is configured with a fixed IP address. So /etc/resolv.conf contains the IP address of the LAN's DNS server. But most of the time, the computers are not plugged into the LAN at all. Instead, they connect themselves periodically to the Internet by establishing a ppp connection. When it happens, the ISP's DHCP server assign them new IP parameters, including their DNS server's IP address. And /etc/resolv.conf gets updated with this address.
But it seems that java doesn't take care of DNS change taking place during a run. Which means that my program (started at boot with no connectivity at all) tries to connect to some host, and obviously trigger an "UnknownHostException" (at that point it does try to contact the LAN's DNS server). Quite logical. Later, the ppp link become active. But my program still try to contact the LAN's DNS server, despite the new configuration in /etc/resolv.conf. As such, it will forever trigger UnknowHostExceptions, until it gets restarted (it will then pick up the new settings) or it is plugged back into the LAN (it will finally reach the LAN's DNS server).
This is quite a problem as during one single execution, the machine may encounter several DNS configuration changes, and this problem basically means that it will be impossible for my application to resolve any name at all.
So is there a way to tell Java to re-read the system wide DNS configuration? Or is there some option to prevent Java to "cache" the DNS server to use?
To demonstrate my problem, I've written a simple test case, see below.
To get the problem:
1) Put a bogus DNS server into your /etc/resolv.conf
2) Start the test program. Wait for some time: it will trigger UnknownHostExceptions.
3) Fix the entry in /etc/resolv.conf, and check it actually works (eg ping www.google.be)
4) Test program will continue to trigger UnknownHostExceptions forever.
One interesting fact is that someone tried this test on Windows, and didn't suffer from this behaviour, eg the application reacts to DNS system settings changes dynamically. So it looks like a Linux-only problem.
Thanks in advance for your insight.
Pierre-Yves
package com.test.dnsresolver;
import java.net.InetAddress;
import java.net.UnknownHostException;
public class DnsResolver {
    private static String urlString = "www.google.com";
    public static void main(String[] args) {
         * Specified in java.security to indicate the caching policy for successful
         * name lookups from the name service. The value is specified as as integer
         * to indicate the number of seconds to cache the successful lookup.
        java.security.Security.setProperty("networkaddress.cache.ttl" , "10");
         * Specified in java.security to indicate the caching policy for un-successful
         * name lookups from the name service. The value is specified as as integer to
         * indicate the number of seconds to cache the failure for un-successful lookups.
         * A value of 0 indicates "never cache". A value of -1 indicates "cache forever".
        java.security.Security.setProperty("networkaddress.cache.negative.ttl", "0");
        int loopCounter = 0;
        while (true) {
            InetAddress resolved;
            try {
                resolved = InetAddress.getByName(urlString);
                System.out.println("Loop " + loopCounter + ": resolved IP address: " + resolved);
            } catch (UnknownHostException e) {
                System.out.println("Loop " + loopCounter + ": UnknownHostException");
                e.printStackTrace();
            loopCounter++;
            try {
                Thread.sleep(1000);
            } catch (InterruptedException e) {}
}

Well, the nameservice property allowing to specify my DNS server of choice is interesting (I didn't know about those), but not very usable, as the DNS server to use is not known in advance (it may be whatever the ISP tells me to use at the time where the ppp link gets established). So no real solution there.
The fact that it caches /etc/resolv.conf content for 300s is very interesting, but having no possibility to impact on this duration really is a pity. There should be some kind of property to fix this behaviour. So as you say, a custom provider may be the only solution.
So far, the hack I use to get this working is based on code similar to this one (it is presented here in a similar form than my test case above). Obviously, reading the /etc/resolv.conf for each dns resolution is not an option in a real environment, but you get the idea.
package com.test.dnsresolver;
import java.io.BufferedReader;
public class DnsResolver {
     private static final String urlString = "www.google.com";
     private static final String resolvConf = "/etc/resolv.conf";
     public static void main(String[] args) {
          int loopCounter = 0;
          while (true) {
               loopCounter++;
               try {
                    Thread.sleep(1000);
               } catch (InterruptedException e) {}
               // Parse the current DNS server to be used in the config
               String nameserver = null;
               try {
                    BufferedReader input =  new BufferedReader(new FileReader(new File(resolvConf)));
                    String currentLine = null;
                    while (( currentLine = input.readLine()) != null){
                         // Take care of potential comments
                         currentLine = currentLine.substring(0, currentLine.indexOf("#") == -1
                                   ? currentLine.length() : currentLine.indexOf("#") );
                         if (currentLine.contains("nameserver")) {
                              // It is the line we are looking for
                              nameserver = currentLine;
                              break;
               } catch (FileNotFoundException e) {
                    System.out.println("Loop " + loopCounter + ": FileNotFoundException");
               } catch (IOException e) {
                    System.out.println("Loop " + loopCounter + ": IOException");
               if (nameserver == null) {
                    // No "nameserver" line found
                    System.out.println("Loop " + loopCounter + ": No nameserver found in configration file!");
                    continue;
               // Trim it to just contain the IP address
               nameserver = (nameserver.replace("nameserver", "")).trim();
               System.out.println("Loop " + loopCounter + ": Going to use DNS server " + nameserver);
               // At this point, we know which server to use, now perform the resolution
               Hashtable<String, String> env = new Hashtable<String, String>();
               env.put("java.naming.factory.initial", "com.sun.jndi.dns.DnsContextFactory");
               env.put("java.naming.provider.url",    "dns://" + nameserver);
               DirContext ictx;
               try {
                    ictx = new InitialDirContext(env);
                    Attributes attrs1 = ictx.getAttributes(urlString, new String[] {"A"});
                    System.out.println("Loop " + loopCounter + ": Manual resolution: +" + attrs1.get("a").get() + "+");
               } catch (NamingException e) {
                    System.out.println("Loop " + loopCounter + ": NamingException");
}So maybe I should adapt and package this into a proper provider and specify it for sun.net.spi.nameservice.provider. Any link, info or example about how a proper provider should look like?
Thanks for your advices!

Similar Messages

  • DNS settings change when restoring image

    Situation: In one of our computers we changed the DNS settings from static
    to dynamic (DNS through DHCP). We checked these settings and they worked.
    When restoring the image on a other computers the settings are back to
    static. How is this possible? We have tried all but we can't find the
    sollution.
    Thanks,
    Marcel de Jager

    On Thu, 05 Jul 2007 12:27:36 GMT, Marcel de Jager wrote:
    > When restoring the image on a other computers the settings are back to
    > static. How is this possible? We have tried all but we can't find the
    > sollution.
    which patchlevel are you using?
    If you have already compiled drivers or have linux.2 please put them on
    http://forge.novell.com/modules/xfmo...ect/?zfdimgdrv
    Live BootCd and USB Disk from Mike Charles
    http://forge.novell.com/modules/xfmod/project/?imagingx
    eZie http://forge.novell.com/modules/xfmod/project/?ezie
    Marcus Breiden
    If you are asked to email me information please change -- to - in my e-mail
    address.
    The content of this mail is my private and personal opinion.
    http://www.edu-magic.net

  • System preferences -- Network settings changed

    When I go to System Preferences/Network, I get a pop-up message saying, "Your network settings have been changed by another application." I can't get rid of the pop-up and can't close the window My only alternative is to force quit.
    Does anyone have any ideas as to what caused this and/or how to get rid of the pop-up message? I would be very grateful for any help.
    The expert at my Mac store says he is familiar with the problem but has no answer for it.

    A Fix for "Your network preferences have been changed by another application" Error
    In the Library/Preferences/SystemConfiguration/ folder delete the following:
    com.apple.airport.preferences.plist
    NetworkInterfaces.plist
    preferences.plist
    com.apple.nat.plist
    You will have to re-configure all your network settings since deleting these files will cause them to be returned to defaults.

  • Default audio device doesn't change until restart

    I have speakers and usb headphones, I had no problem switching which device is used, but now when I change the default device a restart is needed to actually change where the sound comes from. This is extremely annoying. Using Windows 8.1, don't think
    it matters ehat the headphones are, cause they work fine, but - logitech g930. So to sum - i change the default device, it gets the green thick next to it, but sound still comes from the previous one until pc is restarted, it used to work fine on the same
    windows, maybe some update changed it. 

    Open Audio Midi Setup, Click the Plus button. Witch should add "Aggregate Device" to the Audio Device List. Click on "Aggregate Device." On the right hand side it should list all the audio device you can use for the Aggregate Device, if US-200 is on the list, check the check box to the left of "US-200".
    Then click on the gear on the left hand side of the window, chose "use this device for sound out".
    If you still can't get it to work, you might want to check to see if your mac is in 32 or 64 bit mode. If you want to check: Apple menu, about this mac, more info button, from the left column click on the word "Software." On the right column there should be a line that says "64-bit Kernel and Extensions:". witch should say yes or no.
    the reason to check, would be some drivers only work in 32-bit mode.

  • Rogue DNS Settings appearing after initial DHCP lease

    I am having issues with DNS settings changing on clients soon after allocation via DHCP. This is a workgroup only, no windows domain. DHCP is running from a Fortigate 60b which acts as the primary DNS server and Google DNS configured as secondary. The DHCP lease time is 8 days, these DNS changes can happen 3 times or more in a working day. The network consists of a single subnet, there is also an internal wireless network using Ubiquiti AP's.
    1. Malware has been ruled out, having scanned machines with AV and Malware detection finding nothing.2. Have setup port mirroring on switch ports and scanned traffic for other sources of DHCP offer packets.. none found.3. When the DNS settings change they are different on each machine, but each time it is a valid IP for the network that can be found in the DHCP leases on the 60b.I was expecting to...
    This topic first appeared in the Spiceworks Community

    I am having issues with DNS settings changing on clients soon after allocation via DHCP. This is a workgroup only, no windows domain. DHCP is running from a Fortigate 60b which acts as the primary DNS server and Google DNS configured as secondary. The DHCP lease time is 8 days, these DNS changes can happen 3 times or more in a working day. The network consists of a single subnet, there is also an internal wireless network using Ubiquiti AP's.
    1. Malware has been ruled out, having scanned machines with AV and Malware detection finding nothing.2. Have setup port mirroring on switch ports and scanned traffic for other sources of DHCP offer packets.. none found.3. When the DNS settings change they are different on each machine, but each time it is a valid IP for the network that can be found in the DHCP leases on the 60b.I was expecting to...
    This topic first appeared in the Spiceworks Community

  • Java Doesn't Recognize Something That Exists?

    I'm writing an XML checker for a homework assignment. I'm using a stack which uses a double linked list which uses nodes with a generic data type.
    I ran into a problem after testing the program for the first time. I got a NullPointerException error at the instance where I tried to add a new node to the head. After a little digging I found out that apparently Java doesn't remember that I set the successor of "head" to be "tail". I've already spent 20 minutes going over the code that sets the tail as head's successor but I just can't see what I did wrong.
    Exception in thread "main" java.lang.NullPointerException
         at DLLNode.setNext(DLLNode.java:59)
         at DLLNode.<init>(DLLNode.java:17)
         at DLL.<init>(DLL.java:20)
         at Stack.<init>(Stack.java:11)
         at ParseTokens.<init>(ParseTokens.java:9)
         at Driver.main(Driver.java:16)The program is already too long to post here and broken up into multiple classes, so I will only post the important stuff. Note: Token is just a Record class that keeps two Strings, type and tagName for the xml tag to store.
    DLLNode.java //node with generic datatype T
         private T data;
         private DLLNode<T> successor;
         private DLLNode<T> predecessor;
         public DLLNode(T d, DLLNode<T> next, DLLNode<T> prev) {
              this.setNodeData(d);
              this.setNext(next); //line 17
              this.setPrev(prev);
           public T getNodeData() {
                return this.data;
           public void setNodeData(T newData) {
                this.data = newData;
           public DLLNode<T> getNext() {
                return this.successor;
           public void setNext(DLLNode<T> newNext) {
                this.successor = newNext;
                System.out.println(newNext.toString()); //zeroed in on the problem being here; throws NullPointerException; line 59
           public DLLNode<T> getPrev() {
                return this.predecessor;
           public void setPrev(DLLNode<T> newPrev) {
                this.predecessor = newPrev;
           }DLL.java //manages the DLLNode objects
         private DLLNode<T> head;
         private DLLNode<T> tail;
    //other vars
         public DLL() {
              this.setHead(new DLLNode<T>(null, tail, null)); //problem is probably here; after this, java doesn't see tail as head's successor; //line 20
              this.setTail(new DLLNode<T>(null, null, head));
              this.setSize(0);
           public void setHead(DLLNode<T> value) {
                this.head = value;
           public void setTail(DLLNode<T> value) {
                this.tail = value;
         public boolean addAtHead(T dllData) {
              DLLNode<T> newNode = new DLLNode<T>(dllData, this.head.getNext(), this.head);          
              this.getHead().getNext().setPrev(newNode); //original NullPointerException thrown here at the first instance of this method being used
              this.getHead().setNext(newNode);
              this.setSize(this.getSize() + 1);
              return ((newNode != null) && (newNode.getNext() != null) &&
                        (newNode.getPrev() != null));
         }Stack.java //manages a DLL object as a stack
         private DLL<T> dll;
         public Stack() {
              dll = new DLL<T>(); //line 11
              this.setSize(dll.getSize());
           public void push(T data) {
                dll.addAtHead(data); //original NullPointerException at first instance of push() being used
           }ParseTokens.java //class to actually go through the xml and list what it finds
         private Stack<Token> stack;
         public ParseTokens() {
              stack = new Stack<Token>(); //original error; line 9
         }Driver.java //main
    ParseTokens parse = new ParseTokens();//line 16Thank you for any help.
    Edited by: WhoCares357 on Feb 16, 2010 5:10 PM
    Edited by: WhoCares357 on Feb 16, 2010 5:17 PM

    A user on another forum h(http://preview.tinyurl.com/yjqx4a9) helped me find the problem. I had to create the head and tail first and then point them at each other. Thanks for all the help here.
    @flounder Even though I've already solved my problem I am still confused by what you're saying. The double linked list I created has two placeholders so that I don't have to worry about how many nodes are included. To connect my new node I start at the head and point at whatever is connected to the head (whether it is the tail or another node) to set the successor and predecessor for the new node. I then break the old connections (from the head to the old node after it) and connect them to the new node. I don't see a problem in this, but I am most likely not understanding your concern.
    I don't really want to let this go, because there might be a problem in my code that I don't see right now.
    @AndrewThompson64 I'll use that the next time I have a problem. Thanks.

  • Change Account Workflow in CUP - Doesn't pick up existing values for an Acc

    Hi,
    When using the change account option available in the CUP(5.3 SP 7), I expected the system to populate the user details as they exist in the provisioning system once I enter the account details that need a change. We have the 'Search' and 'User Details' Data source configured to the same SAP R/3 system.
    For eg, when requesting for a new account, I've chosen an Employee Type attribute as 'Non-Employee' (SAP delivered request attribute) and entered some values for my custom attributes .
    And when I chose to change the same user account, I notice that the system doesn't pick up the existing values for any of the attributes and render them. For the Employee Type attribute, it shows the default value and for the custom fields, they are shown blank!!!!
    It does seem like the user attribute values from R/3 are being picked up and displayed correctly, but the ones from GRC Database are left out.
    I believe this to be a bug and does anyone experienced  this issue and found a fix????
    Thanks,
    Anil

    Hi Alpesh,
    Thanks for your response.
    This brings up a basic question on the repository for saving user attribs...ie. does all these need to be saved on R/3? Assuming yes depending on our current configuration(We have the 'Search' and 'User Details' Data source configured to the same SAP R/3 system), do we have a standard field for saving the 'Employee Type' attrib in SAP?. I did perform a field mapping of a custom attirb to one of the SAP fields in the user master, and get it saved during user provisioning. But it doesn't pick it up from there when I perform a change account. Seems it's missing that reverse mapping. And I've chosen the 'Field Type' of the custom filed to Text as to enable free text during new account request.
    Hope you may find something more.
    Regards,
    Anil

  • Import Server doesn't pick up file

    Hello
    I am trying to import vendor xml file
    I put in the right directory but the server doesn't pick up the file
    the service is started
    the port/mapping/system config in mdm console has been done
    the mdis.ini looks like that :
    [GLOBAL]
    String Resource Dir=D:\PROGRA1\SAPMDM1.5\IMPORT~1\LangStrings\
    Log Dir=D:\PROGRA1\SAPMDM1.5\IMPORT~1\Logs
    Version=5560
    Server=xxx
    Interval=5
    Automap Unmapped Value=True
    Unmapped Value Handling=Add
    Always Use Unmapped Value Handling=False
    VXR_MAX=25000
    Verbose=0xFFFF
    -- Verbose OFF:     0x0000
    -- Verbose ON:      0xFFFF
    -- FI  Verbose:     0x0001
    -- XML Verbose:     0x0002
    -- MAP Verbose:     0x0004
    -- THRD Verbose:    0x0008
    -- PARSER Verbose:  0x0010
    -- STRUCTX Verbose: 0x0020
    -- VALUEX Verbose:  0x0040
    -- IMPORTX Verbose: 0x0080
    String Resource Dir=C:PROGRA1SAPMDM1.5IMPORT~2LangStrings
    Log Dir=Logs
    SLD Registration=False
    Wily Instrumentation=False
    NCS Library Path=D:\PROGRA1\SAPMDM1.5\IMPORT~1\
    Wily Instrumentation Level=1
    MapScanTopToBottom=False
    [CustomersLOCALHOSTMSQL_9_9_4_3]
    Chunk Size=50000
    No. Of Chunks Proccessed In Parallel=5
    Login=Admin
    PasswordE=KA9FPAOJG0BK7
    Log Protocol Transactions=False
    [VendorsLOCALHOSTMSQL_7_9_4_3]
    Chunk Size=50000
    No. Of Chunks Proccessed In Parallel=5
    Login=Admin
    PasswordE=KA9FPAOJG0BK7
    Log Protocol Transactions=False
    what should be the file name in the directory ? could this be the problem ?

    Hi Kaushik,
    For picking up the file file ready folder you need to do the following steps:
    1) Creation of users and assinging password to the users.
    2) Creation of maps in import manager for importing the data.
    3) Creation of ports. In this you have to mention map name which you have made for importing the data, format of the file present in ready folder and your processing type as automatic.
    4) Mention user name and password in the MDIS.ini file. Also mention the time interval.Save this file.
    Now you can find that import server is picking up the data from ready folder.
    If you are still facing some problems please go through this URL: [http://help.sap.com/saphelp_mdm550/helpdata/en/19/d4301589b54841af17e7c42b4cee49/content.htm]
    Hope I am able to solve your problem
    Regards
    Dilmit Chadha

  • IPhone connects to wifi but MacBook doesn't pick up the signal.

    iPhone connects to wifi but MacBook doesn't pick up the signal

    Okay, this morning it happened again. I unplugged my iphone, surfed some pages fine. Five minutes later I woke it up again, tried to go to the app store. Nothing.
    Tried to surf some newspaper sites. Nothing. So I used an IP address rather than the www.blablabla.com address and it works.
    Confirmed. Some sort of cirumstances let the DNS service crash. Only IP addresses work. After a reboot (that's the only chance) it works again.
    Network reset, restore iOS, all other typical help steps, never cured it.
    That's a bug.
    Lets put it on http://www.apple.com/feedback/

  • Java HTTP Connection Filed - It's a DNS problem

    Hello all,
    my first post is for talking about this infamuos error of java.
    When i try to view a page that use Java for one of it's applet, the applet doesn't work and Java console report among other errors:
    Caused by: java.io.IOException: open HTTP connection failed.
         at sun.applet.AppletClassLoader.getBytes(Unknown Source)
         at sun.applet.AppletClassLoader.access$100(Unknown Source)
         at sun.applet.AppletClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         ... 10 more
    But if i nslookup the ip of the address and i try to download the applet by this way... all go fine.
    I tryed also Java Web Start -> same errors, but referred to URL Resource downloading.
    I's clearly that something in java or outside java is avoiding the NS resolution.
    I disabled all the firewalls, all the antyspyware... ALL...
    I try also Safe Mode with networking... eheh...
    nothing... java doesn't do NS.
    It's a big bug... i use the latest java 1.05_05.
    I'm not behind a proxy, i use firfox 1.0.7 and ie 6.0 sp2.. and windows xp... All give the same errors.
    If someone managed the error please could help me? I read the other posts but it seems to me this is a open bug.
    Goodbye,
    eTomm

    It's not difficult understand the topic.
    The actual DNS resolution implementation of Java is faulty.
    It's the ONLY service in my Windows machine that couldn't do a correct DNS resolution, stand alone application, Internet Explorer and Mozzilla web pages with applet-
    If i use IPs all go fine... when i use domain java fail.
    ALL java... non only applet. Also Java Web Start fail.
    I controlled proxy, there isn't. i say to java to do a direct connect.
    The only thing in my net configuration of strange is the router, a zyxel 660hw... nothing else... my pc work fine with all the rest of the programs that use IPs. Only java is faulty.

  • Can not receive Mac mail -error Outlook cannot find the server. Verify the server information is entered correctly in the Account Settings, and that your DNS settings in the Network pane of System Preferences are correct.  Account name: "MacMail"

    Can not receive Mac mail -error Outlook cannot find the server. Verify the server information is entered correctly in the Account Settings, and that your DNS settings in the Network pane of System Preferences are correct.  Account name: "MacMail"
    What are the correct mail account settings and more importantly the correct DNS settings
    Thank you for any help you may be able to provide
    Cheers
    Chris (iMac i7)

    Do not delete the old account yet. sign up for an iCloud account if you haven't.
    I understand .mac mail will still come through. Do not delete the old account yet.
    You cannot use .mac or MobileMe as type of Account, you have to choose IMAP when setting up, otherwise Mail is hard coded to change imap.mail.me.com to mail.me.com & smtp.mail.me.com to smtp.me.com, no matter what you try to enter.
    iCloud Mail setup, do not choose .mac or MobileMe as type, but choose IMAP...
    On second step where it asks "Description", it has to be a unique name, but you can still use your email address.
    IMAP (Incoming Mail Server) information:
              •          Server name: imap.mail.me.com
              •          SSL Required: Yes
              •          Port: 993
              •          Username: [email protected] (use your @me.com address from your iCloud account)
              •          Password: Your iCloud password
    SMTP (outgoing mail server) information:
              •          Server name: smtp.mail.me.com
              •          SSL Required: Yes
              •          Port: 587
              •          SMTP Authentication Required: Yes
              •          Username: [email protected] (use your @me.com address from your iCloud account)
              •          Password: Your iCloud password
    Also, you must upgrade your password to meet the new criteria:  8 characters, including upper and lower case and numbers.  If you have an older password that does not meet these criteria, when you try to setup mail on your mac, using all of the IMAP criteria listed above, it will still give a server error message.  Go to   http://appleid.apple.com         then follow directions to change your password, then go back to setting up your mail using the IMAP instructions above.
    Thanks to dpepper...
    https://discussions.apple.com/thread/3867171?tstart=0

  • How to handle RunTime Faults which doesn't list under System Faults?

    Hi,
    I have a doubt regarding runtime faults in BPEL 1.1.In BPEL 1.1 some of the run time faults are categorised as system faults.So we can handle those run time faults
    using the faultname or namespace(http://schemas.oracle.com/bpel/extension) of system fault itself.But 'SublanguageExecutionFault' is a run time fault which doesn't list under system faults.
    So what namespace it belongs to?Can we use the same namespace of system fault for this kind of runtime faults ?
    Are any other runtime faults existing which don't have the same namespace of sytem faults?So how can we identify and handle those run time faults?

    You can create a role menu as remote enabled remote menu.
    The authority checks will happen on the remote side, also against objects which don't exist in the calling system as the music is on the other side.
    On the RFC client system side, you only need the parameter transaction to start the remote transaction in the remote system.
    See the documentation on SYST function module ABAP4_CALL_TRANSACTION.
    This is however a rather antiquated technology... it is more popular to use a SAP Portal or webdynpro applications for this sort of thing (the user does not notice the difference) or later versions of such integration such as Fiori UIs or imbedded links within the Business Client.
    I don't want to lean out the window too far, but the buggy phase of these new things is approaching an end and they are usable if you are on newer releases. Then you can pool the menu and use APIs for navigation and no more irritating S_TCODE checks.
    Cheers,
    Julius

  • How do I fix a initializing problem with my macbook pro? I only get to the blank screen with the apple logo and the "processing something"sign... it just doesn't start the system....

    How do I fix a initializing problem with my macbook pro? I only get to the blank screen with the apple logo and the "processing something" sign... it just doesn't start the system....
    Please help
    Marcelo

    If there is no loading bar, it's usually a problem with a third party kext file in OS X itself.
    You can press the power button down to force a hardware shutdown, then reboot holding the shift key down on a wired or built in keyboard, this will disable them and you go around and update your third party software.
    Gray, Blue or White screen at boot, w/spinner/progress bar
    Also take this time to backup your users files off the machine if possible.
    Most commonly used backup methods
    Sometime that won't work and you need to do more
    ..Step by Step to fix your Mac

  • I scanned an image and want to use the image trace tool, but it doesn't pick up all the lines.  Is there a way to darken the lines before using the image trace tool?

    I scanned an image and want to use the image trace tool, but it doesn't pick up all the lines.  Is there a way to darken the lines before using the image trace tool?  Help!

    If the scan is in B&W, then play with the Threshold setting here
    If it's in Color, then you will have to open the scan in a Raster editing software (like Photoshop) and play with the Brightness/Contrast settings to make the lines bolder.

  • File(FTP) Adapter doesn't pick any file from FTP server

    Hi All,
    This is a strange problem. I am trying to pick all the file from a FTP server using File Name: . . But the file adapter doesn't pick any file from the directory. When  I change it to a specific file name eg. ABC.txt then it picks up the file ABC.txt only.
    My requirement is to pick up all files in the directory and I just do not seem to understand what is wrong. I have used this wildcard option several times earlier and it always worked fine. But in this case, this does not work.
    I changed the FTP server to point to an internal FTP server and it works fine.
    I have checked all my parameters and everything looks okay. Like I mentioned earlier, if you specify exact file name, it picks up the file.
    Any guess as to what is going on here?

    Transport Protocol: FTP
    Message Protocol: File
    source directory: /test or test ( <b>either one works</b>)
    file name: * or . or *.txt <b>nothing works</b>
    server: ftp server name
    port: 21
    data connection: passive
    user: ******
    pass: ******
    connect mode: permanently
    transfer mode: text
    QOS: exactly once
    poll: 10 secs
    processing mode: archive ( <b>changed to test and delete as well, but made no difference</b>.)
    archive dir: dir path
    file type: text
    adapter specific attributes:
    checked: set adapter specific attributes
    and file name.
    status: active.

Maybe you are looking for

  • RE: Attach Issue

    HI, I have similar problem that a detach object and some new object in place as below and Kodo 3.1.2 throws exception during attaching the detached object. Simple code: ======== Server side: A a = (A)pm.getObjectById(oid, true); da = (A)pm.detach(a);

  • PO Output - Simple Mail.

    Hi, I configured new PO output type for simple mail.  I cannot get the output type to default onto the PO.  In the determination analysis screen within the PO messages screen, it finds the condition record, but also has another error: Message 539:  N

  • Why do I have to keep "Stopping + Refreashing" every page load?

    Lately it seems every time I go to a new page I Safari stops for about 20 or 30 secs before it loads unless I hit stop and then refreash. Any ideas Please? Thanks tons T

  • Query related to OAM protected resource error

    Hi All, I am working on OAM 10g. In that when a User tries to access a protected page and he tries to login with invalid credentials the url is appended by default with the OAM error message which looks like %3DErrNoUser% or %3DErrWrongPassword% base

  • What to do when losing an iPhone ? Is there any chance to lock the data I had in ? And to get the data back ?

    Could somebody help me ? I lost my iphone yesterday and i am afraid people will have access to my personal data such as photos etc....