Rest Service - Tomcat Logs

Posted by Elsworth Burmeister on 22-Jun-2019 08:07

Hi Guys

I need some help on the following errors that im finding in my tomcat logs for rest services. I cant find anything definitive on the net for these: 

2019-06-22 00:59:50.043 [ERROR][REST] AppServer system error
2019-06-22 00:59:50.043 [ERROR][REST] Exception in AppServerProducer :: Broker System failure: Failed to send data to the server (8526). (7209)
2019-06-22 00:59:50,043 95643232 [http-nio-8080-exec-84] ERROR org.apache.camel.processor.DefaultErrorHandler error - Failed delivery for (MessageId: ID-Machine-49367-1561062155839-0-2939 on ExchangeId: ID-Machine-49367-1561062155839-0-2940). Exhausted after delivery attempt: 1 caught: com.progress.open4gl.Open4GLException: Broker System failure: Failed to send data to the server (8526). (7209)
com.progress.open4gl.Open4GLException: Broker System failure: Failed to send data to the server (8526). (7209)
at com.progress.caf.camel.component.oe.AppServerCamelEndpoint.runInternalProcedure(AppServerCamelEndpoint.java:510)
at com.progress.caf.camel.component.oe.AppServerProducer.process(AppServerProducer.java:140)
at org.apache.camel.util.AsyncProcessorConverterHelper$ProcessorToAsyncProcessorBridge.process(AsyncProcessorConverterHelper.java:61)at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73)

and 

2019-06-22 00:59:50.039 [ERROR][REST] _REST [----------------] WRITEDATA IOException : java.net.SocketException: Connection reset by peer: socket write error (Connection reset by peer: socket write error)
2019-06-22 00:59:50.039 [ERROR][REST] java.net.SocketException: Connection reset by peer: socket write error
2019-06-22 00:59:50.039 [ERROR][REST] at java.net.SocketOutputStream.socketWrite0(Native Method)
2019-06-22 00:59:50.039 [ERROR][REST] at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:109)
2019-06-22 00:59:50.039 [ERROR][REST] at java.net.SocketOutputStream.write(SocketOutputStream.java:153)
2019-06-22 00:59:50.039 [ERROR][REST] at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)
2019-06-22 00:59:50.039 [ERROR][REST] at java.io.BufferedOutputStream.write(BufferedOutputStream.java:126)

I need to know if possible the cause of these errors and how to resolve them if possible. I hope im not the only one out there getting these errors.

OE11.7

Tomcat: 8.5

Thanks

All Replies

Posted by Michael Jacobs on 22-Jun-2019 09:42

the key log entries:

Broker System failure: Failed to send data to the server (8526). (7209)  

# REST adapater's built-in AppServer client (Broker System) received an error when transmitting ABL request data over a TCP [socket] connection to the AppServer while processing a REST request

java.net.SocketException: Connection reset by peer: socket write error

# The REST adapter's Java TCP stack detected that the peer (AppServer) connection was unexpected dropped while transmitting data.  Qualifies the above Broker System failure.

The log file fragments do not indicate why the Socket connection to the AppServer was terminated.   An indicator may be found in the logs for: AppServer, the OS running the AppServer, or some network device in between the REST adapter and AppServer.   Chances are it is not the REST adapter, or you would see some other information in the logs.

Not an answer, but hope that helps.

This thread is closed