When you are creating or extending a domain using the Configuration Wizard, you can change JDBC data source and JMS file store settings if they are defined in the domain or template that you selected as the source for domain that you are creating.
Note: | If you select Yes in the Customize Environment and Services Settings window, the Configuration Wizard does not run any database automatically, even though domain JDBC is configured for PointBase database. In the Run Database Scripts dialog box, click Run Scripts screen, to load the respective database. |
Note: | If you select No in the Customize Environment and Services Settings window, the Configuration Wizard automatically populates the required PointBase database. |
The following topics describe the steps required to change the JDBC and JMS file store settings in your domain:
A JDBC data source contains a pool of database connections that are created when the data source instance is created—when it is deployed or targeted, or at server startup. Applications look up a data source on the JNDI tree, and then request a connection. When the applications no longer needs the connection, they return the connections to the connection pool in the data source.
Note: | No databases are defined in the wls.jar template; so, if you select the WebLogic Server template as the basis for the domain, the Configure JDBC Data Sources window is not displayed. |
The Configure JDBC Data Sources window lets you configure the JDBC data sources defined in your domain source. This step is optional. If required, you can test the connections to the database using the Test Connections button.
Note: | The values that you specify for your database in this window must match the actual configuration of the database. For example, if you change the name of the PointBase database for a preconfigured domain in the DBMS name field, a PointBase database configured with that name must exist. |
Note: | Fields marked with an asterisk are required.
|
The Test Data Source Connections window allows you to test the connection to the database for each of the data sources defined in your domain, by using the JDBC URL defined for the database. This window is only displayed if you clicked Test Connections on the Configure JDBC Data Sources window.
A list of the data sources and the associated JDBC URLs is displayed.
The button changes to Cancel. You can press Cancel at any time to cancel the test. Once a test is in progress, all the other Test buttons are disabled.
The Status field is blank for connections for which the test has not been initiated.
A domain template might contain a set of SQL files organized by database type. If the domain template contains SQL files, you can run them while creating the domain, in the Run Database Scripts window. Database content for each of the data sources defined in your domain is set up by using pre-existing SQL or database loading files.
Notes: | No databases are defined in the wls.jar template; so, if you selected the WebLogic Server template as the basis for the domain, the Configure JDBC Data Sources window and the Run Database Scripts window are not displayed. |
Note: | When you use PointBase in production mode, it is mandatory to run the database scripts. In development mode, this step is not mandatory. |
Note: | If you use the default PointBase database, you do not need to start the database server before running the scripts. For all other databases, the database server must be running to execute the SQL scripts. |
All the scripts displayed in the Available SQL Files and Database Loading Options pane for the selected data source are executed, and the results are displayed in the Results pane. If you want to capture test output in a log file, select the Log File check box and specify the location of the log file.
A JMS file store is a disk-based file in which persistent messages can be saved.
You can modify the JMS file stores that are configured in your domain, in the Configure JMS File Stores window, which is displayed when you click Next in the Run Database Scripts window. This step is optional.
Note: | The wizard provides two display modes: a concise tabular view of all the defined components, and an individual view, in which each component is represented by a tab, and you view a particular component by selecting the corresponding tab. To toggle the display mode between table and tab formats, click Switch Display. |
Table 5-2 describes the fields of the Configure JMS File Stores window.
Creating a Custom (User-Defined) File Store in Configuring WebLogic Server Environments