Connections not being released from jdbc pool on WLS 5.1 sp8

I am using WLS 5.1 on RedHat Linux kernel 2.4
The database is oracle 8.1.6 and I am using the thin jdbc driver as shown in the config below.
weblogic.jdbc.connectionPool.bobePool=\
url=jdbc:oracle:thin:@localhost:1521:<sid>,\
driver=oracle.jdbc.driver.OracleDriver,\
loginDelaySecs=1,\
initialCapacity=10,\
maxCapacity=22,\
capacityIncrement=5,\
allowShrinking=true,\
shrinkPeriodMins=3,\
testConnsOnReserve=true,\
testTable=dual,\
refreshTestMinutes=5,\
props=user=<username>;password=<password>
The problem I am facing is that some connections remain active
after the SQL query has finished. The no. of open connections
keep on piling up till the limit of 18 connections is reached and
ultimately at that point weblogic hangs.
Has someone else faced this problem...and found a solution??
Regards,
Anish Srivastava
System Analyst
Baazee.com

Hi Caren,
Weblogic doesn't close connections on "time-out". There are some reasons
for this. The most important one is that even if you have such a
functionality,
in case of a connection leak all the available connections can be trashed in
a matter of milliseconds, so it wouldn't help at all. Though, weblogic does
close leaked connection when they are garbage collected, but it's easy to
see
that it doesn't help a lot, too.
So you need to make sure that all the JDBC objects are closed properly,
for example like in this code:
try {
} finally {
try {resultSet.close();} catch (SQLException se) {}
try {preparedStatement.close();} catch (SQLException se) {}
try {connection.close();} catch (SQLException se) {}
Also it's possible that you simply don't have enough connection.
You could try to increase size of the pool.
Regards,
Slava Imeshev
"Karen Law" <[email protected]> wrote in message
news:[email protected]...
Closing the DB connections is important. But is there any parameters to be
set in the WebLogic configuration in order to release the connection whenit
hasn't been closed for a long time? Say, setting the connection timeout?
Many thx!
Karen
"Deyan D. Bektchiev" <[email protected]> wrote in message
news:[email protected]...
Do you close the DB connections in a finally block after you've finished
using them?
If not your application is leaking the connections and sometimes GC is
not able or does not free those in a timely manner.
--dejan
Anish Srivastava wrote:
I am using WLS 5.1 on RedHat Linux kernel 2.4
The database is oracle 8.1.6 and I am using the thin jdbc driver as
shown
in the config below.
weblogic.jdbc.connectionPool.bobePool=\
url=jdbc:oracle:thin:@localhost:1521:<sid>,\
driver=oracle.jdbc.driver.OracleDriver,\
loginDelaySecs=1,\
initialCapacity=10,\
maxCapacity=22,\
capacityIncrement=5,\
allowShrinking=true,\
shrinkPeriodMins=3,\
testConnsOnReserve=true,\
testTable=dual,\
refreshTestMinutes=5,\
props=user=<username>;password=<password>
The problem I am facing is that some connections remain active
after the SQL query has finished. The no. of open connections
keep on piling up till the limit of 18 connections is reached and
ultimately at that point weblogic hangs.
Has someone else faced this problem...and found a solution??
Regards,
Anish Srivastava
System Analyst
Baazee.com

Similar Messages

  • Connections not being released from pool with Weblogic 5.1 sp 8

    I am using WLS 5.1 on RedHat Linux kernel 2.4
    The database is oracle 8.1.6 and I am using the thin
    jdbc driver as shown in the config below.
    weblogic.jdbc.connectionPool.bobePool=\
    url=jdbc:oracle:thin:@localhost:1521:<sid>,\
    driver=oracle.jdbc.driver.OracleDriver,\
    loginDelaySecs=1,\
    initialCapacity=10,\
    maxCapacity=22,\
    capacityIncrement=5,\
    allowShrinking=true,\
    shrinkPeriodMins=3,\
    testConnsOnReserve=true,\
    testTable=dual,\
    refreshTestMinutes=5,\
    props=user=<username>;password=<password>
    The problem I am facing is that some connections remain active
    after the SQL query has finished. The no. of open connections
    keep on piling up till the limit of 18 connections is reached and
    ultimately at that point weblogic hangs.
    Has someone else faced this problem...and found a solution??
    Regards,
    Anish Srivastava
    System Analyst
    Baazee.com

    I agree with Sree. We had same kind of problem before but I attribute this mostly
    to the application handling of the connections rather than container in managing
    pools. Most often programmers tend to disregard to explicitly claim the resources(close
    them in case of db con.s) in case of exceptions. Though they keep a finally block
    at the end of every business method , my experience says, more safer it is to close
    them in exception catch block too. I dont know if some JVMs defer the execution of
    finally blocks/containers override the behavior.
    comments?
    -Chandra
    "Sree Bodapati" <[email protected]> wrote:
    Hello Anish,
    There are two things here:
    1. Make sure connections are closed (in a finally block). If objects are
    not
    at the method level, the application code may
    be overwriting and losing references to the connection. So watchout for
    that.
    2. Never try to get a connection in an infinite loop in the application,
    that will take all the available execute threads on the server when you
    have
    enough number of clients and can cause this issue.
    One other config change that I would suggest is,
    make refreshtestMinutes=99999, testConnsOnReserve should be sufficient to
    ensure application gets a good connection.
    hth
    sree
    "Anish Srivastava" <[email protected]> wrote in message
    news:[email protected]...
    I am using WLS 5.1 on RedHat Linux kernel 2.4
    The database is oracle 8.1.6 and I am using the thin
    jdbc driver as shown in the config below.
    weblogic.jdbc.connectionPool.bobePool=\
    url=jdbc:oracle:thin:@localhost:1521:<sid>,\
    driver=oracle.jdbc.driver.OracleDriver,\
    loginDelaySecs=1,\
    initialCapacity=10,\
    maxCapacity=22,\
    capacityIncrement=5,\
    allowShrinking=true,\
    shrinkPeriodMins=3,\
    testConnsOnReserve=true,\
    testTable=dual,\
    refreshTestMinutes=5,\
    props=user=<username>;password=<password>
    The problem I am facing is that some connections remain active
    after the SQL query has finished. The no. of open connections
    keep on piling up till the limit of 18 connections is reached and
    ultimately at that point weblogic hangs.
    Has someone else faced this problem...and found a solution??
    Regards,
    Anish Srivastava
    System Analyst
    Baazee.com

  • DB Connections not being released when using Weblogic Datasource

    I am using Kodo-JDO 2.5.3 and Weblogic 8.1.
    I have JDO running as a JCA connector and I have a simple stateless session
    bean persisting a simple object. My problem is that every time I call my
    session bean to persist an object it grabs a connection from the Weblogic
    connection pool and never returns it. So if I have configured a maximum of
    50 connections in the pool, on my 51st call to the session bean I will get
    an error saying it cannot acquire a connection from the pool. (error pasted
    below)
    I have configured my JDO parameters as follows:
    ConnectionRetainMode=persistence-manager (also tried 'transaction')
    TransactionMode=xa
    ConnectionFactoryName=ERDataSource
    ConnectionFactory2Name=NonXADataSource
    At the end of every call to the SessionBean I perform a
    persistenceManager.close(); and a persistenceManager=null;
    Any ideas why connections are not getting re-used?
    Exception I am receiving:
    java.sql.SQLException: Internal error: Cannot obtain XAConnection
    weblogic.common.resourcepool.ResourceLimitException: No resources currently
    available in pool MyJDBC Connection Pool-1 to allocate to applications,
    please increase the size of the pool and retry..
    at
    com.solarmetric.kodo.impl.jdbc.runtime.SQLExceptions.throwDataStore(SQLExcep
    tions.java:64)
    at
    com.solarmetric.kodo.impl.jdbc.runtime.JDBCStoreManager.getSQLExecutionManag
    er(JDBCStoreManager.java:722)
    at
    com.solarmetric.kodo.impl.jdbc.runtime.JDBCStoreManager.setPersistenceManage
    r(JDBCStoreManager.java:133)
    at
    com.solarmetric.kodo.runtime.PersistenceManagerImpl.initialize(PersistenceMa
    nagerImpl.java:173)
    at
    com.solarmetric.kodo.ee.EEPersistenceManager.initialize(EEPersistenceManager
    ..java:50)
    at
    com.solarmetric.kodo.impl.jdbc.ee.EEPersistenceManagerFactory.newPersistence
    Manager(EEPersistenceManagerFactory.java:107)
    at
    com.solarmetric.kodo.runtime.PersistenceManagerFactoryImpl.getPersistenceMan
    ager(PersistenceManagerFactoryImpl.java:204)
    at
    com.solarmetric.kodo.runtime.PersistenceManagerFactoryImpl.getPersistenceMan
    ager(PersistenceManagerFactoryImpl.java:136)
    at
    com.solarmetric.kodo.impl.jdbc.ee.JDOConnectionFactory.getPersistenceManager
    (JDOConnectionFactory.java:161)
    at
    com.mslv.osa.infrastructure.ossj.app.JVTSessionBean.getPersistenceManager(JV
    TSessionBean.java:308)
    at
    com.mslv.osa.infrastructure.system.app.SystemJVTSessionBean.createSystemProp
    erty(SystemJVTSessionBean.java:882)
    at
    com.mslv.osa.infrastructure.system.app.SystemJVTSessionBean_toe7tm_EOImpl.cr
    eateSystemProperty(SystemJVTSessionBean_toe7tm_EOImpl.java:1536)
    at
    com.mslv.osa.infrastructure.system.app.SystemJVTSessionBean_toe7tm_EOImpl_WL
    Skel.invoke(Unknown Source)
    at
    weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:407)
    at
    weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java
    :108)
    at
    weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:356)
    at
    weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubjec
    t.java:353)
    at
    weblogic.security.service.SecurityManager.runAs(SecurityManager.java:123)
    at
    weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:351)
    at
    weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:3
    0)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:178)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:151)
    Glen

    A couple of suggestions that might do the trick:
    1. Upgrade to 2.5.4
    2. Leave the ConnectionRetainMode to its default value (on-demand).
    3. Make sure you always close your Query results and Extent iterators.

  • Instance not being released from task flow

    I have created a simple BPM workflow (start msg -> human task1 ->end). Used the auto-build feature in Jdev (11.1.1.4) to create the form. Message creates the instance. I am able to open the form and approve, but then the instance doesn't leave the taskflow (becomes stale in EM). How do I get this resolved?
    Using SOA 11.1.1.4, Windows 2008 R2, XE.

    Discovered that jdeveloper (or some process along the route) was not updating the roles in EM. Found old roles and several roles that didn't have users/groups associated with them, even though our organization in jdev did have the users/groups.
    We removed all the roles associated with this project and then redeployed. Issue resolved.

  • Cases where messages are not being consumed from a queue

    MQ 4.0
    I have a cluster of 3 brokers. Java clients use RANDOMIZE to connect to the cluster of brokers. Message selectors are not used. My consumers are all synchronous, and connection.start() is called prior to calling MessageConsumer.receive().
    What I have seen on random occassions are messages not being consumed from the queue. The problem seems to be sporadic.
    I was thinking that the reason it is sporadic is because of the RANDOMIZE configuration of the client connetion / object-store.
    That is, there is a possibility for the following to happen:
    1) There were messages produced on a queue on broker A, but before these messages were consumed, all the consumers have been shutdown. Thus, the messages on queue stayed on broker A .... and have not been copied / clustered to the other brokers in the cluster ( As per online documentation, a queue is "copied" to other brokers only when there is a consumer for that queue on the other brokers ).
    2) Then the client applications started up produced and consumers again. This time, the producers were all connected to broker B, and all consumers for the queue were also connected to broker B.
    3) Because there are no other consumers for the queue on the other brokers, the messages in the queue on broker A are never consumed.
    Can someone confirm that this is a possibility ?

    Well ... it does seem to be the case.
    I changed the object-store so that instead of using RANDOMIZE for imqAddressListBehavior, it uses PRIORITY. Therefore, all clients ( producers and consumers ) will connect to only 1 broker out of the 3 in the cluster.
    After restarting all JMS clients with the new imqAddressListBehavior, there were messages in various queues in the other brokers that were not being consumed, because there are no longer any consumers on any of the other brokers.
    All the messages in that broker that all JMS clients connect to are being consumed ...
    Except for about 6 messages that stays in the queue for whatever reason. All consumers receiving with receive( 10000 ), and after consuming all messages above the 6, it returns without any more messages in the queue.
    Well ... so much for cluster of brokers. I'll have to think of an alternative.

  • My deleted emails on iPhone 4s are not being deleted from server

    I'm facing a problem with my iPhone 4s when deleting emails. Unfortunately, they are not being deleted from the server. I tried setting the account in pop and imap with settings to delete from server and trash ticked. Still they keep on appearing in Outlook which is a double work to do. Please advise.

    I'm no expert by far, but have had issues with this before.
    IMAP should allow your iPhone to remove messages from the server.
    But have you made sure both the iPhone and Outlook are connecting via IMAP?
    If your iPhone does remove the messages from the server, but your computer is using POP, then the computer may download the email before it is removed form the server by your iPhone.
    This was my issue, that my computer had already downloaded the message, and POP does not check later if it is deleted.
    If you delete a message from Outlook does it disappear on the iPhone?
    Alternativly you may need to check the email server settings.
    Who is your email provider?
    They may be able to check if IMAP allows you to remove emails.

  • Mail suddenly not being received from server. The ISP tells me there's nothing wrong at his end. I can see emails on the server if I look up WebMail; they don't come into Mail. I haven't changed anything lately.

    Mail suddenly not being received from server. The ISP tells me there's nothing wrong at his end. I can see emails on the server if I look up WebMail; they don't come into Mail. I haven't changed anything lately. The incoming server details haven't changed; the Connection Doctor shows the accounts are connected; I've turned everything off including the modern. Have exhausted my limited knowledge. Anyone with something similar?

    I have decided to dedicate this thread to the wonderful errors of Lion OSX. Each time I find a huge problem with Lion I will make note of it here.
    Today I discovered a new treasure of doggie poop in Lion. No Save As......
    I repeat. No Save As. In text editor I couldn't save the file with a new extension. I finally accomplished this oh so majorly difficult task (because we all know how difficult it should be to save a file with a new extension) by pressing duplicate and then saving a copy of the file with a new extension. Yet then I had to delete the first copy and send it to trash. And of course then I have to secure empty trash because if I have to do this the rest of my mac's life I will be taking up a quarter of percentage of space with duplicate files. So this is the real reason they got rid of Save As: so that it would garble up some extra GB on the ole hard disk.
    So about 20 minutes of my time were wasted while doing my homework and studying for an exam because I had to look up "how to save a file with a new extension in  mac Lion" and then wasted time sitting here and ranting on this forum until someone over at Apple wakes up from their OSX-coma.
    are you freaking kidding me Apple? I mean REALLY?!!!! who the heck designed this?!!! I want to know. I want his or her name and I want to sit down with them and have a long chat. and then I'd probably splash cold water on their face to wake them up.
    I am starting to believe that Apple is Satan.

  • PO is not getting released from SRM

    Dear Experts,
    I am configuring SRM-SUS Scenario on SRM 7.0. I have set up all SRM, XI and SUS cofiguration.
    (SRM - SHDCLNT901, XI - XHDCLNT500, SUS- SHDCLNT951)
    Shopping Cart and PO is creating fine but PO is not tranferring from SRM to SUS.
    when i checked SXMB_MONI in SRM, there is no messeges showing there. It means PO is not getting released from SRM.
    Kindly let me know is there any t-code for enable communication between SRM and SUS?
    I have correctly configured XI and also transferred vendors from SRM to SUS through SupplierPortalTradingPartner_CreateOrChange_Out messege type  but
    PurchaseOrderRequest_Out  for PO transfer is not  getting triggered in sxmb_moni in SRM.
    Thanks in advance.
    Regards,
    Pawan Keshwani

    Hi,
    Thanks for your reply.
    I have configured  Application Control Workflow correctly ( I am using Workflow without approvals for PO (BUS2201))
    And in Rz20, I am getting below messege ("SHD : MTE class BBP_PO , Client 901 : No MTEs currently available*) for PO in Rz20 given below path
    (CCMS  monitor sets -> SAP (CEN) EnterpriseBuyer Monitors -> Purchase Order)
    I am configured ESOA Architecture in XI  for SRM-SUS , and my root issue is " I am not able to generate XML messeges in SRM".
    Not getting any messege in SXMB_MONI in SRM.
    Regards,
    Pawan Keshwani

  • Invite Email not being sent from iCal from a Google Apps calendar

    Hello,
    I am running Mac OS X 10.6.5, iCal 4.0.4, and am attempting to do the following from a Google Apps calendar I have setup in iCal. Please note that it's not gmail, it's Google Apps. If that makes a difference. That being said...
    I am trying to create a meeting invite from iCal. I am able to create the invite and add attendees with no problem. When I hit send (from iCal), the invitees do not receive an email notification of the event, but it does appear their calendar (both in iCal and via Google Calendar on the web). I need an email to be sent to the invitees that they have been invited to a meeting, not just to have it appear on their calendars.
    When I create the meeting invite via Google Calendar on the Web the invitees do receive an email notification (as specified in their calendar preferences). The issue only happens when the meeting invite is created in iCal.
    When an invitee accepts or declines a meeting via iCal I receive an acceptance or declining email. Just not when the meeting invite is sent.
    Also, I am able to create a meeting on one of the "On My Computer" calendars in iCal, invite people, and a meeting invitation is sent as expected.
    And again, the invitees have notification of meeting invites turned on in their calendar settings (as is shown by the fact that when the invite is sent out via Google Calendar on the Web they receive an email with the invite).
    Thanks! Any assistance would be awesome.
    Aaron

    That was actually my post on the Google forums
    Here is what I have found so far (and hopefully some of my assumptions are correct, because we're making the full switch to Google Apps this weekend and I am assuming it will work after this). This is long, but I'm trying to be thorough. Also note that I have updated to 10.6.6 since the time I first posted my last message.
    We are currently piloting Google Apps, so our primary domain (which I will refer to from now on as domain.com) still points to our old exchange servers. Mail is currently being delivered to our Google Apps pilot accounts the following way:
    1. User sends an email to [email protected]. This email is delivered to our old Exchange servers.
    2. Once the email is received on our old Exchange servers it gets forwarded to our Google Apps test domain (gtest.domain.com).
    This seems to be an important piece of the puzzle as our primary domain (domain.com) shows up on the Google Apps for Admin dashboard as improperly setup (which is correct, because we're currently piloting)
    So, in iCal I have my Google Apps account setup (I'm one of the pilot users) the following way. I added the Account as Google calendar in iCal, but once the account shows up it shows up as a CalDAV account.
    Under the account information tab:
    CalDAV
    Description: [email protected]
    User name: [email protected]
    Password: my password
    Under the server settings tab (*NOTE: these were entered in automatically when I setup the calendar as a Google calendar)
    Server address: www.google.com
    Server path: the path to my calendar.
    Use SSL is checked
    Use Kerberos v5 is NOT checked
    So, during my testing I was sending meeting invites from people who were in the Google Apps pilot to other people who were in the Google Apps pilot. When I was doing that, no invitations were getting sent.
    I created a new email account on our exchange server ([email protected]) but did NOT set it up to be a part of the Google Apps pilot (this means that emails were not being forwarded from [email protected] to [email protected]). Doing this successfully delivered all invites, cancellations, and meeting updates from iCal!
    From what I can tell there must be something going on (probably my own fault) when a calendar invite is sent from my Google Apps account, through our old Exchange system, and then back to our Google Account. My assumption is it has something to do with the fact that our MX records for domain.com currently point to our old exchange servers, and the MX records for gtest.domain.com point to the Google Apps servers. It may also have something to do with the SPF record which only allows emails from domain.com to be sent from our Exchange servers.
    Those are just guesses though as I am not very knowledgeable in that area.
    I hope this helps and I would love to hear about anyone else working on this issue.

  • Podcasts not being Removed from my Ipod

    I have several old podcasts that I have deleted from my ITUNES that for some reason, are not being deleted from my ipod...? The podcasts are not showing up in my itunes, so not sure how to clear them out from my ipod?? Thanks in advance for your help.

    The most likely culprit is a playlist that's getting synced to your iPod.
    The big change in this area in 7.7 is that all podcasts, even ones in playlists, appear in the iPod's Podcasts section. Before 7.7 the only episodes that appeared in the Podcasts section were ones that you synced in the Podcasts tab.
    The interesting thing is that this change affects only what shows up in the iPod's Podcasts section, it doesn't affect the files that are actually transferred to the iPod.
    To check this, find one of the episodes with the play count >= 1 in your iTunes library. Right click (or control click) the episode, and in the contextual menu go to Show In Playlist. See what playlists appear in that list. (Show In Playlist is right under Add To Playlist. If I'm wrong, Show In Playlist won't be there at all.)

  • TS3276 my emails are not being sent from my desktop, but are capable of being sent by my apple phone.  as well, I cannnot pull up any emails that I sent.  They just disappear.

    my emails are not being sent from my desktop, but they are capable of being sent from my iphone 5.  Whatever I have sent just disappears from my desktop.

    R1: Seems you didn't configure you email account in your Outlook client properly. please refer to the following KB article and try to create a new mail profile to configure your email account again:
    http://support.microsoft.com/kb/2758902
    R2: Do you want create subfolders under Inbox to category your emails? If so, we can just right click on Inbox > select New Folder... After that, we need to create rules to move or copy your emails to each subfoler. See:
    http://office.microsoft.com/en-us/outlook-help/manage-email-messages-by-using-rules-HA010355682.aspx
    Besides, in order to avoid confusion and keep track of troubleshooting steps, we usually troubleshoot one issue per thread in order to find a resolution efficiently. Concerning your other question, I suggest we create new posts for your other questions via:
    http://social.technet.microsoft.com/Forums/en-US/home?forum=outlook
    Thanks for the understanding.
    Steve Fan
    TechNet Community Support

  • My notes are not being passed from one device to another

    My notes are not being passed from my ipad to my ipad mini.

    There can be several different accounts in the notes app if you have email account that allow you to sync notes. I do not use iCloud email, but I have two IMAP email accounts that sync notes. I wanted to know if you were selecting the correct account on the Mini.
    When you launch the Notes app, you can tap The Account button in the upper left corner in order to switch between accounts. If you do not have another Notes account, try turning Notes off on the Mini in Settings>iCloud>Notes>Off. Restart your iPad, go back in and turn Notes on again.

  • "SUS Purchase Orders" are not being extracted from SRM to BW

    I'm usign BW 7.0 with SRM 5.0 (EBP and SUS).
    "SUS Purchase Orders" (BUS2230) are not being extracted from SRM to BW, only "Purchase Orders" (BUS2201). I'm using standard SRM extractor 0BBP_TD_PO.
    Does anyone have experieced this? Is there any special configuration to extract "SUS Purchase Orders"?
    Thanks in advance
    Raphael Barboza

    The only solution we were able to provide with the time constraint we had was to modify the standard extractor to consider the SUS PO code instead of the PO code.
    Function module: BBP_BI_PO_EXTRACT
    Replace line:
       c_object_type   TYPE bbp_object_type  VALUE c_po, u201CBUS2201
    With the line:
       c_object_type   TYPE bbp_object_type  VALUE c_suspo, u201CBUS2230
    It is not the most elegant solution, but it worked.
    Hope it helps.

  • JDBC Connections not being returned to pool

    Greetings All.
    I really need some help here to find out where my connections are being held.
    I have a transactional connection pool that runs out of connections on average three times a day. I've read all the threads in the newsgroups for connection leaks and how to always release connections in the finally block.
    1.
    I can confirm that it's definitely not a connection leak, I confirmed this by using the jar for tracing connection leaks and none was displayed.
    2.
    I've looked at all our code and all code that uses jdbc connections destroys jdbc resources in the finally clause.
    3.
    I'm new to the department and therefore cannot tell you what new code was put in that caused this problem to occur.
    4.
    We're using WL 8.1.3 AND JDK 1.4.2_06
    5.
    I've tried JMX to view what the connections are doing when this problem occurs, and hence enabled statement cache which revealed nothing of interest to me. I just wish somehow I could get to trace which threads reserved the connections and do a stack trace on them.
    The most frequent error in my jdbc logs is :
    java.sql.SQLException: ORA-01401: inserted value too large for column
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
         at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289)
         at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:573)
         at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1891)
         at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:1093)
         at oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java:2047)
         at oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java:1940)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2709)
         at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:589)
         at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:656)
         at weblogic.jdbc.wrapper.PreparedStatement.execute(PreparedStatement.java:70)
         at net.cellc.sal.ejb.saldataaccess.TransactionDAO.updateRecordStatus(TransactionDAO.java:76)
         at net.cellc.sol.ejb.sol.SOLBean.updateRecord(SOLBean.java:312)
         at net.cellc.sol.ejb.sol.SOLBean.processMessage(SOLBean.java:170)
         at net.cellc.sol.ejb.sol.SOL_ytyu34_EOImpl.processMessage(SOL_ytyu34_EOImpl.java:46)
         at net.cellc.sal.ejb.sal.SALBean.callSOL(SALBean.java:339)
         at net.cellc.sal.ejb.sal.SALBean.process(SALBean.java:201)
         at net.cellc.sal.ejb.sal.SAL_ki83rk_EOImpl.process(SAL_ki83rk_EOImpl.java:100)
         at net.cellc.sal.ejb.sal.SAL_ki83rk_EOImpl_WLSkel.invoke(Unknown Source)
         at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:477)
         at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:108)
         at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:420)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:144)
         at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:415)
         at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
    SQLException: SQLState(23000) vendor code(1401)
    Your help would be really appreciated.
    Regards
    Ze Casperian

    Hi. Show us your pool definition. You should turn off refresh test minutes.
    Set it to 9999999.
    Joe
    Mncedisi Kasper wrote:
    Greetings All.
    I really need some help here to find out where my connections are being held.
    I have a transactional connection pool that runs out of connections on average three times a day. I've read all the threads in the newsgroups for connection leaks and how to always release connections in the finally block.
    1.
    I can confirm that it's definitely not a connection leak, I confirmed this by using the jar for tracing connection leaks and none was displayed.
    2.
    I've looked at all our code and all code that uses jdbc connections destroys jdbc resources in the finally clause.
    3.
    I'm new to the department and therefore cannot tell you what new code was put in that caused this problem to occur.
    4.
    We're using WL 8.1.3 AND JDK 1.4.2_06
    5.
    I've tried JMX to view what the connections are doing when this problem occurs, and hence enabled statement cache which revealed nothing of interest to me. I just wish somehow I could get to trace which threads reserved the connections and do a stack trace on them.
    The most frequent error in my jdbc logs is :
    java.sql.SQLException: ORA-01401: inserted value too large for column
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
         at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289)
         at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:573)
         at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1891)
         at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:1093)
         at oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java:2047)
         at oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java:1940)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2709)
         at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:589)
         at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:656)
         at weblogic.jdbc.wrapper.PreparedStatement.execute(PreparedStatement.java:70)
         at net.cellc.sal.ejb.saldataaccess.TransactionDAO.updateRecordStatus(TransactionDAO.java:76)
         at net.cellc.sol.ejb.sol.SOLBean.updateRecord(SOLBean.java:312)
         at net.cellc.sol.ejb.sol.SOLBean.processMessage(SOLBean.java:170)
         at net.cellc.sol.ejb.sol.SOL_ytyu34_EOImpl.processMessage(SOL_ytyu34_EOImpl.java:46)
         at net.cellc.sal.ejb.sal.SALBean.callSOL(SALBean.java:339)
         at net.cellc.sal.ejb.sal.SALBean.process(SALBean.java:201)
         at net.cellc.sal.ejb.sal.SAL_ki83rk_EOImpl.process(SAL_ki83rk_EOImpl.java:100)
         at net.cellc.sal.ejb.sal.SAL_ki83rk_EOImpl_WLSkel.invoke(Unknown Source)
         at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:477)
         at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:108)
         at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:420)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:144)
         at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:415)
         at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
    SQLException: SQLState(23000) vendor code(1401)
    Your help would be really appreciated.
    Regards
    Ze Casperian

  • VOIP calls not being forwarded from GW to GK and visa versa

    I have a VOIP network setup in place using 2691 routers. i have a siemens PBX connected to the 2691 routers using an E1 controller (running QSIG), my WAN interface between the two sides is an ATM interface. when i do a csim start from one router to the extension on the other side the call goes through and the phone rings. However, when i actually dial from one extension to the other, the call is not being forwarded. and what happens is that i hear the dial tone again on the phone im dialing from.
    I have taken some debugs but still could pin point the problem, even though in the ccapi inout debug i found that when it tries to look for a node, it doesnt find it.
    I have attached the configuration for both sides. Along with the debug from one of the sites.
    There are a couple of GW's associated with the GK.
    The ones im concerned about are Mussalla_GW & GK-HO.
    Thank You in advance
    Mouhannad

    Try this:
    dial-peer voice 2 pots
    direct-inward-dial
    Without this command the router will not collect the digits coming across the PRI.
    Please rate helpful posts.

Maybe you are looking for

  • Sending smartform as PDF attachment through email

    Hi, I have used the FM SO_NEW_DOCUMENT_ATT_SEND_API1 to send the smartform as PDF attachment through email.In SOST transaction I can see that the mail has been sent to the reciepient,but the mail is not going to the mail box.What would be the reason

  • IF-RIO--Compilation error

    Hi Sir.Madam, This is Sreenivasulu.I generated some digital modulated signal LabVIEW 8.2 and NI 5640R card. after one month i come back to LabVIEW work.now i am unable to compile the FPGA VI.i am getting this proble. Summarytatus: Compilation failed.

  • HT2500 How do I change default color and font

    Trying to change the default font color of my font when I reply or compose a message and the font window will allow me to change the font style but the color won't budge. d

  • Change language of subscriptions?

    Hi, experts! I want to change language of subscription in Portal. Now all subscriptions in our Portal are comming in English. In Content Administration -> KM Content -> etc -> notifications I found many xml and xsl files for different languages. For

  • Webi Report

    Post Author: aburken CA Forum: Xcelsius and Live Office I have a Webi Report which runs nightly with no filters in the query.  I have a filter in the report itself so we can limit down the data to what users are interested in.  In the Xcelsius dashbo