Quantcast
Channel: zeroturnaround.com » All Posts
Viewing all articles
Browse latest Browse all 2540

JRebel locking issue in WAS 8.5.

$
0
0

Hi,

I am getting an exception “JRebel: ERROR An error occured in a request listener while handling before request event: java.lang.RuntimeException: java.io.IOException: The process cannot access the file because another process has locked a portion of the file.”
at org.zeroturnaround.javarebel.integration.util.IoUtil.getBytesAndClose(JRebel:92)
at org.zeroturnaround.javarebel.watcher.MasterDirWatcher.getBytes(JRebel:223)
at org.zeroturnaround.javarebel.watcher.MasterDirWatcher.createFileInfo(JRebel:140)
at org.zeroturnaround.javarebel.watcher.MasterDirWatcher.access$600(JRebel:24)
at org.zeroturnaround.javarebel.watcher.MasterDirWatcher$2.handle(JRebel:127)
at org.zeroturnaround.javarebel.watcher.MasterDirWatcher.scan(JRebel:154)
at org.zeroturnaround.javarebel.watcher.MasterDirWatcher.scan(JRebel:152)
at org.zeroturnaround.javarebel.watcher.MasterDirWatcher.scan(JRebel:124)
at org.zeroturnaround.javarebel.watcher.MasterDirWatcher.rescan(JRebel:171)
at org.zeroturnaround.javarebel.watcher.MasterDirWatcher.checkChanged(JRebel:164)
at org.zeroturnaround.javarebel.watcher.DirWatcher.getAddedOrChangedPaths(JRebel:145)
at org.zeroturnaround.jrebel.websphere.util.WasChangeWatcher.runScanner(WasChangeWatcher.java:71)
at org.zeroturnaround.jrebel.websphere.util.WasChangeWatcher.run(WasChangeWatcher.java:81)
at org.zeroturnaround.jrebel.websphere.util.WasChangeWatcher.beforeRequest(WasChangeWatcher.java:97)
at org.zeroturnaround.javarebel.integration.util.WeakUtil$WeakRequestListener.beforeRequest(JRebel:380)
at com.zeroturnaround.javarebel.N.a(JRebel:96)
at com.zeroturnaround.javarebel.N.fireBeforeRequest(JRebel:81)
at com.ibm.ws.webcontainer.webapp.WebApp.__handleRequest(WebApp.java:3668)
at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java)
at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:304)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:975)
at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1662)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:195)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:459)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:526)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:312)
at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:87)
at com.ibm.ws.ssl.channel.impl.SSLReadServiceContext$SSLReadCompletedCallback.complete(SSLReadServiceContext.java:1784)
at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1815)
Caused by: java.io.IOException: The process cannot access the file because another process has locked a portion of the file.
at java.io.FileInputStream.readBytes(Native Method)
at java.io.FileInputStream.read(FileInputStream.java:233)
at org.zeroturnaround.javarebel.integration.util.IoUtil.copy(JRebel:48)
at org.zeroturnaround.javarebel.integration.util.IoUtil.getBytes(JRebel:64)
at org.zeroturnaround.javarebel.integration.util.IoUtil.getBytesAndClose(JRebel:89)
… 35 more

Using JRebel for Eclipse 6.2.5.RELEASE-20150930102 and WAS 8.5.0. Not able to perform any requests to the server, it hangs and exception repeats several times. It works fine without jrebel.

Can you please look into it?


Viewing all articles
Browse latest Browse all 2540

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>