Multi Data Source, Fail Over, Read-Only detected as unavailable

We are using WLS 10.3.6.0 with WebCenter Content (WCC) as the application.
For the production back end, RAC will be be the production DB and we need to support failover to Data Guard.
We set up a Multi Data Source (MDS) with the first simple Data Source pointing to RAC and the second Data Source pointing to Data Guard.
Upon testing, this scenario basically works correctly: when RAC is shutdown and Data Guard enabled, the switch occurs and the app works against Data Guard. And conversely, when Data Guard is shut down and RAC brought up, MDS will revert to pointing to RAC and the app will work correctly.
However the DBA insists, that the alternate Data Source should not need to be completely down but should be able to be in a read-only state and the MDS should detect that if it is in a read-only state, it will be counted as unavailable and try to use the alternate Data Source. This does not work with the default set up, I see in the logs that a connection can be made to the read-only DB instance which will not work at all with the app and is not what is desired by the customer.
Is there a way to configure the MDS so that if a Data SOurce is only available as read-only, the alternate Data Source will be used?

I may be able to describe a trick... Try setting the "test table" property of the DataGuard DataSource
to some update statement, ideally one to a otherwise unused table. eg:
SQL update myJunkTable set foo = 1 where 1 = 0
This won't actually update the table (which could have zero rows even) but I hope the
read-only DBMS would throw an exception anyway, and this will give WLS the impression
it can't get healthy connections, and That DataSource won't be used, until the read-only
status is removed.
However, from a standard point of view, a read-only DBMS may be perfectly useful for some applications,
so that is not of itself a reason for WLS not to use it.

