Data source for application using both pooled and non pooled connections

Hi guys.
I am integrating Oracle's connection pooling into an existing application that had formerly used dbConnectionBroker. It looks like this task should be quite straightforward. However, for consistency, I would also like to replace other Connection logic within the application to use Oracle classes. This will involve using OracleDataSource to obtain a Connection object. ( without pooling ).
So in this case, the application will use both pooled and non pooled Oracle connections. They will be connecting to the same database. The question I have is in regard to the use of data-sources.xml.
Are there any special considerations for the required attribute values within data-sources.xml under this scenario ?
Help will be greatly appreciated.
Regards.
Steve.

Hi Steve -
It should be feasible for you to define a single datasource using multiple location entries to indicate what sort of pooling behaviour you wish to use.
If you lookup and use the "location" attribute, you will receive a javax.sql.DataSource object which will not provide connection pooling.
If you lookup and use the "ejb-location" attribute you will receive a DataSource object that will support connection pooling operations.
Note that this is using the emulated datasource approach, and transaction support is limited to a single resource (one database) for these datasources - you won't get 2PC support for transactions.
If you need a transaction to span two separate resources (ie two databases in same tx) then you will need to use the non-emulated datasource approach.
There is a chapter in the J2EE Services Guide which describes the datasource model we have with OC4J. This might provide you with some more useful information. See Chapter 11 - http://otn.oracle.com/docs/products/ias/doc_library/903doc_otn/generic.903/a97690/ds3.htm#1004903
cheers
-steve-

