0 Replies Latest reply on Apr 22, 2013 3:31 AM by verystrongjoe

    How can I remove the server.lock file locked by a process?

    verystrongjoe

      Everytime I kill the process that did not acknowledge received messages, I have to reboot

      Because server.lock in journal directory can't be deleted by locking a process.

      I want to know what the process lock the file and how to delete the file by foce.

       

      thanks..

       

       

      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-clean-plugin:2.4.1:clean (default-clean) on project hornetq-jms-multiple-failover-example: Failed to clean project: Failed to delete D:\ide\git\repository\hornetq\examples\jms\multiple-failover\target\server0\data\messaging\journal\server.lock -> [Help 1]

      [ERROR]

      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.

      [ERROR] Re-run Maven using the -X switch to enable full debug logging.

      [ERROR]

      [ERROR] For more information about the errors and possible solutions, please read the following articles:

      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException