Check website/server availability

Is it possible to check if an external website is running with java code instead of sending the user over to a "broken" site? If so, how is this done?
We want to be able to determine if a website is running, like UPS, and if it is not, display an error page of our own. If it is running, we'll continue with our process.
thanks
Sal

Open a quick socket connection on port 80 of the host - if the connection fails, the server is down.
- K

Similar Messages

  • How to check Server availability status in jsf?

    how to check Server availability status in jsf ?

    Do "something" that would cause the server to respond; fetch a webpage, call a webservice, whatever. If it doesn't work the server isn't there, or is in a broken state.

  • There is no server available at the address you entered, codes: 25294, 9848

    About a month ago I rebooted the server and after that Server Admin hasn't worked. It says always: "There is no Server available at the address you entered".
    In /var/log/system.log:
    Jul 22 11:58:51 mail servermgrd[14205]: SecIdentitySearchCopyNext returned -25294.
    Jul 22 11:58:51 mail servermgrd[14205]: Got error -9848 for SSLHandshake
    Jul 22 11:58:51 mail servermgrd[14205]: Exception in threadListen: Socket: Connect failed
    From http://developer.apple.com/documentation/Security/Reference/certifkeytrustservic es/Reference/reference.html:
    errSecNoSuchKeychain –25294 The keychain does not exist.
    From http://developer.apple.com/documentation/security/Reference/secureTransportRef/R eference/reference.html:
    errSSLBadConfiguration –9848 A configuration error occurred.
    I have also bootable backup on another disk in which Server Admin is working. I have compared files from /etc, /Library/Preference and /var/servermgrd without finding really relevant differences. Are there other places I should seek?
    On some point I have changed host name. Could that cause certificate error in this case? I have checked with "sudo changeip -checkhostname" that names matches.
    I have tried making servermgrd to use regular connection instead of SSL by editing /Library/Preferences/com.apple.servermgrd.plist. After changing settings, I have killed or unloaded/loaded servermgrd and tested with lsof that proper port is working. But I guess Server Admin doesn't even try to connect to port 687. Is it possible to force Server Admin to connect port 687. E.g. writing "localhost:687" as address didn't worked.
    I have tried creating servermgrd.conf, ssl.crt/ and ssl.key/ to /etc/servermgrd/ even thought they weren't there originally.
    I have tried connecting with many different IPs and DNS names and done as instructed here http://support.apple.com/kb/TS2757. According lsof, ports 678 and 660 are not in use normally.
    I have tried moving/trashing /var/servermgrd/ and ~/Library/Preferences/com.apple.ServerAdmin.plist.
    I have tried stopping ipfilter.
    Is it possible find out that which certificate servermgrd is trying to use?
    What else I could try? The server is currently running email and web services among other things with many users, so therefore I can't try too rough methods.

    Little progress maybe...
    I tested Server Admin of the working backup while using "sudo fs_usage -f filesys <PID>".
    When I did same with the actual nonworking server I noticed this difference:
    18:53:09 statfs private/var/root/Library/Keychains 0.000010 servermgrd
    18:53:09 open private/var/root/Library/Keychains>>>>>>>>>> 0.000008 servermgrd
    Path /var/root/Library/Keychains does not exists and backup system doesn't seems to try to use it. I suspect that "errSecNoSuchKeychain –25294 The keychain does not exist" occurs because of this.
    Any hints to fix this?

  • Error: -26  Detail: no valid destination server available for '!ALL' rc=14

    Hello,
    i can access portal, but when i click on a link i receive the error message bellow:
    500 Dispatching Error
    Error: -26
    Version: 7000
    Component: HTTP_ROUTE
    Date/Time: Thu May 27 11:18:55 2010 
    Module: http_route.c
    Line: 3139
    Server: PCLIWDI1_WDP_01
    Error Tag:
    Detail: no valid destination server available for '!ALL' rc=14
    u00A9 2001-2009, SAP AG 
    the web dispatcher is UP,
    on instance profile on web dispatcher , i have data bellow:
    SAPSYSTEMNAME = WDP
    SAPGLOBALHOST = PCLIWDI1
    SAPSYSTEM = 01
    INSTANCE_NAME = W01
    DIR_CT_RUN = $(DIR_EXE_ROOT)\$(OS_UNICODE)\NTAMD64
    DIR_EXECUTABLE = $(DIR_CT_RUN)
    Accesssability of Message Server
    rdisp/mshost = pclieci1.oranginagroup.net
    ms/http_port = 8080
    Configuration for large scenario
    icm/max_conn = 16384
    icm/max_sockets = 16384
    icm/req_queue_len = 6000
    icm/min_threads = 100
    icm/max_threads = 250
    mpi/total_size_MB = 500
    mpi/max_pipes = 21000
    SAP Web Dispatcher Ports
    ##icm/server_port_0 = PROT=HTTP,PORT=1080
    Capgemini - RGC. SSL
    DIR_INSTANCE = G:\usr\sap\secudir
    DIR_HOME = G:\usr\sap\WDP\W01\work
    icm/server_port_0 = PROT=HTTP,PORT=8001
    icm/server_port_1 = PROT=HTTPS,PORT=1080
    icm/HTTPS/verify_client = 0
    wdisp/ssl_encrypt = 0
    wdisp/add_client_protocol_header = true
    wdisp/shm_attach_mode = 6
    ssl/ssl_lib = G:\usr\sap\secudir\sapcrypto.dll
    ssl/server_pse = G:\usr\sap\secudir\SAPSSLS.pse
    is/http/default_root_hdl = abap
    #icm/HTTP/redirect_0 = PREFIX=/sap/bc/gui/sap/its/webgui, HOST=pclieci1.oranginagroup.net, PORT=1080
    i have the same error when i lunch https://WDISERV:1080
    Thank's for help

    Following the check i did, please find out the result:
    C:\Users\wdpadm>sapwebdisp pf=G:\usr\sap\WDP\SYS\profile\WDP_W01_PCLIWDI1 -check
    config
    Checking SAP Web Dispatcher Configuration
    =========================================
    maximum number of sockets supported on this host: 32768
    Server info will be retrieved from host: pclieci1.oranginagroup.net:8080 with pr
    otocol: http
    Checking connection to message server...OK
    Retrieving server info from message server...OK
    Message Server instance list:
    ------++--
    +
    instance name
    hostname
    HTTP port
    HTTPS port
    ------++--
    +
    ------++--
    +
    ERROR: no servers in list
    Check ended with 1 errors, 0 warnings

  • Leopard Server Admin Fails "there is no server available"

    My Leopard Server has been running fine for months, uprgraded to 10.5.6 without difficulty a few weeks ago. Today, the Server Admin application is throwing up an error "there is no server available at the address you entered", with a box to delete it or save it.
    Huh?
    The server seems to be still running fine - mail continues to be delivered.
    I note that this error has been reported before here and elsewhere, but there doesn't seem to be any comprehensive solution.
    I would appreciate any help.

    Hi
    For the lack of any further information it's difficult to say? It could be anything or nothing at all? Have you tried a restart? Sometimes you'll see this error message if there's a problem with your keychains? You're more likely to see it if there is a problem with your DNS Service. Although not definitive does Workgroup Manager have a problem? Can you connect to the Server using Server Admin remotely?
    You should be able to remove the server from the list and re-add it. You can use its .local name, its loopback address, its IP address or its FQDN. Whichever one its having a problem with use one of the other methods instead. Any or all of them should work.
    To remove keychains you could use Keychain Access. Keychain Access > Edit > Keychain List. Select the ones you want and click the 'minus' symbol. I tend to not bother and remove them from /User/Home/Library/Keychains as well as /Library/Keychains followed by a restart. You can also 'reset' how Server Admin presents its interface on launch by removing its .plist from /Users/Home/Library/Preferences. Quit out if it first. Take the com.apple.ServerAdmin.plist to the trash, empty it and re-launch Server Admin. You might have to restart the server. There's a similar .plist for Workgroup Manager.
    If you can't connect at all then you are probably looking at a problem with DNS Services. Can the server resolve itself to itself? Issuing host or nslookup for its fully qualified domain name followed by its IP Address should present a clearer picture. You could also issue:
    sudo changeip -checkhostname
    As this checks the validity of the Server's DNS. If it returns "DNS hostname is unavailable, please run the repair tool" then consult changeip's manual page. If it returns "the names match, there is nothing to change" then start looking at the physical structure of the network itself. An intermittent fault with the patch cable perhaps or Switch port?
    Tony

  • I have an apple iphone 4gs... It is synced with my outlook exchange in the office. If I do a search for emails that also checks the server then all of a sudden I end up with various amounts unread email with the inbox saying "Inbox 71" ..which is not true

    I have an apple iphone 4gs... It is synced with my outlook exchange in the office. If I do a search for emails that also checks the server then all of a sudden I end up with various amounts unread email with the inbox saying "Inbox 71" ..which is not true. The only way to make the inbox on the iphone back to 0 is to delete the account then re install it.
    Anyone have any ideas

    We need to know more about your system, please download EtreCheck and run the report and please post it on your next reply. Then we can see how your system is configured, what apps are on it and look for anything obvious. We will look forward to seeing your report.

  • '"Connection Failed" : The server "rrnas01" may not exist or it is unavailable at this time. Check the server name or IP address, check your network connection, and then try again' message

    '"Connection Failed" : The server "rrnas01" may not exist or it is unavailable at this time. Check the server name or IP address, check your network connection, and then try again' message keeps displaying whenever I try to open any Adobe CS5 applications (except for Adobe Acrobat Pro). It displays until I click "OK" about 15-20 times or so and then will finally let my program open.
    I have tried deleting files within my Library/Preferences folder and turning off/deleting login items within my system preferences as other forums suggested but nothing happened. Spending 3.5 hours on the phone with Adobe and completely uninstalling and then reinstalling the entire CS5 Master Collection didn't work either.
    Also, it may be helpful to know that my programs worked fine for about three weeks then when we got internet and changed the password (the join, not the adminstrative password) with the wireless network "ScubaSteve" (which I've used with no problems at my old apartment) it started acting up. I have never seen "rrnas01" before so I don't know at all where it came from. I also installed the free 30 day trial of Suitcase Fusion 3 recently, but thinking that could also be the cause I have uninstalled it, and still no help.
    Please help me! And please keep in mind I don't know all the computer lingo that a lot of the people in these forums seem to know. Thanks in advance for ny help you can give me.

    It may not be possible .. there is a major bug between Mountain Lion and the TC where the TC disk goes off the radar of the computer.
    Lion is also affected but not as badly.
    7.6.4 seems worse than earlier firmware.. so back to 7.6.1 or 7.5.2 if that is possible.
    Obviously that is not a solution for a later Gen5 TC.
    Reset to factory after the firmware downgrade. .use all network names that are short, no spaces and pure alphanumeric.
    If the TC is the main router set the dhcp to a very short lease time.. eg 30min.. and see how it goes, or try a longer lease like 99days.
    I prefer the very short lease but response has been mixed.
    Use ethernet not wireless.. ethernet is always more reliable and stable than wireless.
    And last .. a nightly electric timer that powers off every night at midnight for 1min.. would not be the first device we have suggested a fix that amounts to beat the unit to the punch by forcing it to reboot since it is unstable.

  • Check price and availability shows no data

    Dear Experts,
    In the Check price and availability app, im trying to check the availability of a material on a particular date.
    Issue 1:
    The available stock quantity for material 953 is 260. There is no availability check maintained in material master(KP- no check)
    Say for eg, 29th may and quantity as 10 items for material 953, the app displays data as below. How is the estimated delivery date calculated as i ahve not maintained any planned delivery date in MMR.
    But when i check for this material 953 or 954 or 2390 or any other material for date 27th may or 29th may, it says stock is not available though the
    physical stock is listed for 260 pcs as below.
    Issue 2:
    The available stock of material 953 is only 260. when I check for 1000 quantities on 30th May, the system must say, stock is not available
    But however the app displays stock is available with the estimated delivery date. Im unable to find the cause of this output.
    Please guide me how to sort the issue.
    Please help as this issue is urgent.
    Thanks & Regards
    Dhinesh
    Message was edited by: Michael Appleby

    Hi Dhinesh
    I am Also facing this problem from long back. And we updated all the Patch level but i didnt get the solution.
    Please Share the Info if you find the Solution for this issue.
    Regards
    Prasanth SV

  • Failure of server APACHE bridge::No backend server available for connection

    All,
    I have an env: Browser -> OHS -> WLS(Apex Listener) -> Oracle DB.
    If any SQL run for more than 5 mins, i get the below error.
    Failure of server APACHE bridge:
    No backend server available for connection: timed out after 10 seconds or idempotent set to OFF or method not idempotent.The only error i get is from the OHS's log
    [2013-04-03T06:45:57.2946-05:00] [OHS] [ERROR:32] [] [core.c] [host_id: aa050] [host_addr: 121.146.60.102] [tid: 1260554560] [user: oracle] [ecid: 004qNDJn1du7m3KaETn3ES0004Ll00001T] [rid: 0] [VirtualHost: my.team.com:443]  ap_proxy: trying POST /pls/apex/wwv_flow.show at backend host 127.0.0.1/7003; got exception 'Backend Server not responding'; state: reading status line or response headers from WLS (wrote? Y read? N); not failing over because method not idempotent, referer: https://my.team.com/pls/apex/f?p=4500:1003:16571271664493::NO:::Is there a timeout variable other than the below in WLS?
    Session Timeout (in seconds): 3600 .
    TIA,
    JJ

    Regardless of the version, this is not exactly a "Forms" failure. This is an issue between OHS and WLS. Basically it means that OHS (via mod_wl_ohs) was unable to communicate with WLS_FORMS (or whichever managed server you are trying to access). Most often this means the managed server is not running or not responding. If you believe it is running and is responsive (test by hitting it directly) then the problem is probably related to your installation. Generally, if you have not properly configured your networking before you installed WLS and FMw, then this can occur. For example, on Windows machine which do not have static IP addresses, the Installation Guide instructs you to install the Windows loopback adapter and configure it. If you did not do this, OHS likely will not be able to contact WLS_FORMS.
    You can test what I have described above by attempting to access WLS_FORMS directly. For example:
    http://yourHost:9001/forms/frmservlet
    If that works, the issue is probably related to a net config issue.
    If you have access to MyOracle Support, refer to these notes:
    <blockquote><li>Failure Of Server APACHE Bridge After Running Report From Forms 11gR2 on Windows 64-bit platform (Doc ID 1457845.1)
    <li>Oracle Fusion Middleware 11g - Troubleshooting the Error "Failure of server APACHE bridge" (Doc ID 1304095.1)</blockquote>
    The product Documentation Library can be found here:
    http://docs.oracle.com/cd/E24269_01/index.htm

  • Time capsule first said the back up was delayed no it won't connect to my home network. my internet is working fine and so is everything else but when i try to connect to the time capsule it says to check my server and ip address help!

    time capsule first said the back up was delayed, now it won't connect to my home network. my internet is working fine and so is everything else but when i try to connect to the time capsule it says to check my server and ip address and if it continues to contact system administrator.. i didnt change anything, please help!

    Lion networking.. just need to reboot everything.. modem TC and the clients.. then it will work.. Sometimes just the TC is enough.. sometimes just the computer. .. Vista golden networking award.. did you turn it off and on again??

  • Lumira Login Error "Check the Server Name and Instance ID"

    Dear Experts
      I installed Lumira Desktop and was able to connect to the
    HANA Server.
    Later while I was working the software hanged and I had to
    shut it down.
        Now, after re-opening the software I receive error "Check the Server Name and Instance ID"
    (though the server credentials are same as error and correct”
    Any suggests on how to rectify

    I wonder if one of the following KBAs may give you a clue?
    1995325 - Error HDB 11009: The dataset could not be published to SAP Lumira Server because publishing to the SAP HANA layer failed. Lumira Server
    2134259 - Lumira LaunchPad Logon Hangs
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow me on Twitter (#SAPLumira)
    Got Enhancement ideas? Use the SAP Idea Place 

  • Registry name and value to check if server has internet connection

    Hi
    I want to check that if server has internet connection though registry value. Can any one help me the path of registry to check if server has an internet connection or not

    > Martin Can I get the script to check the server has an internet
    > connection ?
    Sorry, I don't have one - we never had the need to check this... Short
    VBS snippet:
    strURL = "https://www.grumpfasdklfhsdf.comm"
    Set objExplorer = WScript.CreateObject("InternetExplorer.Application",
    "IEWindow_")
    objExplorer.Navigate strURL
    Do While objExplorer.ReadyState <> 4
        WScript.Sleep 100
    Loop
    Sub IEWindow_NavigateError( pDisp, sURL, sFrame, sStatus, sCancel )
        WScript.Echo sStatus
    End Sub
     sStatus in the Sub will contain HTTP error codes. 502 for "Host not found".
    Martin
    Mal ein
    GUTES Buch über GPOs lesen?
    NO THEY ARE NOT EVIL, if you know what you are doing:
    Good or bad GPOs?
    And if IT bothers me - coke bottle design refreshment :))

  • Image Ultra Builder 4.0: "An error occurred while connecting to server: Check the server"

    Ladies & gentlemen 
    I am using evaluation version of ImageUltra Builder 4.0 for Windows
    XP. Both server and console have been installed on the same machine.
    When I try to add a new repository, then after pressing the final
    "Finish" button I get the message "An error occurred while
    connecting to server: Check the server". 
    This message appears when the service IUServer runs. 
    I have not found any mention of this error neither in the Internet nor
    in the documentation. Can any one suggest what could have been done wrong?
    Thanks, Ilya Druker

    I've had the same problem when trying to generate a database on an external storage unit. When I create a new repository there are two option:
    1) Location: - This is the location where you want to store the files itself. This server does not have to have a database running on it
    2) Server: - This is the name of the server that actually runs the DB2 database that keeps track of the repositories. This server does not have to be the same as the location where you store the files. This could also be the IP address of the server, not necessarily the name.
    The documentation for this is somewhat confusing, but the above stuff works atleast. I have tried in never versions than 4.0 as well.

  • HOW I CHECK WEBSITE IN SAFARI 7.0.3 IN WINDOWS

    HOW I CHECK WEBSITE IN SAFARI 7.0.3 IN WINDOWS.
    Is there any method to check online?

    i mean cross browser testing.i am using windows .
    i am working for my client
    My website is working fine in all other browser except safari 7.0.3, i know it from my client because he is using OS X.
    and i know it very well that safari 7.0.3 is not for windows.so i ask is there any method to test website in safari?
    I am not able to install new Operating system.

  • How to check Integration Server Client and ABAP stack Client?

    How to check Integration Server Client and ABAP stack Client? How to check,,pls tell in detailed steps???
    Points would be awarded.
    Arnab

    hi,
    Must be the server has different clients,one declared as application server ie abap stack client and the other declared as Integration server ie XI. U might be trying to open idx5 in application server client, in which idx5  exists but you cant open the screen even, that can be achieved through we02.
    000 is the default client when  XI server is installed .We can create separate clients on the system through sccl tcode.
    As told we can find the client  on sap logon screen.
    Logon to sxmb_adm and check whether the client is declared as an application system(r/3) or Integration server(xi).Try idx5 in xi not r/3
    Edited by: NagaDurga Nannapaneni on Aug 28, 2008 11:36 AM

