Replacement NAC Install - Unusual errors in tomcat logs
search cancel

Replacement NAC Install - Unusual errors in tomcat logs

book

Article ID: 201635

calendar_today

Updated On:

Products

CA Release Automation - Release Operations Center (Nolio) CA Release Automation - DataManagement Server (Nolio)

Issue/Introduction

Doing an install of NAC - pointing to an existing Nolio database. The new server/install is meant to replace an existing server. The existing server was stopped so as to not cause any conflicts, problems or failovers.

However, after starting services the tomcat logs (admin.0.log, etc..) show many instances of the error below:

Oct 08, 2020 11:48:10 PM com.noelios.restlet.http.HttpServerConverter commit
WARNING: An exception occured writing the response entity: java.io.IOException: An established connection was aborted by the software in your host machine
org.apache.catalina.connector.ClientAbortException: java.io.IOException: An established connection was aborted by the software in your host machine
    at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:393)
    at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:426)
    at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:342)
    at org.apache.catalina.connector.OutputBuffer.flush(OutputBuffer.java:317)
    at org.apache.catalina.connector.CoyoteOutputStream.flush(CoyoteOutputStream.java:110)
    at sun.nio.cs.StreamEncoder.implFlush(StreamEncoder.java:297)
    at sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:141)
    at java.io.OutputStreamWriter.flush(OutputStreamWriter.java:229)
    at java.io.BufferedWriter.flush(BufferedWriter.java:254)
    ...


Caused by: java.io.IOException: An established connection was aborted by the software in your host machine
    at sun.nio.ch.SocketDispatcher.write0(Native Method)
    at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:51)
    at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:93)
    ... 83 more

Oct 07, 2020 4:20:08 PM com.noelios.restlet.http.HttpServerHelper handle
WARNING: Error while handling an HTTP server call: Cannot call sendError() after the response has been committed

 

Environment

Release Automation 6.x

Cause

The message's timestamps correlate to messages in the nolio_dm_all.log where it is trying to query the nexus repository for jar files that it is expecting to be available but are not.

Resolution

To remediate this problem: 

  1. Copy over any files that might be missing from your original NAC's actionslib folder to the new NAC's actionslib folder.
  2. Upload/Sync all of the files in actionslib with the nexus repository by opening the JMX MBean noliocenter:type=info.
  3. Then find the method syncWithRepository
  4. Select the "true" radio button and click Invoke.
    • This will transfer all of the jar files in the NACs actionslib folder to the nolio-actions nexus repository.

Then, the next time the check for jar files is done it will not produce:

  • the ERROR messages in the nolio_dm_all.log file; and
  • the WARNING messages in the tomcat logs.