Connection pooling in Glassfish server with teradata

Database

Connection pooling in Glassfish server with teradata

Hi all,

I am working with Java Glassfish server and teradata. I have to create a database connection pooling with glassfish server and teradata. But glassfish server doesn't have Resource Type option TeraConnectionPoolDataSource to select. I tried by selecting other datasources but none works.

Please help me on this.

2 REPLIES

Re: Connection pooling in Glassfish server with teradata

I got the solution,

actually the resource type is "java.sql.DataSource"
and the Database classname is "com.ncr.teradata.TeraDataSource"

Re: Connection pooling in Glassfish server with teradata

Hi,

I am getting below error while ping from glassfish for teradata. I saw  a number of properties asking to set for connection pool in "additional properties" section. There are 39 properties are there in the  "additional properties" section. Certain properties are repeated twice. Can you please share the additional properties configuration section for teradata.

WARNING:   RAR8054: Exception while creating an unpooled [test] connection for pool [ TeradataPool ], Exception while destroying physical connection

SEVERE:   RestResponse.getResponse() gives FAILURE.  endpoint = 'http://localhost:4848/management/domain/resources/ping-connection-pool.json'; attrs = '{id=TeradataPool}'