Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-14316

'/rest/v2/server/report' throws exception if there are 1+ instances on the host

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • 14.0.3.Final, 15.0.0.Final
    • 14.0.2.Final
    • Server
    • 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 

              ttarrant@redhat.com Tristan Tarrant
              amanukya@redhat.com Anna Manukyan
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: