How to determine which RAC-instance the appl. is logged onto?

Dear all,
I need to have my application server determine which RAC-
instance is currently active (logged onto). I have a
tnsnames.ora file with a primary-, and secondary RAC-
instance configured, and Failover/Failback between the
instances work fine. However, I would be interested in
determining which instance I am curently using.
Does the Oracle Net Protocol have support for letting me
"read" this out, or...?
Thanks.
Regards, Eldor R.

Thank you for the prompt reply.
Is there, in the Oracle Net Protocol, available
function(s) for reading out this information
directly without "parsing" the trace file?
I would like to read out this information from my
application run-time.
Thanks.

Similar Messages

  • JSF: How to determine which element has the focus?

    Hi all,
    I have a JSP with some input fields and a text area. When I press "ENTER" the data I have entered should be saved. That works fine (I use JavaScript to catch the keyPressed-event). But when I want to insert a new line in the text area, I press ENTER too and this invokes the javascript function. So it�s not possible to insert a new line in the text area. And I don`t want to save the data when I�m just inserting a new line.
    is it possible to determine which element has the focus at the moment of pressing ENTER? if it`s the text area then I won�t save the data and inserting a new line is possible? Or how to say: "Insert an new line if the user presses SHIFT+ENTER" or something like that?
    I�m using JSC for my application and this is my JS-function:
    function checkIt(evt)      
    var charCode = (evt.charCode) ? evt.charCode : ((evt.which) ? evt.which : evt.keyCode);
         if (charCode == 13)
              document.getElementById('form1:bt_Save').click();
              return false;
              return true;
    I�m looking for something like that:
    if(charCode == 13) {
    if(document.getElementById('form1:textArea').hasFocus())
    doNothing...
    else {
    document.getElementById('form1:bt_Save').click();
         return false;
    thanks for any help

    Hi,
    I searched through many forums (js of course too) but
    I couldn�t find a solution. Everybody knows how to
    set the focus but not how to get it. We often use
    JSF/JSP with javascript and maybe somebody here has
    another approach to this problem (how to solve it
    using jsf itself or anything else)?Take easy. I just suggested to search in a JavaScript forum , in your question you didn't mentioned this. Good luck man.
    Cya.

  • How to determine which locale uses the specific process

    Hi,
    I would like to get to know which locale uses the specific process.
    I mean that when the process starts it should use the current system locale.
    Where I can check that information which locale are used by the running process?
    I ask because I would like to make sure that for example when the locale are French or Japanese the process/deamon use the current locale.
    Kind regards,
    Daniel

    VivaLaVida wrote:
    Hi,
    currently we are in the process of consolidating our databases. One of the neccessary steps is to figure out which user connects to the database at all. That's easy, we implemented a logon-trigger and log the collected information into a separate table.It could have been even easier by turning on the built-in audit feature.
    If a user with objects (e.g. tables, views, procedures) exists - but this user never connects to the database - does that automatically mean that these objects are not used at all? No need to say that this is not true. But how can we figure out if a connected user has selected an object of this user?audit would be a good choice.
    Our porblem is that we have alot of schemas in our database - but the developers don't know if this schema is not used by an application or not (sad but true).Not sure what developer will do with used/not used application.
    To enable auditing would be one choice to figure out if an object was ever used or not. What's wrong in auditing ?
    Even though audit may have a footprint on performance, that would probably be less costly than any custom solution.
    Nicolas.

  • How to determine which drive has the most recent backup?

    I have a few drives that contain backups of files. What would be the easiest way to figure out which of the drives has the most recent backup? When I sort by date, the folder shows one date, though the files inside show a different date? Is there a way to quickly check the drives to find which is the most recent?
    Thanks.

    the folder modification date isn't reliable, as is only tells of changed in the folder, but not in subfolders. there is no efficient way. I however highly suggest Time capsule, it is WAY easier and you can ask it not to sync the System data and/or applications, so it would prevent this hassle.
    You could try this: go to the first drive, type different letters, like a for instance, and see which file is the most recent document/folder.
    do the same thing on the other drives and compare.

  • How to config a new remote on apple tv (first generation). I have lost my remote which came with the apple tv

    How to config a new remote on apple tv (first generation). I have lost my remote which came with the apple tv.

    Do you mean you've replaced your remote and it wont work because your AppleTV is paired to your lost remote?
    If so, http://support.apple.com/kb/HT1555 has you covered.

  • How CSSCAN determines which indexes need to be rebuild ?

    Hi everybody,
    i'm currently migrating 3 Oracle databases that contain CP1252 characters unproperly stored in WE8ISO8859P1 instances.
    The key steps of the migration are :
    1. ALTERing CHARACTERSET to WE8MSWIN1252
    2. changing CHARACTER SEMANTIC LENGTH for CHAR and VARCHAR2 columns
    3. truncating data stored in VARCHAR2(4000) columns
    2. Full export
    3. Full import in a ALL32UTF8 instance
    To do all of this (and especially the step 3), i use the CSSCAN utility (very practical !!!).
    And i have a question about CSSCAN: how CSSCAN determines which indexes need to be rebuild. What is the logic ?
    Looking at the CSSCAN report, i have a lot of cells/columns that are affected by the characterset migration, and i have just a few index to rebuild.
    Why would i like to understand the logic ? Because i would like to rebuild ONLY indexes that REALLY need to be rebuilt and i am not sure that all the indexes specified by CSSCAN really need to be rebuilt.
    Thanks for any information about that.
    (and sorry for my english)
    NB: i have managed "function-based indexes" specifically: i drop them before the export, and i recreate them after the import. So my question mostly target the "regular indexes"

    1. All indexes whose key contains at least one character column with convertible or exceptional data, excluding indexes with names equal to some constraint name for the same owner.
    plus
    2. All functional indexes on tables that have columns needing conversion, excluding indexes with names equal to some constraint name for the same owner.
    The condition regarding constraints does not seem to be very fortunate but it comes from times when the appropriate flag in index metadata was not yet available.
    But note that in your migration scenario, you do not actually have to care much about indexes. Step 1 & 2 do not need any modifications to the user data and hence to index contents. Step 3, if done through UPDATE, will modify affected indexes automatically. Step 4 does not affect the database. Step 5 will recreate all existing indexes anyway.
    -- Sergiusz

  • White screen with a crossed out circle which flickers to the Apple logo sometimes, but won't open. What can I do to open it?

    Help!!  I'm in Belize (not a good place to be with an Apple, as international as you may claim to be!) and my computer decided to "quit" thusly:
    White screen with a crossed out circle which flickers to the Apple logo sometimes, but won't open. What can I do to open it? (I do have my recently backed up data with me, but no loading discs for my computer.
    Hoping there is a solution,
    Diana

    The make of the disk doesn't really tell us how your data is being backed up onto that disk. Do you know what software it uses?
    For example Time Machine copies files every hour in a way that is not bootable, but you can extract those files & get all your data back into a working OS.
    Carbon Copy Cloner duplicates a disk in a way that is bootable - it would appear when holding alt at startup so you could use that to boot & inspect the state of the internal disk.
    It may also be Seagate's own software that does something different.
    Please try recovery mode, if that works you can try repairing the disk in Disk Utility.
    OS X: About OS X Recovery - Apple Support
    If that works, select Disk Utility & see if the internal disk can be repaired in the first aid tab.
    Recovery mode can also download OS X & reinstall it, however you really need to know if the backup contains everything before that is attempted, otherwise you may lose data. The OS is also around 5GB so you may have issues if your internet is capped or unstable etc.
    P.S.
    I have no idea if this is helpful, but there may be help out there…?
    http://belizeyp.com/Belize/I-T-Engineers-Consultants/profile
    https://www.google.com/maps/place/VIP+wireless/@17.4938135,-88.1914518,4205m/dat a=!3m1!1e3!4m2!3m1!1s0x8f5c583ff12cb605:0x17a5a2f97fc838c3?hl=en
    Search & ask around, you may find some help, try recovery mode first.

  • How to determine which elements are queryable via Web Services QueryPage

    I am trying to query opportunities by associated opportunity product revenue records, but I continue to receive errors like "Unexpected text: = '9598015'".
    From reviewing the forums, it looks like this is when I am querying a field that is not defined to be queryable.
    Could someone please tell me how to determine which fields are queryable on a particular record type like this? I have tried using basic short text fields and indexed short text fields - but continue to receive the error message above.
    Thanks in advance.

    I found at least partial answers to my questions.
    MessageContext.getPropertyNames() can be used to see the properties on a given flow.
    MessageContext.getProperty(prop) can be used to get information for paroperties such as:
    prop=javax.xml.rpc.service.endpoint.address
    prop=wsdl.portName
    -- Frank

  • How to determine which new add-ons were installed?

    I am troubleshooting on a system that I use regularly, but I am not the primary user. When I started Firefox today I got an Add-ons window saying that "3 new add-ons have been installed". I'd like to know which 3 are the newly installed add-ons, because I suspect they are things my mother agreed to inadvertently. This system now has 15 Extensions, 1 Theme, and 17 Plugins installed, including the 3 new ones. Is there any way for me to determine which 3 are the new ones? By the way, I'm not entering this question from the system inquestion, so any info of that type that gets appended to this submission should be ignored. The system in question is running Windows XP Home SP3 and Firefox 3.6.10.

    Pre-Deployment Planning — Enterprise Administration Guide States "
    Installing Acrobat DC Standard¶
    Acrobat DC products delivered via an ESD EXE download provide one installer that is used for both Acrobat Standard and Professional. The serial number you use determines which product is installed. What’s important to note is that when you extract the Acrobat ESD EXE (Acrobat_DC_Web_WWMUI.exe or Acrobat_2015_Web_WWMUI.exe), you’ll see AcroPro.msi in the output folder. This is the correct behavior. Simply remember to use AcroPro.msi in any command line scripts.
    Note
    Existing scripts that use AcroStan.msi should be updated."
    Both Acrobat DC Pro and Standard have KEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Adobe\Adobe Acrobat\2015\Installer ENU_GUID {AC76BA86-1033-FFFF-7760-0E0F06755100}
    On the laptop with DC standard installed C:\ProgramData\regid.1986-12.com.adobe\regid.1986-12.com.adobe_V7{}AcrobatESR-12-Win-GM-e n_US.swidtag
    On the laptop with DC Pro installed C:\ProgramData\regid.1986-12.com.adobe\ is empty
    Your guide does not have any information regarding Acrobat DC. Please explain how to verify if Acrobat DC Pro or standard is installed. or explain how to get the ENU_GUID for standard to start with {AC76BA86-1033-FFFF-BA7E.

  • 5s How to determine which version of operating system is currently installed

    How can I determine which version of the operating system is currently installed in my 5s without having to go to iTunes using my PC?

    Tap Settings > General > About.

  • How can I do to install the apple store that I deleted from Maveriks?

    how can I do to install the apple store that I deleted from Maveriks?
    thanks you
    <Email Edited by Host>

    Continuing what I linked last time, this is an older thread that covered a similar problem.   Preview, Fontbook, Maps not working...: Apple Support Communities
    See the post by MacJack which was awarded solved.

  • How to determine which chipset my Satellite L300/700 has?

    I have a SATELLITE L300/700 (PSLB8A-047004). The User Guide covers several models. It indicates that the chipset determines which memory modules I need for a memory upgrade. How do I find out which chipset I have, please?
    Kev.

    > I'm still curious about how to determine which chipset I have - any thoughts?
    Go to the device manger and click on IDE Ata/Atapi controllers:
    http://img814.imageshack.us/img814/7321/chipset.jpg
    There you will see your chipset installed on your laptop. In my case, as shown on the screenshot is Intel ICH9m

  • How many times should I run the APPLE TEST HARDRIVE/DRIVE on my macbook?

    how many times should I run the APPLE TEST HARDRIVE/DRIVE on my macbook?

    Do you mean your hardware tester or Disk Utility?
    -Bmer
    Mac Owners Support Group - Join us @ MacOSG.com
      Mac611 Mobile Mac Support - about.Mac611.com
       iTunes:MacOSG Podcast | YouTube.MacOSG.com
                       An Apple User Group 
    Have an iPhone or iPod touch? Enter Mac611.com in Safari on it for 'mobile Mac support.'

  • How can I transfer movies from the apple tv to the ituenes, to watch in the ipad?

    how can I transfer movies from the apple tv to the ituenes, to watch in the ipad?

    Is this a rental or a purchase?
    Rentals on ATV cannot be transferred.
    The 2nd and 3rd gen model do not have accessible storage. Some movie purchases are stored in iCloud (if you live in the US) where you can reload in iTunes on your computer)
    If you own the 1st gen aluminum model then it should be set to sync
    http://support.apple.com/kb/HT1143

  • Do you need to use an email as an apple ID?    We have a family email which is currently the apple ID so I can keep track of purchases but i have 2 iPhones and 2 itouches. Can all 4 devices have different apple ID under the same email address. Also for th

    Do you need to use an email as an apple ID?    We have a family email which is currently the apple ID so I can keep track of purchases but i have 2 iPhones and 2 itouches. Can all 4 devices have different apple ID under the same email address. Also I wanted to know because for the game center we wanted to keep track of each individual not just o e account.  DID I MAKE SENSE

    Figured it out. Thanks.

Maybe you are looking for

  • TRX F150 -Dunning

    Dear colleagues, Further to the lauch of trx F150 for dunning I get a spool and I could print it but I need to turn it into a pdf and send it to an e-mail customer's address. In case I have a spool that has several reminders for payment relating to d

  • Problem receiving acknowledgement: abap proxy == file adapter

    Hi experts, I am developing an asynchrone interface using PI 7.0. The scenario is: SAP ==> FILE. In SAP I have created an abap proxy in wich I requested an acknowledgement when calling from the abap code. In PI I have created an Integration Process w

  • Open PRs by date on ME41

    Hi all, while creating RFQ in tcode ME41, there is an option to create RFQ with reference of PR and that option also provide selection of open PRs only. I want to change this option as Open PRs on a particular date interval. Any idea to do this witho

  • MY EFFECT PRESETS DISAPPEARED

    In Adobe 3.0 I seem to be able to access the plugins but all the presets that they originally came with, as well as the ones I had added have disappeared. Does anyone know how to restore them?

  • Where are javadoc for Oracle 8?

    Wow, this site is so horrendous. I am constantly going around my elbow to get to my a__. We use Oracle 8i. We are not using 9. I would like to download the correct jar with the Oracle drivers for Java 1.4.1 and Oracle 8i and also the JavaDoc for Orac