WebLogic 8.1
Please note that WebLogic requires repacking of the war files. This is described in the the section How to install a Web Application Archive.
- Homepage
- Where to put the JDBC driver
-
{WEBLOGIC.HOME}/weblogic81/lib/
WebLogic comes with a bunch of pre-installed JDBC drivers. A good rule here is to use the same JDBC driver as Escenic Content Engine if the same database server type is used. If not, it's recommended that you download the JDBC driver database server vendor homepage, ref database section below. Remember to remove any existing JDBC drivers that may conflict with the driver you add to the library repository.
- Creating database connection pool
-
Log into the web logic administration console, and using the menu navigation tree, go to 'mydomain -> Services -> JDBC -> Connection Pools'. Then choose 'Configure a new JDBC Connection Pool...'.
Choose correct 'Database Type' and 'Database Driver'. You will probably use the 'Other' option. Choose 'Continue'.
Fill in the following:
- Name
-
The name of this connection pool, i.e., 'EAE Logger Connection Pool' or 'EAE QS Connection Pool'.
- Database Name
-
The name of the database to connect to, i.e., 'eae'.
- Host Name
-
Host name for the database server, i.e., 'localhost'
- Port
-
The port on the database server used to connect to the database, i.e. 1521.
- Database User Name
-
The database account user name used in the physical database connection..
- Password/Confirm password
-
The database account password used in the physical database connection
When the connection pool was successfully created, navigate to 'mydomain --> Services -> JDBC -> Data Sources' using the menu navigation tree. Then choose 'Configure a new JDBC Data Source'.
Choose correct 'Database Type' and 'Database Driver'. You will probably use the 'Other' option. Choose 'Continue'.
Fill in the following:
- Name
-
The name of this data source, i.e., "EAE Logger Data Source" or "EAE QS Data Source".
- JNDI Name
-
The JNDI path for the data source, i.e
jdbc/eae-logger/logger
orjdbc/eae-qs/qs
. - Honor Global Transactions
-
Keep this checked.
- Emulate Two-Phase Commit for non-XA Driver
-
Keep this unchecked.
- Connection pool
-
Select the connection pool created for this data source.
When the data source is created, restart the application server.
See database vendor tips for details on the JDBC url and driver format.
- How to install a Web Application Archive
-
Deploying the EAE WAR files on WebLogic, must follow the steps below. These steps involves unpacking the WAR files into web application directories, which then are deployed using the WebLogic console.
- analysis-logger.war
-
Unpack the WAR file (
jar xvf ../anlaysis-logger.war
) to a folder,{ANALYSIS_LOGGER}
, typically 'analysis-logger'. Move{ANALYSIS_LOGGER}
to the WebLogic applications directory and then deploy this web application using the console. - analysis-qs.war
-
Unpack the WAR file (
jar xvf ../analysis-qs.war
) to a folder,{ANALYSIS_QS}
, typically 'analysis-qs'. Move{ANALYSIS_QS}
to the WebLogic applications directory and then deploy this web application using the console.