Check if db-link works or not

hi,
does anybody know how to check if a database-link works or not, using an pl/sql-procedure or function?
thanks in advance,
regards

If the dblink is down then it should generate an exception. It won't be "tnsname could not be resolved" because the tns name is picked up from the client or source server tnsnames file, so it'll be able to resolve the name, but will have some other exception. It's more likely to be...
SQL> select * from dual@fred;
select * from dual@fred
ERROR at line 1:
ORA-12545: Connect failed because target host or object does not exist
SQL>Edit: NOTE: I created a tnsnames entry for fred prior to this, otherwise I would have got...
SQL> select * from dual@bob;
select * from dual@bob
ERROR at line 1:
ORA-02019: connection description for remote database not found
SQL>If there's no database link created for that name
or
SQL> select * from dual@bob;
select * from dual@bob
ERROR at line 1:
ORA-12154: TNS:could not resolve the connect identifier specified
SQL>If there's a database link for bob but no tnsname entry.
Message was edited by:
blushadow

Similar Messages

  • Moved to ixwebhosting and none of my links work. Not Impressed!

    I moved over to ixwebhosting and the transition was easy but now all the links I've spent planting around the world are sent to another site. Not impressed!
    Unless one types in the url into the browser one get transported to generic sites that use similar url's. What gives?

    Since you are going to publish to this folder every time you make changes to your site, its better to have a dedicated folder in your Home folder to publish to. Use the second method shown on this page...
    http://www.iwebformusicians.com/iWeb/Publish-Website.html
    Using iXwebhosting, the root folder on the server has the same name as your site so identifying is a lot easier than on these servers that use a public_html or WWW folder.
    Cyberduck is OK if you want free (or donationware). For $2 you can get the Lite version of Yummy FTP which makes things a lot easier since you can see both the local files on your Mac and those on the server in the same window and just drag and drop between them...
    http://www.yummysoftware.com/Product-Information-Lite
    After moving to a new host you should redo your SEO...
    http://www.iwebformusicians.com/Search-Engine-Optimization/SEO.html
    Here's a publishing workflow checklist...
    http://www.iwebformusicians.com/Search-Engine-Optimization/Website-Publishing-Wo rkflow.html

  • How to check whether Output ES is working or not.

    I am able to see Output ES in the services list of the admin console of my server. Please let me know how to check whether this is working or not.
    Regards,
    Shabeer

    LiveCycle ES2 (and LiveCycle ES) ship with three undersold and unadvertised web applications that are VERY useful. Each is referred to as an Installation Verification Sample (or IVS) but they are great testing tools you can use during development and QA. There is
    1) Assembler IVS,
    2) Forms IVS, and
    3) Output IVS
    Output IVS looks like this...
    The pattern for deploying and using all three IVSs is very similar as what I am about to describe for Output IVS. The following directions apply to the JBoss turnkey on Windows.
    1) go to C:\Adobe\Adobe LiveCycle ES2\deploy and locate adobe-output-ivs-jboss.ear
    2) copy adobe-output-ivs-jboss.ear to C:\Adobe\Adobe LiveCycle ES2\jboss\server\lc_turnkey\deploy
    3) if necessary, start LiveCycle
    4) open a browser and go to http://localhost:8080/OutputIVS/
    5) click Check/Change your preferences
    6) add Admin Credentials
    7) click Save
    8) click Test your form designs
    9) Select an .xdp from Form designs
    10) Click Use EJB (or Use Web Service if you feel so inclined) to invoke LiveCycle Output ES2
    Steve

  • How to check user profile service working in sharepoint 2013?

    HI All,
    How to check user profile service working or not in sharepoint 2013? Thanks.

    Hi,
    Select which OU's you want to synchronize, then check if all users in those OU's have a user profile in the user profile service application.
    Nico Martens - MCTS, MCITP
    SharePoint 2010 Infrastructure Consultant / Trainer

  • Will not load sites linked from another website--have cleared cache, cookies, history, restarted, checked in Safe Mode--still does not work.

    Some sites load fine. But some sites will not load when linked from another web site, or, occasionally, even from my bookmarks. I went through troubleshooting routine--cleared cache and cookies, history, checked in Safe Mode for extensions, etc., but still will not work in Safe Mode. No other problems with computer or browser.

    What happens when you click the link that does not open up the new page? Is it a blank page? Does this also happen if you Shift Click the link?
    Sometimes a problem with Firefox may be a result of malware installed on your computer, that you may not be aware of.
    You can try these free programs to scan for malware, which work with your existing antivirus software:
    * [http://www.microsoft.com/security/scanner/default.aspx Microsoft Safety Scanner]
    * [http://www.malwarebytes.org/products/malwarebytes_free/ MalwareBytes' Anti-Malware]
    * [http://support.kaspersky.com/viruses/disinfection/5350 Anti-Rootkit Utility - TDSSKiller]
    * [http://general-changelog-team.fr/en/downloads/viewdownload/20-outils-de-xplode/2-adwcleaner AdwCleaner] (for more info, see this [http://www.bleepingcomputer.com/download/adwcleaner/ alternate AdwCleaner download page])
    * [http://www.surfright.nl/en/hitmanpro/ Hitman Pro]
    * [http://www.eset.com/us/online-scanner/ ESET Online Scanner]
    [http://windows.microsoft.com/MSE Microsoft Security Essentials] is a good permanent antivirus for Windows 7/Vista/XP if you don't already have one.
    Further information can be found in the [[Troubleshoot Firefox issues caused by malware]] article.
    Did this fix your problems? Please report back to us!

  • Allt he links in the header of any websites are not working, I reinstalled fiorefix and it s the same. No problem in others browser. the tool bar is working but not the link sinside the web page located between the top 300px height

    all the links in the header of any websites are not working, the cursor is not changing into pointer and no way to click on any link located at the top of any website page. I reinstalled firefox and it s the same. No problem in others browser. the tool bar is working but not the links inside any web page located between the top 300px height.
    So I can t tlog into any website, i cant write an email as the compose button is located in the top of the page.. Please help, i have all my bookmarks into my firefox...

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode
    *https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

  • "Check Box" in ADF Form is not Working in JDev11.1.1.2

    11gR1 :
    I created an ADF Form in a JSF Page and I deleted one column and draged the same column again as an "ADF selectBooleanCheckbox "
    and in Edit Boolean Binding Dialog : I entered the value selected as 'True' and unselected value as 'False'
    and when I run the Page the data did not Synchronize with the chech box item.
    Note :- although the check box Item is working with Adf Table in example #145 at link http://blogs.oracle.com/smuenchadf
    can anybody help me?
    regards
    Forakora

    Hi,
    just tried and found out that you have to set partial triggers for the af:selectBooleanCheckbox like:
                  <af:selectBooleanCheckbox value="#{bindings.Deptno.inputValue}"
                                            label="#{bindings.Deptno.label}"
                                            shortDesc="#{bindings.Deptno.hints.tooltip}"
                                            id="sbc1" partialTriggers="cb1 cb2"/>
                  <af:commandButton actionListener="#{bindings.Next.execute}"
                                    text="Next" partialSubmit="true" id="cb1"/>
                  <af:commandButton actionListener="#{bindings.Previous.execute}"
                                    text="Previous" partialSubmit="true" id="cb2"/>regards,
    Branislav

  • Links within portfolio not working for me

    Acrobat 9; Word2007;XP
    I gave up trying to have links correctly transfer from msword to pdfs.  So I am manually creating each one in the portfolio i'm building.
    Problem:   The links are not preserved after I save the portfolio and re-open it.
    Setup:  I have a single portfolio with a structure of folders, subfolders and pdf files (all the files in the portfolio are pdf)
                 The links I'm referring to are all within the individual pdf files. They link to other pdf s within the portfolio (pdf-2-pdf).  There are no external links.
                 The link control is a small button image.
    Link creation.   1.  The way I create a link is to open acrobat 9 in modify/edit mode.  Do  tools>advanced editing>link tool.
                              2.   I  drag the crosshair  over the image and get  a 'go to page/set link' popup. 
    (the old link is usually some  localhost link via some temp folder that drills down to the original source file. I have to delete this old link  before A 9  will give me the new 'set link' option)
                             3.   with the set-link panel visible, I open the file I want to be a target set the position, zoom, etc. while that file is open; then press the set-link button.
                             4.   I close the open pdf and return to the porfolio view with the source page and  link on it.
    Results:       The links work fine as long as I stay in the portfolio.  If I save it and close out of acrobat and then reopen and load the portfolio, the links are pointing to the original external source files and don't work.
    Problem - I'm obviously missing something.  I'd  have thought links to files inside the portfolio would be local to the portfolio.  It's what I need them to be.  When the portfolio is sent, it's not going to be dragging the original files along with it - pdf or msword ( i hope not).  So what gives?  What do I fail to understand? How do I correct the problem. (one question really - I just broke it down into parts.. ?=).
    I'd sure love to know what the heck is going on.
    (ps I have checked my settings creating the pdfs and they were set to convert bookmarks, save urls and anything else I could find that remotely resembled something useful.  I also have red Joel's tips.  Nothing helpful there.  )

    Hmm...I think I see the confusion.
    In the black and red samples, we use one XML file to list the
    galleries whilch then loads each individual photos.xml file.
    My photo album tutorial just uses one photos.xml file. I make
    one dataset to get the images and another dataset to get the
    photographer info.
    So go one step at a time. Take gallery_finished.htm and add
    your photos and thumbs to the folders.
    Then replace your XML file with the existing one. Open in the
    browser and it should work. Make sure that your XML nodes are the
    same as the sample one.
    The page you have now shows that 'photos.xml' is in the same
    folder as gallery_finished.htm. So make sure your path is correct.
    Either move the XML file to the same folder or edit
    gallery_finished.htm so that the path to the XML file is correct.
    I know that quick success is important for keeping with a
    project, at least for me. So we want to get this working for you.
    Hope this helps,
    Donald Booth

  • Links using anchors not working properly to some people

    on this site:
    http://www.thevpp.ca
    I used anchors to link the show ads on either side of the page to the appropriate section of the show page. This works perfectly in Safari, Firefox (on mac) and IE (on PC).
    Our client and one other person have complained that the link to "GodSpell" opens "Heart & Soul" in the centre of the page instead of GodSpell, but I cannot duplicate this. I can't find out what browser / version / OS they're using as they don't know.
    Clicking on the GodSpell image on the home page takes you to shows.html#b which is GodSpell. (Heart & Soul is shows.html#a)
    They say the other show links work perfectly. I thought initially their browser might not support anchors, but if the others work, then I don't get why this one doesn't.
    Is there a better way to link these images than using anchors? Could the problem be that the anchor links are within a ProjectVIII scroller?

    A few code errors to check:
    http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fwww.thevpp.ca%2Fshows.html%23b
    I see several problems.  In Firefox 12, the only links that work consistently for me are "Love Letters" and "Sinatra".   If I use the custom scrollbar and go all the way down to "Sinatra," the links don't trigger anything.  Same thing happens in Chrome.
    For an alternate approach, I created a named anchors demo (without tables).  You'll see there is ample space between each of the named anchor regions (view page source to see the code).
    http://alt-web.com/TEMPLATES/FixedLayout.shtml
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb
    http://alt-web.blogspot.com/

  • The links toolbar is not working. I can drag addresses to it, but when I click on them, the sites don't open. How can I fix this?

    There is a toolbar feature in the lower right corner of the taskbar. I tried to set up the Links toolbar. I can drag addresses to this, but when I click them, nothing happens. What should happen is the site/page whose address I clicked should open.
    How can I fix this? Is it a problem with the Firefox I'm currently using?

    I checked out the links you provided. One is dead, one is for Windows 7, which doesn't apply to my problem because I'm using Windows 8, and I've been checking out the third.
    I'm a novice and may not have the right vocabulary to explain myself. The Links toolbar is accessed from the bottom right side of the taskbar at the bottom of the screen. Apparently Firefox is necessary to use this, as everyone I've talked to swears it's not visible for IE.
    What I'm referring to is Right-click "show hidden icons." Scroll up to Toolbars. Scroll over to Links. Check it to enable it. Then what should happen is I should be able to drag the address/url from the top of the page to this menu and click on it when I want to go back to that particular page. That is what is not working. Nothing happens when I click the addresses in the Links menu.

  • Links work in iWeb, but not in browser

    Using a blank template. established a photoshop background and placed transparent rectangles over the images and linked the rectangles. In iWeb (1.1.2), they work fine. but they do not work in the browser. I noticed a problem someone had by accidentally creating "floating" boxes. I have reworked all of my links with no luck. Help!!!
    www.reachthecity.org
    Message was edited by: v-rob

    I answered your question yesterday:
    http://discussions.apple.com/message.jspa?messageID=10520122&tstart=0
    Nothing has changed.
    The footer of the page covers the links.
    The links themselves are 0x0 pixels. The shape-images are 1x1 pixels.
    Whether or not links work in iWeb is irrelvant. They should work in the browser.
    Check, check, check.

  • FireFox 3.6 and Adobe Reader X. Reader X PDFs opened within the browser contain links, which do not work. Anyone got clues on why the links fail and how to fix?

    When we rolled out ReaderX and AcrobatX we uncheck the Diaply PDF in Browser window. OK with IE, but ignored in FireFox (3.6.16). We can live with that except the PDFs have links to other URLs and clicking on them is ignored. Same PDF opened outside the browser the links work fine. FireFox with Reader 9.4.0 no problem. Reader X with IE no problem. I can fix the Display in Browser with a change to firefox.js, but have not figured out how to fix the links when the PDF is displayed within the browser.

    My replies are in Bold.
    Thank you for your response and message.
    1. Are you seeing this problem with all kinds of PDF's or some specific  kinds like secure PDF's (with doc open password or printing  restrcitions), reader extended PDF's or PDF forms.
    This problem is with all kind's of PDF's.
    2. Are you opening a locally saved PDF by doing a drag drop in the  browser or right click and open with IE/FF or directly opening a PDF  hosted on the internet?
    It doesn't matter. However I do it, I see this problem in Firefox, IE & Google Chrome.
    3.  Can you also check the version of the Reader X browser plugin? you  could find it at C:\Program Files\Common  Files\Adobe\Acrobat\ActiveX\AcroPDF.dll. Right click -> Properties  -> Details
    If version is 9.0.x then you could try a clean install of Reader X.
    I have checked it. It's the latest plug-in (though at the moment, I have gone back to Adobe Reader 9.4.1, as I've mentioned before, because I need the reader to be working fine for my work and daily life. I am just waiting for a fix before I try Adobe Reader X again.
    As I've mentioned before, I am seeing this issue ONLY on my Windows 7 Ultimate (Laptop). In the desktop's at work, with Windows XP / Vista, I don't see it. Adobe Reader is working fine, browser integration is fine, the floating tool bar works fine, the right click menu pop' up where the right click is done...I can also save PDF' from the main toolbar at the top and so on...
    I really have run out of ideas.... and I am very surprised that no expert support personnel (if at all there is one) have dropped by or said anything or mentioned anything about this.
    Anyway.... Cheers.

  • 11.2.0.3, DBMS_DATAPUMP import ower db link, DATA_REMAP does not work

    This is related to impdp: should network_link and remap_data work together? that I accidentally marked as answered.
    Documentation says, I can supply NULL as value of schema for DATA_REMAP: See   DBMS_DATAPUMP
    That does not work, it gives an error:
    ERROR at line 1:
    ORA-39001: invalid argument value
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 79
    ORA-06512: at "SYS.DBMS_DATAPUMP", line 3507
    ORA-06512: at "SYS.DBMS_DATAPUMP", line 4309
    ORA-06512: at line 11
    If I give SOURCE_SCHEMA as schema, DATA_REMAP does nothing.
    TARGET_SCHEMA is of course not accepted as TABLE_TO_LOAD does not yet exist.
    The code I am using is something like this:
    set serveroutput on;
    declare
      handlename number;
    begin
        handlename := DBMS_DATAPUMP.open('IMPORT','TABLE', 'SOURCE_DB_LINK','NAME_OF_JOB');
        DBMS_DATAPUMP.METADATA_FILTER(handle => handlename, name => 'SCHEMA_LIST', value => '''SOURCE_SCHEMA''');
        DBMS_DATAPUMP.METADATA_FILTER(handle => handlename, name => 'NAME_EXPR', value => 'IN (''TABLE_TO_LOAD'')');
        DBMS_DATAPUMP.METADATA_REMAP(handlename,'REMAP_SCHEMA','SOURCE_SCHEMA','TARGET_SCHEMA');
        DBMS_DATAPUMP.ADD_FILE(handlename, 'name_of_log','DUMPDIR',NULL,DBMS_DATAPUMP.KU$_FILE_TYPE_LOG_FILE,1);
        DBMS_DATAPUMP.DATA_REMAP(handlename, 'COLUMN_NAME', 'TABLE_TO_LOAD', 'COLUMN_TO_REMAP',  'TARGET_SCHEMA.REMAPKG.REMAPFN',  NULL);
        DBMS_DATAPUMP.START_JOB(handlename);
    end;
    Any ideas?

    Hi,
    seems it is not supported for Network link check this: Ref Doc:DBMS_DATAPUMP
    Usage Notes
    The DATA_REMAP procedure is only supported for Export and Import operations. It allows you to manipulate user data being exported or imported. The name of the remap determines the remap operation to be performed.
    I haven't try this but, are you using the same user/schema name for the data pump operation where your object exist.. if not you can try this option as well. in that case NULL support i believe.
    HTH

  • Link panel is not working in CS4

    The link panel does not show any links. I have tried various workspaces and panel options, rebooting, cursing. Nothing works. No links show. But the links do work. they are not borken. It is just the panel that is broken. Does anyone have any ideas how to get it to work. It did work at one time.

    Perhaps your images are not linked, as they should be, but copied and pasted into the document.
    Check by correctly 'placing' an image into your InDesign, rather than copy/paste or drag/drop -- does it appear in the Links panel?

  • Same link works on desktop BUT NOT on ipad -Help pls!

    Hello,
    I have created ONLY a desktop version of this site, www.frabricci.ca. When I check the link to the clients instgram account (seen on the home page instgram icon & last paragraph of that page, as well as last paragraph on contact page), its works on desktops and on mobile (iphone), yet when viewing the site on an ipad the link does not work. Confused to why this would happen as I've only created one site with the same link - HELP PLEASE!

    Hi
    I tried to check instgram account link from home and page and it works on iPad.
    Can you please let me know the browser details and OS details on iPad that you are using , also please check with different browser.
    Thanks,
    Sanjit

Maybe you are looking for

  • IPhoto won't launch. Please help.

    Asking for to run Software Update to install. But when I run Software Updates from the Apple menu, none are available when prompted. Also, when I visit the Purhcased section on the App Store, it says iPhoto is already fully installed. But it's not wo

  • On certain pages, my screen is flashing just happened I have it for now about three years

    my screen is flashing on certain sites, or parts of some (images, grpahics, etc...). It just happened suddenly

  • Importing Library to another PC

    I just got a new computer for my room but my other computer has my whole itunes library on it. Is there any way I can import my old library onto my new computer or import all of the songs off of my ipod onto my new computer. Thanks for your help!

  • Access to email of decreased family member

    My Aunt was a BT customer and had an email account with you . She is long decresased but I just wondered how I can go about accessing her emails ? It would be beautiful thing to be share them. I ahve the ones she sent me but it would be good to read

  • Web APIs for Skype for Business

    is there a web sdk/api for Skype for Business that does not require any kind of client app and probably uses webrtc or ortc?