How to set a pooled database connection with oc4j

I am testing my application with ocj4 to see how it performs. But I have some doubts about connection pooling.My application only contains jsp and servlets. My database is oracle 8.1.7 and I use the following data-source.xml entry:
<data-source
class="com.evermind.sql.DriverManagerDataSource"
name="pooledPC"
location="pooledPC-location"
pooled-location="jdbc/pool/poolPC"
xa-location="jdbc/xa/HypersonicXADS"
ejb-location="jdbc/ejb/poolPCDS"
connection-driver="oracle.jdbc.driver.OracleDriver"
username="user"
password="pswd"
url="jdbc:oracle:thin:@localhost:1521:sid"
inactivity-timeout="30"
max_connections="40"
min_connections="10"
/>
I have some doubts about:
- which class should I use: I can choose between com.evermind.sql.DriverManagerDataSource, com.evermind.sql.ConnectionDataSource, com.evermind.sql.OrionPooledDataSource, com.evermind.sql.DriverManagerConnectionPoolDataSource, etc.
- From where I should take the connections: from location, pooled-location , ..
Could someone clarify me this issues?
Thanks

<BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by [email protected]:
Are there some other documents about oc4j that you could sent?
I have been looking on orionserver but the documentation is not complet.<HR></BLOCKQUOTE>
For Orion, your best bet is not the documentation but to search for your topic via the extensive mailing list. It is quite active and discusses such topics as pooled connections...also for other sorts of information, look at www.orionsupport.com and www.jollem.com.

