Quartz在windows平台下,总是执行两次, 无独有偶,Jackrabbit启动的时候也总是提示这个异常:
be in use since the file named .lock is already locked by the current process.
解决方案:
tomcat的server.xml文件的
<Host appBase="webapps" autoDeploy="true" name="localhost" unpackWARs="true">
修改成:
<Host appBase="webapps" autoDeploy="false" name="localhost" unpackWARs="true" deployOnStartup="false">
问题解决!