Comments (7)
from cppagent_dev.
Will,
I change both, agent.cfg and devices.xml since a different spec requires different agent configuration also.
Thanks
from cppagent_dev.
from cppagent_dev.
also, please provide an adapter data set as well. it looks like the data items no longer match.
from cppagent_dev.
Will,
Data items will be changed according to the current spec. It could be more or less.
Thanks
Schemas.zip
Devices.zip
Agents.zip
from cppagent_dev.
Still happens when spec is changed from 1.2 to 1.3
2.0.0.12 RC18
Microsoft Windows [Version 10.0.19044.1889]
(c) Microsoft Corporation. All rights reserved.
C:\WINDOWS\system32>d:
D:>cd 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 (_RC18) - built on Wed Jul 13 09:12:45 2022
[2022-08-29 12:42:22.146810] [0x000035e8] [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-08-29T16:42:22.149812Z (0x000035e8) [info] MAIN->AgentConfiguration::initialize->AgentConfiguration::loadConfig: Starting agent on port 5000
2022-08-29T16:42:22.168811Z (0x000035e8) [warning] MAIN->AgentConfiguration::initialize->AgentConfiguration::loadConfig->AgentConfiguration::loadAdapters: Cannot locate device name 'OKUMA.Machine.Adapter', trying default
2022-08-29T16:42:22.168811Z (0x000035e8) [info] MAIN->AgentConfiguration::initialize->AgentConfiguration::loadConfig->AgentConfiguration::loadAdapters: Assigning default device OKUMA to adapter
2022-08-29T16:42:22.168811Z (0x000035e8) [info] MAIN->AgentConfiguration::initialize->AgentConfiguration::loadConfig->AgentConfiguration::loadAdapters: shdr: Adding adapter for OKUMA: OKUMA.Machine.Adapter
2022-08-29T16:42:22.169811Z (0x000035e8) [debug] MAIN: Waiting for monitor thread to exit to restart agent
2022-08-29T16:42:22.169811Z (0x000035e8) [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-08-29T16:42:22.169811Z (0x000035e8) [debug] MAIN->AgentConfiguration::monitorThread: Setting device and config times
2022-08-29T16:42:22.175816Z (0x000035e8) [debug] MAIN->Agent::start->Connector::connect: Connecting to data source: localhost on port: 7878
2022-08-29T16:42:22.176812Z (0x000035e8) [warning] MAIN->Agent::start->pipeline.deliver: Could not find data item: _7714929c63_asset_update_rate, exiting metrics
2022-08-29T16:42:22.176812Z (0x000035e8) [warning] MAIN->Agent::start->pipeline.deliver: Could not find data item: _7714929c63_observation_update_rate, exiting metrics
2022-08-29T16:42:22.500813Z (0x00006258) [info] SessionImpl::requested: ReST Request: From [127.0.0.1:35258]: GET /current
2022-08-29T16:42:24.211818Z (0x00006258) [info] Connector::connected: Connected with: 127.0.0.1:7878
2022-08-29T16:42:24.212821Z (0x00006258) [debug] Connector::connected->Connector::sendCommand: (Port:35260) Sending PING
2022-08-29T16:42:24.217820Z (0x00006258) [debug] Connector::reader->Connector::parseSocketBuffer->Connector::processLine: Processing command: adapterversion: *adapterVersion:5.0.0.0
2022-08-29T16:42:24.218818Z (0x00006258) [warning] Connector::reader->Connector::parseSocketBuffer->Connector::processLine: Cannot find data item for the Agent device when processing command adapterversion with value 5.0.0.0 for adapter _7714929c63
2022-08-29T16:42:24.219819Z (0x00006258) [debug] Connector::reader->Connector::parseSocketBuffer->Connector::processLine: Processing command: adapterversion: *adapterVersion:5.0.0.0
2022-08-29T16:42:24.221819Z (0x00006258) [warning] Connector::reader->Connector::parseSocketBuffer->Connector::processLine: Cannot find data item for the Agent device when processing command adapterversion with value 5.0.0.0 for adapter _7714929c63
2022-08-29T16:42:24.223819Z (0x00006258) [debug] Connector::reader->Connector::parseSocketBuffer->Connector::processLine: Processing command: mtconnectversion: *mtconnectVersion:1.3
2022-08-29T16:42:24.225819Z (0x00006258) [warning] Connector::reader->Connector::parseSocketBuffer->Connector::processLine: Cannot find data item for the Agent device when processing command mtconnectversion with value 1.3 for adapter _7714929c63
2022-08-29T16:42:24.226817Z (0x00006258) [debug] Connector::reader->Connector::parseSocketBuffer->Connector::processLine: (Port:35260) Received a PONG for localhost on port 7878
2022-08-29T16:42:24.231820Z (0x00006258) [debug] Connector::reader->Connector::parseSocketBuffer->Connector::processLine->Connector::startHeartbeats: (Port:35260)Received PONG, starting heartbeats every 10000ms
2022-08-29T16:42:32.185847Z (0x00006258) [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-08-29T16:42:32.508850Z (0x00006258) [info] SessionImpl::requested: ReST Request: From [127.0.0.1:35258]: GET /probe
2022-08-29T16:42:32.943885Z (0x00006258) [info] SessionImpl::requested: ReST Request: From [127.0.0.1:35258]: GET /current
2022-08-29T16:42:32.952851Z (0x00006258) [info] SessionImpl::requested: ReST Request: From [127.0.0.1:35258]: GET /sample?from=1&count=200&interval=500
2022-08-29T16:42:34.234855Z (0x00006258) [debug] Connector::heartbeat: Sending heartbeat
2022-08-29T16:42:34.235854Z (0x00006258) [debug] Connector::heartbeat->Connector::sendCommand: (Port:35260) Sending PING
2022-08-29T16:42:34.239855Z (0x00006258) [debug] Connector::reader->Connector::parseSocketBuffer->Connector::processLine: (Port:35260) Received a PONG for localhost on port 7878
2022-08-29T16:42:42.022918Z (0x00006258) [info] SessionImpl::requested: ReST Request: From [127.0.0.1:35268]: GET /current
2022-08-29T16:42:42.193921Z (0x00006258) [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-08-29T16:42:44.242925Z (0x00006258) [debug] Connector::heartbeat: Sending heartbeat
2022-08-29T16:42:44.243928Z (0x00006258) [debug] Connector::heartbeat->Connector::sendCommand: (Port:35260) Sending PING
2022-08-29T16:42:44.244926Z (0x00006258) [debug] Connector::reader->Connector::parseSocketBuffer->Connector::processLine: (Port:35260) Received a PONG for localhost on port 7878
2022-08-29T16:42:52.204955Z (0x00006258) [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-08-29T16:42:54.255979Z (0x00006258) [debug] Connector::heartbeat: Sending heartbeat
2022-08-29T16:42:54.255979Z (0x00006258) [debug] Connector::heartbeat->Connector::sendCommand: (Port:35260) Sending PING
2022-08-29T16:42:54.261978Z (0x00006258) [debug] Connector::reader->Connector::parseSocketBuffer->Connector::processLine: (Port:35260) Received a PONG for localhost on port 7878
2022-08-29T16:43:02.220008Z (0x00006258) [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-08-29T16:43:04.270049Z (0x00006258) [debug] Connector::heartbeat: Sending heartbeat
2022-08-29T16:43:04.271014Z (0x00006258) [debug] Connector::heartbeat->Connector::sendCommand: (Port:35260) Sending PING
2022-08-29T16:43:04.272015Z (0x00006258) [debug] Connector::reader->Connector::parseSocketBuffer->Connector::processLine: (Port:35260) Received a PONG for localhost on port 7878
2022-08-29T16:43:04.277013Z (0x00006258) [error] Connector::reader: End of file: End of file
2022-08-29T16:43:04.278014Z (0x00006258) [error] Connector::reader->Connector::reconnect->Connector::close: Closing localhost:7878 (Local Port:35260)
2022-08-29T16:43:04.279013Z (0x00006258) [debug] Connector::reader->Connector::reconnect->Connector::close: Disconnected from adapter, setting all values to UNAVAILABLE
2022-08-29T16:43:04.281013Z (0x00006258) [info] Connector::reader->Connector::reconnect: reconnect: retry connection in 10000ms
2022-08-29T16:43:12.038597Z (0x00006258) [warning] SessionImpl::requested->Session::fail: Operation failed: Could not read request
2022-08-29T16:43:12.040564Z (0x00006258) [warning] SessionImpl::requested->Session::fail: Closing: The socket was closed due to a timeout - The socket was closed due to a timeout
2022-08-29T16:43:12.042564Z (0x00006258) [warning] SessionImpl::requested->Session::fail: Operation failed: Could not read request
2022-08-29T16:43:12.044563Z (0x00006258) [warning] SessionImpl::requested->Session::fail: Closing: The socket was closed due to a timeout - The socket was closed due to a timeout
2022-08-29T16:43:12.238595Z (0x00006258) [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-08-29T16:43:12.239564Z (0x00006258) [warning] AgentConfiguration::monitorThread: Detected change in configuration files. Will reload when youngest file is at least 1 seconds old
2022-08-29T16:43:12.244562Z (0x000035e8) [info] MAIN->Agent::receiveDevice: Updating device OKUMA.123456 to new device model
2022-08-29T16:43:12.245561Z (0x000035e8) [info] MAIN->Agent::receiveDevice: Device OKUMA.123456 changed, updating mappings
D:\Program Files\Okuma\Okuma MT Connect Adapter>
from cppagent_dev.
Fixed in RC25
from cppagent_dev.
Related Issues (20)
- Not support Tool Assets command in the Release 2.0.0.1 Release Candidate 6 HOT 24
- Support gzip files from directories
- Implement dynamic data validation based on schema version HOT 1
- Trouble Parsing data on latest release. HOT 11
- Update the JSON representation based on Agent WG issue 2807
- agent stops when devices.xml is changed HOT 19
- agent stops when devices.xml is changed using 2.0.0.12 RC18 HOT 2
- agent fails to reconnect if adapter configured by hostname and not IP HOT 4
- Agent stops when agent.cfg and devices.xml are changed from MTConnect spec 1.2 to 1.3 in RC21 release x86 HOT 3
- Agent stops when agent.cfg and devices.xml are changed from MTConnect spec 1.2 to 1.3 in RC22 release x86 HOT 3
- Agent stops when agent.cfg and devices.xml are changed from MTConnect spec 1.2 to 1.3 in RC23 for x86 HOT 3
- Docker Agent gives error when running with 'agent run', not with 'agent debug' HOT 5
- Agent cannot detect the new MTConnect spec that has been changed in the devices.xml file. RC4 for x86 HOT 5
- MQTT Sink / Source Username and Password Config HOT 4
- Configuration with MQTT sink throws "packet_id exhausted error" after few hours of running HOT 9
- Style sheet not displaying the values for specifications.
- QIF document addition removes XML nodes HOT 3
- Add dynamic device creation for agent adapter source HOT 1
- Unified MQTT Topic and Payload structure HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cppagent_dev.