Closed hulinning2 closed 1 year ago
did the Device model change and not the version in the header?
It may not have updated the version of the info stream. I can check that, just wanted to make sure the crash was fixed
Will, The device model is changed to 1.3 but the header is not changed to 1.3. Thanks
Ok, this is progress! I will check out the changes and make sure the version number is getting updated.
Fixed in RC 25
Test:
Stop agent Run Adapter and configures to run MTConnect spec 1.2 Start Agent Check browser for correct MTConnect output using current command ==> All OK While adapter is running, adapter is configured to use MTConnect 1.3 ==> the content of agent.cfg and devices.xml are changed to MTConnect spec 1.3 Agent is still running OK Refresh MS Edge browser ==> Agent is still running OK. However, the browser is not updated to the new MTConnect spec 1.3 although the devices.xml is 1.3 already.
Note: This is back to the old behavior when changing MTConnect spec from one version to a different version (it could be a newer or older version of MTConnect spec such as 2.0 to 1.3 or 1.3 to 2.0)
Thanks
D:\Program Files\Okuma\Okuma MT Connect Adapter>
D:\Program Files\Okuma\Okuma MT Connect Adapter>agent debug Configuration search path: "D:\Program Files\Okuma\Okuma MT Connect Adapter" and "D:\Program Files\Okuma\Okuma MT Connect Adapter" MTConnect Agent Version 2.0.0.12 (_RC24) - built on Wed Jul 13 09:12:45 2022 [2022-11-07 15:13:04.617064] [0x00005f0c] [info] Loading configuration from: "D:\Program Files\Okuma\Okuma MT Connect Adapter\agent.cfg" Loading configuration from:"D:\Program Files\Okuma\Okuma MT Connect Adapter\agent.cfg"2022-11-07T20:13:04.621062Z (0x00005f0c) [info] MAIN->AgentConfiguration::initialize->AgentConfiguration::loadConfig: Starting agent on port 5000 2022-11-07T20:13:04.638063Z (0x00005f0c) [warning] MAIN->AgentConfiguration::initialize->AgentConfiguration::loadConfig->AgentConfiguration::loadAdapters: Cannot locate device name 'OKUMA.Machine.Adapter', trying default 2022-11-07T20:13:04.638063Z (0x00005f0c) [info] MAIN->AgentConfiguration::initialize->AgentConfiguration::loadConfig->AgentConfiguration::loadAdapters: Assigning default device OKUMA.Lathe to adapter 2022-11-07T20:13:04.638063Z (0x00005f0c) [info] MAIN->AgentConfiguration::initialize->AgentConfiguration::loadConfig->AgentConfiguration::loadAdapters: shdr: Adding adapter for OKUMA.Lathe: OKUMA.Machine.Adapter 2022-11-07T20:13:04.640064Z (0x00005f0c) [debug] MAIN: Waiting for monitor thread to exit to restart agent 2022-11-07T20:13:04.640064Z (0x00005f0c) [debug] MAIN->AgentConfiguration::monitorThread: Monitoring files: "D:\Program Files\Okuma\Okuma MT Connect Adapter\agent.cfg" and D:\Program Files\Okuma\Okuma MT Connect Adapter\Devices.xml, will warm start if they change. 2022-11-07T20:13:04.640064Z (0x00005f0c) [debug] MAIN->AgentConfiguration::monitorThread: Setting device and config times 2022-11-07T20:13:04.641065Z (0x00005f0c) [warning] MAIN->Agent::start->pipeline.deliver: Could not find data item: _7714929c63_asset_update_rate, exiting metrics 2022-11-07T20:13:04.641065Z (0x00005f0c) [warning] MAIN->Agent::start->pipeline.deliver: Could not find data item: _7714929c63_observation_update_rate, exiting metrics 2022-11-07T20:13:04.647066Z (0x00005c70) [debug] Connector::resolved->Connector::connect: Connecting to data source: localhost on port: 7878 2022-11-07T20:13:06.705068Z (0x00005c70) [info] Connector::connected: Connected with: 127.0.0.1:7878 2022-11-07T20:13:06.706069Z (0x00005c70) [debug] Connector::connected->Connector::sendCommand: (Port:20089) Sending PING 2022-11-07T20:13:06.710068Z (0x00005c70) [debug] Connector::reader->Connector::parseSocketBuffer->Connector::processLine->ShdrAdapter::protocolCommand: Processing command: adapterversion: adapterVersion:5.0.0.1 2022-11-07T20:13:06.713069Z (0x00005c70) [warning] Connector::reader->Connector::parseSocketBuffer->Connector::processLine->ShdrAdapter::protocolCommand: Cannot find data item for the Agent device when processing command adapterversion with value 5.0.0.1 for adapter _7714929c63 2022-11-07T20:13:06.714068Z (0x00005c70) [debug] Connector::reader->Connector::parseSocketBuffer->Connector::processLine->ShdrAdapter::protocolCommand: Processing command: adapterversion: adapterVersion:5.0.0.1 2022-11-07T20:13:06.716068Z (0x00005c70) [warning] Connector::reader->Connector::parseSocketBuffer->Connector::processLine->ShdrAdapter::protocolCommand: Cannot find data item for the Agent device when processing command adapterversion with value 5.0.0.1 for adapter _7714929c63 2022-11-07T20:13:06.717069Z (0x00005c70) [debug] Connector::reader->Connector::parseSocketBuffer->Connector::processLine->ShdrAdapter::protocolCommand: Processing command: mtconnectversion: *mtconnectVersion:1.2 2022-11-07T20:13:06.719067Z (0x00005c70) [warning] Connector::reader->Connector::parseSocketBuffer->Connector::processLine->ShdrAdapter::protocolCommand: Cannot find data item for the Agent device when processing command mtconnectversion with value 1.2 for adapter _7714929c63 2022-11-07T20:13:06.723068Z (0x00005c70) [warning] Connector::reader->Connector::parseSocketBuffer->Connector::processLine->ShdrAdapter::processData->DataItemMapper.ShdrTokenMapper.operator->entity.xml_parser: Error occurred converting initial: (): cannot convert string 'UNAVAILABLE' to double 2022-11-07T20:13:06.726068Z (0x00005c70) [warning] Connector::reader->Connector::parseSocketBuffer->Connector::processLine->ShdrAdapter::processData->DataItemMapper.ShdrTokenMapper.operator->entity.xml_parser: Error occurred converting VALUE: (): cannot convert string 'UNAVAILABLE' to double 2022-11-07T20:13:06.728068Z (0x00005c70) [warning] Connector::reader->Connector::parseSocketBuffer->Connector::processLine->ShdrAdapter::processData->DataItemMapper.ShdrTokenMapper.operator->entity.xml_parser: Unexpected element: ToolLife 2022-11-07T20:13:06.728068Z (0x00005c70) [warning] Connector::reader->Connector::parseSocketBuffer->Connector::processLine->ShdrAdapter::processData->DataItemMapper.ShdrTokenMapper.operator->entity.xml_parser: Error occurred converting initial: (): cannot convert string 'UNAVAILABLE' to double 2022-11-07T20:13:06.729069Z (0x00005c70) [warning] Connector::reader->Connector::parseSocketBuffer->Connector::processLine->ShdrAdapter::processData->DataItemMapper.ShdrTokenMapper.operator->entity.xml_parser: Error occurred converting VALUE: (): cannot convert string 'UNAVAILABLE' to double 2022-11-07T20:13:06.730069Z (0x00005c70) [warning] Connector::reader->Connector::parseSocketBuffer->Connector::processLine->ShdrAdapter::processData->DataItemMapper.ShdrTokenMapper.operator->entity.xml_parser: Unexpected element: ToolLife 2022-11-07T20:13:06.732067Z (0x00005c70) [warning] Connector::reader->Connector::parseSocketBuffer->Connector::processLine->ShdrAdapter::processData->DataItemMapper.ShdrTokenMapper.operator->entity.xml_parser: Error occurred converting initial: (): cannot convert string 'UNAVAILABLE' to double 2022-11-07T20:13:06.733067Z (0x00005c70) [warning] Connector::reader->Connector::parseSocketBuffer->Connector::processLine->ShdrAdapter::processData->DataItemMapper.ShdrTokenMapper.operator->entity.xml_parser: Error occurred converting VALUE: (): cannot convert string 'UNAVAILABLE' to double 2022-11-07T20:13:06.735068Z (0x00005c70) [warning] Connector::reader->Connector::parseSocketBuffer->Connector::processLine->ShdrAdapter::processData->DataItemMapper.ShdrTokenMapper.operator->entity.xml_parser: Unexpected element: ToolLife 2022-11-07T20:13:06.738067Z (0x00005c70) [warning] Connector::reader->Connector::parseSocketBuffer->Connector::processLine->ShdrAdapter::processData->DataItemMapper.ShdrTokenMapper.operator: Could not parse asset:UNAVAILABLE UNAVAILABLE UNAVAILABLE UNAVAILABLE 0 0 345
2022-11-07T20:13:06.739068Z (0x00005c70) [warning] Connector::reader->Connector::parseSocketBuffer->Connector::processLine->ShdrAdapter::processData->DataItemMapper.ShdrTokenMapper.operator: Message: ToolLife(initial): cannot convert string 'UNAVAILABLE' to double
2022-11-07T20:13:06.741067Z (0x00005c70) [warning] Connector::reader->Connector::parseSocketBuffer->Connector::processLine->ShdrAdapter::processData->DataItemMapper.ShdrTokenMapper.operator: Message: ToolLife(VALUE): cannot convert string 'UNAVAILABLE' to double
2022-11-07T20:13:06.742071Z (0x00005c70) [warning] Connector::reader->Connector::parseSocketBuffer->Connector::processLine->ShdrAdapter::processData->DataItemMapper.ShdrTokenMapper.operator: Message: ToolLife(VALUE): Property VALUE is required and not provided
2022-11-07T20:13:06.744068Z (0x00005c70) [warning] Connector::reader->Connector::parseSocketBuffer->Connector::processLine->ShdrAdapter::processData->DataItemMapper.ShdrTokenMapper.operator: Message: CuttingToolLifeCycle: Invalid element 'ToolLife'
2022-11-07T20:13:06.745068Z (0x00005c70) [warning] Connector::reader->Connector::parseSocketBuffer->Connector::processLine->ShdrAdapter::processData->DataItemMapper.ShdrTokenMapper.operator: Message: ToolLife(initial): cannot convert string 'UNAVAILABLE' to double
2022-11-07T20:13:06.747068Z (0x00005c70) [warning] Connector::reader->Connector::parseSocketBuffer->Connector::processLine->ShdrAdapter::processData->DataItemMapper.ShdrTokenMapper.operator: Message: ToolLife(VALUE): cannot convert string 'UNAVAILABLE' to double
2022-11-07T20:13:06.748068Z (0x00005c70) [warning] Connector::reader->Connector::parseSocketBuffer->Connector::processLine->ShdrAdapter::processData->DataItemMapper.ShdrTokenMapper.operator: Message: ToolLife(VALUE): Property VALUE is required and not provided
2022-11-07T20:13:06.750067Z (0x00005c70) [warning] Connector::reader->Connector::parseSocketBuffer->Connector::processLine->ShdrAdapter::processData->DataItemMapper.ShdrTokenMapper.operator: Message: CuttingToolLifeCycle: Invalid element 'ToolLife'
2022-11-07T20:13:06.751070Z (0x00005c70) [warning] Connector::reader->Connector::parseSocketBuffer->Connector::processLine->ShdrAdapter::processData->DataItemMapper.ShdrTokenMapper.operator: Message: ToolLife(initial): cannot convert string 'UNAVAILABLE' to double
2022-11-07T20:13:06.755071Z (0x00005c70) [warning] Connector::reader->Connector::parseSocketBuffer->Connector::processLine->ShdrAdapter::processData->DataItemMapper.ShdrTokenMapper.operator: Message: ToolLife(VALUE): cannot convert string 'UNAVAILABLE' to double
2022-11-07T20:13:06.756067Z (0x00005c70) [warning] Connector::reader->Connector::parseSocketBuffer->Connector::processLine->ShdrAdapter::processData->DataItemMapper.ShdrTokenMapper.operator: Message: ToolLife(VALUE): Property VALUE is required and not provided
2022-11-07T20:13:06.757068Z (0x00005c70) [warning] Connector::reader->Connector::parseSocketBuffer->Connector::processLine->ShdrAdapter::processData->DataItemMapper.ShdrTokenMapper.operator: Message: CuttingToolLifeCycle: Invalid element 'ToolLife'
2022-11-07T20:13:06.758068Z (0x00005c70) [warning] Connector::reader->Connector::parseSocketBuffer->Connector::processLine->ShdrAdapter::processData->DataItemMapper.ShdrTokenMapper.operator->entity.xml_parser: Error occurred converting initial: (): cannot convert string 'UNAVAILABLE' to double
2022-11-07T20:13:06.760074Z (0x00005c70) [warning] Connector::reader->Connector::parseSocketBuffer->Connector::processLine->ShdrAdapter::processData->DataItemMapper.ShdrTokenMapper.operator->entity.xml_parser: Error occurred converting VALUE: (): cannot convert string 'UNAVAILABLE' to double
2022-11-07T20:13:06.761213Z (0x00005c70) [warning] Connector::reader->Connector::parseSocketBuffer->Connector::processLine->ShdrAdapter::processData->DataItemMapper.ShdrTokenMapper.operator->entity.xml_parser: Unexpected element: ToolLife
2022-11-07T20:13:06.762069Z (0x00005c70) [warning] Connector::reader->Connector::parseSocketBuffer->Connector::processLine->ShdrAdapter::processData->DataItemMapper.ShdrTokenMapper.operator->entity.xml_parser: Error occurred converting initial: (): cannot convert string 'UNAVAILABLE' to double
2022-11-07T20:13:06.762069Z (0x00005c70) [warning] Connector::reader->Connector::parseSocketBuffer->Connector::processLine->ShdrAdapter::processData->DataItemMapper.ShdrTokenMapper.operator->entity.xml_parser: Error occurred converting VALUE: (): cannot convert string 'UNAVAILABLE' to double
2022-11-07T20:13:06.763068Z (0x00005c70) [warning] Connector::reader->Connector::parseSocketBuffer->Connector::processLine->ShdrAdapter::processData->DataItemMapper.ShdrTokenMapper.operator->entity.xml_parser: Unexpected element: ToolLife
2022-11-07T20:13:06.763068Z (0x00005c70) [warning] Connector::reader->Connector::parseSocketBuffer->Connector::processLine->ShdrAdapter::processData->DataItemMapper.ShdrTokenMapper.operator->entity.xml_parser: Error occurred converting initial: (): cannot convert string 'UNAVAILABLE' to double
2022-11-07T20:13:06.765069Z (0x00005c70) [warning] Connector::reader->Connector::parseSocketBuffer->Connector::processLine->ShdrAdapter::processData->DataItemMapper.ShdrTokenMapper.operator->entity.xml_parser: Error occurred converting VALUE: (): cannot convert string 'UNAVAILABLE' to double
2022-11-07T20:13:06.766067Z (0x00005c70) [warning] Connector::reader->Connector::parseSocketBuffer->Connector::processLine->ShdrAdapter::processData->DataItemMapper.ShdrTokenMapper.operator->entity.xml_parser: Unexpected element: ToolLife
2022-11-07T20:13:06.767068Z (0x00005c70) [warning] Connector::reader->Connector::parseSocketBuffer->Connector::processLine->ShdrAdapter::processData->DataItemMapper.ShdrTokenMapper.operator: Could not parse asset: UNAVAILABLE UNAVAILABLE UNAVAILABLE UNAVAILABLE 0 2 98
2022-11-07T20:13:06.772069Z (0x00005c70) [warning] Connector::reader->Connector::parseSocketBuffer->Connector::processLine->ShdrAdapter::processData->DataItemMapper.ShdrTokenMapper.operator: Message: ToolLife(initial): cannot convert string 'UNAVAILABLE' to double
2022-11-07T20:13:06.775072Z (0x00005c70) [warning] Connector::reader->Connector::parseSocketBuffer->Connector::processLine->ShdrAdapter::processData->DataItemMapper.ShdrTokenMapper.operator: Message: ToolLife(VALUE): cannot convert string 'UNAVAILABLE' to double
2022-11-07T20:13:06.776068Z (0x00005c70) [warning] Connector::reader->Connector::parseSocketBuffer->Connector::processLine->ShdrAdapter::processData->DataItemMapper.ShdrTokenMapper.operator: Message: ToolLife(VALUE): Property VALUE is required and not provided
2022-11-07T20:13:06.777069Z (0x00005c70) [warning] Connector::reader->Connector::parseSocketBuffer->Connector::processLine->ShdrAdapter::processData->DataItemMapper.ShdrTokenMapper.operator: Message: CuttingToolLifeCycle: Invalid element 'ToolLife'
2022-11-07T20:13:06.778067Z (0x00005c70) [warning] Connector::reader->Connector::parseSocketBuffer->Connector::processLine->ShdrAdapter::processData->DataItemMapper.ShdrTokenMapper.operator: Message: ToolLife(initial): cannot convert string 'UNAVAILABLE' to double
2022-11-07T20:13:06.779069Z (0x00005c70) [warning] Connector::reader->Connector::parseSocketBuffer->Connector::processLine->ShdrAdapter::processData->DataItemMapper.ShdrTokenMapper.operator: Message: ToolLife(VALUE): cannot convert string 'UNAVAILABLE' to double
2022-11-07T20:13:06.780069Z (0x00005c70) [warning] Connector::reader->Connector::parseSocketBuffer->Connector::processLine->ShdrAdapter::processData->DataItemMapper.ShdrTokenMapper.operator: Message: ToolLife(VALUE): Property VALUE is required and not provided
2022-11-07T20:13:06.781069Z (0x00005c70) [warning] Connector::reader->Connector::parseSocketBuffer->Connector::processLine->ShdrAdapter::processData->DataItemMapper.ShdrTokenMapper.operator: Message: CuttingToolLifeCycle: Invalid element 'ToolLife'
2022-11-07T20:13:06.782067Z (0x00005c70) [warning] Connector::reader->Connector::parseSocketBuffer->Connector::processLine->ShdrAdapter::processData->DataItemMapper.ShdrTokenMapper.operator: Message: ToolLife(initial): cannot convert string 'UNAVAILABLE' to double
2022-11-07T20:13:06.785069Z (0x00005c70) [warning] Connector::reader->Connector::parseSocketBuffer->Connector::processLine->ShdrAdapter::processData->DataItemMapper.ShdrTokenMapper.operator: Message: ToolLife(VALUE): cannot convert string 'UNAVAILABLE' to double
2022-11-07T20:13:06.791073Z (0x00005c70) [warning] Connector::reader->Connector::parseSocketBuffer->Connector::processLine->ShdrAdapter::processData->DataItemMapper.ShdrTokenMapper.operator: Message: ToolLife(VALUE): Property VALUE is required and not provided
2022-11-07T20:13:06.793072Z (0x00005c70) [warning] Connector::reader->Connector::parseSocketBuffer->Connector::processLine->ShdrAdapter::processData->DataItemMapper.ShdrTokenMapper.operator: Message: CuttingToolLifeCycle: Invalid element 'ToolLife'
2022-11-07T20:13:06.797069Z (0x00005c70) [debug] Connector::reader->Connector::parseSocketBuffer->Connector::processLine: (Port:20089) Received a PONG for localhost on port 7878
2022-11-07T20:13:06.799069Z (0x00005c70) [debug] Connector::reader->Connector::parseSocketBuffer->Connector::processLine->Connector::startHeartbeats: (Port:20089)Received PONG, starting heartbeats every 10000ms
2022-11-07T20:13:14.654123Z (0x00005c70) [debug] AgentConfiguration::monitorThread: Monitoring files: "D:\Program Files\Okuma\Okuma MT Connect Adapter\agent.cfg" and D:\Program Files\Okuma\Okuma MT Connect Adapter\Devices.xml, will warm start if they change.
2022-11-07T20:13:14.716090Z (0x00005c70) [info] SessionImpl::requested: ReST Request: From [127.0.0.1:20094]: GET /current
2022-11-07T20:13:16.806095Z (0x00005c70) [debug] Connector::heartbeat: Sending heartbeat
2022-11-07T20:13:16.806095Z (0x00005c70) [debug] Connector::heartbeat->Connector::sendCommand: (Port:20089) Sending PING
2022-11-07T20:13:16.808096Z (0x00005c70) [debug] Connector::reader->Connector::parseSocketBuffer->Connector::processLine: (Port:20089) Received a PONG for localhost on port 7878
2022-11-07T20:13:24.659114Z (0x00005c70) [debug] AgentConfiguration::monitorThread: Monitoring files: "D:\Program Files\Okuma\Okuma MT Connect Adapter\agent.cfg" and D:\Program Files\Okuma\Okuma MT Connect Adapter\Devices.xml, will warm start if they change.
2022-11-07T20:13:24.722116Z (0x00005c70) [info] SessionImpl::requested: ReST Request: From [127.0.0.1:20094]: GET /probe
2022-11-07T20:13:24.725116Z (0x00005c70) [info] SessionImpl::requested: ReST Request: From [127.0.0.1:20094]: GET /current
2022-11-07T20:13:24.727119Z (0x00005c70) [info] SessionImpl::requested: ReST Request: From [127.0.0.1:20094]: GET /sample?from=1&count=200&interval=500
2022-11-07T20:13:26.823119Z (0x00005c70) [debug] Connector::heartbeat: Sending heartbeat
2022-11-07T20:13:26.823119Z (0x00005c70) [debug] Connector::heartbeat->Connector::sendCommand: (Port:20089) Sending PING
2022-11-07T20:13:26.826122Z (0x00005c70) [debug] Connector::reader->Connector::parseSocketBuffer->Connector::processLine: (Port:20089) Received a PONG for localhost on port 7878
2022-11-07T20:13:34.667020Z (0x00005c70) [debug] AgentConfiguration::monitorThread: Monitoring files: "D:\Program Files\Okuma\Okuma MT Connect Adapter\agent.cfg" and D:\Program Files\Okuma\Okuma MT Connect Adapter\Devices.xml, will warm start if they change.
2022-11-07T20:13:36.837023Z (0x00005c70) [debug] Connector::heartbeat: Sending heartbeat
2022-11-07T20:13:36.838024Z (0x00005c70) [debug] Connector::heartbeat->Connector::sendCommand: (Port:20089) Sending PING
2022-11-07T20:13:36.841021Z (0x00005c70) [debug] Connector::reader->Connector::parseSocketBuffer->Connector::processLine: (Port:20089) Received a PONG for localhost on port 7878
2022-11-07T20:13:44.681081Z (0x00005c70) [debug] AgentConfiguration::monitorThread: Monitoring files: "D:\Program Files\Okuma\Okuma MT Connect Adapter\agent.cfg" and D:\Program Files\Okuma\Okuma MT Connect Adapter\Devices.xml, will warm start if they change.
2022-11-07T20:13:46.848049Z (0x00005c70) [debug] Connector::heartbeat: Sending heartbeat
2022-11-07T20:13:46.849049Z (0x00005c70) [debug] Connector::heartbeat->Connector::sendCommand: (Port:20089) Sending PING
2022-11-07T20:13:46.851049Z (0x00005c70) [debug] Connector::reader->Connector::parseSocketBuffer->Connector::processLine: (Port:20089) Received a PONG for localhost on port 7878
2022-11-07T20:13:54.692071Z (0x00005c70) [debug] AgentConfiguration::monitorThread: Monitoring files: "D:\Program Files\Okuma\Okuma MT Connect Adapter\agent.cfg" and D:\Program Files\Okuma\Okuma MT Connect Adapter\Devices.xml, will warm start if they change.
2022-11-07T20:13:56.857078Z (0x00005c70) [debug] Connector::heartbeat: Sending heartbeat
2022-11-07T20:13:56.857078Z (0x00005c70) [debug] Connector::heartbeat->Connector::sendCommand: (Port:20089) Sending PING
2022-11-07T20:13:56.858076Z (0x00005c70) [debug] Connector::reader->Connector::parseSocketBuffer->Connector::processLine: (Port:20089) Received a PONG for localhost on port 7878
2022-11-07T20:14:04.704095Z (0x00005c70) [debug] AgentConfiguration::monitorThread: Monitoring files: "D:\Program Files\Okuma\Okuma MT Connect Adapter\agent.cfg" and D:\Program Files\Okuma\Okuma MT Connect Adapter\Devices.xml, will warm start if they change.
2022-11-07T20:14:06.872136Z (0x00005c70) [debug] Connector::heartbeat: Sending heartbeat
2022-11-07T20:14:06.873104Z (0x00005c70) [debug] Connector::heartbeat->Connector::sendCommand: (Port:20089) Sending PING
2022-11-07T20:14:06.876102Z (0x00005c70) [debug] Connector::reader->Connector::parseSocketBuffer->Connector::processLine: (Port:20089) Received a PONG for localhost on port 7878
2022-11-07T20:14:06.878105Z (0x00005c70) [error] Connector::reader: End of file: End of file
2022-11-07T20:14:06.878105Z (0x00005c70) [error] Connector::reader->Connector::reconnect->Connector::close: Closing localhost:7878 (Local Port:20089)
2022-11-07T20:14:06.880101Z (0x00005c70) [debug] Connector::reader->Connector::reconnect->Connector::close: Disconnected from adapter, setting all values to UNAVAILABLE
2022-11-07T20:14:06.880101Z (0x00005c70) [info] Connector::reader->Connector::reconnect: reconnect: retry connection in 10000ms
2022-11-07T20:14:14.706925Z (0x00005c70) [debug] AgentConfiguration::monitorThread: Monitoring files: "D:\Program Files\Okuma\Okuma MT Connect Adapter\agent.cfg" and D:\Program Files\Okuma\Okuma MT Connect Adapter\Devices.xml, will warm start if they change.
2022-11-07T20:14:14.708966Z (0x00005c70) [warning] AgentConfiguration::monitorThread: Detected change in configuration files. Will reload when youngest file is at least 1 seconds old
2022-11-07T20:14:14.714926Z (0x00005f0c) [info] MAIN->Agent::receiveDevice: Checking if device OKUMA.Lathe.123456 has changed
2022-11-07T20:14:14.715924Z (0x00005f0c) [info] MAIN->Agent::receiveDevice: Device OKUMA.Lathe.123456 changed, updating model
2022-11-07T20:14:14.717936Z (0x00005f0c) [info] MAIN->Agent::receiveDevice: Device OKUMA.Lathe.123456 updating circular buffer
2022-11-07T20:14:16.890965Z (0x00005f30) [info] : reconnect: retrying connection
2022-11-07T20:14:16.891934Z (0x00005f30) [debug] Connector::connect: Connecting to data source: localhost on port: 7878
2022-11-07T20:14:18.939936Z (0x00005f30) [info] Connector::connected: Connected with: 127.0.0.1:7878
2022-11-07T20:14:18.940937Z (0x00005f30) [debug] Connector::connected->Connector::sendCommand: (Port:20122) Sending PING
2022-11-07T20:14:18.942937Z (0x00005f30) [debug] Connector::reader->Connector::parseSocketBuffer->Connector::processLine->ShdrAdapter::protocolCommand: Processing command: adapterversion: adapterVersion:5.0.0.1
2022-11-07T20:14:18.943937Z (0x00005f30) [warning] Connector::reader->Connector::parseSocketBuffer->Connector::processLine->ShdrAdapter::protocolCommand: Cannot find data item for the Agent device when processing command adapterversion with value 5.0.0.1 for adapter _7714929c63
2022-11-07T20:14:18.945936Z (0x00005f30) [debug] Connector::reader->Connector::parseSocketBuffer->Connector::processLine->ShdrAdapter::protocolCommand: Processing command: adapterversion: adapterVersion:5.0.0.1
2022-11-07T20:14:18.947159Z (0x00005f30) [warning] Connector::reader->Connector::parseSocketBuffer->Connector::processLine->ShdrAdapter::protocolCommand: Cannot find data item for the Agent device when processing command adapterversion with value 5.0.0.1 for adapter _7714929c63
2022-11-07T20:14:18.948938Z (0x00005f30) [debug] Connector::reader->Connector::parseSocketBuffer->Connector::processLine->ShdrAdapter::protocolCommand: Processing command: mtconnectversion: *mtconnectVersion:1.3
2022-11-07T20:14:18.949936Z (0x00005f30) [warning] Connector::reader->Connector::parseSocketBuffer->Connector::processLine->ShdrAdapter::protocolCommand: Cannot find data item for the Agent device when processing command mtconnectversion with value 1.3 for adapter _7714929c63
2022-11-07T20:14:18.950936Z (0x00005f30) [warning] Connector::reader->Connector::parseSocketBuffer->Connector::processLine->ShdrAdapter::processData->DataItemMapper.ShdrTokenMapper.operator->entity.xml_parser: Error occurred converting initial: (): cannot convert string 'UNAVAILABLE' to double
2022-11-07T20:14:18.951938Z (0x00005f30) [warning] Connector::reader->Connector::parseSocketBuffer->Connector::processLine->ShdrAdapter::processData->DataItemMapper.ShdrTokenMapper.operator->entity.xml_parser: Error occurred converting VALUE: (): cannot convert string 'UNAVAILABLE' to double
2022-11-07T20:14:18.953939Z (0x00005f30) [warning] Connector::reader->Connector::parseSocketBuffer->Connector::processLine->ShdrAdapter::processData->DataItemMapper.ShdrTokenMapper.operator->entity.xml_parser: Unexpected element: ToolLife
2022-11-07T20:14:18.956936Z (0x00005f30) [warning] Connector::reader->Connector::parseSocketBuffer->Connector::processLine->ShdrAdapter::processData->DataItemMapper.ShdrTokenMapper.operator->entity.xml_parser: Error occurred converting initial: (): cannot convert string 'UNAVAILABLE' to double
2022-11-07T20:14:18.959936Z (0x00005f30) [warning] Connector::reader->Connector::parseSocketBuffer->Connector::processLine->ShdrAdapter::processData->DataItemMapper.ShdrTokenMapper.operator->entity.xml_parser: Error occurred converting VALUE: (): cannot convert string 'UNAVAILABLE' to double
2022-11-07T20:14:18.961936Z (0x00005f30) [warning] Connector::reader->Connector::parseSocketBuffer->Connector::processLine->ShdrAdapter::processData->DataItemMapper.ShdrTokenMapper.operator->entity.xml_parser: Unexpected element: ToolLife
2022-11-07T20:14:18.962939Z (0x00005f30) [warning] Connector::reader->Connector::parseSocketBuffer->Connector::processLine->ShdrAdapter::processData->DataItemMapper.ShdrTokenMapper.operator->entity.xml_parser: Error occurred converting initial: (): cannot convert string 'UNAVAILABLE' to double
2022-11-07T20:14:18.964936Z (0x00005f30) [warning] Connector::reader->Connector::parseSocketBuffer->Connector::processLine->ShdrAdapter::processData->DataItemMapper.ShdrTokenMapper.operator->entity.xml_parser: Error occurred converting VALUE: (): cannot convert string 'UNAVAILABLE' to double
2022-11-07T20:14:18.965936Z (0x00005f30) [warning] Connector::reader->Connector::parseSocketBuffer->Connector::processLine->ShdrAdapter::processData->DataItemMapper.ShdrTokenMapper.operator->entity.xml_parser: Unexpected element: ToolLife
2022-11-07T20:14:18.965936Z (0x00005f30) [warning] Connector::reader->Connector::parseSocketBuffer->Connector::processLine->ShdrAdapter::processData->DataItemMapper.ShdrTokenMapper.operator: Could not parse asset: UNAVAILABLE UNAVAILABLE UNAVAILABLE UNAVAILABLE 0 0 345
2022-11-07T20:14:18.967936Z (0x00005f30) [warning] Connector::reader->Connector::parseSocketBuffer->Connector::processLine->ShdrAdapter::processData->DataItemMapper.ShdrTokenMapper.operator: Message: ToolLife(initial): cannot convert string 'UNAVAILABLE' to double
2022-11-07T20:14:18.968936Z (0x00005f30) [warning] Connector::reader->Connector::parseSocketBuffer->Connector::processLine->ShdrAdapter::processData->DataItemMapper.ShdrTokenMapper.operator: Message: ToolLife(VALUE): cannot convert string 'UNAVAILABLE' to double
2022-11-07T20:14:18.968936Z (0x00005f30) [warning] Connector::reader->Connector::parseSocketBuffer->Connector::processLine->ShdrAdapter::processData->DataItemMapper.ShdrTokenMapper.operator: Message: ToolLife(VALUE): Property VALUE is required and not provided
2022-11-07T20:14:18.969936Z (0x00005f30) [warning] Connector::reader->Connector::parseSocketBuffer->Connector::processLine->ShdrAdapter::processData->DataItemMapper.ShdrTokenMapper.operator: Message: CuttingToolLifeCycle: Invalid element 'ToolLife'
2022-11-07T20:14:18.973937Z (0x00005f30) [warning] Connector::reader->Connector::parseSocketBuffer->Connector::processLine->ShdrAdapter::processData->DataItemMapper.ShdrTokenMapper.operator: Message: ToolLife(initial): cannot convert string 'UNAVAILABLE' to double
2022-11-07T20:14:18.975937Z (0x00005f30) [warning] Connector::reader->Connector::parseSocketBuffer->Connector::processLine->ShdrAdapter::processData->DataItemMapper.ShdrTokenMapper.operator: Message: ToolLife(VALUE): cannot convert string 'UNAVAILABLE' to double
2022-11-07T20:14:18.976937Z (0x00005f30) [warning] Connector::reader->Connector::parseSocketBuffer->Connector::processLine->ShdrAdapter::processData->DataItemMapper.ShdrTokenMapper.operator: Message: ToolLife(VALUE): Property VALUE is required and not provided
2022-11-07T20:14:18.977936Z (0x00005f30) [warning] Connector::reader->Connector::parseSocketBuffer->Connector::processLine->ShdrAdapter::processData->DataItemMapper.ShdrTokenMapper.operator: Message: CuttingToolLifeCycle: Invalid element 'ToolLife'
2022-11-07T20:14:18.978935Z (0x00005f30) [warning] Connector::reader->Connector::parseSocketBuffer->Connector::processLine->ShdrAdapter::processData->DataItemMapper.ShdrTokenMapper.operator: Message: ToolLife(initial): cannot convert string 'UNAVAILABLE' to double
2022-11-07T20:14:18.979935Z (0x00005f30) [warning] Connector::reader->Connector::parseSocketBuffer->Connector::processLine->ShdrAdapter::processData->DataItemMapper.ShdrTokenMapper.operator: Message: ToolLife(VALUE): cannot convert string 'UNAVAILABLE' to double
2022-11-07T20:14:18.980936Z (0x00005f30) [warning] Connector::reader->Connector::parseSocketBuffer->Connector::processLine->ShdrAdapter::processData->DataItemMapper.ShdrTokenMapper.operator: Message: ToolLife(VALUE): Property VALUE is required and not provided
2022-11-07T20:14:18.981935Z (0x00005f30) [warning] Connector::reader->Connector::parseSocketBuffer->Connector::processLine->ShdrAdapter::processData->DataItemMapper.ShdrTokenMapper.operator: Message: CuttingToolLifeCycle: Invalid element 'ToolLife'
2022-11-07T20:14:18.982935Z (0x00005f30) [warning] Connector::reader->Connector::parseSocketBuffer->Connector::processLine->ShdrAdapter::processData->DataItemMapper.ShdrTokenMapper.operator->entity.xml_parser: Error occurred converting initial: (): cannot convert string 'UNAVAILABLE' to double
2022-11-07T20:14:18.984937Z (0x00005f30) [warning] Connector::reader->Connector::parseSocketBuffer->Connector::processLine->ShdrAdapter::processData->DataItemMapper.ShdrTokenMapper.operator->entity.xml_parser: Error occurred converting VALUE: (): cannot convert string 'UNAVAILABLE' to double
2022-11-07T20:14:18.984937Z (0x00005f30) [warning] Connector::reader->Connector::parseSocketBuffer->Connector::processLine->ShdrAdapter::processData->DataItemMapper.ShdrTokenMapper.operator->entity.xml_parser: Unexpected element: ToolLife
2022-11-07T20:14:18.987937Z (0x00005f30) [warning] Connector::reader->Connector::parseSocketBuffer->Connector::processLine->ShdrAdapter::processData->DataItemMapper.ShdrTokenMapper.operator->entity.xml_parser: Error occurred converting initial: (): cannot convert string 'UNAVAILABLE' to double
2022-11-07T20:14:18.991938Z (0x00005f30) [warning] Connector::reader->Connector::parseSocketBuffer->Connector::processLine->ShdrAdapter::processData->DataItemMapper.ShdrTokenMapper.operator->entity.xml_parser: Error occurred converting VALUE: (): cannot convert string 'UNAVAILABLE' to double
2022-11-07T20:14:18.992939Z (0x00005f30) [warning] Connector::reader->Connector::parseSocketBuffer->Connector::processLine->ShdrAdapter::processData->DataItemMapper.ShdrTokenMapper.operator->entity.xml_parser: Unexpected element: ToolLife
2022-11-07T20:14:18.993937Z (0x00005f30) [warning] Connector::reader->Connector::parseSocketBuffer->Connector::processLine->ShdrAdapter::processData->DataItemMapper.ShdrTokenMapper.operator->entity.xml_parser: Error occurred converting initial: (): cannot convert string 'UNAVAILABLE' to double
2022-11-07T20:14:18.994938Z (0x00005f30) [warning] Connector::reader->Connector::parseSocketBuffer->Connector::processLine->ShdrAdapter::processData->DataItemMapper.ShdrTokenMapper.operator->entity.xml_parser: Error occurred converting VALUE: (): cannot convert string 'UNAVAILABLE' to double
2022-11-07T20:14:18.995935Z (0x00005f30) [warning] Connector::reader->Connector::parseSocketBuffer->Connector::processLine->ShdrAdapter::processData->DataItemMapper.ShdrTokenMapper.operator->entity.xml_parser: Unexpected element: ToolLife
2022-11-07T20:14:18.997935Z (0x00005f30) [warning] Connector::reader->Connector::parseSocketBuffer->Connector::processLine->ShdrAdapter::processData->DataItemMapper.ShdrTokenMapper.operator: Could not parse asset: UNAVAILABLE UNAVAILABLE UNAVAILABLE UNAVAILABLE 0 2 98
2022-11-07T20:14:18.997935Z (0x00005f30) [warning] Connector::reader->Connector::parseSocketBuffer->Connector::processLine->ShdrAdapter::processData->DataItemMapper.ShdrTokenMapper.operator: Message: ToolLife(initial): cannot convert string 'UNAVAILABLE' to double
2022-11-07T20:14:18.999936Z (0x00005f30) [warning] Connector::reader->Connector::parseSocketBuffer->Connector::processLine->ShdrAdapter::processData->DataItemMapper.ShdrTokenMapper.operator: Message: ToolLife(VALUE): cannot convert string 'UNAVAILABLE' to double
2022-11-07T20:14:18.999936Z (0x00005f30) [warning] Connector::reader->Connector::parseSocketBuffer->Connector::processLine->ShdrAdapter::processData->DataItemMapper.ShdrTokenMapper.operator: Message: ToolLife(VALUE): Property VALUE is required and not provided
2022-11-07T20:14:19.000936Z (0x00005f30) [warning] Connector::reader->Connector::parseSocketBuffer->Connector::processLine->ShdrAdapter::processData->DataItemMapper.ShdrTokenMapper.operator: Message: CuttingToolLifeCycle: Invalid element 'ToolLife'
2022-11-07T20:14:19.001936Z (0x00005f30) [warning] Connector::reader->Connector::parseSocketBuffer->Connector::processLine->ShdrAdapter::processData->DataItemMapper.ShdrTokenMapper.operator: Message: ToolLife(initial): cannot convert string 'UNAVAILABLE' to double
2022-11-07T20:14:19.007936Z (0x00005f30) [warning] Connector::reader->Connector::parseSocketBuffer->Connector::processLine->ShdrAdapter::processData->DataItemMapper.ShdrTokenMapper.operator: Message: ToolLife(VALUE): cannot convert string 'UNAVAILABLE' to double
2022-11-07T20:14:19.009935Z (0x00005f30) [warning] Connector::reader->Connector::parseSocketBuffer->Connector::processLine->ShdrAdapter::processData->DataItemMapper.ShdrTokenMapper.operator: Message: ToolLife(VALUE): Property VALUE is required and not provided
2022-11-07T20:14:19.010935Z (0x00005f30) [warning] Connector::reader->Connector::parseSocketBuffer->Connector::processLine->ShdrAdapter::processData->DataItemMapper.ShdrTokenMapper.operator: Message: CuttingToolLifeCycle: Invalid element 'ToolLife'
2022-11-07T20:14:19.011934Z (0x00005f30) [warning] Connector::reader->Connector::parseSocketBuffer->Connector::processLine->ShdrAdapter::processData->DataItemMapper.ShdrTokenMapper.operator: Message: ToolLife(initial): cannot convert string 'UNAVAILABLE' to double
2022-11-07T20:14:19.012935Z (0x00005f30) [warning] Connector::reader->Connector::parseSocketBuffer->Connector::processLine->ShdrAdapter::processData->DataItemMapper.ShdrTokenMapper.operator: Message: ToolLife(VALUE): cannot convert string 'UNAVAILABLE' to double
2022-11-07T20:14:19.013936Z (0x00005f30) [warning] Connector::reader->Connector::parseSocketBuffer->Connector::processLine->ShdrAdapter::processData->DataItemMapper.ShdrTokenMapper.operator: Message: ToolLife(VALUE): Property VALUE is required and not provided
2022-11-07T20:14:19.015935Z (0x00005f30) [warning] Connector::reader->Connector::parseSocketBuffer->Connector::processLine->ShdrAdapter::processData->DataItemMapper.ShdrTokenMapper.operator: Message: CuttingToolLifeCycle: Invalid element 'ToolLife'
2022-11-07T20:14:19.016935Z (0x00005f30) [debug] Connector::reader->Connector::parseSocketBuffer->Connector::processLine: (Port:20122) Received a PONG for localhost on port 7878
2022-11-07T20:14:19.017935Z (0x00005f30) [debug] Connector::reader->Connector::parseSocketBuffer->Connector::processLine->Connector::startHeartbeats: (Port:20122)Received PONG, starting heartbeats every 10000ms
2022-11-07T20:14:24.725952Z (0x00005f30) [debug] AgentConfiguration::monitorThread: Monitoring files: "D:\Program Files\Okuma\Okuma MT Connect Adapter\agent.cfg" and D:\Program Files\Okuma\Okuma MT Connect Adapter\Devices.xml, will warm start if they change.
2022-11-07T20:14:24.727951Z (0x00005f30) [debug] AgentConfiguration::monitorThread: Setting device and config times
2022-11-07T20:14:29.032963Z (0x00005f30) [debug] Connector::heartbeat: Sending heartbeat
2022-11-07T20:14:29.033964Z (0x00005f30) [debug] Connector::heartbeat->Connector::sendCommand: (Port:20122) Sending PING
2022-11-07T20:14:29.036962Z (0x00005f30) [debug] Connector::reader->Connector::parseSocketBuffer->Connector::processLine: (Port:20122) Received a PONG for localhost on port 7878
2022-11-07T20:14:34.738002Z (0x00005f30) [debug] AgentConfiguration::monitorThread: Monitoring files: "D:\Program Files\Okuma\Okuma MT Connect Adapter\agent.cfg" and D:\Program Files\Okuma\Okuma MT Connect Adapter\Devices.xml, will warm start if they change.
2022-11-07T20:14:39.048081Z (0x00005f30) [debug] Connector::heartbeat: Sending heartbeat
2022-11-07T20:14:39.048081Z (0x00005f30) [debug] Connector::heartbeat->Connector::sendCommand: (Port:20122) Sending PING
2022-11-07T20:14:39.050083Z (0x00005f30) [debug] Connector::reader->Connector::parseSocketBuffer->Connector::processLine: (Port:20122) Received a PONG for localhost on port 7878
2022-11-07T20:14:42.625091Z (0x00005f30) [info] SessionImpl::requested: ReST Request: From [127.0.0.1:20134]: GET /current
2022-11-07T20:14:43.849094Z (0x00005f30) [info] SessionImpl::requested: ReST Request: From [127.0.0.1:20134]: GET /current
2022-11-07T20:14:44.744094Z (0x00005f30) [debug] AgentConfiguration::monitorThread: Monitoring files: "D:\Program Files\Okuma\Okuma MT Connect Adapter\agent.cfg" and D:\Program Files\Okuma\Okuma MT Connect Adapter\Devices.xml, will warm start if they change.
2022-11-07T20:14:46.073103Z (0x00005f30) [info] SessionImpl::requested: ReST Request: From [127.0.0.1:20134]: GET /current
2022-11-07T20:14:47.456103Z (0x00005f30) [info] SessionImpl::requested: ReST Request: From [127.0.0.1:20134]: GET /current
2022-11-07T20:14:49.052106Z (0x00005f30) [debug] Connector::heartbeat: Sending heartbeat
2022-11-07T20:14:49.053107Z (0x00005f30) [debug] Connector::heartbeat->Connector::sendCommand: (Port:20122) Sending PING
2022-11-07T20:14:49.054108Z (0x00005f30) [debug] Connector::reader->Connector::parseSocketBuffer->Connector::processLine: (Port:20122) Received a PONG for localhost on port 7878
^C
D:\Program Files\Okuma\Okuma MT Connect Adapter>