Similar Messages

  • How to make a SQL database connection with a java code in netbeans?

    can somebody helpthrough an example

    raghu0007 wrote:
    can somebody helpthrough an exampleNetbeans is just an IDE.
    Anyway the JDBC tutorial may be found here http://java.sun.com/docs/books/tutorial/jdbc/index.html
    If you have a specific question please ask it.

  • How TO use configurable Database connection with ADF BC

    I have developed a simple JSF/ ADF BC web application that connects to a database and read/display data from the db tables. I have successfully deployed the application to Tomcat 5.5.17. However, now i need to change the database the application is connecting to. My question is How can I change the Database connection without having to change the application modules or rebuild the war file ??? In other words, is there a specific file (xml) where the database connection can be changed?

    If you set up the application with a data source (I am not sure if this is possible using another app server, I use OC4J), then you would just change it there. However if you created a database connection in the JDEV and pointed your data model to that, then you will have to change and rebuild.
    You might be able to edit the xml file that contains the setttings, I am not sure my CM guys dont allow this, all of our changes have to go through our code repository.

  • How to config the oracle database connection pool in IAS

    Hi,
    Does anyone who hows to config the oracle database connection pool in IAS?
    Thanks so much!!!
    [email protected]
    Jacky

    Jacky,
    You need do the following for oracle type4 driver:
    1) register the driver:
    $IAS_HOME/bin/jdbcsetup
    Driver Identifier: Oracle_Type4_816 (whatever name you like)
    Driver Classname: oracle.jdbc.driver.OracleDriver
    Driver Classpath: .../classes12.zip (install this this zip file somewhere
    and add this zip into the Classpath later).
    2) DataSource Setup:
    start iAS Administration Tool (iASAT)
    Choose Database, unfold iAS1 (your app server instance),
    choose External JDBC Datasource -> add: DataSource Registration
    JNDI Name: yourPoolName
    Driver Type: Oracle_Type4_816 (select what you just register)
    DataSource Url: jdbc:oracle:thin:@hostName:portName:dbName
    Username: your_user_name
    Password: your_passwd
    (Datasource Pool: using defaults for now): you can also customrize the
    parameters for the pool.
    3. Add classes12.zip into CLASSPATH.
    In your application, you can use JNDI lookup to get the DataSource from
    which you get the connection from the pool.
    Hope this helps.
    Good luck.
    Xuran
    "Jacky Yan" <[email protected]> wrote in message
    news:9m0tmp$[email protected]..
    Hi,
    Does anyone who hows to config the oracle database connection pool in IAS?
    Thanks so much!!!
    [email protected]
    Jacky

  • How to share the same Database Connection when using several Task Flows ?

    Hi All,
    I’m using JDev 11.1.1.3.0.
    I’m developing ADF Fusion Applications (ABC BC, ADF Faces…)
    These applications are deployed on a Weblogic server.
    Each application has only one Application Module.
    All Application Modules have the same connection type defined: JDBC DataSource : jdbc/GCCDS
    It is working fine.
    I’ve also developed Task Flow Applications for small thinks that are reused in multiple main applications.
    Each Task Flow Application has also one Application Module with the same connections type as main applications.
    All these task flows are deployed to JAR file (ADF Library JAR File) and are reused on my main applications. (drag and drop from the Resource Palette to ADF Regions….).
    There are some parameters passed to Task Flows, so that they can filter data depending on which main applications they are called from.
    Everything is working perfectly.
    All my main applications are using more and more task flows. Which is nice for the reusability etc…?
    Only ONE PROBLEM: DATABASE CONNECTIONS.
    Every Task Flows service made a database connection. So one user may have 10 database connections for the same adf page. And when there are 100 users that are working at the same time, it becomes a problem.
    How to share the same database connections for the main applications and all task flows which are used in the main application?
    Best Regards
    Nicolas

    Hi John,
    When I open a ADF Library JAR file of one of my task flow. (gcc_tf_recentSites.jar)
    I can see TF_RecentSitesService.xml and TF_RecentSitesServiceImpl.class in gcc_tf_recentSites.jar\mu\gcc\tf\recentSites\model\service folder
    + bc4j.xcfg in gcc_tf_recentSites.jar\mu\gcc\tf\recentSites\model\service\common folder.
    bc4j.xcfg details are
    +<?xml version = '1.0' encoding = 'UTF-8'?>+
    +<BC4JConfig version="11.1" xmlns="http://xmlns.oracle.com/bc4j/configuration">+
    +<AppModuleConfigBag ApplicationName="mu.gcc.tf.recentSites.model.service.TF_RecentSitesService">+
    +<AppModuleConfig DeployPlatform="LOCAL" jbo.project="mu.gcc.tf.recentSites.model.TF_RecentSites_Model" name="TF_RecentSitesServiceLocal" ApplicationName="mu.gcc.tf.recentSites.model.service.TF_RecentSitesService">+
    +<Security AppModuleJndiName="mu.gcc.tf.recentSites.model.service.TF_RecentSitesService"/>+
    +<Custom JDBCDataSource="jdbc/GCCDS"/>+
    +</AppModuleConfig>+
    +<AppModuleConfig name="TF_RecentSitesServiceShared" ApplicationName="mu.gcc.tf.recentSites.model.service.TF_RecentSitesService" DeployPlatform="LOCAL" JDBCName="gccdev" jbo.project="mu.gcc.tf.recentSites.model.TF_RecentSites_Model">+
    +<AM-Pooling jbo.ampool.maxpoolsize="1" jbo.ampool.isuseexclusive="false"/>+
    +<Security AppModuleJndiName="mu.gcc.tf.recentSites.model.service.TF_RecentSitesService"/>+
    +</AppModuleConfig>+
    +</AppModuleConfigBag>+
    +</BC4JConfig>+
    So, it seems that the Application Module is packaged with the task flow....
    Is it normal ?
    Regards
    Nicolas

  • How to restore my ipad?My ipad say on screen CONNECT TO ITUNE.How can i do when i connect with computer.It is need itune new version.Can you sent me.I will be waiting your answer.Please help me sir.

    How to restore my ipad?My ipad say on screen CONNECT TO ITUNE.How can i do when i connect with computer.It is need itune new version.Can you sent me.I will be waiting your answer.Please help me sir.

    Check for Updates.
    http://i1224.photobucket.com/albums/ee374/Diavonex/Album%208/78d42b19fa42e8d83b5 5a65e1333373f_zpsf58bbe10.jpg

  • How many apple tv can I connect with one account?

    how many apple tv can I connect with one account?

    there are 2 recent posts that suggest issues over 5, one where someone was trying to troubleshoot for a friend or client as they couldn't keep more than 5 connected, and the other where somone had more than 5 but was using 2 separate itunes libraries to share the load - not sure if that was with the same or differing AppleIDs.
    I guess there is always the possibility that things kight vary from one itunes version to the next even unintentionally to allow more.
    AC

  • Muse: How to set up a bilingual site with 2 different navigation bars?

    Hi,
    I would like to create a website in 2 languages, desktop and mobile version. The structure of the page remains the same for each language. How should I create the site so that I get one navigation bar for the first language and a second one for the other language? Is it feasible in Muse?
    Thanks for any hint in advance.
    Regards,
    christine

    Hi Christine,
    Some related threads,
    Muse: Multilingual site?
    How can i create a multilingual website?
    how to set up a multilingual website with Adobe Muse and push it live to Adobe Business Catalyst
    Do let me know if you have any question.

  • How to get kensington K9294 to connect with original iPad. Bluetooth is on.

    How to get Kensington K9294 to connect with original iPad. Bluetooth is on.

    Sorry, but what is a Kensington K9294? I can find no mention of that product ID on the web, not even on Kensington's site. Do you mean the K39294, the KeyFolio keyboard/case?
    Regards.

  • How can i fix my wifi connection with my router

    how can i fix my wifi connection with my router?

    I think I'm having a similar problem, my wifi disconnects when a bluetooth device is connected to the MBA. 
    I have a MacBook Air (13-inch, Mid 2012) with WiFi and Apple Trackpad.  I'm unable to use the trackpad(bluetooth) and wifi at the same time.  If I turn off the trackpad then the wifi works fine and if I shutoff the wifi then the trackpad works fine.  This configuration was working fine prior to upgrading to Yosemite.
    I experienced the same problem at home and at the office.
    Additional test:
    I turned off the bluetooth trackpad and connected my bluetooth headphones to the MBA.  The wifi disconnected as soon as I paired the headphones with the MBA.
    I have had no problems with the MBA's keyboard or integrated trackpad. 
    Rick

  • NetBean, I can't establish the oracle database connection with version 9i.

    In NetBean, I can't establish the oracle database connection with version 9i.
    I have create the datasource and it is fine.
    when i try to access the tables i get a message
    "Unable to refresh children, connection is broken, unsupported feature"
    in netbeans.
    Does netbeans support oracle 9i version.
    Thanks,
    VKK

    In NetBean, I can't establish the oracle database connection with version 9i.
    I have create the datasource and it is fine.
    when i try to access the tables i get a message
    "Unable to refresh children, connection is broken, unsupported feature"
    in netbeans.
    Does netbeans support oracle 9i version.
    Thanks,
    VKK

  • How can I create a database connection to Cloudscape database in 9iJDeveloper?

    How can I create a database connection to Cloudscape database in
    9iJDeveloper?
    thanks.

    Hi,
    I assume you have a JDBC driver for Cloudscape.
    1. In the IDE System Navigator, expand the Connections Node.
    2. Right-click on the Database Connection and choose New
    Connection .. .
    3. Click pass the welcome screen.
    4. In Step 1, name your connection and choose "3rd party JDBC
    Driver"
    5. Follow the rest of the steps and provide username/password,
    class name and URL, test and you should be ready to go.
    Good luck.

  • How to Set JFilechooser to show file with the same extension in the filetyp

    How to Set JFilechooser to show file with the same extension in the filetypes??
    help

    I also don't understand, but if you mean how to display only files with a certain extension in your JFileChooser then you should have a look at the JFileChooser API:
    http://java.sun.com/j2se/1.5.0/docs/api/javax/swing/JFileChooser.html
    The introduction shows an example of how to do that.

  • OK now that there is no option to reveal "database" panel in DW CC, how do I create a database connection and build my phpmysql pages?

    Is there an alternative way other than manually entering PHP code?

    Thanks, It works. Author of the article politely says what many of us have to say to Adobe when they make "improvements" - WTF, Adobe???
          From: Ben Pleysier <[email protected]>
    To: Jon Lane <[email protected]>
    Sent: Saturday, January 31, 2015 1:44 AM
    Subject:  OK now that there is no option to reveal "database" panel in DW CC, how do I create a database connection and build my phpmysql pages?
    OK now that there is no option to reveal "database" panel in DW CC, how do I create a database connection and build my phpmysql pages?
    created by Ben Pleysier in Dreamweaver support forum - View the full discussionWeb development tutorial
    Deprecated Server Behaviors for Dreamweaver Creative Cloud
    WebAssist A better, more secure and future proof way MySQLi Server Behaviors
    Dreamweaver extension
    WebAssist If the reply above answers your question, please take a moment to mark this answer as correct by visiting: https://forums.adobe.com/message/7148099#7148099 and clicking ‘Correct’ below the answer Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: Please note that the Adobe Forums do not accept email attachments. If you want to embed an image in your message please visit the thread in the forum and click the camera icon: https://forums.adobe.com/message/7148099#7148099 To unsubscribe from this thread, please visit the message page at , click "Following" at the top right, & "Stop Following"  Start a new discussion in Dreamweaver support forum by email or at Adobe Community For more information about maintaining your forum email notifications please go to https://forums.adobe.com/thread/1516624.

  • HT1688 how do i get phone to connect with itunes if its not chagring

    how do i get phone to connect with itunes if its not chagring

    Unless its an iPhone that's what you're stuck with I think.. iMessage only works between iOS devices if you're sending from the iPad

