Forum Discussion

cjbarr1234's avatar
cjbarr1234
Icon for Nimbostratus rankNimbostratus
Mar 14, 2017

emerg logger: re-starting restjavad

Ran into an odd issue with the restjava daemon.. It continually restarts every second. Looking into the .0.log it outputs the following

[I][0][13 Mar 2017 19:24:07 UTC][com.f5.rest.common.WellKnownPorts][setMachineId] machineId set to 9e1169fb-9ec4-48ac-ac36-09b25e48d3ae
[I][1][13 Mar 2017 19:24:07 UTC][RestServer][bindServerChannel] Now accepting connections on port 8100
[I][2][13 Mar 2017 19:24:07 UTC][RestWorkerHost][start] isTmosPlatform = true, isSslEnabled = true, isConnectionReUseDisabled = false, outboundConnectionTimeoutSeconds = 60 isPublic = false isHostInInsecureTestMode = false
[SEVERE][3][13 Mar 2017 19:24:08 UTC][RestWorkerHost][main] java.lang.NoSuchMethodError: org.apache.lucene.index.IndexWriter.deleteDocuments(Lorg/apache/lucene/search/Query;)V
at com.f5.rest.workers.storage.LuceneStorageRequestProcessor.initialize(LuceneStorageRequestProcessor.java:370)
at com.f5.rest.workers.storage.LuceneStorageRequestProcessor.initialize(LuceneStorageRequestProcessor.java:290)
at com.f5.rest.workers.storage.ThreadPoolStorageRequestProcessor.initialize(ThreadPoolStorageRequestProcessor.java:41)
at com.f5.rest.workers.storage.StorageWorker.onStart(StorageWorker.java:149)
at com.f5.rest.common.RestServer.startWorker(RestServer.java:653)
at com.f5.rest.common.RestServer.registerWorkerUri(RestServer.java:634)
at com.f5.rest.workers.RestWorkerHost.startWorker(RestWorkerHost.java:415)
at com.f5.rest.workers.RestWorkerHost.start(RestWorkerHost.java:468)
at com.f5.rest.workers.RestWorkerHost.main(RestWorkerHost.java:367)

Any ideas on what i could do to resolve? Case has been opened with F5 Support, and I have attempted to start/stop daemon.

3 Replies

  • I don't have any helpful information, but am curious to what TMOS version you are running. Did this start after an upgrade, a config change, or seemingly out of nowhere?

     

  • we've been on 12.1.1HF2 for 60 days.. It just started happening yesterday. Doing a capture, I'm not seeing anything REST related that is continuously hitting the C2400. These are vCMP hosts as stated in the logs of which Slot is causing this... It's just weird..

     

  • I ran into the exact same issue in my lab environment. I'm currently running BIG-IQ 5.1 and version 12.1.2 on my BIG-IP running LTM.

     

    My problems started happening after upgrading the REST Framework using the instruction: Installing required BIG-IQ system components that's in the BIG-IQ Device Device Management Guide.

     

    What solved it for me was to actually re-install TMOS on a new partition and boot into that one without copying the configuration.

     

    Before doing that I tried to reset restjavad to its factory settings. This is done differently between each version. Check out this guide: https://support.f5.com/csp/article/K15886

     

    Are you experiencing problems when importing the configuration?

     

    If the F5 supports find the issue please post in this thread.