a596620989 / run-jetty-run

Automatically exported from code.google.com/p/run-jetty-run
0 stars 0 forks source link

Jetty 8 and higer are locking static files #182

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
https://code.google.com/p/run-jetty-run/issues/detail?id=7 - this is for jetty 
7 but jetty 8 and 9M3 still locking files.
https://bugs.eclipse.org/bugs/show_bug.cgi?id=395885 - it seems in 9M4 this bug 
was fixed.

Now I have RunJettyRun 1.3.3 with Jetty 7, 8, 9.
Jetty 8 and 9 are locking files

I start my application, and I can see that useFileMappedBuffer is set to false 
(ServletContextHolder.SERVLET_CONTEXT.getServletRegistration("default").getInitP
arameters() tells me that 'useFileMappedBuffer' is false) but when i try to 
change any js file using sublime text i got an error:
---------------------------
Sublime Text
---------------------------
Unable to save 
D:\eclipse-java-workspaces\orvd\orvd\orvd-web\src\main\webapp\WEB-INF\orvd\resou
rces\js\references\references.js
Error: 
MoveFileEx(D:\eclipse-java-workspaces\orvd\orvd\orvd-web\src\main\webapp\WEB-INF
\orvd\resources\js\references\.sublae1.tmp, 
D:\eclipse-java-workspaces\orvd\orvd\orvd-web\src\main\webapp\WEB-INF\orvd\resou
rces\js\references\references.js) failed, Отказано в доступе 
(Access Denied).
---------------------------
ОК   
---------------------------

What Eclipse version are you using ?
Eclipse IDE for Java Developers Indigo Service Release 2 20120216-1857

What Run-Jetty-Run version are you using?
1.3.3

What OS are you using ? 32bit or 64 bit?
Win 7 Professional x64

Sorry for my ugly english.
Thanks in advice

Original issue reported on code.google.com by pomeshi...@gmail.com on 15 Apr 2014 at 11:58

GoogleCodeExporter commented 9 years ago
I think this issue will be obsolete after resolving 
https://code.google.com/p/run-jetty-run/issues/detail?id=180

Original comment by pomeshi...@gmail.com on 15 Apr 2014 at 12:43