It is important to understand that deploying composites, in fact, consumes 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 size will continue to go down as more and more composites are deployed within a short period of time). We therefore recommend not deploying during expected heavy or peak times.
Chapter 2, Management of SOA Composite Applications describes how to use ant to deploy composite projects, but here we will take a closer look at the entire deployment process.
Let's observe the output of the ant deployment of the
HelloWorld composite as shown in the following snippet. 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...