J2EE - Ping connection pool fails
Hi All,
M having a very peculiar problem :-).
M porting the CTS on our platform (unix based). Problem happens after i "create-jdbc-connection-pool". Using asadmin I am able to create the jdbc-connection-pool. I can c the entry in domain.xml.
But when I try to "ping-connection-pool" to the connection-pool, m getting the below error.
"Operation 'pingConnectionPool' failed in 'resources' Config Mbean."
The ping is failing with the default pool also (PointBasePool). Do I need to start the databse server. If yes, How?
The real problem is with CTS, when I try to:
{.
.
jc = new TSNamingContext();
ds1 = (DataSource)jc.lookup("java:comp/env/jdbc/DB1");
.
.
}
it is not retriving the correct datasource value. Instead the value returned is:
ds1 = com.sun.gjc.spi.DataSource@1c5543b
Any inputs will be of great help
Thanks,
Nisha