Similar Messages

  • Multi data source and global transactions

    hi
    i am working on JDBC multidata source connectivity.... to resolve one error of "lock in doubt held "
    was searching through oracle sites got some recommendation as
    **Disable server side load balancing for each of the pools. This can be done by setting the INSTANCE_NAME attribute in your JDBC connect descriptor aliases.**
    **For example:**
    **jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=tcp)(HOST=MYDBHOST1)(PORT=1522)))(CONNECT_DATA=(SERVICE_NAME=MYDB)(INSTANCE_NAME=MYDB1)))**
    **If you miss the INSTANCE_NAME attribute in your JDBC connect descriptor, the Oracle TNS Listener could still redirect you to some other instance depending on the load on the instance in question.**
    now i m unable to understand which data sources is to be updated with this URL multi data source or the target data sources
    can some body give me some clue........

    Every datasource in a MultiDataSource must have a URL that ensures that every connection
    in a given DataSource is always, only to one specific and unchanging RAC node.

  • Excel 2007 = Refresh All = Error Message "Initialization Data Source Failed"

    Excel 2007 => Data Tab - Refresh All => Error Message "Initialization Data Source Failed
    2nd Error message:
    The following data ranged failed to refresh:  ExternalData1 - Continue to refresh all
    How do I resolve this? Trying to connect to Oracle DB environment 12C

    What will happen if you rebuild the PivotTable/Table ?
    Make sure the external database is available and the Oracle Provider for OLE DB is installed correctly.
    Wind Zhang
    TechNet Community Support

  • OIM 9.1.0.2 - Weblogic JDBC Multi Data Sources for Oracle RAC

    Does OIM OIM 9.1.0.2 BP07 support Weblogic JDBC Multi Data Sources (Services>JDBC>Multi Data Sources) for Oracle RAC instead of inserting the "Oracle RAC JDBC URL" on JDBC Data Sources for xlDS and xlXADS (Services>JDBC>Data Sources> xlDS|xlXADS > Connection Poll> URL) ?
    If yes, is there are any other modifications that need to be made on OIM, or just changing the data sources?

    Yes, it's supported. You install against one instance directly of the Rac Server. Then you update the config.xml file and the jdbc resource in your weblogic server with the full rac address. It is documented for installation against RAC. http://docs.oracle.com/cd/E14049_01/doc.9101/e14047/database.htm#insertedID2
    -Kevin

  • Creation of the export data source failed

    trying to activate ods but getting this message that the creation of the export data source failed.
    and it also gives message that RFC Connection to source system is damaged===> no metadata upload
    Please can someone help me with this.
    Thanks in advance.
    Michelle

    Hi,
    Check ur source system connection. by going to RSA1-> Source System-> right click and then select check.
    U will get the info about the source system Connection. IF RFC has failed then better be in touch with ur basis.
    Or try restoring ur source system connection by
    Source system-> Restore.
    Its sets all the default conenctions b/n ur systems.
    Once again check the connection now. if it says ok.. then try do the export data source and then assign the data source to info source and then maintain the Update rules..
    Hope this helps-
    Regards-
    MM

  • Can't Create a Data Source - Failed to test connection. [DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access denied

    Hi there,
    I am having a serious issue with The Power BI Data Management Gateway which I am hoping that someone can help me with.
    Basically I am setting a connection between a Power BI demo site and a SQL 2012 Database based on Azure. The Data Management Gateway and is up and running, and Power BI has managed to connect to it successfuly.
    By following the tutorials at
    here I was able to successful create my Data Connection Gateway with a self-signed certificate.
    However, when trying to create the data source I come into problems. The Data Source Manager manages to successfully resolve the hostname, as per the screenshot below:
    Bear in mind that I exposed the require ports in Azure as endpoints and I managed to modify my hosts file on my local machine so I could access the SQL server hosted in Azure using its internal name -- otherwise I would not be able to get this far.
    However the creation of the data source also fails when trying to created it whilst logged in the SQL server in question:
    The Data Source Manager returns the error when using the Microsoft OLE DB Provider for SQL Server:
    Failed to test connection. [DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access denied
    I tried using the SQL Server Native Client 11.0 instead but I also get an error. This time the error is:
    Failed to test connection. Login timeout expiredA network-related or instance-specific error has occurred while establishing a connection to SQL Server. Server is not found or not accessible. Check if instance name is correct and if SQL Server is configured to allow remote connections. For more information see SQL Server Books Online.Named Pipes Provider: Could not open a connection to SQL Server [53]. 
    Some considerations
    If I provide an invalid username/password, the Data Source Manager does say that the username and password is incorrect.
    Firewall is turned off in the SQL Server (either way, this error also happens if I try top use the Data Source Manager whilst logged in the SQL Server itself).
    SQL Profiler does not show any attempt of connection.
    The SQL server instance in question is the default one.
    The error happens regardless if I select the option to encrypt connection or not.
    In SQL Configuration manager I can see that all protocols are enabled (TCP/IP, Named Pipes and Shared Memory.
    The Event Viewer does not provide any further errors than the one I have copied in this post.
    I'm at a loss here. Could someone please advise what might I be doing wrong?
    Regards,
    P.

    Here is what I had to do to solve this issue:
    Basically I had to add the MSSQL TCP/IP port as an end-point in Azure. After I did that, then I was able to create the data-source. However, I was only able to authenticate with a SQL account, as any domain account would return me an error saying that the
    domain isn't trusted.
    What puzzles me here is how come the Data Source Manager would inform me that an account username/password was invalid, but it would fail/timeout if I provided valid credentials (!?!?!!?)

  • Weblogic Server 10.3.6.0.8 one of data sources failing while other 6 not

    Hello,
    I have 7 data sources connecting to the same database schema. After I upgraded the environment (production) day before yesterday evening I noticed one of the data sources start failing with exception below:
    "Connection test failed with the following exception: weblogic.common.resourcepool.ResourceUnavailableException: No resources currently available in pool ePayBatchDS to allocate to applications.
    Either specify a time period to wait for resources to become available, or increase the size of the pool and retry.."
    The data source capacity size is Min:1 Max:30, I increased to be as 1-50, after change it is worked for 15 minutes then it back again giving the same error message above. Please not that I have in production two servers as high availability approach however I upgraded one of them till now only and the same data source in the old server not failing.
    Please advise.
    Old Environment Specifications:
    Weblogic Server version: 10.3.4.0
    OS: Sun OS10 SPARC 64-bit
    JDK: 1.6.0 update 32 64-bit
    New Environment Specifications:
    Weblogic Server version: 10.3.6.0.8
    OS: Solaris 11.1 (64-Bit Mode) SRU 20 (18 June 2014 patchset).
    JDK: 1.7.0 update 55 64-bit
    Thanks,
    Mohd.

    Hii,
               No resources currently available in pool ePayBatchDS to allocate to applications.
    This exception cleaarly shows the connection are not available to allocate to ePayBatchDS  datasource.
    As you said there are altogether 7 data source out which six are working and one is not.
    In general if you are creating a datasource and providing a connection pool size we should consider the number of connection available or allowed at the database side as well.
    Please cross check at the DB side the number of connection available and based on that try to tune the connection pool size in your data sources.
    Regards,
    Abdul

  • Time Capsule backup failed, volume read-only, can't delete

    I've only been using Time Machine and Time Capsule for 2 months. This week it stopped working. First error message:
    "Unable to complete backup. An error occurred while copying files to the backup volume."
    Checking the Time Machine preferences, "Last backup" would read "backup failed"
    When I got this error, all the wireless functions went offline, even thought the TC light was still green.
    I would shut down, shut down the Time Capsule, shut off my modem reboot everything in order.
    I would come back online, but after about 20 minutes to 1.5 hours into the next backup, same thing would happen again.
    Next error message:
    "Disk repair. The disk 'Backup of [my computer]' was not repairable by this computer. It is being made available to you with limited functionality. You must backup your data and reformat the drive."
    Then: "Time Machine Error: The backup volume is read only. To select a different volume ... Time Machine preferences ... "
    I spoke to someone at Apple, who sent me the Time Machine Troubleshooting page:
    http://support.apple.com/kb/HT3275?viewlocale=en_US
    Steps I went through:
    1. updated my system software
    2. updated the TC firmware to 7.4.1
    3. dragged the sparsebundle to DiskUtility. It took a while (more than an hour?) but said the disk could not be repaired. When I tried again, the repair function wouldn't run.
    4. tried to delete the sparsebundle, but it would choke at almost the end, sometimes it would just crash the finder, sometimes say "Sorry, an unexpected error occurred," sometimes "Operation cannot be completed because the item 'bands' is in use." I even tried to Stuff the bundle with 'delete original' checked, but the stuffing, after about 15 hours, jammed near the end (stuffed 20 gigs of 35 gigs).
    5. tried to reselect the TC, and run backup anyways ... now it can't find the volume, back to the error messages and crashing Finder
    6. checked password in Keychain, all ok.
    Now what??
    Do I use Airport Utility to erase it? At least TC is still showing up there. Or press the rest button on the back of the Time Capsule to reset to factory defaults?
    I've resigned myself to losing my backups. Now I would just like to get it up and running again.
    In hopes,
    Linda

    Now what??
    Do I use Airport Utility to erase it? At least TC is still showing up there. Or press the rest button on the back of the Time Capsule to reset to factory defaults?
    Yes, open Airport Utility and erase the drive. Once the sparsebundle is corrupted beyond repair there's little more you can do. However, do not reset the TC. Doing so will not erase the drive, but it will remove any custom configurations you may have setup for the router. Only if that part of the TC is also misbehaving should you use the reset button.

  • Fill in form using XML data source usable in Reader

    I have a simple example of a scenario we need to solve. Different branches will fill out a form (designed in LiveCycle 8) and by entering their branch number static information will be filled in. I want to store the static infomation for all branches in an XML sheet that will be stored on a shared folder on the intranet.
    The problem I have is getting the script to run in Reader. In preview in the Designer and using the import data function of Acrobat Pro it works fine. I think I am missing the script to import the data to work in Reader. I have not been able to find anything in the documentation to point me in the right direction. I have also had a case open with Adobe support for 2 months.
    Any help would be appreciated.
    Kris
    Below is the script in the exit event of the Text field BranchNumber:
    ----- BranchInfo.#subform[0].BranchNumber::exit: - (FormCalc, client) ------------------------------
    xfa.host.resetData("xfa.form.BranchInfo.#subform[0].Party_Code")
    Party_Code.clearItems()
    var BList = ref(record.Branches)
    for j=0 upto (BList.nodes.length -1) do
    xfa.resolveNode("BranchInfo.#subform[0].Ph") = BList.nodes.item(2).name
    if (BList.nodes.item(j).BranchCode.value == $) then
    xfa.resolveNode("BranchInfo.#subform[0].Full_Company_Address") = BList.nodes.item(j).Full_Address.value
    var List = ref(BList.nodes.item(j).SPCS)
    if (List.nodes.length == 1) then
    xfa.resolveNode("BranchInfo.#subform[0].Party_Code") = BList.nodes.item(j).SPCS.SPC.value
    elseif (List.nodes.length > 1) then
    for i=0 upto List.nodes.length -1 do
    BranchInfo.#subform[0].Party_Code.addItem(List.nodes.item(i).value,"")
    endfor
    endif
    xfa.resolveNode("BranchInfo.#subform[0].Ph") = BList.nodes.item(j).PH.value
    xfa.resolveNode("BranchInfo.#subform[0].Fax") = BList.nodes.item(j).FAX.value
    xfa.resolveNode("BranchInfo.#subform[0].Member") = BList.nodes.item(j).Member.value
    break
    endif
    endfor
    Below is the xml data file for this test:
    <BranchInfo>
    <Branches>
    <Branch>
    <BranchCode>123456</BranchCode>
    <Full_Address>123 First RD #02 BOX 2222, DARTMOUTH, NS, B7W 1X9</Full_Address>
    <PH>9025551234</PH>
    <FAX>9025556789</FAX>
    <Member>991AP991P</Member>
    <SPCS>
    <SPC>NS-6379</SPC>
    </SPCS>
    </Branch>
    <Branch>
    <BranchCode>123882</BranchCode>
    <Full_Address>BOX 55 Second ROAD PLAZA, ST JOHN'S, NL, A9N 1X1</Full_Address>
    <PH>7095552345</PH>
    <FAX>7095557890</FAX>
    <Member>991AP222P</Member>
    <SPCS>
    <SPC>NL-706</SPC>
    </SPCS>
    </Branch>
    <Branch>
    <BranchCode>123333</BranchCode>
    <Full_Address>333A Third ST, ST STEPHEN, NB, E9A 2Z3</Full_Address>
    <PH>5065553333</PH>
    <FAX>5065559999</FAX>
    <Member>991AP333P</Member>
    <SPCS>
    <SPC>NB-10269</SPC>
    </SPCS>
    </Branch>
    </Branches>
    </BranchInfo>

    Hi Jeroen,
    to have a user fill in, you first need to create a Web Dynpro application providing the offline form, e.g. through a download - tutorial at http://sdn.sap.com/irj/sdn/downloaditem?rid=/library/uuid/2dd3dbcd-0401-0010-55b8-b10808ff688e - or an e-mail - tutorial at http://sdn.sap.com/irj/sdn/downloaditem?rid=/library/uuid/b040e6cd-0401-0010-268d-f67cf4904358
    On the return trip, the user-entered data is stored in the SAP backend via the Web Dynpro context. (You do not store the raw XML, the data is back-converted by ADS to Java.)
    In the fourth step, you will have to provide a Web Dynpro
    application with an online form, which can be part of the same project, but basically generates the form again for completion.
    If you want to use the same form that was submitted, you have to have your app store the submitted PDF (do not submit only the XML) in the backend (through the WD context), and then call that one up in the online scenario.
    Cheers,
    Markus

  • BPM and multi data sources for users??

    Hi all
    can BPM read users from more than Data source?
    my case is i want to create from BPM Admin Center a Directory Service(or more than one) , so i can read users and groups from ldap AD and DataBase ....or from 2 ldaps
    Thanks

    Federated directory support was added in 10gR3. This is done at the web application level, such as the workspace and allows the workspace to connect to multiple directories and provide a consolidated interface for users. This is configured through the workspace.properties file but I am not sure how much documentation exists.

  • How to make data of responsabilitys in read only for users

    hi everyone
    i need help to find a way to make all datas in the E-Business suite application in read only. i try to attach the diffirents responsabilitys with options profiles but i cant make this process work
    if anyone please know any way to help to make this work it will be mush appreciated.
    Thanks in advence
    My said ABAROUN

    So you'd better ask this in the E-business forum.
    Sybrand Bakker
    Senior Oracle DBA

  • Data warehouse backups and read only tablespaces

    Hi all,
    I am working on a data warehouse database with following specs:
    Version: Oracle 10.2.0.3 Enterprise
    OS: Solaris
    App: Data warehouse
    We use RMAN to take 'level 0' & 'level 1' backups. We have block change tracking enabled and RMAN backups up data files and archive logs straight to tape.
    I am exploring ways of reducing the 'level 0' backups and was specifically focussing on using read-only tablespaces for this purpose.
    I have often seen it mentioned that a best practice in D/Ws is to store the old static partitions of fact tables in read only tablespaces so as to reduce the backup size.
    In case you have already implemented such a scheme, I would like to know how you have implemented it.
    I am thinking of the following mechanism:
    -- Start using backups at tablespace level rather than 'level 0' at database level.
    -- Record the latest SCNs of all datafiles prior to back up.
    -- If the latest SCN has not changed since last backup and the tablespace is in read only mode then
    -- Check if a backup copy of the tablespace has been done within the recovery window and is accessible.
    -- If the copy exists then don't backup that tablespace, else backup the tablespace.
    -- If the tablespace is read/write then back it up.
    I haven't delved into the low level details, but this seems to be lot of work. So just wanted to know from you if there's any ready made feature which makes all this easier.
    Many thanks in advance.

    Thank you so much for your help.
    Backup optimization was indeed the thing I was looking for. To be honest I had done a bit of RTFM, but I didn't check the advanced user guide.
    Although my specific question has been answered, it would be interesting to know what other things other people are implementing to reduce backups etc.
    I am also thinking of following options:
    -- Turn on index monitoring to get rid of unused indexes.
    -- Stop the backups of 'index' tablespaces.
    -- Archive off old data.
    Any other ideas for reducing DW backup size?
    Many thanks.

  • DBMS - Data not visible to read only account users.

    I have created below view to know the status of my batch jobs which run on server every sunday.
    CREATE OR REPLACE VIEW CAFDB_REFRESH AS
    SELECT
    log_id,
    owner,
    to_char(log_date, 'DD-MON-YY HH24:MI:SS') TIMESTAMP,
    job_name,
    status,
    ERROR#,
    run_duration,
    instance_id,
    additional_info
    FROM user_scheduler_job_run_details;
    it is working fine and i am able to get the information.
    now to make it visible to read only account users - using "grant select " i have given access and also created public synonym.
    but it is showing only column names in read only account not the data.
    how to make this visible to read only account?
    please guide.

    USER_ views will only have the objects owned by the user running the query..In your case it will have only the schedules done by the user.
    You will have to ue ALL_ or DBA view (all_scheduler_job_run_details)

  • Why my Data form is  still read only

    Hi All,
    I have created a planning application with the following dimensions
    Accounts, Entity, Scenario, Year total, version and currency.
    In entity dimension I have the following members
    Entity
    UK(level 0)
    US
    North Carolina
    Charlotte (level 0)
    Australia (level 0)
    In version dimesion I have two members draft1 as standard bottom up and draft2 as standard target.
    Data Form's Layout*
    PAGE : DESCENDENTS (SCENARIO), DESCENDENTS (ENTITY),DESCENDENTS (SCENARIO), (DRAFT1,DRAFT2)
    ROWS : DESCENDENTS (ACCOUNTS)
    COLUMNS : IDESCENDENTS (YEAR TOTAL), ISIBLINGS (FY12)
    After creating the data form, I tried to enter data in the Charlotte (level 0) but it is in read only form even though I select the version as draft 1 ( standard bottom up) . How can I overcome this issue.
    Kindly guide me.
    Thanks and Regards
    ChiDam
    Edited by: ChiDam on Jan 19, 2012 9:33 AM

    Hi KP,
    Thanks for your reply. The year total and period dimensions are set as columns in data form layout. We know that we won't select the member of the dimensions which are mentioned in columns but we select the member of the dimensions which are mentioned in pages. Also we checked which you have mentioned in the previous post. Is there any other possibilities to overcome this issue.
    Thanks and Regards
    ChiDam
    Edited by: ChiDam on Jan 19, 2012 12:51 PM

  • Voice over reading only the message from notices

    I want voice over to read recieved sms and emails. the thing is I want it done automaticly (wich works) but I dont want it to read any info like headlines, sender, wich app the notice is from etc, I want it to read ONLY the message. is this possible? the purpose is an art installation.

    I want voice over to read recieved sms and emails. the thing is I want it done automaticly (wich works) but I dont want it to read any info like headlines, sender, wich app the notice is from etc, I want it to read ONLY the message. is this possible? the purpose is an art installation.

Maybe you are looking for

  • JNI_CreateJavaVM trouble; returns -4

    Hello all, Has anyone seen a problem with the JNI_CreateJavaVM function returning a -4? This problem is happening on one our client machines that has Windows Server 2003, SP1 installed. This problem only shows up when using a web client. Console appl

  • Internal production Labels

    I have a question on Handling unit management, we are using this application for product traceability. Creating internal labels for semi finished products & customer labels/internal labels for finished products. Following information required on the

  • Fld selectn for mvmt type 673 / acct 407300 differs for Business Area (033)

    Hi All, I am implementing the Inetrcompany return process for the client. 1) I have created a intercompany Return PO (NB doc type) . 2)  Created a delivery against this PO. 3) when i am posting goods issue for this Return delivery , i am getting this

  • Can Raw Material Be Procured Traded through 3rd party Process.

    Dear Experts, Can Raw mAterial Be traded through 3rd P Arty Process. As I am getting Error As Not possible to determine Consumption account.

  • Pixel/compression trade off

    Picture qulaity appears to be a trade off between the number of pixels you have & the amount of compression that is applied when saving a JPEG . Is there any gide or rule of thumb that you can provide that will tell which is best for your needs?   Fo