0 Replies Latest reply on Aug 17, 2012 6:45 AM by drupalspring

    jBPM5 Startup Time

      Hi jBPM5 community ,

       

      This is the question about the jboss configuration rather than jBPM5 itself.

       

      The ant script from the installation package will build total six WARS.  I use JBoss AS 7.1.1. with default setting and base on  default standalone.xml  , I modify it in order to run jbpm5 . After the startup script is invoked (i.e standalone.bat) , I have to wait about 10 minutes for all these six WARS to deploy successfully.

       

      I found that these six WARs will be exploded to about 1GB data during the deployment .It may be one of the reasons about the long deployment time. Within these 1 GB data , about half (500MB) comes from the form-designer WAR .If I exclude it , the startup time will decrease nearly half to about 5-6 minutes.

       

      So , I want to ask

       

      (1) Jboss give me the impression that it is lightening fast and has the blazing fast start-up time . So I suspect that  is it normal or take too long?

       

      (2) : How can I speed up the startup time of the JBoss assume the no other application beside jbpm5 will run on it  ? Will it help if only the required extensions are loaded . Currently , I enable the following extensions:

       

            <extension module="org.jboss.as.clustering.infinispan"/>

              <extension module="org.jboss.as.connector"/>

              <extension module="org.jboss.as.deployment-scanner"/>

              <extension module="org.jboss.as.ee"/>

              <extension module="org.jboss.as.ejb3"/>

              <extension module="org.jboss.as.jaxrs"/>

              <extension module="org.jboss.as.jmx"/>

              <extension module="org.jboss.as.jpa"/>

              <extension module="org.jboss.as.logging"/>

              <extension module="org.jboss.as.naming"/>

              <extension module="org.jboss.as.osgi"/>

              <extension module="org.jboss.as.pojo"/>

              <extension module="org.jboss.as.remoting"/>

              <extension module="org.jboss.as.sar"/>

              <extension module="org.jboss.as.security"/>

              <extension module="org.jboss.as.threads"/>

              <extension module="org.jboss.as.transactions"/>

              <extension module="org.jboss.as.web"/>

              <extension module="org.jboss.as.weld"/>

      Which extensions can I safely remove such that these jBPM5 WARs will not be affected??

       

      (3) I find that whenever the jboss startup , all six WARs will be  exploded again to about 1GB data  even there are no changes in these WARs.  Can I configure JBoss such that it can detect if there are changes in these WARs , and only deploy the "delta" instead of all  six WARs ?

       

      Thanks