Error after resetting connection pool

 

FYI on the fix--
I moved back from sp9 to sp8 and the bug went away. Can't wait for sp10...
--tka
"tracya" <[email protected]> wrote in message
news:3b44bdb5$[email protected]..
I am having a problem with connection pools using 5.1.0, jdk 1.2.2, andthe
oracle 8.1.7 thin drivers.
WL starts up fine and will happily service db transactions until I resetthe
connection pool. The connection pool seems to reset fine, but then all
future db connections are corrupt. Has anyone else seen anything likethis?
>
Thanks!
I am using the following code to reset the pool:
Hashtable htEnv = new Hashtable();
htEnv.put(InitialContext.INITIAL_CONTEXT_FACTORY,
"weblogic.jndi.WLInitialContextFactory");// URL for the WebLogic Server
htEnv.put(InitialContext.PROVIDER_URL, "t3://localhost:" +
GetAppServerListenPortNum());
htEnv.put(InitialContext.SECURITY_PRINCIPAL, sAppUser); //system
htEnv.put(InitialContext.SECURITY_CREDENTIALS, sAppUserPassword);
InitialContext icContext = new InitialContext(htEnv);
JdbcServices jdbc =
(JdbcServices)icContext.lookup("weblogic.jdbc.JdbcServices");
jdbc.getPool(sPoolName).reset();
Here is the code from the props file:
weblogic.jdbc.connectionPool.DBPool_1=\
url=jdbc:oracle:thin:@niledev:1521:niledev,\
driver=oracle.jdbc.driver.OracleDriver,\
loginDelaySecs=1,\
initialCapacity=1,\
maxCapacity=10,\
capacityIncrement=1,\
allowShrinking=true,\
shrinkPeriodMins=15,\
testTable=DUAL,\
refreshMinutes=5,\
testConnsOnReserve=true,\
props=user=XXXX;password=XXXXX
weblogic.allow.reserve.weblogic.jdbc.connectionPool.DBPool_1=guest

Similar Messages

  • Fatal error while filling connection pool

    I was not getting a connection to an Oracle database and I was getting the following error in cms.log: "FATAL  Connector - Unable to create connection pool for T_Orbis_Oracle: Fatal error while filling connection pool for jdbc:oracle:thin:@MESDB:1521:ASPENB21" where T_Orbis_Oracle is the xMII link name and the database ASPENB21 is on server MESDB. I changed the database username in the link to SYSTEM and I then got a connection and a Created Connection pool message in the log. I then changed back to the username which originally was giving the error and it now also gave me a successful connection. I am now worried that there is an issue in the background which is gradually building up and will begin to fail again as previously. Can anyone explain what is causing this problem and suggest how I can correct it? Thanks, John.

    John,
    Check you have installed the JDBC driver ojdbc14.jar (works for both 9 and 10).
    Also check the server package:
    MII 11.x--->ServerPackage com.lighthammer.Illuminator.connectors.IDBC
    MII 12.x--->com.sap.xmii.Illuminator.connectors.IDBC
    Carefull when you set up the string because some oracle databases have servicenames instead of SID, and the url was different if you use them instead of the SID.
    For services names the url is jdbc:oracle:thin@host:port:SID
    Also check your Network firewall between MII and DB and ports too.
    Oracle9i installs with a number of default accounts.You must unlock all other accounts before using them. Oracle recommends changing all user passwords immediately after installation.
    -Suresh
    Edited by: Suresh Hiremath on Jul 29, 2009 8:20 AM

  • Error creating a connection pool (No suitable driver)

    I have just installed WLS6.1 SP3
    I try to create a connection with the following parameters
    URL = jdbc:oracle:thin@myOracleServer:1521:myOracleSID
    DriverName = oracle.jdbc.driver.OracleDriver
    every thing else is left as the defaults,
    when I click create everything is OK.
    I then go to the "Targets" tab and select myserver,
    move it to the chosen column and click apply.
    I then get the error
    <Error> <JDBC> <Cannot startup connection pool "myCP" No suitable driver>
    I looked at the doc edocs.bea.com/wls/docs61/jdbc/thirdparty.html
    Under the section "Setting environment for your third party driver"
    it implys that if your using sybase jconnect or oracle thin drivers
    you do not need to do anything else.
    I looked in the weblogic.jar file and the OracleDriver.class file
    is there under oracle\jdbc\driver.
    the CLASSPATH=.;.\lib\weblogic_sp.jar;.\lib\weblogic.jar
    I would have thought that the driver class in the jar file
    would have be picked up given the path & classname match the
    driver name enter in the console.
    Any ideas on how to fix this problem?

    "Robert Towler" <[email protected]> wrote in message
    news:3dd3ea04$[email protected]..
    Thanks Slava, you were correct,
    I really appreciate it.Glad to help :)
    Regards,
    Slava Imeshev
    "Slava Imeshev" <[email protected]> wrote:
    Hi Robert,
    Looks like colon is missing after jdbc:oracle:thin. The url should be
    jdbc:oracle:thin:@myOracleServer:1521:myOracleSID
    Regards,
    Slava Imeshev
    "Robert Towler" <[email protected]> wrote in message
    news:3dd3e3c6$[email protected]..
    I have just installed WLS6.1 SP3
    I try to create a connection with the following parameters
    URL = jdbc:oracle:thin@myOracleServer:1521:myOracleSID
    DriverName = oracle.jdbc.driver.OracleDriver
    every thing else is left as the defaults,
    when I click create everything is OK.
    I then go to the "Targets" tab and select myserver,
    move it to the chosen column and click apply.
    I then get the error
    <Error> <JDBC> <Cannot startup connection pool "myCP" No suitable
    driver>
    >>>
    I looked at the doc edocs.bea.com/wls/docs61/jdbc/thirdparty.html
    Under the section "Setting environment for your third party driver"
    it implys that if your using sybase jconnect or oracle thin drivers
    you do not need to do anything else.
    I looked in the weblogic.jar file and the OracleDriver.class file
    is there under oracle\jdbc\driver.
    the CLASSPATH=.;.\lib\weblogic_sp.jar;.\lib\weblogic.jar
    I would have thought that the driver class in the jar file
    would have be picked up given the path & classname match the
    driver name enter in the console.
    Any ideas on how to fix this problem?

  • Error while creating connection pool "FATAL: database "null" does not exist

    Hi,
    Iam trying to create a XA connection pool using postgres driver (postgresql-8.3-603.jdbc3.jar) on Weblogic 8.1.6.0 from the Admin Console.
    I have provided the following info in the JDBC config
    Driver Class Name: org.postgresql.xa.PGXADataSource.
    JDBC URL: jdbc:postgresql://192.168.192.112:5432/sample1
    UserName: postgres
    Password: Postgres
    When i click Test Driver Configuration. Iam getting the following error
    "FATAL: database "null" does not exist"
    if i change the Driver Class Name to "org.postgresql.Driver", it is working fine. But as iam trying to create XA datasource i need to use the XA Driver class name.
    Can someone tell me how to resolve this issue ?
    The postgres version iam using is 8.3.1

    Hi Joe,
    The driver is in the classpath.
    Please find the stack trace.
    org.postgresql.util.PSQLException: FATAL: database "null" does not exist
    at org.postgresql.core.v3.ConnectionFactoryImpl.readStartupMessages(Conn
    ectionFactoryImpl.java:444)
    at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(Conne
    ctionFactoryImpl.java:99)
    at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactor
    y.java:66)
    at org.postgresql.jdbc2.AbstractJdbc2Connection.<init>(AbstractJdbc2Conn
    ection.java:124)
    at org.postgresql.jdbc3.AbstractJdbc3Connection.<init>(AbstractJdbc3Conn
    ection.java:30)
    at org.postgresql.jdbc3.Jdbc3Connection.<init>(Jdbc3Connection.java:24)
    at org.postgresql.Driver.makeConnection(Driver.java:386)
    at org.postgresql.Driver.connect(Driver.java:260)
    at java.sql.DriverManager.getConnection(DriverManager.java:512)
    at java.sql.DriverManager.getConnection(DriverManager.java:171)
    at org.postgresql.ds.common.BaseDataSource.getConnection(BaseDataSource.
    java:83)
    at org.postgresql.xa.PGXADataSource.getXAConnection(PGXADataSource.java:
    47)
    at org.postgresql.xa.PGXADataSource.getXAConnection(PGXADataSource.java:
    32)
    at weblogic.management.console.utils.JDBC.testConnection(JDBC.java:185)
    at weblogic.management.console.actions.mbean.JDBCConnectionPoolTestActio
    n.prePerform(JDBCConnectionPoolTestAction.java:114)
    at weblogic.management.console.actions.mbean.DoMBeanWizardAction.perform
    (DoMBeanWizardAction.java:215)
    at weblogic.management.console.actions.internal.ActionServlet.doAction(A
    ctionServlet.java:182)
    at weblogic.management.console.actions.internal.ActionServlet.doPost(Act
    ionServlet.java:86)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run
    (ServletStubImpl.java:1077)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
    pl.java:465)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
    pl.java:348)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
    n.run(WebAppServletContext.java:7047)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
    dSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
    121)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
    rvletContext.java:3902)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
    pl.java:2773)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)

  • Error using mySQL connection Pool

    I see the following error when my application uses the connection pool - can anyone explain this ?
    INFO: CORE3282: stdout: =======================>ERROR :com.sun.enterprise.repository.J2EEResourceException
    WARNING: CORE3283: stderr: at com.sun.enterprise.resource.IASNonSharedResourcePool.initPool(IASNonSharedResourcePool.java:416)
    WARNING: CORE3283: stderr: at com.sun.enterprise.resource.IASNonSharedResourcePool.internalGetResource(IASNonSharedResourcePool.java:625)
    WARNING: CORE3283: stderr: at com.sun.enterprise.resource.IASNonSharedResourcePool.getResource(IASNonSharedResourcePool.java:520)
    INFO: CORE3282: stdout: java.lang.NoSuchMethodException: setdataSourceName

    Hi,
    You have used dataSourceName property while creating a connection pool.This property is not required to be set while creating a connection pool for MySql
    Use the following properties:
    <property name="serverName" value="<name of server>"
    <property name="port" value="<port number>"
    <property name="DatabaseName" value="<your db name>"
    <property name="User" value="<user name>"
    <property name="Password" value="<passwd>"
    Get back in case of any issues

  • Error: Creating a Connection Pool: issue with valid transaction levels

    Server: SunOS 5.8 Generic_117350-27 sun4u sparc SUNW,UltraAX-MP
    App Server: Sun Java System Application Server 8.2
    Jar: ojdbc14.jar
    Datasource Classname: oracle.jdbc.pool.OracleConnectionPoolDataSource
    Resource Type: javax.sql.ConnectionPoolDataSource
    [Issue]
    Using /SUNWappserver/lib/ojdbc14.jar, when I create my connection pool in Sun Java System Application Server 8.2, I return the following error each time I try to start the domain:
    [#|2006-07-28T14:53:56.169-0500|WARNING|sun-appserver-pe8.2|javax.enterprise.resource.resourceadapter|_ThreadID=11;|RAR5117 : Failed to obtain/create connection. Reason : The isolation level could not be set: READ_COMMITTED and SERIALIZABLE are the only valid transaction levels|#]
    When I change the value to "SERIALIZABLE" in my domain.xml file, I receive the following error in my server.log:
    Caused by: org.xml.sax.SAXParseException: Attribute "transaction-isolation-level" with value "SERIALIZABLE" must have a value from the list "read-uncommitted read-committed repeatable-read serializable ".
    So, I'm stuck!
    I can't use the values READ_COMMITTED or SERIALIZABLE since the valid values are "read-uncommitted read-committed repeatable-read serializable ".
    Case sensitivity matters.
    Any thoughts or help would be greatly appreciated.
    Thanks,
    --Todd                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    The Oracle JDBC accepts TRANSACTION_READ_COMMITTED and TRANSACTION_SERIALIZABLE isolation levels.
    Example:
    connAttr.setProperty(“TRANSACTION_ISOLATION”, “TRANSACTION_SERIALIZABLE”);
    I'd check with the Apps server folks.
    Kuassi - blog http://db360.blogspot.com/
    ------ book http://www.amazon.com/gp/product/1555583296/

  • Error creating a connection pool to DB2 with the weblogic 8.1 driver

    I am trying to create a new connection pool with using the weblogic 8.1 (non XA driver (weblogic.jdbc.db2.DB2Driver)). When I create the pool one of the steps is to test the driver configuration and it fails with this step.
    I get the following error:
    [BEA][DB2 JDBC Driver]The databaseName connection property is not valid when connecting to Host Operating Systems.
    We are going through IBM's DB2 connect gateway (version 8.x) to connect to a DB2 database running on Z/OS.
    Here are my connection parameters:
    Driver Classname: weblogic.jdbc.db2.DB2Driver
    url: jdbc:bea:db2://db2cont2.arrow.com:3700
    Database User Name: XXXXXX
    password xxxxx
    properties
    user=db2trce
    portNumber=3700
    databaseName=DB2T
    batchPerformanceWorkaround=true
    serverName=db2cont2.arrow.com
    Any ideas would be much appreciated.
    Thanks,
    Matt

    Matthew McHugh wrote:
    I am trying to create a new connection pool with using the weblogic 8.1 (non XA driver (weblogic.jdbc.db2.DB2Driver)). When I create the pool one of the steps is to test the driver configuration and it fails with this step.
    I get the following error:
    [BEA][DB2 JDBC Driver]The databaseName connection property is not valid when connecting to Host Operating Systems.
    We are going through IBM's DB2 connect gateway (version 8.x) to connect to a DB2 database running on Z/OS.
    Here are my connection parameters:
    Driver Classname: weblogic.jdbc.db2.DB2Driver
    url: jdbc:bea:db2://db2cont2.arrow.com:3700
    Database User Name: XXXXXX
    password xxxxx
    properties
    user=db2trce
    portNumber=3700
    databaseName=DB2T
    batchPerformanceWorkaround=true
    serverName=db2cont2.arrow.com
    Any ideas would be much appreciated.
    Thanks,
    MattHi Matt. Unfortunately DB2 is different on differnet OSes. For
    DB2 on OS/390, z/OS, iSeries, and AS/4001, the URL is like this:
    jdbc:bea:db2://db2_server_name:port;Location=db2_location;CollectionId=your_collectionname
    Try removing the serverName property and the databaseName, and
    change your URL to
    jdbc:bea:db2://db2cont2.arrow.com:3700;Location=db2_location;CollectionId=your_collectionname
    where you would change 'db2_location' and 'your_collectionname' as appropriate.
    Joe

  • Error in creating Connection Pool using Oracle Thin Driver

    Hi,
    I am trying to create a connection pool in WS 5.1 with sp #6 using Oracle Thin Driver (oracle.jdbc.driver.OracleDriver) on a Sun box. But I am able to create the pool using weblogic.jdbc.oci.Driver. I get an DBMS Driver exception when I use thin driver. I have LD library path and weblogic class path set correctly. WL shows the following exception :
    weblogic.common.ResourceException: weblogic.common.ResourceException:
    Could not create pool connection. The DBMS driver exception was:
    java.sql.SQLException: Io exception: The Network Adapter could not establish the
    connection
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java)
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java)
    at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java)
    at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java)
    Any help on this is greatly appreciated.
    Thanks,
    Ramu

    Hi Ramu,
    Please post your connection pool setting here. You might have missed some
    port/server info. The driver is unable to connect to the db server here.
    sree
    "Ramu" <[email protected]> wrote in message
    news:3d5bbc3a$[email protected]..
    >
    Yes. I am trying to create a connection pool in weblogic and I have theweblogic
    class path setup correctly. It points to classes111.zip andnls_charset11.zip.
    >
    -Ramu
    "Neo Gigs" <[email protected]> wrote:
    Did you setup the JDBC library classpath correctly?
    For me, e.g. Oracle 7.3.4, the classpath should be:
    export CLASSPATH = /oracle7.3.4/jdbc/lib/classes.zip:%CLASSPATH%
    Noted that the JDBC classpath must be the first classpath element in
    the export
    statement.
    Neo

  • Error after resetting iPhone: "An unknown error occurred (11222)."

    My Gmail was not working so I reset it, and now I can't use my phone at all! It seemed to reset correctly, then when trying to connect to iTunes to get my phone working again, it says:
    "We could not complete your iTunes Store request. An unknown error occurred (11222). There was an error in the iTunes Store. Please try again later.
    BUT, I CAN connect to the iTunes Store when I click there! It doesn't work with the iPhone though. I have already tried installing the latest version of iTunes today. Still nothing.
    PLEASE HELP! I cannot afford to buy a new iPhone. I have the original. Thanks!!!

    Great start to my Birthday, which is today. Here is an update to my issue. I had to restore the OS on my iPhone 2g (original iPhone) last night and now it seems that Apple and AT&T servers are not able to (re)activate any original iPhones. So I have no Phreaking Phone and it is my birthday. After calling Apple this morning and talking to them and they finally admitted that it was a problem on their end with their servers and an update they did over the weekend, but who knows when they will fix it so my phone will work again. At first they were telling me that it was a hardware issue with my phone and that I would need to pay $199 to get a replacement phone (that probably would not work either). That is simply not the case. I am able to restore the OS on my phone and have done so about 6 times since last night. It just gets an error when it tries to connect to the activation servers and leaves my phone stuck at the emergency call screen. Then the senior support tech I was talking to agreed to go talk to a senior engineer and was told that they were working on an issue and had about a half dozen other people who had called. So if you are having this same problem CALL APPLE to complain so that Apple will know how many people this is affecting.

  • HT201441 icloud error after reseting

    i purchase iPhone from market after tow month I reset by connecting iTunes and not off find my iPhone so I face cloud id problem
    error that show on screen is this id is not use to unlock . but before rest I use my on id which is *********
    <E-mail Edited by Host>

    You need to use the id and password of the account that was being used in Settings > iCloud on the phone. If you bought the phone used and it's still linked to the previous owner's account then you will have to contact the previous owner, only he/she can remove the phone from their account (or go back to the place that you bought it from and ask for a refund) - the page that you posted from has details about used devices and activation lock.
    (As we are fellow users here on these user-to-user forums, you're not talking to iTunes Support nor Apple, I've asked the hosts to remove your email address from your post - it's not a good idea to post personal info on any public forum.)

  • Blue screen error after USB connection

    hello, I have a new 8100. All is great, all is working, but the problem appeared after I installed the software and I connected the mobile to the computer by USB... the blue screen error of Windows Vista appeared and then
    after the automatic reboot of my computer
    it said the following mistakes:
    "Firma con problemas:
      Nombre del evento de problema: BlueScreen                        ( name of the problem )
      Versión del sistema operativo: 6.0.6000.2.0.0.768.3              ( OS version )
      Id. de configuración regional: 3082                                    ( regional configuration ID )
    Información adicional del problema:                                      ( aditional info on the problem )
      BCCode: 4e
      BCP1: 0000009A
      BCP2: 0003EA16
      BCP3: 00000006
      BCP4: 00000002
      OS Version: 6_0_6000
      Service Pack: 0_0
      Product: 768_1
    Archivos que ayudan a describir el problema:       ( files which help to describe the problem )
      C:\Windows\Minidump\Mini010609-03.dmp
      C:\Users\antonio\AppData\Local\Temp\WER-110323-0.sysdata.xml
      C:\Users\antonio\AppData\Local\Temp\WER6C68.tmp.version.txt
    Lea nuestra declaración de privacidad:
      http://go.microsoft.com/fwlink/?linkid=50163&clcid=0x0c0a
    I hadn't anything wrong with my Vista OS before
    thanks in advance
    Solved!
    Go to Solution.

    Hi and welcome to the forums!
    I don't read Spanish very well, but did you leave the Blackberry plugged in when you
    rebooted the PC? Vista might have tried to used the BB as a drive for error checking or system functions.
    Thanks,
    Bifocals
    Click Accept as Solution for posts that have solved your issue(s)!
    Be sure to click Like! for those who have helped you.
    Install BlackBerry Protect it's a free application designed to help find your lost BlackBerry smartphone, and keep the information on it secure.

  • Why do i get an error after resetting Time Capsule?

    Hi *,
    I recently reset (and also factory reset) my Time Capsule. It showed up in AirPort Utility.
    Then after 10 mins (or less), when i open up the AirPort utility again, i get this error:
    "Time Capsule was previously part of your network. Check that it is still in range of your network and is plugged into a power outlet. Click forget to remove this base station from this network."
    The light on the TC is green and steady and it is absolutely in the range of my netwrok. I also have the LAN cable plugged in. Please let me know what am i doing wrong.
    Regards,
    Arindam.

    Remove at least one of the networks.. so use ethernet.. turn wireless right off.
    If you still have issues.. tell us.

  • Program error after using connected smart objects

    Hello, dear friends. I need your help.
    My problem is:
    1. I placed linked smart objects in to the photo and then tried to replace content of this smart object. Suddenly program shut down. And If I try to do the same one more time the same happened.
    2. Some times I could do this operation till the end but replaced content didn't save my changes made for this smart object. And then program shut down again.
    This problem stops my work, that is why I'll be pleased to hear any solution.
    Thank you.

    What have you done for trouble-shooting so far? (Restoring Preferences after making sure all customized presets like Actions, Patterns, Brushes etc. have been saved might be of special interest).
    http://blogs.adobe.com/crawlspace/2012/07/photoshop-basic-troubleshooting-steps-to-fix-mos t-issues.html
    Also please read this (in particular the section titled "Supply pertinent information for quicker answers"):
    http://forums.adobe.com/docs/DOC-2325

  • EP 6.0 SP2 PL28 - connection pool for principal type UACC fails

    Hello,
    does anybody have the same problem? - We always lose the LDAP-Connection after restart of the j2ee-Services on our Enterprise Portal. We get then this error-message:
    ->
    <b>connection pool for principal type UACC fails</b>
    Loading application: com.sap.portal.usermanagement
    Loading services:
    Loading service: com.sap.portal.license.runtime|license
    Jul 2, 2005 4:27:09 AM # System_Thread_32 Fatal [class=com.sap.security.core.persistence.datasource.imp.LDAPConnectionManager][method=initConnectionPool()][cl=13324]connection pool for principal type UACC fails
    Thanks in advance.
    Regards,
    Ralf

    Does anybody can help me? - It´s important.
    Thanks in advance.
    Regards,
    Ralf

  • IO Exception Broken Pipe ORA-17002 while using connection pooling

    Hi
    We are experiencing "broken pipe ORA-17002 error" when using connection pooling. This seems to be a common error when implementing connection pooling, but I didn't find any solution anywhere.
    we are using Oracle 9i 9.2.0.1 JDBC thin driver
    Our database is Oracle 8.1.7 running on HP Unix
    The middle tier(Tomcat) runs on RedHat linux server
    We are using JDK1.3
    It seems the connections automatically get stale or bad after certain period of time.Iam checking to see if the connection is closed, before giving the connection from the pool to the appilcation.It seems its still open.But when I start using the connection to open a callable statement or setAutocommit to false, it says Broken pipe or No more data to read from the socket.
    We are implementing our own connection pooling class(we experimented with OracleConnectionCacheImpl but it too gave the same errors).
    Does anybody have a solution for this problem??
    Is there a workaround for this?I would like to know how connection pooling is implemented in most of the applications that use oracle database?Or do we need to explicitly test the connection before using it, and reopen a connection if that is bad??
    Thanks
    Anil

    kalle
    Thank you very much for your advice!!!
    Like you said, I started to check whether the connections are fine before giving them from the pool.I am executing a simple "select 'anil' from dual" and if its fine only then I return the connection. So far it seems to be fine. Also I am reopening the connections(closing the old ones and opening new connections) after every 12 hours.
    As far as the JDBC driver is concerned, I already tried with Oracle 8i driver, it gave the same problems. I read that 9i driver might solve this problem, so I changed to the latest 9i driver (classes12_g.zip).
    Sometimes before(before I started checking whether the connection is good )the application used to hang up at the point where I am issuing setAutoCommit(false).It never comes out from that statement.Is this something to do with theconnections being closed?
    What I am afraid is, will the appilation get hung up even after I check the connection with select query and then issue autocommit(false)??
    Or will it hang up while I check with a select query??
    As long as it doesn't hung up, I am fine. Because i am cathching the exceptions.
    Thanks In ADVANCE
    Anil

Maybe you are looking for

  • Trouble importing my backup

    Hello, I've recently backuped my iTunes as I've bought a new computer. I'm trying to restore the backup but all I'm getting is "The Disc Backup2010-07-07 cannot be read. An unknown error occurred (-69). Appreciate your help. Thanks

  • Multiple copy in the same layer (was: Texts)

    Hi all, I'd like to know if there is a way to quickly copy multiple times the same word in the same layer So if i want to make a sun through a word i will make something like this      sun       sunsunsun      sun In photoshop for example i can creat

  • Row.setAttribute not updating VO value

    Hi, I want to update one item value coming from a VO. I am writing folloing code in my processFromRequest. if (pageContext.getParameter("XXSubmit") != null) String comments = pageContext.getParameter("OverallComments"); OAApplicationModule am = pageC

  • I can't start admin wli wli10gR3MP1_linux32.bin

    After installed wli when I tray start admin server I see this error: <Aug 11, 2012 11:59:09 PM BRT> <Error> <Management> <BEA-141244> <Schema validation errors while parsing /opt/wli/user_projects/domains/domain_wli/config/config.xml - Expected eleme

  • How to simulate PXI6551/52 in NI MAX/ LabVIEW?

    I have PXI6551 and PXI 6552 cards in our lab. But we develop the code generally at other workstation where this card is not available. is there a way to simulate them in the system so that i can use them in labview while developing the code?