[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: JBoss5 deployment scanner configuration

jaikiran do-not-reply at jboss.com
Fri Aug 22 06:26:05 EDT 2008


"wdfink" wrote : 
  | Do you know how to deactivate scanning? scanPeriod=0 ???
  | 

Add the scanEnabled attribute and set it to false:

  <!-- Hotdeployment of applications -->
  |    <bean name="HDScanner"
  |       class="org.jboss.system.server.profileservice.hotdeploy.HDScanner">
  |       <property name="mainDeployer"><inject bean="MainDeployer"/></property>
  |       <!-- Workaround for JBMICROCONT-176
  |       -->
  |       <property name="controller"><inject bean="jboss.kernel:service=KernelController"/></property>
  |       <!-- Broken due to JBMICROCONT-176
  |          <property name="controller"><inject bean="jboss.kernel:service=Kernel" property="controller"/></property>
  |       -->
  |       <property name="profileService"><inject bean="ProfileService"/></property>
  |       <property name="scanPeriod">5000</property>
  |       <property name="scanEnabled">false</property>
  |       <property name="scanThreadName">HDScanner</property>
  |    </bean>

"wdfink" wrote : 
  | And how to deactivate farming?

Clustering related? Sorry, i don't have an answer on this.


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171992#4171992

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171992



More information about the jboss-user mailing list