Two Laptop Bag
The moose likes JDBC and the fly likes WebLogic 8.1 Connection Pools - # of Connections always 0 Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Databases » JDBC
Reply Bookmark "WebLogic 8.1 Connection Pools - # of Connections always 0" Watch "WebLogic 8.1 Connection Pools - # of Connections always 0" New topic
Author

WebLogic 8.1 Connection Pools - # of Connections always 0

Ryan P. Kane
Greenhorn

Joined: Jun 18, 2004
Posts: 16
Hello,

Just wondering if anyone could explain to me why after I set the initial number of connections for my Weblogic 8.1 connection pools to be 5, the monitor says there are 0 connections. I thought maybe it was because I was using Cloudscape, and the Cloudscape evaluation only allows 1 connection. However, I tried it with SQL Server, and I can connect, but the pool isn't opening 5 connections when I start the server.

Thanks,
Ryan
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 26499
    
  78

Ryan,
The connection pool opens connections as they are used. Once you start running the application with multiple users at the same time, the number of connections in the pool will increase. It doesn't happen when you just start the server.
Ryan P. Kane
Greenhorn

Joined: Jun 18, 2004
Posts: 16
Thanks Jeanne,

My biggest problem was that I was using the default columns in the monitoring table. I added them all, and it made much more sense because it gave me the 'Curr Capacity' column, which made it clear that it was pooling. I was looking for that value in the 'Connections' column, but like you said, connections aren't shown there unless they are actual physical connections being used. Thanks again,

Ryan
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: WebLogic 8.1 Connection Pools - # of Connections always 0
 
Similar Threads
SLSB VS MDB
Weblogic 8.1 and IDEs
Weblogic connection pool question
Communication between two applications
HashSet and the empty operator