내 코드에서 HawtIo 전쟁을 사용하고 있습니다. 나는이 지역에서이 코드를 실행하면 잘 작동하지만 유닉스 상자에 나는 다음과 같은 예외 얻을 :Hawtio 사용시 org.eclipse.jgit.errors.LockFailedException
Failed to pull from remote repo io.hawt.git.RuntimeIOException: org.eclipse.jgit.api.errors.JGitInternalException: Stashing local changes did not successfully complete: io.hawt.git.RuntimeIOException: org.eclipse.jgit.api.errors.JGitInternalException: Stashing local changes did not successfully complete
at io.hawt.git.GitFacade.gitOperation(GitFacade.java:737)
at io.hawt.git.GitFacade$2.run(GitFacade.java:108)
at java.util.TimerThread.mainLoop(Timer.java:555)
at java.util.TimerThread.run(Timer.java:505)
Caused by: org.eclipse.jgit.api.errors.JGitInternalException: Stashing local changes did not successfully complete
at org.eclipse.jgit.api.StashCreateCommand.call(StashCreateCommand.java:327)
at io.hawt.git.GitFacade.gitOperation(GitFacade.java:730)
... 3 more
Caused by: org.eclipse.jgit.errors.LockFailedException: Cannot lock /remote/projusers/aptdevjboss/.hawtio/config/.git/index
at org.eclipse.jgit.dircache.DirCache.lock(DirCache.java:224)
at org.eclipse.jgit.dircache.DirCache.lock(DirCache.java:301)
at org.eclipse.jgit.dircache.DirCache.lock(DirCache.java:267)
at org.eclipse.jgit.lib.Repository.lockDirCache(Repository.java:1051)
at org.eclipse.jgit.api.StashCreateCommand.call(StashCreateCommand.java:225)
... 4 more
제발 말해 내가 무엇을 놓치고를?
에 있습니다 그래 - 그 중 하나 또는 모두 ~/.hawtio/설정에서 동일한 구성을 사용하는 동일한 시스템에 hawtio의 다수의 JVM을 실행하고 -하는 다른 계정을 사용하거나 config 디렉토리에 대해 다른 구성을 지정하십시오. http://hawt.io/configuration/index.html - 동일한 시스템에서 여러 개의 hawtio JVM을 실행해야하는 특별한 이유가 있습니까? –