Updating the JDBC provider setting for the quick publish target
When database information for your production server changes, you must update the JDBC provider setting for the quick publish target.
Note: Quick
publish is not supported in WebSphere Commerce Developer.
Before you begin
To update the JDBC provider setting for the quick publish target, have the following information about your production server database ready:
- Database name
- Database user name (user ID)
- Database user password
- Fully qualified database server host name
- Database server port
You also need the name of the JDBC data source that is entered on the Staging page of the Instance Creation wizard when you created the authoring server instance.
Procedure
- Open the WebSphere Integrated Solutions Console.
- Select .
- If necessary, set the scope to the application server that contains WebSphere Commerce on your Authoring server.
- Click the JDBC provider for the quick publish target.
- Click Data sources.
-
Click the data source for the quick publish target. The required name for the data source is
WebSphere Commerce
DBMS_name Publish DataSource instance_name.
For example, WebSphere Commerce DB2 Publish DataSource demo.
-
Update the data source information for the quick publish target:
- Change the value in the Database
name field (under Common and required data source properties) to
the name of the production server database as cataloged on the authoring server.Note: Ensure that you verify all the Common and required data source properties values:Make sure that the DB2 Universal data store helper class is selected.
- Driver type value is 4
- Server name is the fully qualified host name for the Production server
- Database name and Port number must be accurate
- Perform the following steps:
- Change the value in the Database name field (under DB2 UDB for iSeries (native or Toolbox) data source properties) to the name of the production server database.
- Click Custom properties.
- Click URL.
- Change the value in the Value field to point to the production database.
The URL can have either of the following formats, depending on your JDBC driver:
- Native JDBC driver
- jdbc:db2://hostname:port:/ database_name jdbc:db2://hostname/ database_name
- IBM Toolbox for Java JDBC driver
- jdbc:as400://hostname:port:/ database_name jdbc:as400://hostname/ database_name
- hostname
- The fully qualified host name of the machine hosting the production server database.
- port
- Optional: The port that is used for database communication with the production server database.
- database_name
- The name of the production database.
- Click OK.
- Return to the page for the data source for the quick publish target.
- Change the value in the URL field (under
Oracle data source properties) to point at the production server database.
Depending on the Oracle JDBC driver you use, the URL has the following format:
- Oracle thick JDBC driver
- jdbc:oracle:oci8:@hostname:port:SID
- Oracle thin JDBC driver
- jdbc:oracle:thin:@hostname:port:SID
- hostname
- The fully qualified host name of the machine hosting the production server database.
- port
- The port used for database communication with the production server database
- SID
- The Oracle SID of the production server database.
- Change the value in the Database
name field (under Common and required data source properties) to
the name of the production server database as cataloged on the authoring server.
- Click OK and then save your changes to the master configuration.
-
Confirm the user ID and password that is required to access the production database:
- Click Logout and follow any additional prompts. If you are prompted about unsaved changes, save the changes to the master configuration.