Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/java/325.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Java 缩短TomcatDeployer的间隔_Java_Deployment_Jboss_Jboss 4.2.x - Fatal编程技术网

Java 缩短TomcatDeployer的间隔

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

如何缩短扫描新工件的时间间隔?我正在使用JBoss 4.2.3。

因为您正在JBoss中部署您的工件,所以您很可能会询问热部署扫描频率

在JBossAS 4.2中,我相信您在
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
真的

我的回答有用吗?这就是你要找的吗?@CoolBeans
scanproid
已经在
5000
了:-(这意味着它是5秒。所以你想让它扫描得更快?@CoolBeans它感觉是60秒或更长,而不是5秒。这些工件在你的jboss实例中位于哪里?它们在/deploy文件夹下吗?