• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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.
 
keep an eye out for scorpions and black widows. But the tiny ads are safe.
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic