Java 缩短TomcatDeployer的间隔
如何缩短扫描新工件的时间间隔?我正在使用JBoss 4.2.3。因为您正在JBoss中部署您的工件,所以您很可能会询问热部署扫描频率 在JBossAS 4.2中,我相信您在Java 缩短TomcatDeployer的间隔,java,deployment,jboss,jboss-4.2.x,Java,Deployment,Jboss,Jboss 4.2.x,如何缩短扫描新工件的时间间隔?我正在使用JBoss 4.2.3。因为您正在JBoss中部署您的工件,所以您很可能会询问热部署扫描频率 在JBossAS 4.2中,我相信您在DeploymentScannerMBean的server/$instance\u name/conf/jboss service.xml文件中设置了热部署扫描频率: <!-- this is in milli-seconds, so 60000 ms means 60 seconds which is scannin
DeploymentScanner
MBean的server/$instance\u name/conf/jboss service.xml
文件中设置了热部署扫描频率:
<!-- this is in milli-seconds, so 60000 ms means 60 seconds which is scanning every minute in the deploy folder for changes in the deployed packages -->
<attribute name="ScanPeriod">60000</attribute>
<attribute name="ScanEnabled">true</attribute>
60000
真的
我的回答有用吗?这就是你要找的吗?@CoolBeansscanproid
已经在5000
了:-(这意味着它是5秒。所以你想让它扫描得更快?@CoolBeans它感觉是60秒或更长,而不是5秒。这些工件在你的jboss实例中位于哪里?它们在/deploy文件夹下吗?