Similar Messages

  • What are the data sources for 0FIGL_V10 cube Balance Sheet and Profit& Loss

    What are the data sources for 0FIGL_V10 (G/L (New): Balance Sheet and Profit and Loss) cube. and whether we can install business content regarding this.
    Please help me out.
    thanks,
    sapsdnhelp

    Hi,
    Check this:-------
    Urgent: Relevant Master Data Data Sources for FI-GL  & FI-AP
    http://help.sap.com/saphelp_nw04/helpdata/en/04/47a46e4e81ab4281bfb3bbd14825ca/frameset.htm
    Regards,
    Suman
    Edited by: Suman Chakravarthy on Sep 28, 2011 7:33 AM

  • Can I use both Wifi and a Lan connection at the same time?

    With me back in the dorms I have been limited to a slower connection than what I would like. Now we are able to use both Wifi and a Lan line so I was wondering to somewhat "double" my speed if there was any way to use both connections at the same time.
    Now I know that you can have both plugged in at the same time, I guess what I'm asking is, is there a way that I could set programs to use one or the other? Or some kind of virtual desktop that is set to use the other connection or anything that would allow both be used at the same time.
    Or am I just wishing for something that doesn't have any possible way to work?
    -nathan
    MacBook pro 2.16 C2D 2gb ram   Mac OS X (10.4.8)  

    You can use both at the same time, but not gor Internet access if that's what you're asking.
    Now there is a thing called Link Aggregation, which combines a number of interfaces for speed/redundancy, but it really only works locally, and then only with ALL special equipment in the route, and most likely OSX Server involved.
    Sorry.

  • Alternate Data Sources for Application

    Does anyone know how to set up a Portal application that can run off of a schema or database outside of the portal SID? The only data I can set up is for things visible within the SID that the portal runs off of. I want to hit an entirely different database server or at least a different SID on the same box.
    Thanks,
    Ben

    You can look at the pl/sql adapter feature available in 902 which allows you to share db portlets between portals as in web portlets

  • Data source for deposit advice xml and check writer xml

    Could someone please tell me where I can find the data source for the Deposit Advice XML and Check Writer XML programs. Since these executables are now a spawned process (PYUGEN), I don't know how to get to the data source. I was able before to look at the queries in PAYUSPST.rdf and PAYUSCHK.rdf. Where are these queries located now? Any help is appreaciated.

    Hi All,
    I applyied the patch 6399100 and i got the seeded Check Writer (XML) and Deposit Advice (XML) programs.Im able to run the Check Writer (XML) with Parameter (Check Style :Seeded Archive Check Writer Template ) but where as the im unable to run the Deposit Advice (XML) due to Error msg: "No enties found for list of vales"for the 'Check Style' Parameter.
    And for the above (only for Deposit Advice) i am not able to ecexute the SQL script given in the Doc ID : 459306.1 due to the error msg : cannot insert NULL into ("HR"."PAY_REPORT_CATEGORIES"."REPORT_GROUP_ID") if i see query the select * from apps.pay_report_categories where short_name like 'ARCHIVE%' there is no record exixts for ARCHIVE_DEPOSIT....
    for this we required any other patch/setups.
    And is the "Third Pary Check" will support XML Publisher ??
    Any respose will be greatly appriciated.
    Thanks,
    Madhu
    Message was edited by:
    user589951

  • Both blocking and non-blocking io

    I'm wondering if this scenario is possible with the new nio classes:
    I have a caching server. Clients connect to the server and occasionally send requests for objects. I'd like to use the nio non-blocking APIs to detect that there is a read pending on a socket. However, once I detect this, I'd like to go into a blocking loop to process the request. After this done, I'd like to go back into non-blocking mode and wait for another request.
    It seems like this should be possible but the (woefully lacking) documentation isn't clear. Neither is the source code, apparently.
    I've got a test case working but I was hoping someone could validate for me that this is support behavior. It's done by waiting for the isReadable() key then calling socket.keyFor(selector).cancel(); and then socket.configureBlocking(true); The reads are then done in blocking mode until the request is done and then the socket is registered with the selector again.
    Thanks for any help on this.

    I have to ask why you would want to mix blocking and non-blocking I/O.
    The only reason you would (IMHO) want to use non-blocking I/O is in a highly concurrent system, to increase the maximum load a system can handle.
    The main reason you would want to use blocking I/O rather than non-blocking I/O would be to minimise the latency for a single request.
    Unfortunately, the two don't seem to mix together very well... by switching a thread to blocking, you decrease the latency for a single request, but increase latency for the other requests due to reduced resources available. Similarly, by switching to blocking, you are requiring a dedicated thread for that request, so limiting the number of concurrent requests that can be serviced.
    That is, it seems to me that using both blocking and non-blocking I/O introduces the weaknesses of both into the system, without gaining much of the benefits of either.
    The above aside, the method you gave looks like it would work as you expect, depending on what you are doing with thread creation/delegation. Did your test case work as expected?

  • Should I use both GetList and  GetDetail for creating a Data Object?

    Hello, all.
    At first, Thanks for your interesting.
    1. I wounder that  I can make a BAPI Wrapper as Data Object using only GetList.
    When I make a BAPI Wrapper as Data Object using only GetList, SAP shows me a message.
    The message says Data Object can have one root node only (hierarchy = 1 ).
    It means I should use both GetList and  GetDetail.
    I understand that.
    If i need to use only GetList, is there any way?
    Thanks for your interesting again.

    Hi
    I think you are trying to import BAPI wrapper as data object and you are using only "Getlist" BAPI.
    In such case, the data object created will have only root node. i.e Hierarchy =1.
    This is becuse the GetList BAPI has only the info about root node.(i.e, table parameter).
    If you have multiple tables in BE and you want to create a DO with multiple node(hierarchy >1) using BAPI wrapper import, then you have to use "GetDetail" BAPI along with GetList.
    Regards
    Rohith

  • Using Oracle BI Server as a Data Source for Third Party Tools

    I have been researching how to use the Oracle BI Server as a data source for two days now. I have not yet found a solution to my problem.
    We have a remote user who is pulling data from one of our Oracle databases using automated tools. This data base is essentially being replaced by Oracle Analytics. However, we do not want this user to get at the physical tables of Analytics, rather, we want the user to be able to connect to the Oracle BI Server itself, and issue Logical SQL to pull data.
    Here are the requirements which I need to be fulfilled:
    1) The ability for a remote user to connect to the BI Server as a data source.
    2) The remote user must be able to do this on a Unix box.
    3) The remote user must be able to automate the process of issuing SQL to the BI Server. (Command line interface is preferable)
    4) The solution needs to be easily implementable, that is, this solution will be implemented many times over.
    I found many articles explaining how to set up a Windows box to connect to the BI Server in this way. However, these articles outline how to use tools like Excel and Microsoft Query to pull data from the BI Server. Our current user is using SQLplus.
    If possible, I would like the user to continue using SQLplus as the tool for connecting to and retriving information from our BI Server. I have tested using SQLplus many different ways to no avail. I have also tried using other tools, such as Oracle SQL Developer.
    Is there a program out there that will fulfill the needs I have outlined above? Or, does someone know of a way to use SQLplus to connect to the Oracle BI Server as a data source? Or, is there a series of solutions which will fulfill the needs outlined above?
    Edited by: user11177366 on Jun 11, 2009 11:46 AM

    I agree it would be inefficient but only because you are using OBIEE for something it was not designed to do. You are basically asking for a "DB feed" and that should designed using PL/SQL, DB Links, Web Services or whatever is your entreprise standard to send data from one system to another. Using OBIEE for this seems a bad architecture decision to me.You are correct, the BI Server is not really intended to be queried like another Oracle Database remotely. However, the reason we are trying to do it this way is twofold:
    1) We want to enforce data level security.
    2) The BI Server has been fine tuned for high performance.
    Forcing the end users to go through the BI Server rather than directly to the physical tables or other sorts of systems built on top solves both of these issues.
    I think you are wrong. I don't see why SQLPlus should be able to query the BI Server. The BI Server can sit on top of many different DBs not just Oracle, even flat files etc. So you can't really expect the BI Server to able to translate all that into Oracle SQL output so you can query it using SQLPlus. The BI Server is not an Oracle RDBMS.You're right again. The BI Server isn't an Oracle RDBMS, and I have been wanting to treat it like one. From the data I have gathered SQLPlus can't query the BI Server.
    However, my research has led me to realize that the BI Server supports the JDBC API. Therefore, (I should have went down this route in the first place) one can use the JDBC driver provided by Oracle (bijdbc14.jar) to interface with the BI Server. There are many programs and applications out there that support the JDBC API and let us connect to BI Server the way we want to. Furthermore, these programs are mostly platform independent, as they are mostly written in Java.
    Lastly, from what I understand the NQCMD program can be installed on any platform as well (provided by Oracle). This is another option to connect to the BI Server as well.
    Thanks for your help and your comments as I went through this process of discovery.

  • Using COGNOS as an infoprovider/data source for WebI...?

    I saw a job posting today that listed a requirement that I am pretty sure is IMPOSSIBLE...
    WebIntelligence report experience with using COGNOS as an infoprovider/data source for BOBJ is an important skill.
    Data sources for client will be both COGNOS and SAP.
    Now, it wouldn't be the first time that a client spec asked for the IMPOSSIBLE- but it got me to wondering if maybe I am wrong in my understanding that COGNOS 8 still uses PowerPlay cubes that are 100% proprietary and can only be read with the CONGOS report-design tools.
    Is there actually a "supported" way to use COGNOS as an infoprovider/data source for BOBJ...?
    Maybe using some COGNOS equivalent of QAAS...?
    I have no intention of applying for this job - but would like to know if it is technically possible.

    It's been more than a week since I posted this question and nobody came up with a "YES" here or on the BOB Forums...so I am going to close this question as an IMPOSSIBLE request.
    Based on the current technology - COGNOS cubes can not be used as an infoprovider/data source for WebIntelligence.

  • Can Discoverer be used as an XML Data source for XMLP ?

    I am wondering if Discoverer can generate an XML Data Source for XMPL.
    I have heard that Discoverer Viewer can have XML as an output. Is there a way of using this XML output with XMLP and, if yes, how to batch both steps ?

    Hi
    My understanding is that Discoverer does not generate XML data as an ouput that XMLP can consume. The XML is does generate is actually an XML RDF for Oracle Reports.
    XMLP is integrated thou, when you export your Disco report to PDF thats XMLP doing the conversion to PDF for you.
    Regards, Tim

  • Is it possible to use same data source for two info cube

    Hi,
    My Problem is in BW we can not have value of material at storage location level.In R/3 also value is maintained at plant level.
    Then we searched and we found out one hot to doc for summarized display of stock values on storage location level.
    Problem is that we have gone live in last December and we are using " 0AFMM_C02 " and it contains around 1,81,26,000 records. and according to note we have to use
    "0IC_C03".
    Both the cube uses same data sources for the data.So, how to get the data for "0IC_C03".
    and how to delete the data of existing info cube.And is it possible to delete data selectively from the info cube.
    Pls. help.
    Regards,
    viren.

    Hi,
    You can't create update rule from PSA.You can create from the infosource or from ODS or from cube to cube or ODS to ODS.
    In your scenario, what you can do is create update rules from the ODS to the new cube and then transfer the data from there. Or from the Infosource create rules to the new data target and then upload the full data and then set up the delta.
    Third option is to create update rules from the existing cube to the new cube and then load all the data one time. Then you can deactivate the update rules as that was needed only for 1 time data transfer.
    Cheers,
    Kedar

  • Can you use SQL as a data source for a project in the same way you can in Excel?

    Excel allows you to create a data source that executes a SQL stored procedure, display that data as a table in a spreadsheet and have that data automatically refresh each time you open the spreadsheet. Is it possible to do the same thing in MS Project, displaying
    the data from the stored procedure as a series of tasks?
    Here's what I'm trying to do - I have a stored procedure that pulls task data meeting a specific criteria from all projects in Project Server. We're currently displaying this data as an Excel report. However, the data includes start dates and durations so
    it would be nice to be able to display it as a Gantt Chart. I've played around with creating a Gantt chart in Excel and have been able to do a very basic one, but it doesn’t quite fit our needs.

    No, You can not use sql as a data source for a project.
    You have 3 options to achieve it:
    1. You can create a Sharepoint list with desired column ,fill desired data in that list then you can create a MS project from Sharepoint List.
    2. You can create a SSRS report in which you can display grantt chart Joe has given you that link.
    3. You can write a macro in MPP which will take data from your excel. In excel you will fetch data from your stored procedure. write a schedule which will run every day to update your data or
    create an excel report in which will update automatically and write macro in mpp which will fetch the data then publish it so that it would be available to team members.
    kirtesh

  • SharePoint PPS 2013 Dashboard Designer error "Please check the data source for any unsaved changes and click on Test Data Source button"

    Hi,
    I am getting below error in SharePoint PPS 2013 Dashboard Designer. While create the Analysis Service by using "PROVIDER="MSOLAP";DATA SOURCE="http://testpivot2013:9090/Source%20Documents/TestSSource.xlsx"
    "An error occurred connecting to this data source. Please check the data source for any unsaved changes and click on Test Data Source button to confirm connection to the data source. "
    I have checked all the Sites and done all the steps also. But still getting the error.Its frustrating like anything. Everything is configured correctly but still getting this error.
    Thanks in advance.
    Poomani Sankaran

    Hi Poomani,
    Thanks for posting your issue,
    you must have to Install SQL Server 2012 ADOMD.Net  on your machine and find the browse the below mentioned URL to create SharePoint Dashboard with Analysis service step by step.
    http://www.c-sharpcorner.com/UploadFile/a9d961/create-an-analysis-service-data-source-connection-using-shar/
    I hope this is helpful to you, mark it as Helpful.
    If this works, Please mark it as Answered.
    Regards,
    Dharmendra Singh (MCPD-EA | MCTS)
    Blog : http://sharepoint-community.net/profile/DharmendraSingh

  • Using an SAS2008 Cube as a data source for BI Publisher errors

    Hi All,
    I am trying to use a SAS 2008 cube as a data source for a report in BI Publisher. When I defined the data source under the admin section I gave it the following details:
    Data Source=ntsasqa01;Provider=msolap.3;Initial Catalog=WWPR_SMG
    With a username / password that has access to the cube.
    When I try and test the connection the OC4J instance stops running and the test does not finish or error. If I use the data source and then setup a report and then try and view data I get an error like the one below:
    /app/oracle/OracleBI/xmlp/XMLP/Admin/DataSource/msmdacc.dll (     0509-022 Cannot load module /app/oracle/OracleBI/xmlp/XMLP/Admin/DataSource/msmdacc.dll.
         0509-103 The module has an invalid magic number.)
    I am not sure if the error is related to the initial issue of not being able to complete the test.
    I need to find a solution though as I have to make use of MDX to access the cubes.
    Please could someone give me some advice.
    Thanks,
    Kim.

    Hi Kim
    1. SAS cubes are not currently supported - http://download.oracle.com/docs/cd/E10415_01/doc/bi.1013/e10417.pdf. Unless SAS cubes can use the MS drivers?
    2. If you try and pursue it you might check the permissions on the ddll in the error to ensure you have rights over it.
    Either way you are not supported with a SAS cube so you are kinda on your own. Sorry I dont use SAS so Im not going to be much help other than stating the obvious :0)
    Regards
    Tim

  • Which data source to be used to bring sales data for customers???

    Hi Gurus,
    I am using 0FI_AR_4 data source for one of report for DSO calculation.
    To complete the DSO( Daily Sales outstanding) calculation in BW I need sales data also for each customer.
    And this should be for all the past 12 months. Based on past 12 months sales data for each customer DSO calculation will be done.
    As this sales data is not available in the the 0FI_AR_4 data source so which other datasource can I use for the same purpose to bbring the sales data for the customer. I am thinking of COPA datasoure..... will it be right choice????
    Or I can go with some other option???
    Thanks in advance......
    Uday Shankar.

    Uday,
    You can use datasource: [2LIS_13_VDITM - Billing Document-Item Data |http://help.sap.com/saphelp_sm32/helpdata/EN/73/0bf23839caf878e10000000a114084/frameset.htm]
    datasource provides billing data item level.
    Srini

Maybe you are looking for