Red Hat APPLICATION SERVER - JONAS Manual page 284

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

Advertisement

276
password
Database user password
An RAR for Oracle configured as
driver, should be described in a file called
in the
jonas-ra.xml
jndiname jdbc_1 /jndiname
rarlink JOnASJDBC_DM /rarlink
.
.
jonas-config-property
jonas-config-property-name user /jonas-config-property-name
jonas-config-property-value scott /jonas-config-property-value
/jonas-config-property
jonas-config-property
jonas-config-property-name password /jonas-config-property-name
jonas-config-property-value tiger /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:oracle:thin:@malte:1521:ORA1
/jonas-config-property-value
/jonas-config-property
jonas-config-property
jonas-config-property-name dsClass /jonas-config-property-name
jonas-config-property-value oracle.jdbc.driver.OracleDriver
/jonas-config-property-value
/jonas-config-property
jonas-config-property
jonas-config-property-name mapperName /jonas-config-property-name
jonas-config-property-value rdb.oracle /jonas-config-property-value
/jonas-config-property
In this example, "malte" is the hostname of the server running the Oracle DBMS, 1521 is the SQL*Net
V2 port number on this server, and ORA1 is the ORACLE_SID.
This example makes use of the Oracle "Thin" JDBC driver. For an application server running on the
same host as the Oracle DBMS, you can use the Oracle OCI JDBC driver; in this case, the URL to use
is jdbc:oracle:oci7: or jdbc:oracle:oci8:, depending on the Oracle release. Oracle JDBC drivers can be
downloaded from the Oracle web site http://otn.oracle.com/software/tech/java/sqlj_jdbc/content.html.
To create a MySQL RAR configured as
, with the following properties configured in the
MySQL2_DM.rar
jndiname jdbc_2 /jndiname
rarlink JOnASJDBC_DM /rarlink
.
.
jonas-config-property
jonas-config-property-name user /jonas-config-property-name
jonas-config-property-value
/jonas-config-property
jonas-config-property
jonas-config-property-name password /jonas-config-property-name
jonas-config-property-value
/jonas-config-property
jdbc_1
Oracle1_DM.rar
file:
jdbc_2
Chapter 40. Configuring JDBC Resource Adapters
in JNDI and using the Oracle thin DriverManger JDBC
, with the following properties configured
/jonas-config-property-value
in JNDI, it should be described in a file called
/jonas-config-property-value
/jonas-config-property-value
file:
jonas-ra.xml

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

Subscribe to Our Youtube Channel

This manual is also suitable for:

Application server

Table of Contents