O'Reilly logo

Oracle SOA Suite Performance Tuning Cookbook by Matt Brasier, Nicholas Wright

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Setting the size of the thread stack

Every thread in your Java process has its own stack. The size of this stack can be controlled via the -Xss setting.

Getting ready

You will need to have Oracle SOA Suite 11g installed for this recipe. This command is the same whether you're using the Hotspot or the JRockit JVM.

How to do it…

Perform the following steps to configure the size of the thread stack:

  1. Navigate to the domain's home directory:
    cd %MIDDLEWARE_HOME%/user_projects/domains/soa_domain/
    

    Replace soa_domain with the relevant domain, as required.

  2. Within the bin folder, you will see a number of scripts. Depending on your platform you will need to edit a different file—setSOADomainEnv.cmd on Windows; setSOADomainEnv.sh on Linux. Note that it is a good ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required