-
Bug
-
Resolution: Done
-
Minor
-
14.0.2.Final
-
None
/rest/v2/server/report
throws exception (see below) if there are 1+ instances started on the host.
2022-11-04 10:32:09,836 WARN (non-blocking-thread--p2-t20) [io.netty.util.concurrent.AbstractEventExecutor] A task raised an exception. Task: org.infinispan.rest.BaseHttpRequestHandler$$Lambda$1469/0x0000000801302538@22037064 org.infinispan.rest.RestResponseException: java.io.FileNotFoundException: Multiple processes detected. Specify one of the following PIDs as the first argument: (No such file or directory) at org.infinispan.rest.ResponseWriter$3.writeResponse(ResponseWriter.java:76) at org.infinispan.rest.BaseHttpRequestHandler.lambda$sendResponse$0(BaseHttpRequestHandler.java:50) at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:174) at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:167) at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:470) at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:403) at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) at java.base/java.lang.Thread.run(Thread.java:833) Caused by: java.io.FileNotFoundException: Multiple processes detected. Specify one of the following PIDs as the first argument: (No such file or directory) at java.base/java.io.RandomAccessFile.open0(Native Method) at java.base/java.io.RandomAccessFile.open(RandomAccessFile.java:344) at java.base/java.io.RandomAccessFile.<init>(RandomAccessFile.java:259) at java.base/java.io.RandomAccessFile.<init>(RandomAccessFile.java:213) at org.infinispan.rest.ResponseWriter$3.writeResponse(ResponseWriter.java:68) ... 8 more