AnsweredAssumed Answered

Geoevent streamservice's "keep latest" option won't work

Question asked by marcinpejski on Aug 22, 2016
Latest reply on Aug 24, 2016 by Alexander_Brown-esristaff

Hi,

 

I'm testing Geoevent for ArcGIS Server 10.4. I published a stream service and broadcasting data through REST. Streaming data in javascript page looks fine, but it won't archive it on Feature Layer. I'm using postgreSQL managed database.

 

Logs:

StreamContainer    
null java.io.IOException at com.esri.arcgis.discovery.stream.FeatureWriter.queryForServiceMetadata(FeatureWriter.java:131)
[268:com.esri.arcgis.discovery.arcgis-stream-container:10.4.1] at com.esri.arcgis.discovery.stream.FeatureWriter.<init>
(FeatureWriter.java:64)[268:com.esri.arcgis.discovery.arcgis-stream-container:10.4.1] at
com.esri.arcgis.discovery.stream.FeatureServiceStreamArchiver.<init>(FeatureServiceStreamArchiver.java:58)
[268:com.esri.arcgis.discovery.arcgis-stream-container:10.4.1] at
com.esri.arcgis.discovery.stream.StreamService.queueMessage(StreamService.java:379)
[268:com.esri.arcgis.discovery.arcgis-stream-container:10.4.1] at
com.esri.arcgis.discovery.stream.StreamService.publish(StreamService.java:306)[268:com.esri.arcgis.discovery.arcgis-
stream-container:10.4.1] at com.esri.arcgis.discovery.stream.StreamWebSocket.onMessage(StreamWebSocket.java:159)
[268:com.esri.arcgis.discovery.arcgis-stream-container:10.4.1] at
org.eclipse.jetty.websocket.WebSocketConnectionRFC6455$WSFrameHandler.onFrame(WebSocketConnectionRFC6455.java:850)
[407:org.eclipse.jetty.websocket:8.1.18.v20150929] at
org.eclipse.jetty.websocket.WebSocketParserRFC6455.parseNext(WebSocketParserRFC6455.java:349)
[407:org.eclipse.jetty.websocket:8.1.18.v20150929] at
org.eclipse.jetty.websocket.WebSocketConnectionRFC6455.handle(WebSocketConnectionRFC6455.java:225)
[407:org.eclipse.jetty.websocket:8.1.18.v20150929] at
org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:696)
[248:org.eclipse.jetty.aggregate.jetty-all-server:8.1.15.v20140411] at
org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:53)
[248:org.eclipse.jetty.aggregate.jetty-all-server:8.1.15.v20140411] at
org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)
[248:org.eclipse.jetty.aggregate.jetty-all-server:8.1.15.v20140411] at
org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)
[248:org.eclipse.jetty.aggregate.jetty-all-server:8.1.15.v20140411] at
java.lang.Thread.run(Thread.java:745)[:1.8.0_73]


StreamContainer    
Error while trying to "Keep Latest" Feature. Error: null

Outcomes