Important Usage Notes for Previous Releases of WebLogic Platform 8.1
|
|
The following sections provide important notes for users who are continuing to use previous releases of WebLogic Platform 8.1 (for example, SP4, SP3, SP2, and so on). Table 1 summarizes the important usage notes provided.
|
Configuring a WebLogic Platform Domain with Oracle 9i RAC in 8.1 SP4 |
If you are using WebLogic Platform 8.1 SP4 or one or more of its components with Oracle9i Real Application Clusters (RAC), you must set up an environment that meets specific configuration requirements. |
|
|
Downloading and Installing the MultiPool Patch for Using WebLogic Server 8.1 SP4 with Oracle RAC |
If you are configuring WebLogic Server 8.1 SP4 with Oracle RAC, you must download a MultiPool patch. |
|
|
Downloading and Installing the DB2 Patch for WebLogic Platform 8.1 SP4 |
If you are using WebLogic Platform 8.1 SP4 with the IBM DB2 database, we recommend that you apply this patch to your system. |
|
|
Installing XMLSPY After You Install WebLogic Platform 8.1 SP3 or Earlier |
If you are installing WebLogic Platform 8.1 SP3 or earlier, you are prompted to install XMLSPY at the completion of the graphical and console-mode installation processes. If you choose not to do so, you can install XMLSPY at a later time. |
|
|
Downloading and Installing the WebLogic Platform 8.1 SP2 SDK1.4.2/Oracle10gdriver/Database Patch |
If you are using WebLogic Platform 8.1 SP2 with the Sun Java 2 1.4.2 SDK, or Oracle 10g driver, or with the SQL Server, Sybase or DB2 databases, you may need to install the WebLogic Platform 8.1 SP2 SDK1.4.2/Oracle10gdriver/Database patch. |
|
|
Downloading and Installing the Scale-Limited Licenses in SP2 |
Download and install the scale-limited license for a WebLogic Platform 8.1 SP2 system that has not been upgraded to SP3. |
|
|
Purchase a development or production license with either 56-bit or 128-bit encryption enabled. |
||
|
Review information and examples to perform common domain configuration tasks using 8.1 SP2, including: |
||
|
Review the default JDBC configurations for the prepackaged WebLogic Platform configuration templates used to create domains with the Configuration Wizard. |
BEA supports Oracle9i Real Application Clusters (RAC) for use with WebLogic Platform 8.1 SP4. In a WebLogic Platform domain configured with Oracle9i RAC, failover to a standby server is supported.
To use WebLogic Platform with Oracle9i RAC, you must meet specific configuration requirements for both systems, for example, by including clustering software and a shared storage solution. This section offers high-level information about the configuration requirements for WebLogic Platform.
For detailed information about configuring Oracle9i RAC, your clustering software, your operating system, and your storage solution, see the documentation from the appropriate vendor.
For information about configuring a domain with Oracle9i RAC, and for caveats about the limitations on using Oracle9i RAC in your domain, see the following sections:
Before you can use Oracle9i RAC in your WebLogic Platform domain, you must set up your environment and configure your domain to support it. The following sections provide details:
For Release 8.1 SP4, install one of the following patches:
http://commerce.bea.com/d2d/wlplat81sp4_Oracle9iRAC_patch.jspTo find out how to set up the other hardware and software required for an environment that supports Oracle9i RAC, see "Using WebLogic Server with Oracle RAC" in Programming WebLogic JDBC:
http://e-docs.bea.com/wls/docs81/jdbc/oracle_rac.html
Because the Configuration Wizard GUI does not support the configuration of a domain with Oracle9i RAC, we recommend using the WebLogic Server Scripting Tool (WLST) Offline. WLST Offline is a command-line scripting interface that you can use to configure a WebLogic Platform domain. To configure a domain to use Oracle 9i RAC, you first create a WLST script and then run it using WLST Offline.
Instructions for setting up and using WLST Offline, as well as sample scripts for configuring domains, are available from dev2dev at the following Web site:
https://codesamples.projects.dev2dev.bea.com/servlets/Scarab?id=97
To create a WebLogic Platform domain configured with Oracle9i RAC, obtain a copy of the WLST Offline script.
http://e-docs.bea.com/platform/docs81/sp_notes/scripts/rac9i_sample_script.py
Otherwise, see WebLogic Server Scripting Tool (WLST) Offline File for the text of the script.
weblogic.config.xml file in your newly created domain and add XARetryDurationSeconds="<number_of_seconds>" (such as "300") for each JDBC connection pool that is configured to handle distributed transactions. For example, in a Platform domain, three JDBC connection pools, cgPool, portalPool, and bpmArchPool, should be configured with this attribute set for Oracle9i RAC. To determine the value for XARetryDurationSeconds, review the information in "Enable XA Call Retry for Oracle RAC" at:http://e-docs.bea.com/wls/docs81/notes/new.html#XARetryDurationSeconds.You can also use the WLST Offline script described in the previous section to create a domain for a component of WebLogic Platform, such as WebLogic Portal, as long as you:
wlp.jar, instead of the Platform template specified in the script, platform.jar.For information about known issues associated with the use of Oracle9i RAC with WebLogic Server, see "Using WebLogic Server with Oracle RAC" in Programming WebLogic JDBC:
http://e-docs.bea.com/wls/docs81/jdbc/oracle_rac.html
For WebLogic Server 8.1 SP4, BEA provides a patch that supports Oracle9i RAC and Oracle 10g RAC for the use of MultiPools, with or without XA transactions.
Note: The MultiPool Patch is supported by WebLogic Server 8.1 SP4 only; it is not supported by any other WebLogic Platform component product (specifically, the WebLogic Workshop, WebLogic Portal, or WebLogic Integration product).
The MultiPool Patch enables WebLogic JDBC MultiPools to be used with either Oracle9i RAC or 10g RAC to support connection pool failover and load balancing for applications using XA transactions and Oracle RAC. The patch incorporates the support delivered in the WebLogic Platform 8.1 SP4 patch for Oracle9i RAC connect-time failover.
The MultiPool Patch is available for downloading at: http://dev2dev.bea.com/wlserver/patch/wls81sp4_MP_OracleRAC_patch.html
To set up a WebLogic Server domain with MultiPools, see "Configuration Considerations for Oracle" in "Using WebLogic Server with Oracle RAC" in Programming WebLogic JDBC:http://e-docs.bea.com/wls/docs81/jdbc/oracle_rac.html
A patch is now available at the BEA dev2dev Web site that enables full WebLogic Platform 8.1 SP4 support for the DB2 database. This patch, which includes JDBC drivers for DB2, can be applied to any installation of WebLogic Platform 8.1 with Service Pack 4, and is available at the following URL:
http://commerce.bea.com/d2d/wlplat81sp4_db2_patch.jsp
XMLSPY Special Edition for BEA WebLogic is bundled with WebLogic Platform 8.1 SP3 or earlier. XMLSPY is a tool for designing, editing, and debugging applications that use XML, XML Schema, XSL/XSLT, SOAP, WSDL, and Web Services technologies. XMLSPY Special Edition for BEA WebLogic is a special version of XMLSPY that includes conversion routines (for converting an XML schema to an XML instance, an XML instance to an XML schema, a DTD to an XML instance, and an XML instance to a DTD) and command line parameters for functionality required for use with WebLogic Workshop.
By default, the XMLSPY installer is launched at the end of the WebLogic Platform and WebLogic Server installation process. If, however, you choose not to install XMLSPY during installation, you can launch the XMLSPY installer at a later time, as follows:
If you are using WebLogic Platform 8.1 SP2 with the Sun Java 2 1.4.2 SDK, or Oracle 10g driver, or with the SQL Server, Sybase or DB2 databases, you may need to install the WebLogic Platform 8.1 SP2 SDK1.4.2/Oracle10gdriver/Database patch. This patch, and a description of the specific configurations that require it, are available at the following dev2dev Web site:
http://commerce.bea.com/d2d/wlplat81sp2_patch.jsp
This section explains how to download and install the scale-limited license for a WebLogic Platform 8.1 SP2 system that has not been upgraded to SP3 or higher.
Note: If your system has been upgraded to SP3 or higher, and you want to use the scale-limited license, see "About WebLogic Platform Licenses" in Installing BEA WebLogic Platform at http://e-docs.bea.com/platform/docs81/install/license.html#instlic001.
In general, you should install a scale-limited license by replacing your existing license.bea file. Scale-limited licenses for WebLogic Platform 8.1 should not be merged with other WebLogic Platform 8.1 development or production licenses. Refer to the following sections for instructions about installing the scale-limited license for the 8.1 SP2 WebLogic Workshop Free and Professional Editions:
If you have WebLogic Platform 8.1 SP2 installed on your machine, and you wish to install the scale-limited license for Free Edition, complete the steps described in this section.
To install the scale-limited license and the required patch for Free Edition:
license_scale_limited.bea, from the zip file into the BEA Home directory associated with your WebLogic Platform installation; for example, c:\bea.license_scale_limited.bea to license.bea. For example, at the command prompt, enter the following command:CR174524_81sp2.jar, from the zip file into the following directory, where BEA_HOME represents the BEA Home directory associated with your WebLogic Platform installation:weblogic_sp.jar exists in this directory. If you have this file, contact Customer Support about upgrading this file to include the patch required for using the scale-limited license. If you do not have this file, proceed to the next step.When you purchase Professional Edition, you receive the following:
Both licenses are associated with product support.
To install the licenses and patch for using Professional Edition, complete the following steps.
c:\bea.license.bea. For example, at the command prompt, enter the following command:CR174524_81sp2.jar into the following directory, where BEA_HOME represents the BEA Home directory associated with your WebLogic Platform installation:weblogic_sp.jar exists in this directory. If you have this file, contact Customer Support about upgrading this file to include the patch required for using the scale-limited license. If you do not have this file, proceed to the next step.For information about using the scale-limited license, see the section "About WebLogic Platform Licenses" in "Installing and Updating WebLogic Platform License Files" in Installing BEA WebLogic Platform at the following URL:
http://e-docs.bea.com/platform/docs81/install/license.html
Two levels of secure sockets layer (SSL) encryption are available for WebLogic Platform 8.1 SP2 or earlier: 56-bit and 128-bit. The development license installed with WebLogic Platform provides only 56-bit encryption. You can purchase a development or production license with either 56-bit or 128-bit encryption enabled.
The installer program must find the 128-bit encryption license in the license.bea file before the installer enables 128-bit encryption for the WebLogic Platform installation. If the installation program does not find a 128-bit encryption license for WebLogic Platform in the license.bea file, or finds only a 56-bit encryption license, the installer includes 56-bit SSL plug-ins in the WebLogic Platform installation. If the installation program finds a 128-bit encryption license for WebLogic Platform in the license.bea file, the installer includes both 56-bit and 128-bit SSL plug-ins in the WebLogic Platform installation.
Note: If you have already installed WebLogic Platform with a 56-bit encryption license and you want 128-bit encryption, you need to uninstall the software, place the 128-bit encryption license for WebLogic Platform in the BEA Home directory, and then reinstall WebLogic Platform to get both the 56-bit and 128-bit SSL plug-ins.
When creating a new BEA Home directory for a WebLogic Platform installation intended for 128-bit encryption, proceed as follows:
For details, contact BEA Sales at http://www.bea.com.
license.bea.
This section describes how to configure JDBC domain resources using WebLogic Platform 8.1 SP2 or earlier releases of 8.1:
http://e-docs.bea.com/platform/docs81/db_mgmt/db_resource_mgmt.html.By default, the Configuration Wizard creates domains with non-XA configurations, based on the JDBC settings defined in the prepackaged configuration templates. If you want to create a domain in which JDBC resources are set up to participate in global transactions (XA), then you need to use an XA JDBC database driver and change some of the default JDBC settings. You change most settings using the Configuration Wizard and the remainder using the WebLogic Administration Console.
This section provides the following topics:
The easiest way to use XA JDBC drivers is to first configure a domain using a database with a non-XA configuration. To review the default non-XA configurations provided with the configuration templates, see Default JDBC Configuration for the Basic WebLogic Platform Domain. For general information and recommendations about managing database resources, see Managing WebLogic Platform Database Resources at the following URL: http://e-docs.bea.com/platform/docs81/db_mgmt/db_resource_mgmt.html.
Once you have an understanding of the default non-XA configuration settings provided with the configuration templates, review the following process guidelines to understand the steps and tools you need to use to create an XA configuration.
Note: JMS must use a JDBC connection pool that uses a non-XA resource driver (you cannot use an XA driver or a JTS driver). For more information, see the WebLogic Server JMS FAQs at http://e-docs.bea.com/wls/docs81/faq/jms.html.
For further details and recommendations on configuring your JDBC database resources, see Managing WebLogic Platform Database Resources at the following URL: http://e-docs.bea.com/platform/docs81/db_mgmt/db_resource_mgmt.html.
The following sections summarize the JDBC settings required for an XA domain configuration using the Configuration Wizard and the prepackaged configuration templates:
Please note the following about creating WebLogic Server XA domain configurations:
http://e-docs.bea.com/platform/docs81/confgwiz/newdom.htmlhttp://e-docs.bea.com/platform/docs81/db_mgmt/db_resource_mgmt.html.http://e-docs.bea.com/wls/docs81/medrec_tutorials/index.htmlTable 2 summarizes the JDBC settings to use with the Basic WebLogic Workshop Domain configuration template for an XA domain configuration. After using the Configuration Wizard to make the required additions and changes, remember to use the WebLogic Server Administration Console to complete the XA configuration setup. See Guidelines for Changing to an XA Configuration to review the steps and tools you need to create an XA configuration.
Note: The scope of the JDBC configuration settings provided below is the JDBC settings in the prepackaged configuration templates only. If you are using a custom template or have already developed application resources in an existing domain, you may have additional JDBC resources to configure to complete the XA configuration.
|
Change to a database supporting XA configurations, such as Oracle, Sybase, DB2, and MS SQL Server. For database support details, see Supported Configurations for WebLogic Platform 8.1 at the following URL:
|
||
|
Add a new JDBC connection pool, |
||
|
Change to use a Type 4/XA driver, such as the Oracle Thin XA driver, to connect to a supported database. For database driver support details, see Supported Configurations for WebLogic Platform 8.1. After domain creation, use the WebLogic Server Administration Console to enable the Keep XA Connection Till Transaction Complete option. Additionally, verify that the Supports Local Transaction option is enabled. |
||
Table 3 summarizes the JDBC settings to use with the Basic WebLogic Integration Domain configuration template for an XA domain configuration. After using the Configuration Wizard to make the required additions and changes, remember to use the WebLogic Server Administration Console to complete the XA configuration setup. See Guidelines for Changing to an XA Configuration to review the steps and tools you need to create an XA configuration.
For an example of creating a WebLogic Integration XA configuration, see How Do I: Create a WebLogic Integration Domain Using Oracle with an XA Driver?.
Note: The scope of the JDBC configuration settings provided below is the JDBC settings in the prepackaged configuration templates only. If you are using a custom template or have already developed application resources in an existing domain, you may have additional JDBC resources to configure to complete the XA configuration.
|
Change to a database supporting XA configurations, such as Oracle, Sybase, DB2, and MS SQL Server. For database support details, see Supported Configurations for WebLogic Platform 8.1 at the following URL:
|
||
|
Add a new JDBC connection pool, |
||
|
Change to use a Type 4/XA driver, such as the Oracle Thin XA driver, to connect to a supported database. For database driver support details, see Supported Configurations for WebLogic Platform 8.1. After domain creation, use the WebLogic Server Administration Console to enable the Keep XA Connection Till Transaction Complete option. Additionally, verify that the Supports Local Transaction option is enabled. |
||
|
Change to use a Type 4/XA driver, such as the Oracle Thin XA driver, to connect to a supported database. For database driver support details, see Supported Configurations for WebLogic Platform 8.1. After domain creation, use the WebLogic Server Administration Console to enable the Keep XA Connection Till Transaction Complete option. Additionally, verify that the Supports Local Transaction option is enabled. |
||
Table 4 summarizes the JDBC settings to use with the Basic WebLogic Portal Domain configuration template for an XA domain configuration. After using the Configuration Wizard to make the required additions and changes, remember to use the WebLogic Server Administration Console to complete the XA configuration setup. See Guidelines for Changing to an XA Configuration to review the steps and tools you need to create an XA configuration.
For an example of creating a WebLogic Portal XA configuration, see How Do I: Create a WebLogic Portal Domain Using Oracle with an XA Driver?.
Note: The scope of the JDBC configuration settings provided below is the JDBC settings in the prepackaged configuration templates only. If you are using a custom template or have already developed application resources in an existing domain, you may have additional JDBC resources to configure to complete the XA configuration.
|
Change to a database supporting XA configurations, such as Oracle, Sybase, DB2, and MS SQL Server. For database support details, see Supported Configurations for WebLogic Platform 8.1 at the following URL:
|
||
|
Add a new JDBC connection pool, |
||
|
Change to use a Type 4/XA driver, such as the Oracle Thin XA driver, to connect to a supported database. For database driver support details, see Supported Configurations for WebLogic Platform 8.1. After domain creation, use the WebLogic Server Administration Console to enable the Keep XA Connection Till Transaction Complete option. Additionally, verify that the Supports Local Transaction option is enabled. |
||
|
Add a new JDBC connection pool, |
||
|
Add a new JDBC connection pool, |
||
|
Add a new JDBC connection pool, |
||
|
Change to use the Note: If you are using the optional commerce functionality in a Portal domain, then you must configure the |
||
|
Change to use the Note: Although |
||
Table 5 summarizes the XA domain configuration settings to use with the Basic WebLogic Platform Domain configuration template. After using the Configuration Wizard to make the required additions and changes, remember to use the WebLogic Server Administration Console to complete the XA configuration setup. See Guidelines for Changing to an XA Configuration to review the steps and tools you need to create an XA configuration.
Note: The scope of the JDBC configuration settings provided below is the JDBC settings in the prepackaged configuration templates only. If you are using a custom template or have already developed application resources in an existing domain, you may have additional JDBC resources to configure to complete the XA configuration.
Note: The setup tasks in these examples also apply to creating a WebLogic Platform domain using Oracle with an XA driver because WebLogic Platform domains include WebLogic Integration and WebLogic Portal functionality.
|
Change to a database supporting XA configurations, such as Oracle, Sybase, DB2, and MS SQL Server. For database support details, see Supported Configurations for WebLogic Platform 8.1 at the following URL:
|
||
|
Add a new JDBC connection pool, |
||
|
Add a new JDBC connection pool, |
||
|
Change to use a Type 4/XA driver, such as the Oracle Thin XA driver, to connect to a supported database. For database driver support details, see Supported Configurations for WebLogic Platform 8.1. After domain creation, use the WebLogic Server Administration Console to enable the Keep XA Connection Till Transaction Complete option. Additionally, verify that the Supports Local Transaction option is enabled. |
||
|
Change to use a Type 4/XA driver, such as the Oracle Thin XA driver, to connect to a supported database. For database driver support details, see Supported Configurations for WebLogic Platform 8.1. After domain creation, use the WebLogic Server Administration Console to enable the Keep XA Connection Till Transaction Complete option. Additionally, verify that the Supports Local Transaction option is enabled. |
||
|
Add a new JDBC connection pool, |
||
|
Add a new JDBC connection pool, |
||
|
Add a new JDBC connection pool, |
||
|
Change to use the Note: If you are using the optional commerce functionality in a Portal domain, then you must configure the |
||
|
Change to use the Note: Although |
||
If you want to use an Oracle database in your domain, but your configuration template does not provide settings for Oracle, then you need to customize the JDBC Options configuration. Minimally, you need to configure settings for a JDBC connection pool(s).
http://e-docs.bea.com/platform/docs81/confgwiz/newdom.html. Click Next to go to the Managed Servers, Clusters, and Machines Options window. http://e-docs.bea.com/platform/docs81/confgwiz/newdom.html.OracleOracleDriverMyOracleDBMyOracleMachineNameMyOraclePortNumberMyUserNameMyUserPasswordMyUserPasswordwhere OracleDriver is the JDBC driver you select to use with Oracle, MyOracleDB is the database name, MyOracleMachineName is the name of the machine on which your Oracle database resides, MyOraclePortNumber is the database port number (for example, 1521), and MyUserName and MyUserPassword are the appropriate values for your Oracle database setup.
Note: If your configuration template has more than one JDBC connection pool set up, repeat this step to change the remaining JDBC connection pool(s) to use Oracle.
myOraclePoolOracleOracleDriverMyOracleDBMyOracleMachineNameMyOraclePortNumberMyUserNameMyUserPasswordMyUserPasswordwhere myOraclePool is the name you assign to the JDBC connection pool, OracleDriver is the JDBC driver you select to use with Oracle, MyOracleDB is the database name, MyOracleMachineName is the name of the machine on which your Oracle database resides, MyOraclePortNumber is the database port number (for example, 1521), and MyUserName and MyUserPassword are the appropriate values for your Oracle database setup.
myDataSourcemyDataSourcemyOraclePoolNote: Make sure to first start your Oracle database and ensure that the database is accessible; otherwise, the driver configuration test will fail.
Note: Optionally, select the Log File option to write the results of your database load to the specified log file.
http://e-docs.bea.com/platform/docs81/confgwiz/newdom.htmlhttp://e-docs.bea.com/platform/docs81/confgwiz/newdom.html. Click Next to go to the Target Services to Servers and Clusters window.myOraclePool under the JDBC Connection Pool source listing and myDataSource under the JDBC Tx Data Source source listing are checked and target your server. If not, check them.http://e-docs.bea.com/platform/docs81/confgwiz/newdom.html. Click Next to save your changes and go to the Configure Windows Options window (Windows only).http://e-docs.bea.com/platform/docs81/confgwiz/newdom.html. Click Create to create the domain.A default WebLogic Integration domain created by the Configuration Wizard is a non-XA configuration. To create a new WebLogic Integration domain using Oracle with an XA driver requires performing setup tasks in both the Configuration Wizard and the WebLogic Server Administration Console.
Note: These setup tasks also apply to creating a WebLogic Platform domain using Oracle with an XA driver because WebLogic Platform domains include WebLogic Integration functionality.
Before starting this procedure, we recommend that you review the following topics:
You can also use the Configuration Wizard to extend an existing domain with Integration functionality. While the JDBC changes for Integration functionality in an XA configuration are the same, the steps to extend a domain are slightly different from creating a new domain.
http://e-docs.bea.com/platform/docs81/confgwiz/exten.html.http://e-docs.bea.com/platform/docs81/confgwiz/tempref.html.To create a basic WebLogic Integration domain that uses Oracle with an XA driver, you use the Configuration Wizard to set up three JDBC connection pools with an XA driver and one JDBC connection pool using a non-XA driver. The JMS JDBC Store used in an Integration domain requires use of a non-XA JDBC connection pool.
http://e-docs.bea.com/platform/docs81/confgwiz/newdom.html. Click Next.http://e-docs.bea.com/platform/docs81/confgwiz/newdom.html.OracleOracle's Driver (Thin XA)MyOracleDBMyOracleMachineNameMyOraclePortNumberMyUserNameMyUserPasswordMyUserPasswordwhere MyOracleDB, MyOracleMachineName, MyOraclePortNumber, MyUserName, and MyUserPassword are the appropriate values for your Oracle database setup.
bpmArchPool connection pool as described in Step 8.auxPoolOracleOracle's Driver (Thin)MyOracleDBMyOracleMachineNameMyOraclePortNumberMyUserNameMyUserPasswordMyUserPasswordwhere auxPool is the name you assign to the JDBC connection pool, and MyOracleDB, MyOracleMachineName, MyOraclePortNumber, MyUserName, and MyUserPassword are the appropriate values for your Oracle database setup.
Note: You set up this additional non-XA JDBC connection pool to support JMS resources. This is because JMS must use a JDBC connection pool that uses a non-XA resource driver (you cannot use an XA driver or a JTS driver). Later you reconfigure a JMS JDBC Store (cgJMSStore) to use the non-XA JDBC connection pool set up in this step.
The following illustration shows the JDBC connection pool setup.
Note: Make sure to first start your Oracle database and ensure that the database is accessible; otherwise, the driver configuration test will fail.