Index Changes

Difference between version and version     

Back to Configuring Persistence And Recovery For BPEL, or Configuring Persistence And Recovery For BPEL Info


At line 113 added 24 lines.
!! Setting the GlassFish JVM Classpath to the Database Drivers
The database JDBC drivers must be either set in the GlassFish JVM classpath (preferred), or placed in the local /glassfish/lib directory, before you create the connection pools. This is not necessary for the Derby (JavaDB) database, but is required for Oracle or MySQL. For example, if you are using JDK 6, your GlassFish JVM classpath must be set to the ojdbc6.jar file, which is the Oracle database JDBC driver for JVM6.
__To set the GlassFish JVM Classpath Settings:__
# Open the GlassFish Admin Console. To access the Admin Console do the following:
## From the Services window of the NetBeans IDE, start the GlassFish server.
## Right-click the GlassFish server and select View Admin Console from the popup menu.
## Login to the Admin Console. The default username is ''admin'', and password is ''adminadmin''.
# To access the GlassFish JVM classpath settings, do the following:
## From the Common Tasks window, click Application Server.
## From the Application Server window, click the JVM Settings tab and Path Settings sub-tab.
# In the Classpath Suffix field, type the full path for your database JDBC driver on your local directory. For example {{C:\GlassFishESB\drivers\oracle11gDriver\ojdbc6.jar}}.
# Click Save, and restart GlassFish.
__Adding the Database Drivers in a Clustered Environment__
Additional steps must be taken to add the JDBC database drivers in a clustered environment. For more information see [Configuring the BPEL Service Engine for Clustering|Jbi_clusterBpel_p].
%%center
[Top|ConfiguringPersistenceAndRecoveryForBPEL]%%
At line 139 added 2 lines.
__Note:__ Before you create Connection Pools, you must first set the GlassFish JVM classpath for your database JDBC drivers. See ''Setting the JVM Classpath to the Database Drivers'' above for more information.
At line 145 changed 1 line.
# Expand the {{Configuration}} node and select {{Transaction Service}}.
# Expand the {{Configuration}} node and select {{Transaction Service}} (or ''Configurations'' → ''server-config'' → ''Transaction Service'', if clustering is configured).
At line 153 changed 1 line.
To create a non-XA Connection Pool, follow the same procedure as you would to create an XA Connection Pool and JDBC Resource, but substitute javax.sql.ConnectionPoolDatasource as the Resource Type.
To create a non-XA Connection Pool, follow the same procedure as you would to create an XA Connection Pool and JDBC Resource, but substitute javax.sql.ConnectionPoolDataSource as the Resource Type.

JSPWiki v2.4.100
[RSS]
« Home Index Changes Prefs
This page (revision-31) was last changed on 22-Sep-09 14:39 PM, -0700 by rjacobus