JBoss Community

jBPM5 Startup Time

created by wqe wqe in jBPM - View the full discussion

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 scripts is invoked (i.e standalone.bat) , I have to wait about 10 minutes for all these six WARS are deploye succesfully .Is it normal or take too long?

 

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 time deployment. 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) : 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??

 

(2) 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 can detect if there are changes in these WARs , and only deploye these delta instead of all  six WARs ?

 

Thanks :)

Reply to this message by going to Community

Start a new discussion in jBPM at Community