How come EJB's are opening more connection to oracle

Hi .my problem is that Oracle db shows there are several open connections to it,where
as the only thing that will have oppened a connection to db is ejb's
ejb's have container managed persistance
thanks in advance

If you have Container Managed Persistence, then it is the container that manages connections to the database rather than the EJBs.
You should be able to manage the database pooling within the setup of your container.
As an example, my EJB system has around 30 Entity beans, but the container has a maximum datasource pool size of 10, therefore there is a maximum number of 10 connections to the database. (incidently, the container I use always maintains these 10 as a minimum as well.....)
Hope this helps!
Adam

Similar Messages

  • How come although iPads are getting more powerful, the iOS apps from apple are so mediocre and just not that great? We spend all this money for the latest ipad and all we get is these $5 video and music apps from apple. Why create the iOS platform and onl

    How come although iPads are getting more powerful, the iOS apps from apple are so mediocre and just not that great? We spend all this money for the latest ipad and all we get is these $5 video and music apps from apple. Why create the iOS platform and only offer so so apps like IMovie and GarageBand ? While other developers are offering much better apps like pinnacle studio for video, Cubasis and Auria for music production, apple has not showed much growth in terms of innovation. While there's nothing wrong with making an app like GarageBand where "anyone " can make a song, how about something for real musicians or an app not so basic as it get for video editing? After spending 0ver $700 on an ipad I'd be willing to spend more than $5 for a better video or audio app.

    First, try a system reset although I can't give you any confidence.  It cures many ills and it's quick, easy and harmless...
    Hold down the on/off switch and the Home button simultaneously until you see the Apple logo.  Ignore the "Slide to power off" text if it appears.  You will not lose any apps, data, music, movies, settings, etc.
    If the Reset doesn't work, try a Restore.  Note that it's nowhere near as quick as a Reset.  It could take well over an hour!  Connect via cable to the computer that you use for sync.  From iTunes, select the iPad/iPod and then select the Summary tab.  Follow directions for Restore and be sure to say "yes" to the backup.  You will be warned that all data (apps, music, movies, etc.) will be erased but, as the Restore finishes, you will be asked if you wish the contents of the backup to be copied to the iPad/iPod.  Again, say "yes."
    At the end of the basic Restore, you will be asked if you wish to sync the iPad/iPod.  As before, say "yes."  Note that that sync selection will disappear and the Restore will end if you do not respond within a reasonable time.  If that happens, only the apps that are part of the IOS will appear on your device.  Corrective action is simple -  choose manual "Sync" from the bottom right of iTunes.
    If you're unable to do the Restore, go into Recovery Mode per the instructions here.

  • How come pages won't open PDF files made by Pages?

    How come pages won't open PDF files made by Pages?
    I have files I made with Pages and exported as PDF but I can't open them with pages to edit?
    Also, where are the recent files created by pages located? Can't find those to open either..

    Hi Tom,
    I was delighted when I signed up for Pages. Clunky yes, but it worked. I've been a graphic designer on a Mac for 25 plus years and have logged too many horror stories of "upgrade" wars which cost me massive lost time, data and money forcibly extracted just so I could finish a project.
    When I first used Pages in April of 2012? or there about, I was able to open Word documents exported to .pdf format, emailed to me, which I then dragged into Pages. I could make the changes I needed to make, export as a .pdf, return it back to my client which they could then edit on whatever it was they were using. I'm not a neophyte with this. I've had Original Photoshop as a stand alone, Quark (which locked users out 6 months after I purchased it.) Quark again, Freehand, Pagemaker, Illustrator, Photoshop again, Creative Suite for several upgrades, Acrobat Pro. 2 years ago I lost 6 years of Quicken data and had to and "upgrade" start over. This last go around I  had to "upgrade" my Apple ID - yes I had 2 on purpose, lost my Pandora One and my ability to get into the Tulsa County Library website.
    At this point, I'm retired and feel like what I've paid for in the past should WORK today. I have a 100+ page cookbook in Quark which I was able to export as a .pdf, that I've lost the tags too, Easier to start over. I have artwork that is hundreds of megs in Photoshop. Not the least bit interested in anybody's "cloud".
    Thanks for letting me vent. I'm determined to keep my equipment and software up to date so I can enjoy the skills I've acquired, but I completely cringe at Apple's antics. I truly hate it when I have to respond to some new "tip" or product offer. BooHiss. Happy Turkey Day. Pages is a "turkey" program.
    Best regards, mbd

  • Using Maverick, how is it possible to open more than one calendar window?

    Hi, I'm using Maverick 10.9.1
    My question is: how is it possible to open more than one calendar window? i would like to have on the right my personnal calendar dates and on the left, my company calendar.
    Many thanks in advance for your help!
    ph

    See if the section on group calendar helps.
    http://www.dummies.com/how-to/content/basics-of-calendar-in-os-x-mavericks.html

  • How come you can not use more than 126GB of a 1.5TB diskdrive with LabVIEW Real Time?

    How come you can not use more than 126GB of a 1.5TB diskdrive with LabVIEW Real Time?
    This is only 8.3% of the available disk drive space!
    http://digital.ni.com/public.nsf/allkb/E7E2F5657B6​026358625750B007201A6?OpenDocument
    National Instrument's solution is either reformat you drive to less than 126GB or replace the drive with one less than that size.
    Please NI, tell me you are going to fix your LabVIEW Real Time soon, and that we won't have to wait for LabVIEW RT 9.2.1 in 2011 for this one to be fixed.
    http://upload.wikimedia.org/wikipedia/commons/9/90​/Hard_drive_capacity_over_time.svg
    Drives as large as 126GB or more have been around since about mid 2002.  That's about 7 Years now and LabVIEW Real Time STILL can't use drives larger that 126GB!  Please NI.  Do something.
    We deserve fixes to the old versions of LabVIEW RT.  How about updates to LabVIEW RT.  Such as 7.0.2, 7.1.2, 7.6.2, 8.0.2, 8.2.2, 8.6.2.
    We don't need new features or versions of LabVIEW RT such as 9.0 until we have some of bugs fixed in the existing versions. 
    Kevin. 
    Message Edited by kmcdevitt on 05-29-2009 03:39 PM
    Solved!
    Go to Solution.

    Coq rouge wrote:
    NI is not making the Real Time OS in house. I do not remember which firm that is making it. Anyway you are allowed to use a hard drive that has been partitioned. And 126GB is some space is it not? I remember Bill Gates declared one time that 640Kb ram should be more than enough for any PC application also in the future 
    Coq Rouge (formerly t06afre),
    The RealTime OS is an NI Product that is purchased from NI.
    NI may or may not outsource design, developement, or manufacturing of the products that it sells under its own Company name.
    For this reason I would be concerned if I were a PXI Embedded Controller designer/developer in the United States. 
    Yes, 126GB is some space.  I see that there are now 2TB drives available.  126GB would be 6.3% of a new 2TB drive.  Should we all be happy with being able to use 6.3% of the available drive space.  Moore's Law seams to be alive and well.  Drives larger than 126GB have been readily available for 5 or 6 Years.  This should not be a surprise to NI.  Why don't they do something about it.
    Thanks for the trivia on Bill Gates.  I must have missed that one since I don't try to keep up with Microsoft.  I believe that he is a wonderful person and he and his family are doing wonders for the world in their "retirement".   The world needs more like him.
    What I do remember is Steve Jobs telling us that we would never need more that 128MB and that we would never to need to do anymore software development because everything was already in the "ToolBox".
    McKevin.  

  • How come iTunes won't open on my computer? Every time I go to open it a message pops up saying that it can't be run. How do I fix this?

    How come iTunes won't open on my computer? Every time I go to open it a message pops up saying that it can't be run. How do I fix this? Thanks If you can help me!

    Every time I go to open it a message pops up saying that it can't be run.
    What's the precise text of the message, please? (There's a few different ones I can think of that you might be getting.)

  • How come i can't open the sim tray even if i use the small pin?

    how come i can't open the sim tray even if i use the small pin?

    Press firmly and push either the sim eject tool or a small paperclip straight in until the tray pops out.
    If that doesn't work make an appointment at an Apple store.

  • How come free memory will be more than physical memory?

    Hello Guruz,
    Interesting, I installed one zone with 1Gb dedicated memory, But when I type top command I am getting o/p as below.
    Memory: 1024M phys mem, 1972M free mem
    How come free memory will be more than physical memory?
    If that so, how can we get exact memory utilization on non-global zones.
    Thanks in advance.
    Thanks & Regards
    Prakash K
    Off: +91 2022970906

    Hi Prakash,
    Please run the following command on the Global Zone and Non - Global Zone and upload the output.
    # prtconf |grep -i memory
    SK

  • A way to find out how many screens/windows are open

    hi everyone,
    is there a way to find out how many sap screens are currently open? i need to know this because my program should react differently if the user has all 6 screens opened or if he has only one screen open.
    <each thread here has the same priority!>
    thanks in advance!
    Edited by: Thomas Zloch on Apr 12, 2010 3:59 PM

    Try calling function module TH_USER_INFO.
    Thomas

  • HOW TO STOP you are opening this program for the first time

    I continue to get the warning "you are opening this program for the first time".  I don't want that warning to ever appear again for any program.  How to permanently get this warning to never again appear?
    Best regards,
    Steve Schulte
    Wednesday 21 November 2012

    Thomas,
    The reason I don't want these warnings (especially for programs that I have had on my Mac for years!) is because I now use ecamm's "Printopia" to send items from my iPad3 running iOS 6.0.1 to my MacBook Pro-13 (mid-2010) running Mountain Lion 10.8.2 -- and in order to do this:
    1.  Both my iPad and Mac have to be on the same WiFi network.
    2.  The Mac has to be awake, cannot be in the "sleep" mode
    OK but in order to wake my Mac, I've found that using the app "Remote" on my iPad to open iTunes AND PLAY A SONG will "waken" my Mac*.
    So now, for example, I send a .jpg file to my Mac.  I have it set so that GraphicConverter opens when a .jpg file is to be opened.  OK but if this warning appears (and even though I have had GraphicConverter on the Mac since the beginning of time…) I sometimes (like today) get this warning.  Of course I am not at my Mac and yet when I eventually go to my Mac-- there is that dialog box sitting there and until I click OK the photo doesn't open (and on my iPad I don't get a confirmation that it has been sent, because it hasn't until I click OK on the Mac).
    This could happen for other types of files, too - text files or Word documents etc.
    It seems to happen when I UPDATE a program, like when GC went from 8.3 to 8.3.1 for example.
    Thanks for any additional comments.
    *Perhaps there is a better / faster / easier way to "waken" my Mac from my iPad?  This is the only way I have found so far…

  • How come some podcasts are loud while others I can barely hear?

    I enjoy listening to podcasts while at work.  I work in a place that does not allow head phones nor does it allow for a stereo.  I use a small iHome speaker. The Red Eye Radio podcast has a perfect volume level, while the Billy Cunningham podcast, Bill Burr, and Stuff you should Know podcasts can barely hear at full volume. How come the volume is so different from show to show.  Can't there be some kind of podcast/broadcast standard.  I enjoy all these programs but find myself only listening to the ones I can hear.

    Try CTRL+(ZERO)

  • How to find the number of ODBC connections to Oracle Database

    Hi All,
    How to find the number of ODBC connections and all connections to the Database in last week. Are there any views to get this information?
    Thanks in advance,
    Mahi

    What Ed said is true that Oracle doesn't note which type of protocol is connecting to the database, however, you can see which program is accessing the database.
    For example: if you already know of a user using ODBC, you can verify as:
    select username, osuser, terminal, program from v$session where username = 'SCOTT'
    USERNAME                 OSUSER          TERMINAL   PROGRAM
    SCOTT                    IUSR_SRV231     SRV231     w3wp.exe
    SCOTT                    IUSR_SRV231     SRV231     w3wp.exe
    2 rows selected.Assuming that you can confirm the progam noted in the above (example) is the one using ODBC, then you can change the query such as:
    SQL> select username, osuser, terminal, program from v$session where program = 'w3wp.exe';
    USERNAME                 OSUSER          TERMINAL   PROGRAM
    SCOTT                    IUSR_SRV231     SRV231     w3wp.exe
    SCOTT                    IUSR_SRV231     SRV231     w3wp.exe
    2 rows selected.Just for kicks, I checked our listener.log file, but there was no reference of odbc in it either.
    Hope this helps...

  • How to configure Rails database.ympl to connect to Oracle XE DB on Windows

    How to configure database.yml file in a Rails application to be able to connect to Oracle XE DB?
    I'm on Windows XP, Ruby 1.86, Rails 2.3.2. with oracle adapter.
    When I tried
    development:
      adapter: oracle
      encoding: utf8
      database: localhost:1521/incentives,
      host: localhost
      pool: 5
      username: SYSTEM
      password: adminI got the below error (sorry for the stack trace traduction from French):
    rake aborted!
    ORA-12514: TNS : listening process doesn't know the required service in the connection description
    rake aborted!
    Invalid escape character syntax: /C:\Documents and Settings\myusername\My Documents\rails projects\myrailsproject\Rakefile/
    c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:2058:in `standard_exception_handling': Invalid escape character syntax: /C:\Documents and Settings\myusername\My Documents\rails projects\myrailsproject\Rakefile/ (RegexpError)
            from c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:2058:in `find'
            from c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:2058:in `each'
            from c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:2058:in `find'
            from c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:2058:in `standard_exception_handling'
            from c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:1974:in `run'
            from c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.4/bin/rake:31
            from C:/ruby/bin/rake:19:in `load'
            from C:/ruby/bin/rake:19

    database: localhost:1521/incentives,I don't know your environment, but the error seems quite clear... should that trailing comma be there ?

  • How come Maps v2 are worse than v1?

    Hello, Nokia
    I own a N78 and I'm currently located in Bulgaria. A day ago I decided to upgrade Nokia Maps so I downloaded Map Loader 2 and Nokia Maps 2 from Nokia's site. Installation went normal and everything looked fine when, planning a route today, to my dismay I realized the maps from v2 are missing places that were present on the ones from v.1! Examples are the small villages of Palilula and Gromshin (spelled Gromsin in maps v.1) in Northwestern Bulgaria, and Chukovec in the southwest. All the small villages that were present on Maps v1 are gone since v2, the places where they are located show nothing, not roads, nor the villages themselves, and the search doesn't find them either. What happened? Am I missing something?

    Unbelievable. So Nokia made a navigation program with more features but with less detailed maps. Mind you, I'm not talking about one or two spots, basically the entire set of small villages from Bulgaria's map have disappeared, as I've discovered, and thus only big cities remain to which there are enough directions anyway. When you say "in the short term" does this mean there is any chance for the maps to become detailed again? If so, any ideas when this happens as in the present I just can not use the handset for proper navigation? If not, how do I revert back to Maps v.1? I've tried uninstalling v2 but then, when I open the program, it says it cannot open maps, update to ost recent version. I'm figuring Maps v1 cannot use the the maps supplied to v.2, will formatting the phone give me back the good ones?

  • OracleConnectionCacheImpl opens more connections than its max!

    Hi there, I have an application that uses lots of connections... I have a pool of connections that I implement with the Oracle class: OracleConnectionCacheImpl. I set the maximum number of connections to 50, and for some reason, sometimes it reaches the 50 connections and ever more! It reached 60 connections at some point... So my question is, what are the reasons that a pool implemented with a OracleConnectionCacheImpl object reaches its maximum connections and more? How can I fix this?
    Thanks!

    It's probably a little bit too late to answer but it may serve someone else:
    By default, when the maximum number of PooledConnection objects exists in the cache, and no free connection instance is available for a request, the cache will create another PooledConnection object, therefore exceeding the specified limit. Choosing a connection cache scheme can alter this behavior. There are three connection caching schemes available in the Oracle connection caching implementation.
    �     Dynamic
    �     Fixed Wait
    �     Fixed with no Wait
    The connection cache scheme is set using the setCacheScheme() method by passing in one of three constant values, DYNAMIC_SCHEME, FIXED_WAIT_SCHEME or FIXED_RETURN_NULL_SCHEME.

Maybe you are looking for

  • Reg. Maintain the posting keys necessary for transaction EXD.

    Dear friends I am getting the below error message when I release the billing in VF02 Error in account determination: table T030K key NCCA EXD Message no. FF709 Diagnosis In the chart of accounts to be posted to, no accounts are defined for the tax co

  • Multiple device id's

    I use my wife's apple id for all my devices.  i have a mac book, ipad and 2 iphones.  i am wanting to have seperate id's but still share things between devices.  how do i go about setting this up without deleting anything?

  • XSLT Processor, set_expression

    hello, in the last few days i´ve posted several questions about xslt, xslt processor, ixml etc., but nobody could give me an answer. i think all my attempts to solve my problem gone to the wrong path. now, this will be my last question to this topic.

  • How to delete a random set of indizes from an array as fast as possible?

    Hello, My question sounds a bit like this thread but it isn't...    :-( http://forums.ni.com/ni/board/message?board.id=170​&message.id=129888&query.id=10689#M129888 When sampling position/force/resistance data I use a time triggered sampling approach

  • Automatic email when an alert occurs (RZ20) from SAP R/3 4.0B

    Hi SAP Experts. How do I configure the Automatic email when an alert occurs (RZ20) in the system SAP R/3 version 4.0B (AIX +Oracle) ? Best regards. Luis Gòmez