BC4J DO NOT RE-USE THE ''INACTIVE'' CONNECTIONS, DATABASE IS SATURATED

We developed a J2EE Web application based on the BC4J Framework.
We're using JDevelopper 9.0.3.2 (9.0.2.822 before). The web application is rolled out on Oracle
9ias 9.0.2 patchset 3.
The database used is oracle 9i 9.2.0.
We used the following code to connect to the BC4J:
public void openConnection() {
m_appModule = null;
while (m_appModule == null)
try
m_appModule =
Configuration.createRootApplicationModule(
m_sAppModuleName,m_sAppModuleConfigName);
} catch (JboException e) {
if
(e.getErrorCode().equalsIgnoreCase(AMPoolMessageBundle.EXC_AMPOOL_COOK
IE_ALREADY_EXISTS)){
try {
Thread.currentThread().sleep(5);
} catch (InterruptedException m) {
}else
throw e;
The following code closes the connection to the BC4J
public void closeConnection() {
Configuration.releaseRootApplicationModule(m_appModule,true);
m_appModule = null;
The pooling parameters are the same as the default ones in Jdevelopper.
We noted that certain connections created by the BC4J in the database were
turned "inactive" and were never re-used.
After a certain time, "inactive" connections multiply and the database is
completely saturated.
The BC4J do not re-use the "inactive" connections but try to create new ones.
The "inactive" connections that are never re-used are never killed.
Our only solution is to reboot the database server or the application OC4J
instance to suppress the "inactive" connections.
We tried to configure the BC4J pool in Jdeveloper, but it doesn't work in 9IAS.
Could you please clarify what the problem is? Looking forward to receiving your
feedback on this pressing issue, regards.
Stéphane CHEVALLET

I'm hitting the same problem.
have you managed to solve it ? please share your wisdom :)
Best Regards
Rui Madaleno

Similar Messages

  • HT4101 Once pictures are moved from your camera to your iPad (using the camera connection kit), how do you get the photos off of the iPad? They do not show up in my photo stream or my iCloud.

    Once pictures are moved from your camera to your iPad (using the camera connection kit), how do you get the photos off of the iPad? They do not show up in my photo stream or my iCloud. I am able to see any photo I took on the iPad using the iPad camera (in iTunes, photo stream, or when I open windows explorer and browse the iPad director), however I cannot see any photos transfered from my camera to the iPad. The camera connection kit must have put my photos in a directory I cannot get to and cannot sync.

    The links below have instructions for deleting photos.
    iOS and iPod: Syncing photos using iTunes
    http://support.apple.com/kb/HT4236
    iPad Tip: How to Delete Photos from Your iPad in the Photos App
    http://ipadacademy.com/2011/08/ipad-tip-how-to-delete-photos-from-your-ipad-in-t he-photos-app
    Another Way to Quickly Delete Photos from Your iPad (Mac Only)
    http://ipadacademy.com/2011/09/another-way-to-quickly-delete-photos-from-your-ip ad-mac-only
    How to Delete Photos from iPad
    http://www.wondershare.com/apple-idevice/how-to-delete-photos-from-ipad.html
    How to: Batch Delete Photos on the iPad
    http://www.lifeisaprayer.com/blog/2010/how-batch-delete-photos-ipad
    (With iOS 5.1, use 2 fingers)
    How to Delete Photos from iCloud’s Photo Stream
    http://www.cultofmac.com/124235/how-to-delete-photos-from-iclouds-photo-stream/
     Cheers, Tom

  • I have an IPad mini WiFi (not cellular) and an IPhone 5. I use the bluetooth connection between both devices when on the road. I downloaded a navigation system on my IPad using GPS positioning. Is Bluetooth OK to use GPS positioning on the IPad?

    Hi
    I have an IPad mini WiFi (not cellular) and an IPhone 5. I use the bluetooth connection between both devices when on the road. I downloaded a navigation system on my IPad using GPS positioning. Is the Bluetooth connection working to use GPS positioning on the IPad using IPhone 5 as the hotspot?
    Thanks for your input
    Felix013

    try a RESET ALL SETTINGS

  • I use my camera for video and photos.  When I download my videos to my ipad1 using the camera connection kit, they will not play on my ipad. Is there a way I can get them to play?

    I use my camera for video and photos.  When I download my videos to my ipad1 using the camera connection kit, they will not play.
    Does anyone know how I can make this work?

    Yvonne-
    I haven't tried videos on my camera yet.  Do you use the Videos App to play them?  I don't think they will play in the Photos App.
    If yours are in a format that is not in Vazandrew's list, you may need to sync them to your computer and convert them to M4V or MP4 format.  You can use a program like HandBrake to do the conversion.  <HandBrake>  Once converted, you can sync them back to the iPad and they should play.
    This may not meet your needs, but the alternative appears to be getting a different camera.  I don't know of another Video App that might work.
    Fred

  • Common URL and not to use the hostname.domain to connect

    Hi All
    We are interested in geeting information regarding the iAS vs. load balancer our question is : we have one common URL but we need to configure iAS10g to use this common URL and not to use the hostname.domain to connect
    Can you please share some solutions ?
    Thanks

    Well, let me step back. I am not sure if I understand your question completely. Can you give me an example of what do you mean by "common url"?
    Also when you say you want to use a common url vs. hostname.domain to connect, what is this connection you are talking about? Is this the connection to EM (AS Control)? Your application? Or something else?
    Knowing this will help me suggest you the right/appropriate solution.
    Thanks
    Shail

  • ARD over internet to multiple macs using the same connection

    Hi, I know the topic has been covered to enable ARD over the net, however all the solutions I see require port forwarding which in essence makes only one computer using the internet connection available, how do you make it so multiple macs can use the one internet connection to send/receive ARD requests? is there a way to change the port ARD uses on individual macs and then forward the ports ? or do I have to go down the VPN path ? or is there a better solution for this kind of setup, thanks Ash

    Precisely.
    Cheers, Joel
    \[ Note, the reason I didn't use 5900 and 5901 was for clarity to make it obvious that they are arbitrary choices on the external side, but also because sometimes using 5901+ gets confusing. Depending on your VNC server software, which port on the internal side that you choose to use between 5900-5920 actually means something (resolution, color depth, etc) to the server software. If you can keep it all straight in your head though, and point them all to the right internal port (5900 usually), no harm in it. If you don't mind adding some awful "security through obscurity," you probably shouldn't have VNC service open to the internet on 5900 anyway. Either way, you should also probably limit connections to those internal machines now that they are "directly reachable" from the 'net. In your firewall they should both have default-deny policies for incoming requests unless they're from your known-safe external addresses.]
    Message was edited by: Joel D. Reid

  • I want to use the Thunderbolt connection for an external hard drive

    I want to use the Thunderbolt connection for an external hard drive - so what port would I use on the MacBook Pro 13" for the display monitor.  Thank you!

    This is not the forum for MacBook Pro owners.
    You just need to reformat the drive in Disk Utility and erase the drive and have  Mac HFS.
    If you did need to use NTFS then you would not want -3G but Paragon NTFS for OS X x. 10.0
    Or buy something that isn't pre-formatted to Windows NT file system.
    First though make sure you have backups of your system. TimeMachine being used now?
    http://macperformanceguide.com/Mac-TimeMachine-drive.html
    http://www.apple.com/support/timemachine/
    Maybe cleanout some files you don't need.
    Install a larger notebook hard drive even.
    http://www.macsales.com/firewire has a lot of choice in Mac compatible drives and enclosures so you don't need to worry about Fantom not working at some point.
    https://discussions.apple.com/community/notebooks/macbook_pro
    https://discussions.apple.com/community/mac_os/mac_os_x_v10.6_snow_leopard

  • Cannot connect from dreamweaver cs5.5 to mysql using the mysql connection wizard

    Cannot connect from dreamweaver cs5.5 to mysql using the mysql connection wizard error Http error 403 or 500 internal server error. I am using ubuntu mysql.
    a manual php script work fine
    <?php
    // open connection to mysql server
    $dbc = mysql_connect('localhost','root','password');
    if (!$dbc) {
                die('Not Connected' . mysql_error ());
    //select database
    $db_selected = mysql_select_db ("msinventory",$dbc);
    if (!$db_selected)
            die('Cannot Connect' . mysql_error());
    echo "TEST DONE1";
    ?>
    but the database connection wizard fails with http error 403 or 500
    i also use the HeidiSQL client and it works, the only problem is in dreamweaver.

    OK.  Did you really mean to ask this question on a ColdFusion forum, if it's DreamWeaver you're having problems with?  You're probably better off raising this on a DreamWeaver forum.  "Using the correct tool for the job" 'n'all.
    Adam

  • I can't import vertical photos to my iPad using the camera connection kit. Horizontal photos import without a problem, but verticals have a red exclamation mark. Help?!

    I can't import vertical photos to my iPad using the camera connection kit. Horizontal photos import fine, but verticals have a red exclamation mark, and do not import. Help!?

    I have the same problem and apple needs to fix this - but in the mean time you can manually select the vertical photos then "import - import selected" and you can get your verticals. We need a better fix. THIS IS A BUG!

  • How to use the current connection when calling db procedure ?

    dear all,
    Am using Jdevleoper 11.1.1.3 ,
    I have a java class that call a database procedure , now everything is going fine with me but a bit slow bcoz am openning a new connection I think it would be definitely faster if am using the current connection
    so how can i re-write my code so i can use the current connection istead of defining a new connection to the DB :
    public void DeleteApp (int PAppNo){
    String username,password,thinConn;
    username = "ACC";
    password = "ACC";
    thinConn = "jdbc:oracle:thin:@..."
    try {
    DriverManager.registerDriver(new OracleDriver());
    Connection conn = DriverManager.getConnection(thinConn, username, password);
    CallableStatement cs = conn.prepareCall(" { call myprocedure(?,?,?) } ");
    cs.setInt(1,PAppNo);
    Thanks for all,
    Lama

    Delta,
    You shound NOT be doing JDBC calls from your UI project. You should put the code as a service method in your application module, expose the service method to the client, and then call it through the binding layer from your UI http://download.oracle.com/docs/cd/E14571_01/web.1111/b31974/bcservices.htm#sm0212
    thx John & timo but u always post the same reply at the same time for my questionsTimo and I have been around long enough that we recognize the questions that have been posted 9,461,293,811 times before and know the stock answers, and know where in the documentation the answers are given. As you appear to be new to ADF, I'd strongly recommend reading the Fusion Developer's Guide (skim it once and then read in detail the parts that interest you). As I've said before, so many of the basic (and not-so-basic) concepts are covered in there. Once you've skimmed it in enough detail, then the next time you have a problem, you might not know the answer, but you'll remember, "ah, I think I read something about that before, let me check..."
    John

  • HT4060 My iPad4 will not charge using the cable supplied by Apple using AC current or athrough my computer. Help!

    My iPad4 will not charge using the cable supplied by Apple using AC current or the computer. Help!

    Here are some things to check when there is a problem charging the iPad. First use the charger that came with the iPad and connect that to a wall outlet.
    1. No power in the outlet.
    2. Bad charger. Try a different charger.
    3. Bad cable. Try a different cable.
    4. Dirt, lint or fuzz in the charging ports. Check and carefully clean with a toothpick if necessary.
    5. Software glitch. First thing to try is to reset your device. Press and hold the Home and Sleep buttons simultaneously until the Apple logo appears. Let go of the buttons and let the device restart. See if that fixes your problem.
    6. Hardware failure. Make an appointment at an Apple Store to have your device examined by a technician. Or contact Apple Support.

  • My laptop is connected to company LAN on wire and I have another active wifi connection provided by a router. Can I use the wifi connection for mozilla connection and the wired for everything else? I'm on Win7.

    I have 2 simultaneous active connections:
    no1: wired connection to company lan; private IP 172.19..
    no2: wireless connection to unrestricted traffic router; private IP: 192.168...
    my question: can I use the wireless connection for mozilla traffic and the wired for everything else?
    I'm on Windows7 Prof, all security updates installed.

    Go to Control Panel > Network and Internet > Network and Sharing Center >
    Click Change adapter settings from left panel > Open the network connection you want to change the DNS servers for by right click and select Properties > Select
    Internet Protocol Version 4 (TCP/IPv4) and click Properties button > Choose the
    Use the following DNS server addresses > enter the IP address for a
    Preferred DNS server as well as an Alternate DNS server.
    Primary DNS: 8.8.8.8
    Secondary DNS: 8.8.4.4
    This IP belongs to Google public DNS.
    Note: Wired connections are usually labeled as Ethernet, while wireless ones are usually labeled as
    Wi-Fi or Wireless Network Connection.
    Uncheck Internet Protocol version 6
    Mark as Answer if it's worked. Thanks. Balamurugan_Subramaniyan

  • I have a MacPro late 2011 and each time I use the USB connection it freezes my desktop, also I have lost my windows OS on VMware Fusion,  regards  Bettws

    I have a MacbookPro  10.6.8 and each time I use the USB connection it freezes my desktop, also I have lost my Windows XP operating system on VMware Fusion.  regards  Bettws

    Energy Saver is very problematic with non-Apple USB devices.  Which means when you close the lid to your machine, those devices will not necessarily appear until you next restart the computer.
    Secondly, Windows XP is not secure anymore, unless you pay Microsoft a special licensing fee.  To avoid that, upgrade to at leats Windows Vista:
    https://discussions.apple.com/docs/DOC-2741

  • UCCX 5/7 or 8 - Database access - How does the UCCX engine use the DB connection

    I was asked the following question by a customer:
    /* Style Definitions */
    table.MsoNormalTable
    {mso-style-name:"Table Normal";
    mso-tstyle-rowband-size:0;
    mso-tstyle-colband-size:0;
    mso-style-noshow:yes;
    mso-style-priority:99;
    mso-style-qformat:yes;
    mso-style-parent:"";
    mso-padding-alt:0in 5.4pt 0in 5.4pt;
    mso-para-margin:0in;
    mso-para-margin-bottom:.0001pt;
    mso-pagination:widow-orphan;
    font-size:11.0pt;
    font-family:"Calibri","sans-serif";
    mso-ascii-font-family:Calibri;
    mso-ascii-theme-font:minor-latin;
    mso-fareast-font-family:Calibri;
    mso-fareast-theme-font:minor-latin;
    mso-hansi-font-family:Calibri;
    mso-hansi-theme-font:minor-latin;
    mso-bidi-font-family:"Times New Roman";
    mso-bidi-theme-font:minor-bidi;}
    "How does UCCX manage it’s database connections – a connection pool manager / single connection / single connection for each call"
    Does anyone actually know ?  Is it documented anywhere?
    Based on how the steps work I'd guess that the UCCX engine makes a new single DB connection each time the DB step reaches out the DB for a read/write. I assume it would do this independently for every instance of a script running.  Hence the importance of the DB release step I'm guessing.
    I know in the DB subsystem you can configure the maximum number of DB connections to be used but this doesn't imply how they are used.
    I'm not a DB guy, but I think the concern stems from the potential load on a DB server with the constant opening and closing of the DB connections.  I'm assuming that if it used a connection pool the UCCX engine would open, and keep open, a group of DB connections to be used by the UCCX engine. This would lessen the load on the DB server I'm assuming.
    Is there any fundamental difference with UCCX 8 and the DB access ?  It obviously not ODBC anymore.  It JDBC right ? But again how does the UCCX engine use the DB connection?

    To my knowledge, this is not documented; however, at least through 7.0 the MIVR subsystem will open a pool of ODBC connections equal to the maximum you defined and keep them open. If you set it to 50, you will see 50 open connections on the SQL server. Each script that is triggered will attach to one of the available connections as soon as you use a DB-related step and keep it until you use a DB Release step. Once that script instance releases it, the connection is available for another script.
    The behavior should not change with 8.0 as it is the same MIVR subsystem that is doing the work. My first CCX 8.0 project that needs database integration is still about 30 days away so I can't guarantee that though.

  • LOV issue for Crystal Report 4.0 ( Enterprise ) using the BICS connection

    Hi Expert,
    I am working for one our client which is using Crystal Report Enterprise 4.0 SP 2 i am facing the following problem with the LOV .
    - I have created the crystal report on top of BEx query using the OLAP connection in CMC .
    I have the variable at BEx query level which have list of value around 100 K and user want to search through that LOV in order to make his selection but as soon as i include that variable in my Query and run my CR my report crashes  and i cannot run the report .
    I gave the user the option of manual input of value to that variable it does not work as it uses the BICS connection and i read somewhere we cannot use the manual input in case of BICS connection for crystal report  you have to select the value from the LOV .
    My Question is is there any workaround if we can restrict our LOV to some extent and let the user to select and search from that any setting if we have at query designer level to restrict the LOV to burst in the report .
    Any input will be appreciated .
    Thanks,
    Vibhav

    Hello,
    Please log a case in Service Market Place and a Rep will call you to discuss your question.
    Thank you
    Don

Maybe you are looking for

  • Doubts in job-schedulling?

    Hi, i m having few doubts in dbms_scheduler 1.)how to findout the whether the particular job is running(i.e)current status of the scheduled job. 2.)i scheduled one job procedure which normally runs at every nite 11 o clk.now they wants to change it t

  • Custom File name using File Adapter

    Hello All, Is it possible to name the file based on a particular XML tag? may be use an xpath expression? My requirement is to create a file name something like PO_<PO-NUM>.xml rather than using any sequence or time stamp. Thanks.

  • Robohelp 8 Webhelp Output cannot be viewed in IE 10

    Hi,     I have used Robohelp 8 to create help file. The webhelp output can be perfectly seen in IE 7 OR 8. However, in IE 10,  when the start page in the webhelp folder is cliked, the TOC is opening but the topics are not getting displayed in the rig

  • I can't choose songs or skip songs without battery running out?

    whenever I choose a song or skip a song, it always comes up with the 'no battery remains' message. this happens especially when choosing songs. no matter how much i charge it, once the message comes up i can't get it to play music once i turn it on a

  • ColdFusion can't find ApplicationProxy.cfc in site root.

    I am running CF9 Standard on a Windows 2008 R2 server. I have an Application.cfc and ApplicationProxy.cfc in my root directory and I am trying to "extend" the ApplicationProxy.cfc in a sub directory that houses a login page. When I try to access my s