After the server running for a period of time, get connection errors

Hi all

We meet a few serious problems during the performance tests.
Its does not occur with WebLogic 10.3 and does not occur with connections of type oracle.jdbc.driver.OracleConnection.

After the test, the server fills up with the following exceptions...

< 9 October 2009 15:34:17 IST > < WARNING > < JDBC > < BEA-001129 > < receipt exception creating connection to pool ' jdbc/sdoPool': IO exception: the network adapter could not establish the connection >


Here is the configuration of the jdbc/sdoPool:
Driver class name: oracle.jdbc.OracleDriver
-> Properties
user = SOL_ISMART_USER
Class = Oracle.JDBC.pool.OracleConnectionCacheImpl
Protocol = thin
Initial capacity: 1
Maximum capacity: 100
Capacity: 1
Delete the infected connections



Code to get the connection...
DataSource data source = null;

VR;
{
dataSource = (DataSource) ctxt.lookup ("java: comp/env/jdbc /"+ poolName ");
}
catch (NamingException only)
{
dataSource = (DataSource) ctxt.lookup (poolName);
}

Connection Conn = dataSource.getConnection ();

OracleConnection vendorConn = (OracleConnection) ((WLConnection) conn) .getVendorConnection ();

vendorConn.setClientData ("LOGICAL_CONNECTION", conn);

Return vendorConn;


Here is my code to close the connection...
If (con instanceof OracleConnection)
{
If (((OracleConnection) con), .getClientData (C_LOGICAL_CONNECTION)! = null)
{
Connection logicalCon = (connection) (con (OracleConnection)) .getClientData (C_LOGICAL_CONNECTION);

connection - defense against leaks of output connection
(Con (OracleConnection)) .setClientData (C_LOGICAL_CONNECTION, new Object();)

logicalCon.close ();
logicalCon = null;

con = null;
}
on the other
{
con = null;
}
}
on the other
{
If (! con.isClosed ())
{
con. Close;
}
}



Any advice / help greatly appreciated.

Ronan

The DBMS does not give new WebLogic connections when running. Try to set
the initial capacity of the pool to 35 and the login delay to 1, so the pool
makes 35 connections at startup, one at a time, with a delay of 1 second
between each of them. (The DBMS can sometimes get overloaded if it becomes too
connection requests in a short period of time and don't miss some people).

Tags: Fusion Middleware

Similar Questions

  • Up to version 7.01 FF ever hanged, but with 7.01, after having not used for a period of time (hours or less), it crashes. No solution except again?

    Up to version 7.0.1 but never crushed/hnag, FF with 7.0.1 after you have not used for a period of time (hours or less), it crashes. No solution except again?

    Upgrade your browser Firefox 8 and try

  • After the Server 5.1.5 upgrade network user cannot connect by most workstations

    Hi all

    Intro

    I upgraded one of my client of 10.6.8 Xserve server at El Capitan / app 5.1.5 server.

    The server is configured with the network homefolders and mobile homefolders. We also use PCS. The 10.6.8 configuration has worked perfectly and still doesn't work. But now it is time to move on.

    The upgrade process from was relatively smooth. I had to configure the interface network again, then check DNS (front / back) and I also had to re - install the SharePoint, including network sharepoint (via AFP) houses.

    Problem:

    Then, I started to test the connection as users of the network on client computers. I found that it was not possible to connect from most client computers.

    After entering the login credentials was refused immediately. As is the case when entering the incorrect credentials.

    On client computers, nothing has changed.

    Client computers running Yosemite 10.10.5 and some are running 10.6.8

    As soon as I reboot the Xserve 10.6.8 original that's all is back to normal.

    What does not work:

    Those who connect has worked well:

    • Mobile sync (on Unassigned Computers)

    • Log is as user network at home (on Unassigned Computers)

    • PCS worked fine. New settings have been made correctly. On all computers.

    • Automatically install some actions has worked well on all computers. It is a local administrator on the client computers. When connecting to the account, the network shares are mounted using PCS.

    • Resolution of the DNS of all client computers

    • DHCP works OK

    • Client computers running 10.6.8 seem to be not affected.

    At one point one of the workstations involved that did not work, started working.

    What I tried and not solve the problem:

    • Renew DHCP client

    • Removed liaison OD and put in place again

    • Trashed records managed preferences (these have been re-created correctly)

    Ideas on possible causes:

    The most logical causes of this behavior might be:

    (1) client computer cannot find the master OD.

    (2) the powers of negotiation fails.

    Since the Division of the OPPOSITION binding work, works PCS etc., the client computer is the master of the OD.

    The latter seems the cause more lickely. Ticketviewer does not show tickets. Ticketviewer by using the credentials of a user of OD manually requesting a TGT works very well.

    All advice is appreciated.

    Kind regards

    Nico

    Hi Nico,

    Maybe the problem is related to the AFP. Have you tried disabling AFP in Systempreferences and delete all shares. After this restart AFP and try to add shares again. Have a look at the access privileges. It is urgent to remove and re-add the userfolders on the server share.

    Good luck

    Peter.

  • No way of knowing where the tablespace used for a period of time

    Hi all

    I have a very generic question:

    We have a daily report for information storage space in our production approx. In a 30.97% of free space in a tablespace on 27/06/2009. 28/06/2009 it reported only a 1.53% free. I would like to know what segments of the entire space went during this period. I looked in the dba_extents but could not see at all times by related information, which tells me that when the extents allocated. Anyone can share this info with me?

    Thanks a lot for your help in advance!

    Shirley

    _DELTA usually indicates a change (i.e. the size has changed during the snapshot interval).

    Justin

  • How to run a framework for a flat structure of sequence for a period of time?

    Hello

    I have a loop timed measuring a resistance value every 2 seconds. I wish I had this loop timed to run for a period of time (5 minutes). The timed loop itself is placed within a flat sequence so I fear that the measure will be taken once and the next picture will begin to run, without wait 2 seconds for a successive reading (and not a loop for, say, 5 minutes).

    In other words, is it possible to have a flat sequence structure frame run for awhile before moving on to the next image?

    Thanks for your help!

    JFK_Aero

    All code within a sequence must complete before can execute the following image.  So until your timed loop is configured correctly, the following image may not run until your 5 minutes is up (N = 5 minutes / 2 s/measure = 150 steps).

  • U2415, artifacts monitor after power off for a period of time. Solved by allowing the DP1.2

    U2415 - artifacts monitor after power off for a period of time

    I'm running Win 8 Pro 64 bit, Asus GTX 760. Connected to the U2415 using the miniDP to DP cable.

    It is: after turning off my monitor for a period of time (PC fixed IT), 2 hours or more, after turning it back on, I see lines on the screen.

    I will need to restart the PC for it to be back to normal.

    It will not happen if I turned OFF the monitor for a short period. Only when I turned OFF for a few hours.

    Any ideas? Thank you.

    I downloaded a video on Dropbox. I had it turned on after turning off for about 3 hours.

    [See:www.dropbox.com/.../U2415.mp4]

    Hi Chris, just an update.

    A local forumer had discovered how to solve.

    It was the scene of DP1.2. By default, it is set to "Disable". After that I put to 'Activate' and test it for 2 days, everything seems fine now.

    Hopefully someone will find this useful.

    Thanks Chris.

  • System restore after the recovery running disk

    Hello

    Is there a way to restore my system to previous state after you run recovery disk?

    I forgot to backup my files and apparently lost my data after the recovery running disc. All suggestions will be appreciated. I'm trying to restore my system, but it is not restoration, its shows me only today's date.

    Best regards

    Hello Jazz

    Please slow down. Your ad is quite confusing. You can the prior words includes on two completely different ways.

    (1) previous state as factory settings. If you use recovery media is removed from the entire HARD disk and all data will be lost. There is no way to recover them. To the review no data more.
    (2) previous state by using System Restore tool. It will roll back OS time earlier, but all data will be there. Sorry, but if you have ever used recovery media, it's too late for this option.

  • Vista has stopped turning the games run for a long time.

    Vista has stopped turning the games run for a long time. The display would go crazy and the sytem would lock. Gotta make a stop with the power button. No errors are recorded. I re-installed the game. Same thing. I reinstalled Vista 64. Same thing. I get about 3 minutes in the game and then locking the. 1 single game still work (BioShock2). COD - MW2 and COD MW lock the sytem. One is direct install, and the other is the steam. I have a video card Nvidia GTX 280 with the latest drivers from Microsoft. Before the reinstall, I tried to install the most recent NVIDIA. Did not help. Yet the locks without showing error. About half of the time it stops at my off video card a few seconds after that the display goes crazy. BioShock uses DirectX 10, and others use DirectX 11. I read on some sites that 11 causes the video crashes on some systems. I want to know is why 11 is working for so long and stop NOW. Is there a way to make the games all run on 10? COD BlackOPS crashes too. I played ALL these games over and over again until the last 3 weeks. If there was some error to post logs I would but there is not. Any suggestions on where to find some kind of problem that could cause this? The video card was removed, cleaned and put back into the computer. Still crashes. 1 in 4 of the games will take place without any problems. 3 will be blocking of the computer and the video trash in 3 minutes or less to start the game. The video is great, until blocking.

    Suggestions on how to fix or where to additional troubleshooting for the cause will be greatly appreciated.

    Try running the memory and the hard drive scan to make sure that both are good.
    http://Windows.Microsoft.com/en-us/Windows7/diagnosing-memory-problems-on-your-computer
    http://Windows.Microsoft.com/en-us/Windows7/check-a-drive-for-errors

    If both check good, the map may be at fault. In which case it is overheating you can manually increase the fan speed in the Nvidia Control Panel.

  • Silent mode - for a period of time only. After update to Android 6.0

    Hello

    Cannot know how to silently for a more predefined period of time. Marshmallows before we had the choice to put this silent mode should just modified for the next 30 minutes, two hours etc. It is a very nice feature for me, because too often I forgot to turn on sounds after a meeting.

    Before this feature came in the Android, I used an app that defined silent mode with a timer. Do I have to re - install an application like that?

    I found where you can set (by chance) all trying to solve my problem.

    If you access do not disturb in the menu drop-down (if it is not there then it is one of the icons you add to the grid) when you select the option it offers the possibility of no end or for a period of time time.

    I am happy I found it too since I also use it when I go to meetings.

  • IOM server can be started without an administrator of the server running?

    We have configured a 11 GR 2 IOM in high availability environment, we set up two nodes and an administrator of the server, the server administrator is running on node 1, If this node fails for hardware problems, we risk not being able to start the node 2 If this does not work too. The question is: can be Server IOM be launched on node 2 without the administrator of the server running?


    Any help is appreciated.

    Thank you and best regards,

    You can start servers managed weblogic which is running IOM on even when the administrator of the server is down.

    Basically, once there is a managed instance has started successfully (IE with the connection to the server administrator), these details are cached locally to the managed server and it can use that starts when the administration server is not available. This type of startup is called MSI, see http://docs.oracle.com/cd/E28280_01/web.1111/e13708/failures.htm#START162

  • TB 31.5.0 Win 7 after the TAB key for the automatic update no longer creates new address line "write" (enter the done key) but I want the TAB key! Why this keep happening after

    TB 31.5.0 Win 7 after the TAB key for the automatic update no longer creates new address line "write" (enter the done key) but I want the TAB key! Why is - this seems to happen after each automatic update? Cant we get 'option' to use the TAB key to navigate through the lines of address "write"?

    TAB through the fields that exist. It is the function of the TAB.

    Otherwise you could never use TAB to go out in a field for example: subject. It would create an indefinate number of fields and are unable to function as a TAB key.

    TAB does not back to THE fields,
    New crests to THE fields or donkey typing/selection enter/return address, you can use the selection of mouse click.

  • Network can not access the server after the server automatically upgraded to windows 10 last night?

    After the server has been upgraded to windows 10 by Microsoft yesterday evening, all PCs on the network require passwords which we never used.  How to fix and access the server?

    Hello

    I suggest you to post your query on our Forums TechNet social as this question should be better there.

    Please refer to the reference to the link below to send your request:

    https://social.technet.Microsoft.com/forums/en-us/home?category=Windows10ITPro

    Hope this information helps.

    Please get back to us with an update on the issue, we will be happy to help you.

  • Hi, when I buy an annual service by my credit card, after the first month, for the next can I change the credit card?

    Hi, when I buy an annual service by my credit card, after the first month, for the next can I change the credit card?

    Hello

    You can change the billing information anytime before the next renewal. Please see the link below on how to update the billing information.

    Manage your creative cloud membership

    Hope this will help you.

    Kind regards

    Hervé Khare

  • BlackBerry smartphones "Blackberry App World is had problems to connect to the server Blackberry App World. "Check your network connections, and then try again.

    Whenever I try to access an application, appworld is a site of the company that send me to appworld I get this error.
    "Blackberry App World is had problems connecting to the server Blackberry App World. "Check your network connections, and then try again.

    I have loaded the bb appworld re have the latest version for my new bb bold 9900, but still the error and then lock up. Power off, and get a message that I had an unknown error.

    People have had this problem since 2010. I never had this problem with my flashlight or my 9000 "BOLD".
    Anyone know what is happening? I also have the latest OS on my 9900.

    Found a solution! Laughing out loud! How delayed. I changed my email in bb code. For example, after changing from one gmail to another account, I changed it back and baaammmm! Problem solved, but do not know why it should be a problem in the first place right?

    Good luck to you guys who do not have the possibility of returning to another email.

  • I have a compaq presario cq60 with vista which was able to start after the installation of windows updates. HP recovery failed with error code 100a and bios self-test gave error fail #1-07. What can I do?

    I have a compaq presario cq60 with vista. Could not start after the installation of windows updates. HP recovery failed with error code 100a and bios self-test gave error fail #1-07. I took the hard drive and installed in my office. Windows Explorer displays the main and recovery partitions.

    The primary partition has the following folders (including hidden & system)

    The recovery partition has the following (including the language files more)

    Someone at - it ideas why my laptop does not work?

    Thank you

    Greg

    Hello

    You press F11 on startup with a HP Compaq to start the recovery process.

    For problems with the recovery process, you will need to contact HP.

    BIOS problems:

    There are messages for the HP Forums for posters with similar errors:

    http://h30499.www3.HP.com/T5/notebook-HP-ProBook-EliteBook/notebook-HDD-problems-TEst-status-1-07-fail/TD-p/658902

    http://h30499.www3.HP.com/T5/notebook-PCs-pavilions-Presario/HP-Pavilion-dv8000-getting-1-07-fail-error/TD-p/883284

    http://h30499.www3.HP.com/T5/notebook-PCs-pavilions-Presario/HP-Pavilion-notebook-dv6000-1-07-fail/TD-p/1069457

    All the answers it point to a drive about to fail

    See you soon.

Maybe you are looking for