App cannot perform domain name resolution

I have an app that connects to a remote server and pulls files via FTP. The code was just modified to connect to the server using a domain name rather than the direct IP. Unfortunately it doesn't work anymore. I get
java.net.UnknownHostException: ftp.domain.com
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:177)
        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:364)
        at java.net.Socket.connect(Socket.java:507)
        at java.net.Socket.connect(Socket.java:457)
        at java.net.Socket.<init>(Socket.java:365)
        at java.net.Socket.<init>(Socket.java:178)
        at net.sf.jftp.net.JConnection.run(JConnection.java:128)
        at java.lang.Thread.run(Thread.java:595)The app worked in the past (with just the IP) and does work properly on another computer, which leads me to believe its our server environment. For some reason the domain name is not get resolved... or something along those lines. I am able to perform a manual nslookup on that server. How does an app go about resolving domain names? What other environment related variables can possibly cause this problem?
Thanks

nslookup succeeds, but do other commands (like 'getent hosts xxx' or 'ping xxx')?
If your /etc/nsswitch.conf is misconfigured, then the system will not use DNS, but 'nslookup' could still succeed.
Darren

Similar Messages

  • Cannot ping domain name

    We have created a new domain name for our Sharepoint apps in Sharepoint 2013 environment.  I have configured the App settings in the central admin and I am now able to access sharepoint app store. Everything works great.
    The only thing puzzling is, why I am not able to ping the domain name created from apps from my computer ?

    Hi check your DNS config
    http://sharepointchick.com/archive/2012/07/29/setting-up-your-app-domain-for-sharepoint-2013.aspx
    Also check Windows firewall config on your machine and remote server
    Romeo Donca, Orange Romania (MCSE, MCITP, CCNA) Please Mark As Answer if my post solves your problem or Vote As Helpful if the post has been helpful for you.

  • Cannot resolve host names on local network

    It is a local network with router, few Windows computers with shared drives and one Mac.
    Windows shares appear correctly in SHARED and can be used without any problems, like iTunes and iPhoto libraries are on those shared drives and work properly, even if ip address of those computers would change.
    BUT - if I am trying to use VNC and connect to hostname:port, it says that server is not specified. If I try to ping hostname it says Unknown host.
    At the same time, similar ping from Windows computer work without any problems.
    It could be possible that router does not support something standard and communicates with Windows using something windows-specific, but what confuses me is that I can see computer names resolved in the finder already! Also, as I said iTunes and iPhoto can work with shared files on dynamic ip's which would be not possible if host names would be not resolved.
    Thanks.

    Domain Name Resolution for local IP addresses require a Local DNS server running on your network.
    Bonjour names will resolve without a Local DNS server. So this is why iTunes and iPhoto works as they use bonjour technology.
    A bonjour name ends in .local so in your macs sharing preferences you give the mac a name of imac its bonjour address is imac.local
    Other than that you are best giving your devices fixed IP address and adding there hostnames to your hosts file.
    the contents of /etc/hosts on your mac would look like
    # Host Database
    # localhost is used to configure the loopback interface
    # when the system is booting. Do not change this entry.
    127.0.0.1 localhost
    255.255.255.255 broadcasthost
    ::1 localhost
    fe80::1%lo0 localhost
    so at the above that you could add for example
    192.168.1.5 mypc
    192.168.1.6 myprinter
    Then you could ping 192.168.1.5 by
    ping mypc
    So would have to add these entries to each hosts file on every computer on your lan.
    Or you could setup a local dns server and give each computer on your LAN a fully qualified domain name.

  • Domain name setup with iWeb 09, MobileMe & Google Apps.

    I purchased a domain (http://tinyurl.com/5v3m3bs) via google, I am hosting the site on my MobileMe (http://tinyurl.com/5vt9qr8) space & am using iWeb09 to edit the website but for the life of me I cannot mask forward using Google Apps from my domain to my MobileMe site.  I have read several articles related to this and seems very confusing.
    Can someone please guide me step-by-step to achieve this?
    Regards

    To set up web forwarding with masking, all you need do is log into your account at your domain name registrar's and then go to the web forwarding section.  Once in web forwarding enable masking and then forward your domain name to web.me.com/username/sitename and that is all you need do. 
    Do remember though that if you have already entered your domain name into your MobileMe account under the personal domain name settings and have set up CNAME forwarding, then you cannot have masked web forwarding as well.
    You need to do one or the other, but NOT both.  Decide what you want and what is more important to you and set this up - if you want masking then just follow the steps above and mask and forward your domain name to web.me.com/username/sitename - you need to be more specific with this.

  • APP-PAY-07201 Cannot perform a delete when child record exists in future

    I am trying to put end date to a payment method of any employee in HR/Payroll 11.5.10.2
    but receiving the following error message:
    APP-PAY-07201 Cannot perform a delete when child record exists in future
    Can u advise what steps I should follow to resolve this issue.
    Regards /Ali

    This note is related to termination of employee while our employee is on payroll and just want to change is payment method. But in the presence of existing payment method we cannot attched another becuase we are receiving an error:
    APP-PAY-07041: Priority must be unique within an orgainzational payment method

  • How to use DNS server for name resolution for items which don't exist in active directory domain controller DNS

    Dear Experts,
    In our office we have a domain controller call it 'Office.com', all computers and corporate servers e.g. exchange, antivirus etc. are member of this 'office.com', it is also having a DNS. All users in office have there preferred DNS set to the corporate
    DNS
    We are working for ministry and offering services to them from our data center so have many servers which are for ministry but they are in our data center. For all these servers we created another DNS server which contains all entries for these servers in
    forward and reverse lookup zones. In this DNS we also created a forward lookup zone for our corporate servers and zone name is 'office.com'
    What we are trying to have is name resolution of all servers which are listed in other DNS build in our office on Win 2008 R2 for ministry servers
    If the user change his preferred DNS to ministry DNS he can resolve the ministry server but then we can not control any thing through group policy since they are using other DNS and not the corporate DNS. 
    How this can be done ? like any group policy applied to corporate domain controller must take effect on users and in addition to this user must also be able to resolve server names in ministry project DNS
    Please assist ASAP.
    regards,

    Hello,
    ok so the GPO setting doesn't apply in any case.
    Clients machines use the first DNS server in the list of configured ones on the NIC. If that one is available search for additional DNS servers will stop.
    What i can not really understand is your description about the second DNS server. This should normally either another DC with AD integrated DNS, so everything is replicatedwithin AD replication or you use a secondary DNS on domain member server that pulls
    the informations from the Master.
    It sounds for me that you have configured a machine with DNS server role and created manually the zone with the same name as the domainand manually create there the required A records?
    Best regards
    Meinolf Weber
    MVP, MCP, MCTS
    Microsoft MVP - Directory Services
    My Blog: http://msmvps.com/blogs/mweber/
    Disclaimer: This posting is provided AS IS with no warranties or guarantees and confers no rights.

  • Question about Mail app and domain name please help

    Hi,
    I wasn't sure where to post this question so figured this would be the best area. I have a website which uses bluehost as it's web hoster. My email is set up through them, such as [email protected]
    In my Mail app, I have the POP thing set up so when ever someone emails me it goes right to the Mail app. It works great for my personal computer, but when I go to work and go on other computers is where the problem is.
    When I am on a random computer at work, I have to sign onto my webhosting site and then use squirrel mail. It is quite a hastle and is not the best. I would love to use gmail, but still keep my domain name I have.
    One co-worker mentioned just forwarding all my [email protected] emails to my new gmail email. There are issue's with doing this because if I'm at work and email someone with gmail it will use that email address. Also, I want to be able to read all my sent messages from any computer including the sent messages that were within my Mail app. Is this possible?
    Besides forwarding is there a better solution? It is sort of hard to explain. Basically I want my [email protected] address to be run through gmail, be able to access on any computer, have it be the only address in my mail app, and most importantly have the sent messages from mail app to be able to be read on all computers.
    I think gmail lets you make a domain name email, without gmail being included at the end. But I already have the email address made...am I able to just swap it? And keep all my mail inbox info?
    What's the best sollution for my problem?
    Thanks

    You would need to login to your web mail account to reply so that the email came from "[email protected]"
    I try to get a gmail address that is close to the domain name like - [email protected] - so that I don't have to bother opening web mail as it is a pain.
    I forward to Gmail and then Mac Mail because their spam blocker is the best.
    A lot of web mail addresses bounce mail because the capacity is limited and the owners don't go into their control panel to launch their web mail and clear out the old stuff. Lawyers, in particular, are famous for this. For this reason I don't set web mail to keep a copy of the forwarded mail. If my web mail gets full of spam and they start bouncing then its not my problem!

  • Hi, i cannot publish my iWeb site with  a non mac domaine name...can anyone help please?

    hi, i cannot publish my iWeb site with  a non mac domaine name...can anyone help please?

    Hi, I have a site developed by myself usinf iWeb and as iWeb are no longer hosting teh sites in 2012 i have found another domaine. It is with Go Daddy and the domaine / name is live. I have tried to publish site using fttp but keeps coming up wih a common error message saying the info i have input is incorrect. I have tread this may be an issue if host is a windows based host???
    appreciete your help

  • Adding a domain name to BC site results in Error. Cannot locate Adobe support.

    "Error. Domain name already exists..." Have 3 sites not working right now.
    Sorry to post multiple times, but Adobe support is non-existent, and Live Chat and Open a Ticket are both circular links that never go anywhere, nor let me contact Adobe.
    Past answers said Adobe needed to clear out their servers, but all answers in forum are from 2012(!).
    Already lost a day, need help ASAP.
    Thanks, Tony B.

    Hi Tony
    I would suggest to reach out to chat support to get a quick resolution. If possible they will be able to do it at the same time.

  • Is the Oracle apps R12 can be installed with domain name like xyz .co.nz

    Dear all,
    I am installing R12 on Linux AS-4
    I need to know the Oracle apps can be installed with domain name like <xyz>.co.nz on Linux AS-4 environment.
    if so please discuss anything other than normal procedure I have to take care?
    Till now I have installed much with Domain name as <xyz>.com
    Thanks and regards
    Vasu

    If your domain name has two characters, then you may run into the Microsoft IE 6 bug "Internet Explorer Does Not Set a Cookie for Two-Letter Domains" described in Microsoft article Q310676. The fix for this issue is described in the Microsoft article.
    Internet Explorer does not set a cookie for two-letter domains
    http://support.microsoft.com/default.aspx?scid=kb;en-us;310676
    Apart from the above, you should not have any issue.

  • Domain Name Purchase for SharePoint Apps

    I am having some difficulty wrapping my head around this and are hoping someone can help me with this.
    I am setting up a development environment (1 wfe and 2 db servers mirrored) and some articles are telling me to purchase a domain name for the app store, and some articles are saying that you can use a sub-domain (although less secure). I am interested in
    knowing what the majority of people are doing when setting up the app store in a development environment.
    If anyone has any experience with this, I would be grateful to hear from you.
    Regards
    Kim

    If you are developing internally then you don't need to buy a domain name, you can just direct traffic to your App domain using DNS.
    It's very odd to have a mirrored SQL environment for development, unless you need to test failover it's probably unrequired.

  • I cannot download in-app purchase  . I'm live in Thailand and download in thai store only   but i  can not download in-app  . My appleID name Cradit and user long time

    Hi...
           I cannot download in-app purchase  . I'm live in Thailand and download in thai store only   but i  can not download in-app  . My appleID name Cradit and user long time help me please .  Thank you

    What happens when you try?
    Any info about your issue at all?

  • App server domain name changed

    Hi All,
    Our App server domain name changed so we did following ways to take the changes to effect. When starting the Middle-tire gives error
    Old name=koredm104715.in.company.com
    New name=ias-instance id=koredm104715.apac.company.com
    C:\Oracle\Product\OraMidTier10gR2\chgip\scripts>cmd chgiphost.bat -mid
    Microsoft Windows [Version 5.2.3790]
    (C) Copyright 1985-2003 Microsoft Corp.
    C:\Oracle\Product\OraMidTier10gR2\chgip\scripts>cmd /c chgiphost.bat -mid
    Oracle Home set to C:\Oracle\Product\OraMidTier10gR2
    Starting Change Hostname/IP...
    Enter fully qualified hostname (hostname.domainname) of destination
    (koredm104715.APAC.company.com)>>koredm104715.APAC.company.com
    Enter fully qualified hostname (hostname.domainname) of source
    (koredm104715.in.company.com)>>koredm104715.APAC.company.com <----------- Issue is here as source should be koredm104715.IN.company.com
    Enter valid IP Address of destination
    (10.47.32.43)>>10.47.32.43
    Enter valid IP Address of source
    (10.47.32.43)>>10.47.32.43
    Source and destination hostname/IP are identical.
    Continue? (y/n) y
    Change Hostname/IP completed successfully.
    C:\Oracle\Product\OraMidTier10gR2\chgip\scripts>cd..
    C:\Oracle\Product\OraMidTier10gR2\chgip>cd..
    C:\Oracle\Product\OraMidTier10gR2>cd opmn\bin\
    C:\Oracle\Product\OraMidTier10gR2\opmn\bin>opmnctl startall
    opmnctl: starting opmn and all managed processes...
    ==============================================================================
    opmn id=koredm104715:6200
        5 of 7 processes started.
    ias-instance id=OMT_10gR2.koredm104715.in.company.com
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    ias-component/process-type/process-set:
        WebCache/WebCache/WebCache
    Error
    --> Process (pid=3152)
        failed to start a managed process after the maximum retry limit
        Log:
        C:\Oracle\Product\OraMidTier10gR2\opmn\logs\WebCache~WebCache~1
    ias-component/process-type/process-set:
        WebCache/WebCacheAdmin/WebCacheAdmin
    Error
    --> Process (pid=4924)
        failed to start a managed process after the maximum retry limit
        Log:
        C:\Oracle\Product\OraMidTier10gR2\opmn\logs\WebCache~WebCacheAdmin~1
    C:\Oracle\Product\OraMidTier10gR2\opmn\bin>Edited by: Lokanath Giri on १९ जनवरी, २०१२ १:५८ अपराह्न

    Have you checked your web cache log files for errors? Also check the %ORACLE_HOME%\opmn\log directory as there are many log files which can be helpful resolving your issue.
    Thanks,
    EJ

  • Bug report : in Contact app,people's Chinese name cannot ...

    in Contact app,people's Chinese name cannot be reached by clicking the alphabeta letter listed on right side of screen.

    To fix contact lists i suggest:
    - Distinguish between SIM read-only and read-write contacts. Read-Only contacts should be somewhere in; "Contacts->Settings->Manage SIM card read-only contacs";
    - Add aditional contact groups, such as "Local Phone", "SIM (Read-Writable, not those read-only)";
    - Support for gmail contacts group;
    - Display group icon next to contact name in "All" group, or at least some info directly after taping a contact to distinguish between SIM/Local/Gmail contact;
    - fix bug with hiding contact in Phone application when Phone or Gmail contact is linked with SIM contact and SIM contacts are disabled to display;
    - maybe add some progress bar when copying to/from SIM card, it last a while and causes impatience
    that's all i believe

  • Maill.app + 'ö'-character within a domain name

    Hello other users,
    I've registered a new Domain which is includung an umlaut character (in this case: 'ö'). I can create an e-mail account in my provider's members area. But if i try to use this e-mail account in latest Mail.app software, it can't connect to the mailserver. Do I have to take notice of something I didn't care about?
    Can i solve the Problem withg using the ACE string? But I even didn't solve it this way.
    May someone help me, please?
    Special thanks to all of you, who can help me with my problem.
    Greetings,
    hansonis

    Hansonis,
    Welcome to the Discussions.
    Since domain names did not originally allow such characters, I have not read anything about their use, and Mail. I will try to do some research, and perhaps alert a friend in Germany, who might know more about this. For some background I have read, see:
    http://www.verisign.com/information-services/naming-services/internationalized-d omain-names/page_002201.html
    which does not list Apple's Mail program as IDN enabled. See also:
    http://www.idnnow.com/index.jsp
    and
    http://www.norid.no/regelverk/forslag/idn-2003/2003-02-18.en.html
    Maybe I will find something else.
    Ernie

Maybe you are looking for

  • Windows Authentation missing with Windows 7 Home premium.

    Hi, I am unable to find windows authentication feature in windows 7 home premium. Can anyone help to add this feature in my windows features list. Thanks, Kishore

  • Error message 150:30 for photoshop cs4

    how do i fix this code without loosing all of my  photoshop files?

  • XMLDB log-level configuration

    I've been searching for a document that will advise what the different log-level settings are that can be put into the xdbconfig.xml but I can't seem to find anything on this. The default level is set to 0 on install. That is what we current have it

  • Best way to import data only from sql server 2k to ora9.2

    I have a situation where I don't care about indexes, procedures. The DDLs from sql server 2k and ora9.2 are (mostly) teh same, I need to port the data from sqlserver to my ora database. what is the best way to do it? thanks.

  • Badi drop down menu in Adobe forms

    Hi , I want to create a Badi for a Adobe form field .... The badi should be able to provide the drop down values for the field in the form... I want to populate the drop down menu with my internal table and as well as want to have the value selected