Red Hat APPLICATION SERVER - JONAS Manual page 285

Jonas
Hide thumbs Also See for APPLICATION SERVER - JONAS:
Table of Contents

Advertisement

Chapter 40. Configuring JDBC Resource Adapters
jonas-config-property
jonas-config-property-name loginTimeout /jonas-config-property-name
jonas-config-property-value
/jonas-config-property
jonas-config-property
jonas-config-property-name URL /jonas-config-property-name
jonas-config-property-value jdbc:mysql://malte/db_jonas
/jonas-config-property-value
/jonas-config-property
jonas-config-property
jonas-config-property-name dsClass /jonas-config-property-name
jonas-config-property-value org.gjt.mm.mysql.Driver
/jonas-config-property-value
/jonas-config-property
jonas-config-property
jonas-config-property-name mapperName /jonas-config-property-name
jonas-config-property-value rdb.mysql /jonas-config-property-value
/jonas-config-property
To create a PostgreSQL RAR configured as
PostGreSQL3_DM.rar
jndiname jdbc_3 /jndiname
rarlink JOnASJDBC_DM /rarlink
.
.
jonas-config-property
jonas-config-property-name user /jonas-config-property-name
jonas-config-property-value jonas /jonas-config-property-value
/jonas-config-property
jonas-config-property
jonas-config-property-name password /jonas-config-property-name
jonas-config-property-value jonas /jonas-config-property-value
/jonas-config-property
jonas-config-property
jonas-config-property-name loginTimeout /jonas-config-property-name
jonas-config-property-value
/jonas-config-property
jonas-config-property
jonas-config-property-name URL /jonas-config-property-name
jonas-config-property-value jdbc:postgresql:/malte:5432/db_jonas
/jonas-config-property-value
/jonas-config-property
jonas-config-property
jonas-config-property-name dsClass /jonas-config-property-name
jonas-config-property-value org.postgresql.Driver
/jonas-config-property-value
/jonas-config-property
jonas-config-property
jonas-config-property-name mapperName /jonas-config-property-name
jonas-config-property-value rdb.mpostgres /jonas-config-property-value
/jonas-config-property
The database user and password can be handled in one of two ways:
Put it in the
jonas-ra.xml
getConnection()
Not have it in the RAR file and have the Application Component use the
username, String password)
, with the following properties configured in the
file in the RAR file and have the Application Components use the
method.
method.
/jonas-config-property-value
in JNDI, it should be described in a file called
jdbc_3
/jonas-config-property-value
file:
jonas-ra.xml
getConnection(String
277

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the APPLICATION SERVER - JONAS and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Application server

Table of Contents