Uploaded image for project: 'OpenIDM'
  1. OpenIDM
  2. OPENIDM-9317

Update Process: Intermediate binary leads to InternalServerErrorException, CentOS only

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: OpenIDM 5.5.0
    • Fix Version/s: OpenIDM 5.5.0
    • Component/s: _Update
    • Labels:
    • Environment:
      CentOS 7, IDM RC8, openidm-5.5.0-pre_updateSNAPSHOT.zip, MariaDB native to CentOS 7

      Description

      Bug found only on CentOS 7 (This part of the update process works fine on Ubuntu)

      Workaround available (I think)

      The first time I run the cli.sh update command with the noted intermediate binary (openidm-5.5.0-pre_updateSNAPSHOT.zip), I get the following error:

      ./cli.sh update --acceptLicense --user openidm-admin:openidm-admin --url http://localhost:8080/openidm openidm-5.5.0-pre_updateSNAPSHOT.zip
      
      Executing ./cli.sh...
      Starting shell in /root/openidm
      Using boot properties at /root/openidm/conf/boot/boot.properties
      org.forgerock.json.resource.InternalServerErrorException: Response is not application/json
      	at org.forgerock.json.resource.http.CrestAdapter.loadJsonValueContent(CrestAdapter.java:401)
      	at org.forgerock.json.resource.http.CrestAdapter.access$000(CrestAdapter.java:130)
      	at org.forgerock.json.resource.http.CrestAdapter$1.apply(CrestAdapter.java:175)
      	at org.forgerock.json.resource.http.CrestAdapter$1.apply(CrestAdapter.java:165)
      	at org.forgerock.util.CloseSilentlyFunction.apply(CloseSilentlyFunction.java:53)
      	at org.forgerock.util.CloseSilentlyFunction.apply(CloseSilentlyFunction.java:1)
      	at org.forgerock.util.promise.PromiseImpl$5.handleStateChange(PromiseImpl.java:386)
      	at org.forgerock.util.promise.PromiseImpl.handleCompletion(PromiseImpl.java:559)
      	at org.forgerock.util.promise.PromiseImpl.setState(PromiseImpl.java:600)
      	at org.forgerock.util.promise.PromiseImpl.tryHandleResult(PromiseImpl.java:258)
      	at org.forgerock.util.promise.PromiseImpl.handleResult(PromiseImpl.java:208)
      	at org.forgerock.http.apache.async.AsyncHttpClient$PromiseHttpAsyncResponseConsumer.failed(AsyncHttpClient.java:151)
      	at org.apache.http.impl.nio.client.DefaultClientExchangeHandlerImpl.executionFailed(DefaultClientExchangeHandlerImpl.java:98)
      	at org.apache.http.impl.nio.client.AbstractClientExchangeHandler.failed(AbstractClientExchangeHandler.java:413)
      	at org.apache.http.nio.protocol.HttpAsyncRequestExecutor.timeout(HttpAsyncRequestExecutor.java:375)
      	at org.apache.http.impl.nio.client.InternalIODispatch.onTimeout(InternalIODispatch.java:92)
      	at org.apache.http.impl.nio.client.InternalIODispatch.onTimeout(InternalIODispatch.java:39)
      	at org.apache.http.impl.nio.reactor.AbstractIODispatch.timeout(AbstractIODispatch.java:175)
      	at org.apache.http.impl.nio.reactor.BaseIOReactor.sessionTimedOut(BaseIOReactor.java:263)
      	at org.apache.http.impl.nio.reactor.AbstractIOReactor.timeoutCheck(AbstractIOReactor.java:492)
      	at org.apache.http.impl.nio.reactor.BaseIOReactor.validate(BaseIOReactor.java:213)
      	at org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor.java:280)
      	at org.apache.http.impl.nio.reactor.BaseIOReactor.execute(BaseIOReactor.java:104)
      	at org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$Worker.run(AbstractMultiworkerIOReactor.java:588)
      	at java.lang.Thread.run(Thread.java:748)
      The attempt to lookup the archive meta-data failed.
      ERROR: Error during execution. The state of OpenIDM is now unknown. Last Attempted step was PREVIEW_ARCHIVE. Now attempting recovery steps.

      Workaround – run the same cli.sh command a second time, the error does not appear. Mike Jang will include a note in the docs about this workaround.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                brmiller Brendan Miller
                Reporter:
                Mike2 Mike Jang
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: