Win a copy of Node.js Design Patterns: Design and implement production-grade Node.js applications using proven patterns and techniques this week in the Server-Side JavaScript and NodeJS forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

ConnectionPool problem

 
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
We are having problems running our application (JSPs, servlets, ejbs) on weblogic. Memory is not freed up and over a period of time, the runtime heap is becoming full and slowing the server.
After working with jprobe, for each database transaction oracle objects keep on accumulated on the heap. This is happening when I was using weblogic connection pool.
I tested our application again, this time not using connection pool. Everytime getting a new connection from database and releasing the connection after use. I found that no objects are accumulated on the heap and all objects are freed.
So I suspect something wrong with the connectionpool.
Here I am copying the connectionpool configuration from weblogic server (config.xml). Please tell me if anything is wrong with this.
<JDBCDataSource DeploymentOrder="1000"
JNDIName="com.verizon.warp.UserPool" Name="UserPool"
PoolName="oraclePool" Targets="myserver"/>
<JDBCConnectionPool CapacityIncrement="2"
DriverName="oracle.jdbc.driver.OracleDriver"
InitialCapacity="4" LoginDelaySeconds="1" MaxCapacity="10"
Name="oraclePool"
Properties="user=<username>;password=<password>;dll=ocijdbc8;protocol=thin"
Targets="myserver" TestTableName="dual" URL="jdbc:oracle:thin:@<hostname>:1521:<ORACLE_SID>"/>
Thanks
Krishna.
reply
    Bookmark Topic Watch Topic
  • New Topic