2 Replies Latest reply on Jan 24, 2008 11:18 AM by Alejandro Guizar

    Scaling BPEL processes

    Meghana Joglekar Novice


      We have been using JBPM-BPEL for a while now and have developed number of BPEL processes. As we move forward we expect a lot more getting deployed to single instance of JBoss server.

      Currently each BPEL process has corresponding 'war' file. When we go beyond certain number of war files, JBoss starts giving PermGenError. So we are looking into solutions to scale BPEL processes. Has anyone come accross this situation? Any suggestions?


        • 1. Re: Scaling BPEL processes
          Anurag Paliwal Newbie

          Ignore if you have already exercise these suggestions

          !) try scaling jBOSS AS itself. Play with mem args in jBOSS.

          2) Try to reduce WAR size.(If multiple WAR are using same libs ).

          3)Possible reason for permgen is memory leak(Its hard to detect ..Give it a go)

          • 2. Re: Scaling BPEL processes
            Alejandro Guizar Master

            As an addition to suggestion (1), the permanent generation heap (which holds objects such as classes and methods) can be adjusted by setting the -XX:MaxPermSize option in the Sun VM. Look at the VM Options for details.

            The permanent generation heap goes up because the port components published by the BPEL processes load Java classes that correspond to the XML Schema types referenced from the WSDL descriptions.