Troubleshooting SOA deployment issues
It is important to understand that deploying SOA composites does in fact take server resources. If you deploy tens or hundreds of composites to the server, you will see a direct impact on the size of the JVM heap (that is, the available heap will continue to go down as more and more composites are deployed within a short period of time). We therefore recommend you to not deploy during expected heavy or peak times.
Chapter 5, Deploying Code, describes how to use Ant to deploy composite projects, but here we take a closer look at the entire deployment process.
Knowing where to look
Let's observe the output of the Ant deployment of the HelloWorld
composite in the following code. As you can see, the deployment failed due to a java.lang.OutOfMemoryError: PermGen space
error:
deploy: [input] skipping input as property serverURL has already been set. [input] skipping input as property sarLocation has already been set. [deployComposite] setting user...