Optimize System Performance for Sterling e-Invoicing

Tune your Sterling B2B Integrator installation first, and then perform the Sterling e-Invoicing-specific tuning task. However, be aware that the changes you make to Sterling e-Invoicing can also affect the performance of Sterling B2B Integrator.

Sterling e-Invoicing is installed on an instance of Sterling B2B Integrator, and shares many of the resources with the latter.

Note: Do not edit the property files directly. Make the changes in the customer_overrides.properties file.
To optimize the performance of Sterling e-Invoicing:
  1. From the Administration menu, select Business Processes > Manager.
  2. Enter TrustWeaverEInvoicing in the Search box and click Go!
  3. Click source manager adjacent to the business process you want to edit.
  4. Click edit adjacent to the corresponding business process in order to lock that business process.
  5. In the BPML Specification page that is displayed, enter a new description that will help you identify this version of the business process.
  6. Click Next.
  7. In the Process Levels page that is displayed, select a single workflow queue to dedicate solely to the TrustWeaverEInvoicing process, for example, queue 5.
  8. Click Next.
  9. In the Deadline Settings page that is displayed, click Next.
  10. In the Life Span page that is displayed, click Next.
  11. In the Default Version page that is displayed, select the version being edited and click Next.
  12. In the Confirm page that is displayed, click Finish.
  13. Stop Sterling B2B Integrator.
  14. Modify the tuning.properties file so that the selected queue's minimum and maximum pool sizes are equal to the number of simultaneous connections allowed to TrustWeaver. For example, if you are using queue 5, and are using up to 10 simultaneous connections to TrustWeaver, you must set the following properties in the tuning.properties property file:
    • NOAPP.MAX_POOL_SIZE_5=10
    • NOAPP.MIN_POOL_SIZE_5=10
  15. After you edit the property file, run setupfiles.sh (setupfiles.cmd for Windows).
  16. Restart Sterling B2B Integrator to apply the change.