dcsimg
How to Create Connectionpool in Weblogicserver6.1 and how to test the Connectionpool aftercreating a pool in same server
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Paramesh_Renoldo
Posted On:   Friday, March 15, 2002 05:51 PM

Hi
This is from paramesh.. I am from Singapore. I need your help.. Presently i am working as S/E in MNC singapore. Yesterday i create one new ConnectionPool in Weblogic server.But i am not able to connect
Error jdbc driver not support and i would like to know about how to test the connection once creat the pool in same server. Pls mail me details about the above queries..
This is my request.
Thkx

Re: How to Create Connectionpool in Weblogicserver6.1 and how to test the Connectionpool aftercreating a pool in same server

Posted By:   Ravikeerthi_Saradka  
Posted On:   Wednesday, March 20, 2002 06:54 PM

You can write a small piece of code and test it. Print the exceptions. Create the datasource and attch the connection pool to data source.

try {

InitialContext initCtx = null;
initCtx = new InitialContext();
DataSource ds = (javax.sql.DataSource)initCtx.lookup("");

con = ds.getConnection();
} catch (SQLException sqx) {



Also you can check in the console of the weblogic server under connection pooling->monitor connections. It will show number of connections opened/active etc..
About | Sitemap | Contact