Could not retrieve connection info from torque connection pool

Hi,
I am using Apache Torque for making connection with my Oracle 9i server.
My Torque.properties file configuration is as follows:-
torque.dsfactory.cpm.factory=org.apache.torque.dsfactory.SharedPoolDataSourceFactory
torque.dsfactory.cpm.pool.maxActive=10
torque.dsfactory.cpm.pool.maxWait=60
torque.dsfactory.cpm.pool.testOnBorrow=true
torque.dsfactory.cpm.pool.validationQuery=SELECT 1 from dual
torque.dsfactory.cpm.connection.driver = oracle.jdbc.driver.OracleDriver
I am getting the following error:-
Caused by: org.apache.commons.dbcp.SQLNestedException: Could not retrieve connection info from pool
at org.apache.commons.dbcp.datasources.SharedPoolDataSource.getPooledConnectionAndInfo(SharedPoolDataSource.java:169)
According to me the cause of error is because of the database connection was not available in the connection pool. Or it might be due to The connection was not closed properly becuase of the some issue in the persistent layer.
My Research till now:-
Checked all the connection object properly closed in my classes as well as Torque Classes.
Do anyone have any idea regarding this error. If yes, please suggest some solution for it.
----Anurag----

Hi,
I have my complete Torque.properties file, just for the reference, I have pasted few lines from my torque.properties file. Secondly, I am using the JDBC Driver for my oracle connection & its working fine. The problem is when my application tries to access connection from connection pool, & if it finds no connection in the pool it gives error. After increasing the size of the connection in the pool, still I am getting the same error. Do you have some idea regarding this.

Similar Messages

  • IOS Packaging Error: Could not retrieve certificate chain from keystore

    Hi all,
    I'm currently evaluating Flash Builder 4.5, with an eye toward prototyping on iOS (since lots of folks here know Flash and ActionScript, but only a couple of us use XCode and Objective-C).  I'm currently looking at the Hello World tutorial...
    http://www.adobe.com/devnet/flash-builder/articles/hello-world.html
    I've built and tested on desktop, and am now trying to package the app to test on iOS.  However, when I run the device configuration I get a dialog with the following...
    'Launching FlashTest' has encountered a problem.
    Error occurred while packaging the application:
    could not retrieve certificate chain from keystore
    It then shows me the usage text for adt.  I have no idea what the problem is.
    I've imported the same certificate I use to deploy through XCode, and have created an AppID and provisioning profile specific for my test app.
    Thoughts?
    p.s. - How do I change my forum name?

    i understood why
    I had the same problem
    i solved in this way
    before exporting the *.p12 file i chained the certificate to the key by selecting it in the key panel and importing from the file menu the certificate
    in this way key and certificate are associated
    at this poin i created the p12 file and it worked fine!!!!

  • HT201412 My new 4S phone:"Siri could not download required info from the server." What does that mean and how can I get it to work?

    Just got the 4S. I cannot get Siri to work. It says it cannot retrieve info from the server. What does that mean and how can I fix it to use it?

    Siri always contacts her own server at apple. They may be performing maintenance or applying updates, should be back soon.

  • Despite your solution provided in the earlier email, I could not retrieve my pics from the albums since it is still showing empty albums, pls help to retrieve my pics

    Dear apple support,
    Despite the earlier email sent from your side, I have not been able to retrieve m pics as albums are still showing blank, as once there were man pics in it.
    Please help me to retrieve m pics
    Regards
    Ahmad Raza

    For info, most of the people on these forums, including myself, are fellow users - you're not talking to Apple or iTunes Support here. It also would have been better if you had posted a reply on your original thread rather than starting a new one so that people know what you are referring to : https://discussions.apple.com/message/22781267#22781267
    How did the photos get onto the iPad e.g. were they synced from a computer, taken with the iPad, copied to it via the camera conenction kit ? And were the albums created directly on the iPad - if they were and you then 'copied' photos into them, then if you then deleted the original photos from your iPad then you would also be deleting all pointers to them (so they will no longer show in the created albums).

  • EnvironmentException: -600: Could not retrieve a datasource connection

    Hi,
    I am getting below errors in my logs has anybody have any idea about below errors.
    0.4 IJFWK-302 itseelm-lx4065.xxx.com 2013-02-12 05:55:40 EBCCOP01 971 NA BsGetDeliveryMethods irwuser irwuser EBCCOM01 28442421A3EF52E9C8692AA9F19FFC42 37 <?xml version="1.0" encoding="UTF-8"?> <SystemError><Message>-302: Error caught while executing the business task. Marked transaction for rollback; nested exception is: com.xxx.xxxx1.util.exception.EnvironmentException: -600: Could not retrieve a datasource connection for user 'null'.; nested exception is: com.ibm.websphere.ce.cm.StaleConnectionException: The Network Adapter could not establish the connectionDSRA0010E: SQL State = 61000, Error Code = 20</Messa
    Thanks
    Edited by: Ramstimo on 15 Feb, 2013 9:34 AM
    Edited by: Ramstimo on 15 Feb, 2013 9:36 AM

    Hi,
    Can you paste the jdbc connection that you have used in your application code here?
    Regards,
    Kishore

  • Error MySQL #2002 connection could not be made etc from phpMyAdmin

    Error MySQL #2002 connection could not be made etc from phpMyAdmin
    I am just seting up Adobe Flash Builder 4.5 for PHP, Zend Server, MySQL and phpMyAdmin.
    On attempting The Tutorial Build your first Mobile PHP project I am getting this error.
    Can anybody help please ?

    Just thought I would add that I did every test the help files suggest, no firewall etc.
    Strange thing is that after the majority downloaded I had about 55 apps left that could not be updated because of the network connection that could not be made, I downloaded them manually instead of clicking 'yes please do download them all'.
    I still came across a few that gave me the msg that an connection could not be made but when I skipped them and came back later to try again it did download. Took some time but I now have them all up to date.
    Now see if I can sync the iPhone and iPad.
    I run the latest iTunes 10.4.1 (10) and 10.6.8, have not updated to Lion yet.
    cheers,
    Christine

  • De.avetana.bluetooth.connection.BadURLFormat: The URL could not retrieved:

    Hi All,
    Please help me to fix this error. Do I have to initialize the BlueZ stack. Well, I've tried to initialize the BlueZ stack but failed to do so... Err, is it probably I didn't initialize it in a proper way ?? ... please please please help me. I'm so sick of this error.
    Now Searching for Services ..........
    Service search completed .....
    SERVICE_SEARCH_COMPLETED
    Service URL: null
    java.io.IOException: de.avetana.bluetooth.connection.BadURLFormat: The URL could not retrieved: Protocol not supported!
    java.lang.NullPointerException
    at JBluetoothBrowser$BToothInquirer.serviceSearchCompleted(_J_BluetoothBrowser.java:242)
    at de.avetana.bluetooth.stack.BlueZ$1.serviceSearchCompleted(BlueZ.java:613)
    at de.avetana.bluetooth.stack.BlueZ.serviceSearchComplete(BlueZ.java:770)
    at de.avetana.bluetooth.stack.BlueZ.listService(Native Method)
    at de.avetana.bluetooth.stack.BlueZ$2.run(BlueZ.java:628)
    at java.lang.Thread.run(Unknown Source)
    regards
    Zalfarienty

    Please send me your file and we could debug to you.
    Or
    Post to Bluetooth Forums, so everybody could fix for you!
    http://forum.vietcovo.com - http://vietcovo.com

  • Itunes will not retrieve cd info even though connected to internet

    for some reason, when i open itunes now, a box opens saying that itunes was not properly installed and will not retrieve cd info until I reinstall itunes. I'm worried that if I do this I will lose all my music and playlists. I admit, I'm new to itunes/ipod, so any help is much appreciated.

    Reinstalling should not lose your playlists or music, but just to be safe, make a copy of this file
    iTunesLibrary.itl
    Put it in a temp folder, or on your desktop. It is the database file that itunes uses. You might need to change Win Explorer to show file extensions.
    I always back up that file before I upgrade or reinstall iTunes.

  • Could not make connection to source system

    Hello Experts,
    I am trying to fetch data based on selection for last month in info-package but when I try to enter selection (pull down button), I get error message - "Could not make connection to source system..."
    Any idea why this message?
    I have already checked connection to ECC - is fine.
    Datasource is replicated.
    Also if I try to run info-package without selection - I am getting yellow status, No data fetched. RSA3 shows many rows but Info-package to data (Full extraction.)
    Regards,
    SM

    Srini/Vikram,
    user credential is good. sm59 connection is good. there is data in selection as RSA3 fetches rows in ecc.
    when I run any info-package - I am getting yellow status? No data while rsa3 indicate data for Full update?
    why so?
    I am more of design person, not much into hands-on - so seeing these error for first time.
    Q1) if a package is already schedule - let us sat thru data source 2lis_11_vaitm. Now I want to go back and retrieve last month data already extracted... once again. I should be able to pull this data in new infopackage using Full update - data selection option.
    Q2) - rsa3 should fetch data based on set-up tables, so any infopackage based on Full update mode - should fetch data - independent of any other infopackage.
    q3) we need to do delete and fill-set-up table - only if extract structure is changed? right?
    regards, sm

  • Restore Failure - Could not open connection to helper tool

    I created a disk image on an external firewire drive using disk utility.
    The external drive is bootable and I run the Disk Utility software from the external drive.
    When I try to restore from the image selecting the source and target I get the following error after clicking the "Restore" button:
    "Restore Failure
    Could not open connection to helper tool."
    Any suggestions on how to troubleshoot this?
    Additional info:
    MacBook Pro 2.16 Intel
    Tiger 10.4.7
    Boot ROM MBP12.0061.B00
    SMC 1.5f10
    Internal Hard Disk: ST9120821AS
    External Hard Disk: FireLite FW800
    All software and firmware up-to-date
    Disk Utility 10.5.6 (198.12)

    I've experienced the same problem. What I know is that we built a system image using Disk Utility on a MacPro and we experience this error when attempting to restore the image on another MacPro using Disk Utility.
    I've successfully built system images of MacBook Pros and restored them without any problems. However, I believe I may have built the image using Carbon Copy Cloner. This may warrant some more experimentation using the different utilities.

  • Ftp error Could not establish connection

    hello there,
    I am trying to connect to ftp server to get a file from it.
    I used the "FTP get file.vi"
    here a screenshot showing the front panel and the block diagram:
    on the left there is filezilla showing that the ftp server is connected just fine and the remote path showing the files which I want to get one of them "log.txt"
    I filled the same info into my labview vi .. and when I hit run this error pops up
    Error 0 occurred at FTPOpen Data Connection: Could not establish connection
    Possible reason(s):
    LabVIEW: Error connecting to GPIB driver or device.
    =========================
    VISA: (Hex 0x0) Operation completed successfully.
    I don't know what wrong am I doing... any ideas?
    Thanks!
    Solved!
    Go to Solution.

    Thanks for your reply.. I solved the problem 1 minute ago .. turned the data connection from active to passive by using false in active terminal..
    another error pops up that I need to put the same file type as the file I am asking to get .. I made the local path g:\file.txt and it workd just fine ...
    Thanks,,

  • Error: Device 768 (vbd) could not be connected. /etc/xen/scripts/block fail

    Hello OTN,
    After converting/exporting machines from VMware and importing them into OVM i am receiving errors on some of the machines when powering on.
    Here is the complete error message:
    Start - /OVS/running_pool/dirkwin
    PowerOn Failed : Result - failed:<Exception: return=>failed:<Exception: ['xm', 'create', '/var/ovs/mount/483E943AE684484EAD7255356E8F24CC/running_pool/machinename/vm.cfg'] => Error: Device 768 (vbd) could not be connected. /etc/xen/scripts/block failed; error detected.
    >
    StackTrace:
    File "/opt/ovs-agent-2.3/OVSXXenVM.py", line 57, in xen_start_vm
    run_cmd(args=cmd)
    File "/opt/ovs-agent-2.3/OVSCommons.py", line 85, in run_cmd
    raise Exception('%s => %s' % (cmdlist, p.childerr.read()))
    >
    StackTrace:
    File "/opt/ovs-agent-2.3/OVSSiteVM.py", line 131, in start_vm
    raise e
    Searching for this error turned up different solutions but none of them worked.
    One mentioned OVM not being able to handle spaces in vm names but this is not a working solution as most of the machines are just regular names without spaces or special characters.
    Also interesting, sometimes this error does not turn up when powering on BUT the machine just powers off again and returns to its turned off state. Next power on the error returns.
    OS types vary from S10, Win XP and RedHat so a possible connection to the error being the host OS is not there.
    Harddrive types are set to auto. The vm.cfg's of functioning machines do not differ from non functioning machines besides the actual vm name in the vm.cfg
    Any idea to this error or how to solve it ?
    Thanks
    -Stephan

    Hello Sebastian,
    This is one of the vm.cfg which will abort due to the above mentioned error:
    acpi = 1
    apic = 1
    builder = 'hvm'
    device_model = '/usr/lib/xen/bin/qemu-dm'
    disk = ['file:/var/ovs/mount/483E943AE684484EAD7255356E8F24CC/running_pool/vmname/vmname.img,hda,w',
    ',hdc:cdrom,r',
    kernel = '/usr/lib/xen/boot/hvmloader'
    memory = '2048'
    name = 'vmname'
    on_crash = 'restart'
    on_reboot = 'restart'
    pae = 1
    serial = 'pty'
    timer_mode = '0'
    usbdevice = 'tablet'
    uuid = 'a2a62bcb-f9ab-4ec3-8574-7415985cdf0a'
    vcpus = 1
    vif = ['bridge=xenbr0,mac=xx:xx:xx:xx:xx:xx,type=ioemu']
    vif_other_config = []
    vnc = 1
    vncconsole = 1
    vnclisten = '0.0.0.0'
    vncpasswd = 'xx'
    vncunused = 1
    The xend.log also turned up nothing concerning this error. no messages were written into it. No other log has been created by xen in the /var/log/xen directory concerning an issue with the current machine.
    Thanks for your help !
    -Stephan
    ps:mac address + pw is commented out
    Edited by: Stephan Becker on Aug 5, 2010 7:11 AM

  • Status Failure -lo exception:network adapter could not establish connection

    Hi, installed SQL DEVELOPER today and its driving me mad... I am getting this error
    Status Failure -lo exception:network adapter could not establish connection.
    Basic tab I have all the right information, tried test gives same error...
    hostname ajas
    port 1521
    sid altaf
    TNS
    Network alias altaf
    connect identifier altaf(TRIED SINCE NETW ALIAS DIDNT WORK)
    went to TNS tab and from the list selected the right entry for NETWORK ALIAS,tried test still same error... tested with connect identifier still same error...went to Advanced entered this string jdbc:oracle:thin:@ajas:1521:altaf ..... still same error...what the hell is wrong...here is the tnsnames.ora entry ...
    ALTAF =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = AJAS)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = altaf)
    by the way I am able to connect with sql*plus ... lsnrctl gives the lsnr so thats running... tnslsnr is also running...also installed the latest java sdk i.e 1.5... i have set new path to point to this new java.exe i.e 1.5 one... this is really crazy and havent see such probs in any tools i have ever used and that too using it in normal pc ... God knows what will happen if used for remote db's....
    here is listener.ora
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = AJAS)(PORT = 1521))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\oracle\ora92)
    (PROGRAM = extproc)
    (SID_DESC =
    (GLOBAL_DBNAME = altaf)
    (ORACLE_HOME = C:\oracle\ora92)
    (SID_NAME = altaf)
    no one seems to have answer for this... there are all kinds of strange replies for this problem.... anyone has solved this prob plz reply....
    Message was edited by:
    ajashadi

    I've had the same problem when I installed the latest version of SQL developer (1.2.1.32.13) on a machine that still had an older, working version. My problem went away when I changed from an IP name to an IP address. on the connection setup window.

  • Could not open connection to the host, on port 23: Connect failed

    Can anyone please help with this telnet problem on CISCO 877 ADSL Router
    I am trying to telnet into my ISP Router remotely using public IP which has been dynamically assigned to the router by the ISP.
    I can Ping the Router and I can also go out to the internet on that router but, I can not telnet into that router from Inside the Network nor Outside the Network. There are no Firewalls involved.
    I have tried to clear the config and reconfigure it again, it does not help, I have also applied same config on another CISCO 877 ADSL Router it still does not work.
    ERROR i get on the Command Prompt: Could not open connection to the host, on port 23: Connect failed
    I have shown some of the Show Run out put below if that helps,
    ip nat inside source list 1 interface Dialer0 overload
    access-list 1 permit x.x.x.x 0.0.0.7
    dialer-list 1 protocol ip permit
    line vty 0 4
    password 7 ***********
    login
    Manny Thanks
    Punit

    Find Below the Requested Sh run outputs
    ADSL-ROUTER1#sh run | beg line vty
    line vty 0 4
    password 7 ***********
    login
    scheduler max-task-time 5000
    end
    I have removed the IP for security reasons
    ADSL-ROUTER1#sh ip route
    Gateway of last resort is 0.0.0.0 to network 0.0.0.0
         x.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
    S       x.x.x.x/29 is directly connected, Vlan1
    C       x.x.x.x/32 is directly connected, Dialer0
         x.0.0.0/32 is subnetted, 1 subnets
    C       x.x.x.x is directly connected, Dialer0
    S*   0.0.0.0/0 is directly connected, Dialer0
    I also keep getting the message below on the console done know if this is part of the problem
    Mar 13 07:17:32.213: %IP_VFR-4-FRAG_TABLE_OVERFLOW: Vlan1: the fragment table h
    as reached its maximum threshold 16
    Hope this output helps
    Thanks

  • DBlink and Tns could not resolve connect identifier specified

    We are encountering a strange issue with DB link(may be new to me)
    We have Oracle 9.2.0.8 and 10.2.0.3 in Solrais 10
    We are accesing both servers from the 10g
    We are able to connect to both the database through SQLplus
    We created a DBLink in oracle 9i to access 10g
    SQL:
    create public database link PRD connect to admin identified by ***** using 'PRD';
    Database link is created
    We have an entry in the TNSNAMES.ora for PRD which has a description connecting to 10g database.
    now we are issuin
    select * from table@PRD
    The error message is
    ora 12514-TNS could not resolve connect identifier sepcified
    But i am ablt to connect to both the databases from SQLPLUS but not by DBlink
    My global_names parmaeter is TRUE:
    Global_name=PRD without the domain name..

    Tried and failed......)
    Nicolas
    Does the DBlink takes the TNSentry in the host server
    even when we run from the clinet?
    I heard somewhere earlierDB link makes the database behave as a client.
    If you are on the other side of Jupiter and you connect to the database, should the database look in the TNSNAMES.ORA file on your computer to resolve the entry? Should it send a message back via SQLNet to your PC to ask it to look up what the DB Link means?
    Bottom line: The TNSNAMES.ORA in the ORACLE_HOME/networking/admin of the database install is used by all the client products running out of the ORACLE_HOME/bin - including the database when the database behaves as a client.

Maybe you are looking for

  • Late Binding Word Automation creates a document with an unresponsive Ribbon

    I have a .NET ActiveX COM object that is calling Word and adding a template for processing. This template will get some data and then add in a layout template which will create the final document with the data and layout. When it is all said and done

  • Not getting windows logon screen

    HP 4530s Win 7 64 bit Still dealing with the keyboard problems. After changing 3 keyboards, with 3 Case#'s, was told problem is probably in the software and before they would proceed I needed to return the system to the defaults (system restore from

  • IReport and JRHtmlExporter : Problem in reloading images

    Hello I have created the report with IReport and exported to the HTML format. The problem is when i reload my webpage , in backend error is shown that "Cannot write to image files". Does that mean when i refresh the page stream is still writing the i

  • Why did itunes 11 crash?

    Why did itunes crash?

  • Material price changes in parallel valuation

    Hi experts, i have an issue with Material Ledger. in our client organisation, ML is active and there are materials with price determination indicator set to 3 and with  price control indicator 'S' in the material masters. However over a period of tim