Multi or JDBC data source data source

When you configure the JDBC Session persistence in Web App, do we need a MultiDatasource or just a source data JDBC with the Connection Pool?

Published by: user734247 on April 26, 2012 15:24

A normal single JDBC targeted to the cluster data source should serve your purpose.
Mutli-datasource is mainly used to connect to multiple databases OR finding themselves in a RAC. This is very useful when you have a failover of the database. If you have a single database, a normal JDBC data source should be enough.

Arun

Tags: Fusion Middleware

Similar Questions

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

    IOM-IOM 9.1.0.2 BP07 supports Weblogic JDBC Multi Data Sources (Services > JDBC > Multi Data Sources) for Oracle RAC instead of insert the "Oracle RAC JDBC URL" on xlDS and xlXADS JDBC Data Sources (Services > JDBC > Data Sources > xlDS | xlXADS > survey login > URL)?
    If so, are there any other changes that must be made on IOM, or simply to change data sources?

    Yes, it is supported. You install against a single instance directly of the Rac server. Then you update the file config.xml and jdbc resources in your server weblogic with the full address of rac. It is documented for installation against CARS. http://docs.Oracle.com/CD/E14049_01/doc.9101/e14047/database.htm#insertedID2

    -Kevin

  • How to define JDBC Data Sources in Oracle MapViewer for Oracle database 12 c Release 1 (12.1.0.1)

    How to define JDBC Data Sources in Oracle MapViewer for Oracle database Release 1 (12.1.0.1) 12 c?

    Here is my setup in the conf\mapViewerConfig.xml:


    < name map_data_source = "mvdemo12".

    jdbc_host = "127.0.0.1".

    jdbc_sid = "orcl12c1".

    jdbc_port = '1522 '.

    jdbc_user = "mvdemo".

    jdbc_password = "7OVl2rJ + hOYxG5T3vKJQb + hW4NPgy9EN.

    jdbc_mode = 'thin '.

    number_of_mappers = '3 '.

    allow_jdbc_theme_based_foi = 'true '.

    Editable = "true" / >

    <!--  ****  -->

    But it does not work.

    After use "sqlplus mvdemo / [email protected]:1522 / pdborcl", it connected to the Oracle 12 c database.

    Anyone know it?

    Thank you

    11.1.1.7.1 use the jdbc_sid syntax, i.e.

    as described in the README file, mypdb1.foo.com

    -Sources of native data (no container) MapViewer can now use the service name of database instead of SID. To provide a db service name, you will use the same attribute of jdbc_sid, but specify the name of the service with double slashes in front, as follows:

    jdbc_host = "foo.com"

    jdbc_sid="//mypdb1.foo.com".

    jdbc_port = '1522 '.

    ... ...

    />

    Use a container_ds to the 11.1.1.7.0.

    that is, instead of using

    jdbc_host = "mydbinstance".

    jdbc_sid = "pdborcl12c".

    jdbc_port = '1522 '.

    jdbc_user = "mytestuser".

    jdbc_password = "m2E7T48U3LfRjKwR0YFETQcjNb4gCMLG8/X0KWjO00Q ="

    jdbc_mode = 'thin '.

    number_of_mappers = "6".

    allow_jdbc_theme_based_foi = "false".

    Editable = "false".

    />

    use

    container_ds = "jdbc/db12c.

    number_of_mappers = "6".

    allow_jdbc_theme_based_foi = "false".

    Editable = "false".

    />

    In my case the Glassfish 3.1.2.2 JDBC connection pool definition has been

    Property

    URL jdbc:oracle:thin:@mydbinstance:1522/pdborcl12c.rest_of.service.name

    Uncheck the wrap JDBC objects in advanced Panel, that is, the page properties change JDBC connection advanced pool.

    Add a resource to that newly created JDBC pool

    Use in mapviewerconfig.xml as above

  • Application module runs does not after changing the jndi in the JDBC data source name

    I had an obligation to deploy ADF application dev, test, and production. Every environments to different databases.

    To reach the requirement above, we had suite
    (a) uncheck "Auto Generate and descriptors weblogic - jdbc.xml sync for the deployment" of the Application property.
    (b) defined a data source to wls console (console different wls for each env) to dev, test, and production with jndi, jdbc/dashboardDS.
    (c) on the module of the application, the connection type changed to "JDBC Data Source" and filled in "jdbc/dashboardDS" to the name of the data source.

    Now, we are able to deploy our ADF application for dev, test, and production environments.

    But, after doing some changes to the bc4j.xcfg file as in step c), I'm not able to run AM. AM is running in an error message.
    oracle.jbo.jbotester.ErrorHandler$ExceptionWrapper: DataSourceContext could not locate a DataSource for the name:  jdbc/dashboardDS
         at oracle.jbo.jbotester.ErrorHandler.displayError(ErrorHandler.java:96)
         at oracle.jbo.jbotester.ErrorHandler.displayError(ErrorHandler.java:89)
         at oracle.jbo.jbotester.MainFrame.main(MainFrame.java:437)
    Caused by: oracle.jbo.DMLException: JBO-27200: JNDI failure. Unable to lookup Data Source at context jdbc/dashboardDS
         at oracle.jbo.server.DBTransactionImpl.lookupDataSource(DBTransactionImpl.java:1418)
         at oracle.jbo.server.DBTransactionImpl2.connectToDataSource(DBTransactionImpl2.java:309)
         at oracle.jbo.common.ampool.DefaultConnectionStrategy.connect(DefaultConnectionStrategy.java:203)
         at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolConnect(ApplicationPoolMessageHandler.java:562)
         at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolMessage(ApplicationPoolMessageHandler.java:410)
         at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:8651)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:4405)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2391)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2203)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:3101)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:460)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:431)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:426)
         at oracle.adf.model.bc4j.DCJboDataControl.initializeApplicationModule(DCJboDataControl.java:512)
         at oracle.adf.model.bc4j.DCJboDataControl.getApplicationModule(DCJboDataControl.java:855)
         at oracle.jbo.jbotester.binding.TesterBinding.getConnectionInfo(TesterBinding.java:214)
         at oracle.jbo.jbotester.MainFrame.initializeDataControl(MainFrame.java:906)
         at oracle.jbo.jbotester.MainFrame.loadConfiguration(MainFrame.java:632)
         at oracle.jbo.jbotester.MainFrame.processArgs(MainFrame.java:597)
         at oracle.jbo.jbotester.MainFrame.main(MainFrame.java:428)
    Caused by: javax.naming.NameNotFoundException: DataSourceContext could not locate a DataSource for the name:  jdbc/dashboardDS
         at oracle.jbo.server.DataSourceContext.lookup(DataSourceContext.java:109)
         at javax.naming.InitialContext.lookup(InitialContext.java:392)
         at oracle.jbo.server.DBTransactionImpl.lookupDataSource(DBTransactionImpl.java:1404)
         ... 19 more
    ## Detail 0 ##
    oracle.jbo.DMLException: JBO-27200: JNDI failure. Unable to lookup Data Source at context jdbc/dashboardDS
         at oracle.jbo.server.DBTransactionImpl.lookupDataSource(DBTransactionImpl.java:1418)
         at oracle.jbo.server.DBTransactionImpl2.connectToDataSource(DBTransactionImpl2.java:309)
         at oracle.jbo.common.ampool.DefaultConnectionStrategy.connect(DefaultConnectionStrategy.java:203)
         at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolConnect(ApplicationPoolMessageHandler.java:562)
         at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolMessage(ApplicationPoolMessageHandler.java:410)
         at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:8651)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:4405)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2391)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2203)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:3101)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:460)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:431)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:426)
         at oracle.adf.model.bc4j.DCJboDataControl.initializeApplicationModule(DCJboDataControl.java:512)
         at oracle.adf.model.bc4j.DCJboDataControl.getApplicationModule(DCJboDataControl.java:855)
         at oracle.jbo.jbotester.binding.TesterBinding.getConnectionInfo(TesterBinding.java:214)
         at oracle.jbo.jbotester.MainFrame.initializeDataControl(MainFrame.java:906)
         at oracle.jbo.jbotester.MainFrame.loadConfiguration(MainFrame.java:632)
         at oracle.jbo.jbotester.MainFrame.processArgs(MainFrame.java:597)
         at oracle.jbo.jbotester.MainFrame.main(MainFrame.java:428)
    Caused by: javax.naming.NameNotFoundException: DataSourceContext could not locate a DataSource for the name:  jdbc/dashboardDS
         at oracle.jbo.server.DataSourceContext.lookup(DataSourceContext.java:109)
         at javax.naming.InitialContext.lookup(InitialContext.java:392)
         at oracle.jbo.server.DBTransactionImpl.lookupDataSource(DBTransactionImpl.java:1404)
         ... 19 more
    ## Detail 0 ##
    javax.naming.NameNotFoundException: DataSourceContext could not locate a DataSource for the name:  jdbc/dashboardDS
         at oracle.jbo.server.DataSourceContext.lookup(DataSourceContext.java:109)
         at javax.naming.InitialContext.lookup(InitialContext.java:392)
         at oracle.jbo.server.DBTransactionImpl.lookupDataSource(DBTransactionImpl.java:1404)
         at oracle.jbo.server.DBTransactionImpl2.connectToDataSource(DBTransactionImpl2.java:309)
         at oracle.jbo.common.ampool.DefaultConnectionStrategy.connect(DefaultConnectionStrategy.java:203)
         at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolConnect(ApplicationPoolMessageHandler.java:562)
         at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolMessage(ApplicationPoolMessageHandler.java:410)
         at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:8651)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:4405)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2391)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2203)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:3101)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:460)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:431)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:426)
         at oracle.adf.model.bc4j.DCJboDataControl.initializeApplicationModule(DCJboDataControl.java:512)
         at oracle.adf.model.bc4j.DCJboDataControl.getApplicationModule(DCJboDataControl.java:855)
         at oracle.jbo.jbotester.binding.TesterBinding.getConnectionInfo(TesterBinding.java:214)
         at oracle.jbo.jbotester.MainFrame.initializeDataControl(MainFrame.java:906)
         at oracle.jbo.jbotester.MainFrame.loadConfiguration(MainFrame.java:632)
         at oracle.jbo.jbotester.MainFrame.processArgs(MainFrame.java:597)
         at oracle.jbo.jbotester.MainFrame.main(MainFrame.java:428)
    
    ----- Level 1: Detail 0 -----
    oracle.jbo.DMLException: JBO-27200: JNDI failure. Unable to lookup Data Source at context jdbc/dashboardDS
         at oracle.jbo.server.DBTransactionImpl.lookupDataSource(DBTransactionImpl.java:1418)
         at oracle.jbo.server.DBTransactionImpl2.connectToDataSource(DBTransactionImpl2.java:309)
         at oracle.jbo.common.ampool.DefaultConnectionStrategy.connect(DefaultConnectionStrategy.java:203)
         at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolConnect(ApplicationPoolMessageHandler.java:562)
         at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolMessage(ApplicationPoolMessageHandler.java:410)
         at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:8651)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:4405)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2391)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2203)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:3101)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:460)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:431)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:426)
         at oracle.adf.model.bc4j.DCJboDataControl.initializeApplicationModule(DCJboDataControl.java:512)
         at oracle.adf.model.bc4j.DCJboDataControl.getApplicationModule(DCJboDataControl.java:855)
         at oracle.jbo.jbotester.binding.TesterBinding.getConnectionInfo(TesterBinding.java:214)
         at oracle.jbo.jbotester.MainFrame.initializeDataControl(MainFrame.java:906)
         at oracle.jbo.jbotester.MainFrame.loadConfiguration(MainFrame.java:632)
         at oracle.jbo.jbotester.MainFrame.processArgs(MainFrame.java:597)
         at oracle.jbo.jbotester.MainFrame.main(MainFrame.java:428)
    Caused by: javax.naming.NameNotFoundException: DataSourceContext could not locate a DataSource for the name:  jdbc/dashboardDS
         at oracle.jbo.server.DataSourceContext.lookup(DataSourceContext.java:109)
         at javax.naming.InitialContext.lookup(InitialContext.java:392)
         at oracle.jbo.server.DBTransactionImpl.lookupDataSource(DBTransactionImpl.java:1404)
         ... 19 more
    ## Detail 0 ##
    javax.naming.NameNotFoundException: DataSourceContext could not locate a DataSource for the name:  jdbc/dashboardDS
         at oracle.jbo.server.DataSourceContext.lookup(DataSourceContext.java:109)
         at javax.naming.InitialContext.lookup(InitialContext.java:392)
         at oracle.jbo.server.DBTransactionImpl.lookupDataSource(DBTransactionImpl.java:1404)
         at oracle.jbo.server.DBTransactionImpl2.connectToDataSource(DBTransactionImpl2.java:309)
         at oracle.jbo.common.ampool.DefaultConnectionStrategy.connect(DefaultConnectionStrategy.java:203)
         at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolConnect(ApplicationPoolMessageHandler.java:562)
         at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolMessage(ApplicationPoolMessageHandler.java:410)
         at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:8651)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:4405)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2391)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2203)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:3101)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:460)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:431)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:426)
         at oracle.adf.model.bc4j.DCJboDataControl.initializeApplicationModule(DCJboDataControl.java:512)
         at oracle.adf.model.bc4j.DCJboDataControl.getApplicationModule(DCJboDataControl.java:855)
         at oracle.jbo.jbotester.binding.TesterBinding.getConnectionInfo(TesterBinding.java:214)
         at oracle.jbo.jbotester.MainFrame.initializeDataControl(MainFrame.java:906)
         at oracle.jbo.jbotester.MainFrame.loadConfiguration(MainFrame.java:632)
         at oracle.jbo.jbotester.MainFrame.processArgs(MainFrame.java:597)
         at oracle.jbo.jbotester.MainFrame.main(MainFrame.java:428)
    
       ----- Level 2: Detail 0 -----
       javax.naming.NameNotFoundException: DataSourceContext could not locate a DataSource for the name:  jdbc/dashboardDS
         at oracle.jbo.server.DataSourceContext.lookup(DataSourceContext.java:109)
         at javax.naming.InitialContext.lookup(InitialContext.java:392)
         at oracle.jbo.server.DBTransactionImpl.lookupDataSource(DBTransactionImpl.java:1404)
         at oracle.jbo.server.DBTransactionImpl2.connectToDataSource(DBTransactionImpl2.java:309)
         at oracle.jbo.common.ampool.DefaultConnectionStrategy.connect(DefaultConnectionStrategy.java:203)
         at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolConnect(ApplicationPoolMessageHandler.java:562)
         at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolMessage(ApplicationPoolMessageHandler.java:410)
         at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:8651)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:4405)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2391)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2203)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:3101)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:460)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:431)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:426)
         at oracle.adf.model.bc4j.DCJboDataControl.initializeApplicationModule(DCJboDataControl.java:512)
         at oracle.adf.model.bc4j.DCJboDataControl.getApplicationModule(DCJboDataControl.java:855)
         at oracle.jbo.jbotester.binding.TesterBinding.getConnectionInfo(TesterBinding.java:214)
         at oracle.jbo.jbotester.MainFrame.initializeDataControl(MainFrame.java:906)
         at oracle.jbo.jbotester.MainFrame.loadConfiguration(MainFrame.java:632)
         at oracle.jbo.jbotester.MainFrame.processArgs(MainFrame.java:597)
         at oracle.jbo.jbotester.MainFrame.main(MainFrame.java:428)
    Any suggestions

    Thank you
    Ajay

    You are talknig Tester ADF BC? Yes, and then change the type of URL JDBC connection for tester to run.
    In you AM - configurations - Double click AMLocal and change

    Published by: in the line of fire on December 12, 2011 14:56

  • List of default data Source is only the list of JDBC data sources

    I have several defined JDBC data sources and have added a few sources of data file. But when I look at the report of a new report properties page, the default data Source drop-down list only JDBC data sources, none of the sources of data file. I tried clicking on the link "Refresh Data Source list", but it doesn't seem to do anything.

    I'd be able to see my file data sources in the Data Source by default list? I the role of the admin, it should not be a security thing. I give my data file sources a role, and I also have that same role.

    Thanks for any help.

    Hello
    The default data source drop box contains only jdbc sources. You must create a new data source, type the file, and then choose the file directory, you have set up and then enter the name of the file. At this point, the default data source is ignored. Weird, I know, but it's like this: 0)

    Tim

  • Problems connecting to JDBC data source

    We have recently upgraded to JDeveloper 11 g to 10g and flies our applications (primarily the Struts). They are compiled fine, and I am able to create data sources and successfully test the connection to open the data source through the window of Application resources. The problem comes when I try to connect through the application. In Java code, I use a DataSource object to get the connection of InitialContext.lookup ("jdbc/sun_DS1") where the JNDI name is in parentheses. We used to define this connection in JDev 10 g via the file data - sources.xml and it worked very well. Now with 11g and defines the connection to the application, I don't know if I'm missing a step between the creation of the data source and run the application.

    The error I get is: javax.naming.NameNotFoundException: while trying to search for "jdbc.sun_DS1" did not find subcontext "jdbc." Solved "; rest the name "jdbc/sun_DS1.
    at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(BasicNamingNode.java:1139)
    at weblogic.jndi.internal.BasicNamingNode.lookupHere(BasicNamingNode.java:247)
    at weblogic.jndi.internal.ServerNamingNode.lookupHere(ServerNamingNode.java:182)
    at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:206)
    at weblogic.jndi.internal.WLEventContextImpl.lookup(WLEventContextImpl.java:254)
    at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:411)

    I spent a lot of time reading Oracle help docs and Googling the problem without success.

    Help, please.

    Once you run your application on the WLS console launch (http://localhost:7101/console) and look to see if JDev created a data source for you in WLS.)
    You may need to add it manually.

  • Restart WebLogic Server and JDBC data source problem

    Hi all

    In the Weblogic Console, we have defined a data source JDBC, which is used by the compoistes to connect to the Oracle Apps database using DB adapters (SOA Suite 11 g).

    We have seen that whenever the database of applications down and Monte, we wanted to restart the WLS for DB adapters work. Is this necessary, or is this something to do with the way was Weblogic Server setup?

    In addition, we noticed that some adapters file does not pick up the files, and a Weblogic reboot seems to fix everything.

    Pointers to debug these highy is appreciated.

    Concerning
    Anish.

    You can configure your data source so that the connections are tested until they are given to the request.

    An example of how to do it can be found here: http://download.oracle.com/docs/cd/E21764_01/apirefs.1111/e13952/taskhelp/jdbc/jdbc_datasources/ConfigureTestingOptionsForADataSource.html

    More information about these features can be found here: http://download.oracle.com/docs/cd/E21764_01/apirefs.1111/e13952/pagehelp/JDBCjdbcdatasourcesjdbcdatasourceconfigconnectionpooltitle.html#advancedAttributes

    You can also set how often to retry on the creation of the connection to another value to zero.

  • Thin client JDBC - IP source address

    I see the program in session $ v as JDBC Thin Client.  I need to know where the connections are coming from (source ip address).

    I reason to assume that the only way I'll be able to see who is not in the views v$ but traces of sqlnet server-side to activate?

    Thank you

    Jacqueline wrote:

    Hey, thanks for the replies. It is a database 10g running in a RAC 11g cluster.

    Yes this is level 3 - end user connects from browser to the Web site, site Web running java code (or maybe the browser activates a java applet, although I doubt that - I don't know the complete development environment) and connects to the db via jdbc client light.

    I see some server names, in v$ session.machine - probably that they are web servers, so maybe that's all I'm going to (same as IP really as they are internal servers)-as for the end user, I expect that they will have to use for this httpd logs

    Thanks a lot for helping me to focus on this

    If you wish / expect end user IP #, then the application MUST be modified & WEBSERVER must participate to get & send the IP # of the end-user; because the WEB server is the only device that is in direct contact with the end user.

  • Unable to launch the Client Application-vCO and strange error - "exception on Hibernate JDBC data access...". "

    Hello

    We have an integrated vCO 5.5.1 installation with vCAC 6.0.1. The installation worked very well. Recently, we encountered a problem where we were not able to run that any associated workflow vCAC. The following error is thrown " " "JDBC Hibernate data access exception: SQLException for SQL [?]; State SQL [null]; error code [0]; Cannot release the connection; "the nested exception is org.hibernate.exception.GenericJDBCException: cannot release the connection in vCO. Do not know what is happening with the vCO. Can someone help me on this? It's urgent!


    To resolve this problem, all plug-ins have been recharged and services were restarted. That has not helped.

    There is another issue that is to appear after that. We cannot launch the vCO Client. Fig. 1

    We are not able to access the following URL: https://<vCO-IP-Address>: 8281 Fig. 2

    We are able to access the configuration of the vCO page (https://<vCO-IP-Address>: 8283) and the application of the vCO page (https://<vCO-IP-Address>: 5480)

    Your help would be appreciated. Thank you.

    -SK

    Not many details have been given to us. I just resolution. In the Configuration of the vCO page, under the network tab fair value 0.0.0.0 IP address and restart the Server Configurator vCO. Login back to the Configuration of the vCO page and restart the service. It worked like a charm! It is the resolution for the vCO is not opening in port 8281. Once this is done, even the vCO Client began to open.

    Come to the JDBC error, as soon as this problem has been resolved, did not appear the JDBC error. So, I'm not sure about the exact resolution for this.

    -SK

  • Creating a line chart series multi with different data providers

    I have 3 providers of data of the same structure that is ArrayCollection of data collection and that you want to use to create a line chart multiseriate. I don't have just 1 dataProvider that can be used but 3 different data providers of the same structure I want to use each different series.

    [Bindable] private var orangeSales: ArrayCollection = collection

    new ArrayCollection collection)

    [{sale: 101000, month: new Date (January 1, 2008 "")},]

    {sale: 960000, month: new Date (February 1, 2008 ')},

    {sale: 475000, month: new Date (March 1, 2008 ')},

    {sale: 425000, month: new Date (April 1, 2008 "")}

    ] );

    [Bindable] private var appleSales: ArrayCollection = collection

    new ArrayCollection collection)

    [{Sales: 991000, month: new Date (January 1, 2008 "")},]

    {sale: 140000, month: new Date (February 1, 2008 ')},

    {sale: 565000, month: new Date (March 1, 2008 ')},

    {sale: 255000, month: new Date (April 1, 2008 "")}

    ] );

    [Bindable] private var bananaSales: ArrayCollection = collection

    new ArrayCollection collection)

    [{sale: 891000, month: new Date (January 1, 2008 "")},]

    {sale: 147560, month: new Date (February 1, 2008 ')},

    {sale: 295000, month: new Date (March 1, 2008 ')},

    {sale: 574000, month: new Date (April 1, 2008 "")}

    ] );

    I want to create a line chart with orangeSales, appleSales and bananaSales as three different lines on the graph for different specified dates.

    < mx:ColumnChart showDataTips = "true" >

    < mx:horizontalAxis >

    < mx:CategoryAxis

    dataProvider = "{orangeSales}".

    categoryField = 'months '.

    / >

    < / mx:horizontalAxis >

    < mx:series >

    < mx:LineSeries displayName = "OrangeSales" yField = "sale" xField = "month" dataProvider = "{orangeSales}" / >

    < mx:LineSeries displayName = "AppleSales" yField = "sale" xField = "month" dataProvider = "{appleSales}" / >

    < mx:LineSeries displayName = "BananaSales" yField = "sale" xField = "month" dataProvider = "{bananaSales}" / >

    < / mx:series >

    < / mx:ColumnChart >

    Help, please!

    Sorry for the confusion. In fact I do something wrong, such as using ColumnChart to display a line chart or something like that.

    Now, I realized that a multi series line graph can be built by the presence of a different data provider for each of the LineSeries object.

    If the code below would create a multi series line graph:

    [Bindable] private var orangeSales: ArrayCollection = collection

    new ArrayCollection collection)

    [{sale: 101000, month: new Date (January 1, 2008 "")},]

    {sale: 960000, month: new Date (February 1, 2008 ')},

    {sale: 475000, month: new Date (March 1, 2008 ')},

    {sale: 425000, month: new Date (April 1, 2008 "")}

    ] );

    [Bindable] private var appleSales: ArrayCollection = collection

    new ArrayCollection collection)

    [{Sales: 991000, month: new Date (January 1, 2008 "")},]

    {sale: 140000, month: new Date (February 1, 2008 ')},

    {sale: 565000, month: new Date (March 1, 2008 ')},

    {sale: 255000, month: new Date (April 1, 2008 "")}

    ] );

    [Bindable] private var bananaSales: ArrayCollection = collection

    new ArrayCollection collection)

    [{sale: 891000, month: new Date (January 1, 2008 "")},]

    {sale: 147560, month: new Date (February 1, 2008 ')},

    {sale: 295000, month: new Date (March 1, 2008 ')},

    {sale: 574000, month: new Date (April 1, 2008 "")}

    ] );

    I want to create a line chart with orangeSales, appleSales and bananaSales as three different lines on the graph for different specified dates.

    <>

    dataProvider = "{orangeSales}".

    categoryField = 'months '.

    />

  • Multi disc layout data merge in the unique text box

    Is it possible to merge the content of a CSV into a single text field? Currently using CS3.

    CSVmerge.png

    I did something similar in the past. My process was to import Excel into a database, such as one that is available with NeoOffice (Mac) / OpenOffice (PC).  From there on, I exported a record of the fields in the order I want them to appear.

    Maybe it's not a necessary step for you, but for me, there was a lot of additional data in the excel file that I didn't need... and there are over 100,000 rows of data that I had to get out into regions by the State, etc.

    In InDesign, I used a series of paragraph with 'Next' Style styles to form a sequence corresponding to the configuration of the records.

    For example, with your example, I can see two styles of paragraphs with nested styles.

    Style of business (with the business in the following Style address) name

    Style of address of business (with the trade name as following Style)

    Business address would have a nested style

    Blue character style "BOLD" - to - 1 - (ball)

    [No] - through - 1 - end nested Style

    There were a few required cleanup of import, but once this was done, I could select the content in the history, just right-click on the style (brand name) and select "apply, then style following" to have the entire list quickly format.

    HTH

    -mt

  • Stand-alone WLS, JDBC, never outputs connections data source

    11.1.2.1 JDev

    My application connects to the Oracle database to do business. I also have a servlet that is called to create and view PDF reports. When the application starts, and every time the servlet is called, an "Active connection" to my JDBC data source. By default, there are 15 connectsions in the connection pool. I see thins in the stand alone WLS Admin Console: Services/DataSources / 'mydatasource' / Connection Pool. Data sources and surveillance shows the number of current connections to my data source. As I monitor the number of "Active connections" and launch myl application in WLS, run reports, etc. I see the number of connections increase. However, the number of "Active connections" never decreases. Even when I log out of the application and exit the browser the number of connections remains the same. I start my application again, and it uses more "active" connections When all connections are exhausted, I get an error.

    java.lang.RuntimeException: weblogic.common.resourcepool.ResourceLimitException: no currently available in the MisseeDS pool resources to allocate to applications, please don't increase the size of the pool and try again.

    I increase the size of the pool and I can run the application again. However, he continues to use "active connections" and never gives them. Finally a failure once again. Of course, stop and start the stand-alone WLS resets everything.

    Can someone tell me how to retrieve the unused "active connections" so my request to not use not all of them and then get an error?

    Thank you, Steve

    Looks like you're using a data source connection in your servlet report but do not call Connection.Close in order to release it to the pool. Can provide you a sample code?

  • Create the data source NoSQL Oracle using Oracle Weblogic 11 g

    Hello

    I'm working on a VINE by which I want to connect NoSQL Oracle database with Oracle Weblogic11g as a new source of data in Oracle Database 11 g of accompaniment.

    So my question is that Oracle Weblogic 11 g support NoSQL Oracle database as a data source OR can I plug NoSQL Oracle database as the source of data with Oracle Weblogic11g?

    Thank you...

    Hello

    By 'data source' I assume you mean a JDBC data source. Is this fair?

    If so, please be aware that NoSQL DB does not support SQL or JDBC, although these features can be added in the future. Currently, to access data in the NoSQL database from your application, you must use the Java APIs in the pilot of the client which is included in the package. Please see the Starter Guide for more information.

    That answer your question?

    -mark

  • How to get the name of the application Module data source

    Hi all

    I need to get the name of source data or DB connection on which my Application module is plugged.

    I tried to get the value below

    System.out.println ("jdbc URL:" + getTransaction () .getConnectionMetadata () .getJdbcURL ());


    But it is null for the data source (in the case of the jdbc URL gives me value)


    Please help me.

    Thanks in advance...!

    P.S: Jdev v11.1.1.6

    Thanks to all those who want to help.

    ApplicationModule API (ApplicationModule (Oracle Fusion Middleware Java QAnywhere for Oracle ADF Model))

    I thought that this

    Hashtable hashtable is getSession () .getEnvironment ();.

    System.out.println ("JDBC data source value is:" + hashtable.get ("JDBCDataSource"));

  • Add a data source to cfm 11/Tomcat

    It is possible to add a to the tomcat container jdbc data source runs an instance of CF 11?  If so, is any documentation on how to do it?

    Thanks in advance...

    Ok. To answer your original question, yes it is possible to add a jdbc data source to the container tomcat running in ColdFusion. I will illustrate this by adding a PostgreSQL JDBC data source. Be aware that the following is experimental and, as far as I know, not documented elsewhere. Take notes that will help you, if necessary, to cancel the procedure and return the system to its original state.

    The steps are:

    1) download and install the latest version of PostgreSQL for your operating system database management system; make sure it is running. Write down the password you give to the server.

    (2) download the driver JDBC41 of PostgreSQL, version 9.3 - 1102. It is the version that corresponds to Java 1.7 and 1.8, the versions of Java Virtual Machine from ColdFusion 11. The download is a JAR file. Copy it to the Tomcat lib directory located at {CF_HOME_DIRECTORY} \runtime\lib\.

    3) you now add the driver details for the Tomcat configuration files, {CF_HOME_DIRECTORY}\runtime\conf\context.xml and {CF_HOME_DIRECTORY}\runtime\conf\web.xml. }} Make a backup of these files before continuing.

    Open the context.xml file in a text editor and add the following element just before the last end tag:

    Type = "javax. Sql.DataSource' driverClassName = "org.postgresql.Driver"

    URL = "" jdbc:postgresql://127.0.0.1:5432 / booktown ' "

    username = "cf_user" password = "cf_password" maxActive = "20" maxIdle = "10" maxWait = "-1" / >

    Open the web.xml file in the text editor and add the following element just before the last end tag:

    example of postgreSQL data source

    JDBC/postgres

    javax.sql.DataSource

    Container

    (4) the resource XML element points to the URL of the database of the booktown. I will now add this database and user for the PostgreSQL server.

    Download booktown.sql. Use it to install the database of the booktown on the command line by running a PostgreSQL command as

    psql-f /path/to/booktown.sql - U postgres template1

    If it works without a hitch, then the booktown database will be installed. The user is initially the default superuser "postgres". Use it to connect on the command line:

    psql - U postgres

    It will ask you to enter the password, the one you threw down earlier. The command line begins with the command prompt:

    Postgres = #.

    Now, create another user, cf_user, also on the command line, corresponding to the resource XML element:

    Postgres is # CREATE ROLE cf_user PASSWORD "cf_password" SUPERUSER CREATEDB CREATEROLE INHERIT LOGIN;.

    (5) you have now completed setup. Restart ColdFusion.

    To test, save the following code in a CFM file and run it.

    username = "cf_user";

    password = "cf_password";

    classObj = CreateObject ("java", "java.lang.Class");

    classObj.forName ("org.postgresql.Driver");

    driverManager = CreateObject ("java", "java.sql.DriverManager");

    connectionURL = "" jdbc:postgresql://127.0.0.1:5432 / booktown '; "

    Conn = driverManager.GetConnection (connectionURL, username, Password);

    myQuery = "" SELECT * FROM books ";"

    preparedStatement = conn.prepareStatement (myQuery);

    RS = PreparedStatement.executeQuery()) ();

    While (RS. Next {}

    WriteOutput (RS. "GetString ("title") &"
    ");

    }

    RS. Close();

    Conn.Close ();

    To cancel the procedure above, first stop ColdFusion. Then remove the jar from Tomcat lib direct and restore the context.xml and web.xml to their original state. You can also uninstall the PostgreSQL database management system.

Maybe you are looking for