JNDI Connection Details

JNDI Connection details are specified in Panopticon Real Time configuration file panopticon.xml.

Each connection has the following structure:

<Resource name="jdbc/[Unique Name]
       auth="Container" 
       type="javax.sql.DataSource"
       maxActive="100" 
       maxIdle="30" 
       maxWait="10000"
       username="[User Name]
       password="[Password]
       driverClassName="[Class Name]"
       url="[URL]"
/>

 

Where:

  • Unique Name: Defines the unique JNDI resource name to be used
  • User Name: The username to authenticate to the database
  • Password: The password to authenticate to the database
  • Class Name: The Class Name specific to the Database’s JDBC Driver
  • URL: The URL specific to the Database’s JDBC Driver, and selected Server instance and database.

 

Additionally, other key attributes of the JNDI resource are:

  • maxActive: The maximum number of active connections that can be allocated from this pool
  • maxIdle: The maximum number of connections that will be kept active even when there are no requests. 
  • maxWait:  Maximum time in milliseconds to wait for a database connection to become available

(c) 2013-2024 Altair Engineering Inc. All Rights Reserved.

Intellectual Property Rights Notice | Technical Support