Maybe you are looking for

  • Is there a limit in the number of user accounts on Mavericks?

    Hi I would like to create a system with a lot of user accounts (+/- 200). I have two questions: - Is there a limit in the user accounts on Mavericks? Where can I find more infomation about this? - Is there a possibility to automatically create a high

  • How many different ways of dynamically displaying a text?

    Hi folks, I've been assigned to work on the following: The SapScript form on which I am supposed to work, currently has hard coded text with some variables such as name of the customer, order number, special info, etc, coming from the driver program.

  • Lync Phone Edition - Registrar FQDN cannot be found

    Hi, I have finally got Lync phone edition devices into a separate VLAN.  All working ok, except when logging in they pause for about 5-10 seconds with error "Registrar FQDN cannot be found".  They then sign in and work perfectly.  Option 120 is setup

  • Game Not Scrolling

         So i've finished learning how to scroll and the book has challenged me to try parallax scrolling and to figure it out on my own. So i've tried to apply my previous scrolling knowledge (as little as it may be) at gave it an honest attempt. The pr

  • File to File ------ Message getting stuck in Integration Engine

    Hi All, I have a small issue in file to file scenario . Once I send the file .Its getting picked up from the source directory but its not getting delivered to the destination directory. When I check in SXMB_MONI ,message is successfully processed. No