Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EGit / JGit » IOException: Could not rename file
IOException: Could not rename file [message #1783005] Tue, 06 March 2018 12:14 Go to next message
Bjorn-Willy  Arntzen is currently offline Bjorn-Willy ArntzenFriend
Messages: 8
Registered: August 2017
Junior Member
Hello all.

I'm struggling with this message on a Windows server

Caused by: java.io.IOException: Could not rename file D:\liberty-server\liberty-server-minside\wlp\usr\servers\minsideServer\._jvm.options2141168584045713893.tmp to D:\liberty-server\liberty-server-minside\wlp\usr\servers\minsideServer\jvm.options

I is really giving me a headace. This happens inside a running java prosess, then executing a git.pull().call() command.

The project is previously cloned from command line, and now is trying to pull from a running java process

The process HAS write access to the file directory. And viruschecker is shut off.

Can I turn on more debugging to find the actual cause ? Is the file in use ?

Have tried all versions from 4.5 to 4.10

/bwa

[Updated on: Tue, 06 March 2018 12:20]

Report message to a moderator

Re: IOException: Could not rename file [message #1783010 is a reply to message #1783005] Tue, 06 March 2018 12:52 Go to previous message
Bjorn-Willy  Arntzen is currently offline Bjorn-Willy ArntzenFriend
Messages: 8
Registered: August 2017
Junior Member
Solved.

It was lack of Modify access in windows. the user had write, but was missing modify.
Previous Topic:Use existing deploy key to raise PR
Next Topic:Link history with Git repositories view but not with editors
Goto Forum:
  


Current Time: Fri Mar 29 14:06:35 GMT 2024

Powered by FUDForum. Page generated in 0.02278 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top