2013年1月25日 星期五

JBOSS Enable/disable hot-deployment


JBOSS 4.2.2.GA
In common with all application servers (I believe) redeployments chew up your jvm until you get memory allocation errors. You might get away with a few but a restart after hot-deployment is generally a good idea. If you want you can disable hot-deployment by setting the value below to false.
In server/prod/conf/jboss-service.xml
 <!-- A flag to disable the scans -->
      <attribute name="ScanEnabled">true</attribute>



沒有留言: