27 Configuring Oracle B2B

This chapter describes how to configure Oracle B2B to view data on B2B Bindings and configure Oracle B2B operations and attributes.

This chapter includes the following topics:

For more information about Oracle B2B tuning and performance properties, see Tuning Performance.

27.1 Configuring Oracle B2B Server Properties

You can configure the Enable Metrics property on the B2B Server Properties page of Oracle Enterprise Manager Fusion Middleware Control.

The metrics are enabled by default, and include data on the top five recently active document types, top five recently active trading partners, and inbound and outbound endpoints.

Note:

You do not need to restart the server after changing this property.

To configure Oracle B2B server properties:

  1. From the SOA Infrastructure menu, select SOA Administration > B2B Server Properties.
  2. Select Enable Metrics to view data on the B2B Bindings and SOA composite pages.

For information about using Oracle B2B, which enables the secure and reliable exchange of business documents between an enterprise and its trading partners, see User's Guide for Oracle B2B.

27.2 Configuring Oracle B2B Operations

You can configure the properties of Oracle B2B operations by setting values using the System MBean Browser.

Note:

Restarting the SOA server is required after updating the following MBean properties:

  • b2b.inboundThreadCount

  • b2b.outboundThreadCount

To specify Oracle B2B operation properties:

Note:

To access the Application Defined MBeans for Oracle B2B, you can also click the More B2B Configuration Properties link on the B2B Server Properties page.

  1. Expand the SOA node and select the soa-infra node.

    Note:

    You can also use Search and search for B2BConfig.

  2. From the SOA Infrastructure menu, choose Administration > System MBean Browser.

    The System MBean Browser page is displayed.

  3. Under Application Defined MBeans, expand the oracle.as.soainfra.config node.
  4. Expand the manage server name node.
  5. Expand the B2BConfig node.
  6. Click the b2b MBean.

    The properties of the MBean are displayed in the right pane.

  7. Click the Operations tab.
  8. Click an operation in the list.
  9. Provide the needed information (key, value, and an optional comment) and click Invoke.

    See Appendix "Setting Oracle B2B Configuration Properties in Fusion Middleware Control" in User's Guide for Oracle B2B for a list of property names and valid values, including properties for turning off validation during deployment, setting the MDS cache size, setting thread count and thread sleep time, specifying how functional acknowledgments are handled, setting payload obfuscation, and more.

27.3 Configuring Oracle B2B Attributes

You can configure Oracle B2B attributes by setting values using the System MBean Browser.

To specify Oracle B2B attribute properties:

  1. Expand the SOA node and select the soa-infra node.
  2. From the SOA Infrastructure menu, choose AdministrationSystem MBean Browser.
  3. Click the Attributes tab.
  4. Click Properties.
  5. Expand Property_0, Element_1, and so on to find the property you want to change.
  6. Note the property name and value, and click Return.

    For example, under Element_3, you see the b2b.payloadObfuscation property with the default value false.

  7. Click the Operations tab.
  8. Click setProperty.
  9. Enter values for the key, value, and optional comments.

    For example, to enable payload obfuscation, set b2b.payloadObfuscation to true.

  10. Click Invoke.
  11. Click Return.

27.4 Configuring Oracle B2B Logging Mode

You can configure the logging mode for Oracle B2B by using Oracle Enterprise Manager Fusion Middleware Control.

For example, to set the log mode to TRACE mode (DEBUG):

  1. Expand the SOA node and select the soa-infra node.
  2. From the SOA Infrastructure menu, select Logs, and then Log Configuration.
  3. In the Log Configuration page, expand oracle.soa.
  4. Use the Oracle Diagnostic Logging Level (Java Level) list to select TRACE:32 (FINEST) for oracle.soa.b2b.
  5. Click Apply.

Note:

For more information about log files and the level and type of logging information to write to a log file, see Oracle Fusion Middleware Administrator's Guide.