Maybe you are looking for

  • Sum number from first record in each grioup?

    Hi, I'm trying to sum a number from the first record of each group to display at the report footer. I write a formula like this to do the sumation: WhilePrintingRecords; Global NumberVar cnt:=0; if PreviousIsNull({data.grp) OR previous({data.grp}) <>

  • Add a resource to an existing resource group

    Hi, I configure two resources(AD, LDAP) as a resource group. After assigning the resource group to some users, I add a resource (oracle) to the resource group. How does IdM create users to an additional new resource? By default, IdM does not create u

  • MB21 - Reservation in reference to a BOM - Special procurement key

    Hello, I want to create a manual material reservation against a WBS element in reference to a BOM which uses a special procurement key at component level. This special procurement 70 uses the following configuration points: -  Procurement type: Exter

  • WORKSPACE_IMAGES not working if referenced in CSS file

    I uploaded common_apex.css to Shared Components > Cascading Style Sheets and use it like this in my template: <link href="#WORKSPACE_IMAGES#common_apex.css" rel="stylesheet" type="text/css" /> but I found that this style doesn't work #logo { backgrou

  • How to change password for this Apple forum ?

    Hi there, I have a problem, I forgot both my userid and my password for this forum. I am able to login now because it is being memorized by the computer but I cannot remember what it was. So now, I can only login from this desktop ! I can only rememb