AWS announces preview of AWS Interconnect - multicloud
AWS announces AWS Interconnect – multicloud (preview), providing simple, resilient, high-speed private connections to other cloud service providers. AWS Interconnect - multicloud is easy to configure and provides high-speed, resilient connectivity with dedicated bandwidth, enabling customers to interconnect AWS networking services such as AWS Transit Gateway, AWS Cloud WAN, and Amazon VPC to other cloud service providers with ease.
在Docker容器中使用Greengrass V2解压AWS CRT lib以供aws.iot.SiteWiseEdgeCollectorOpcua使用失败。
【以下的问题经过翻译处理】 你好,
我正在尝试在使用 aws-greengrass-docker 设置的 Docker 容器中运行 Greengrass v2 2.9.0。
在设置 aws.iot.SiteWiseEdgeCollectorOpcua 版本为 2.1.3 时,在日志中出现了错误,错误信息为“无法解压缩 AWS CRT lib: java.io.IOException: Unable to open library in jar for AWS CRT: /linux/armv8/libaws-crt-jni.so.”(完整日志见下文)。
以下是版本信息:
aws.iot.SiteWiseEdgeCollectorOpcua=>2.1.3Greengrass V2=>2.9.0Docker=>
Client:
Cloud integration: v1.0.29
Version: 20.10.21
API version: 1.41
OS/Arch: darwin/arm64
Server: Docker Desktop 4.15.0 (93002)
Engine:
Version: 20.10.21
API version: 1.41 (minimum version 1.12)
OS/Arch: linux/arm64
containerd:
Version: 1.6.10
runc:
Version: 1.1.4
docker-init:
Version: 0.19.0
Host OS:MacOS 13.1
以下是 aws.iot.SiteWiseEdgeCollectorOpcua 的日志信息:
2023-01-18T13:53:32.246Z [INFO] (pool-2-thread-17) aws.iot.SiteWiseEdgeCollectorOpcua: shell-runner-start. {scriptName=services.aws.iot.SiteWiseEdgeCollectorOpcua.lifecycle.Startup.Script, serviceName=aws.iot.SiteWiseEdgeCollectorOpcua, currentState=STARTING, command=["java -cp /greengrass/v2/packages/artifacts/aws.iot.SiteWiseEdgeCollectorOpcua/..."]}
2023-01-18T13:53:32.249Z [DEBUG] (pool-2-thread-17) aws.iot.SiteWiseEdgeCollectorOpcua: Created process with pid 464. {serviceName=aws.iot.SiteWiseEdgeCollectorOpcua, currentState=STARTING}
2023-01-18T13:53:32.407Z [INFO] (Copier) aws.iot.SiteWiseEdgeCollectorOpcua: stdout. WARNING: sun.reflect.Reflection.getCallerClass is not supported. This will impact performance.. {scriptName=services.aws.iot.SiteWiseEdgeCollectorOpcua.lifecycle.Startup.Script, serviceName=aws.iot.SiteWiseEdgeCollectorOpcua, currentState=STARTING}
2023-01-18T13:53:32.659Z [INFO] (Copier) aws.iot.SiteWiseEdgeCollectorOpcua: stdout. [INFO ] 2023-01-18 13:53:32.658 [main] OpcUaCollector - {"message":"Initializing OPC-UA Collector Component."}. {scriptName=services.aws.iot.SiteWiseEdgeCollectorOpcua.lifecycle.Startup.Script, serviceName=aws.iot.SiteWiseEdgeCollectorOpcua, currentState=STARTING}
2023-01-18T13:53:32.665Z [WARN] (Copier) aws.iot.SiteWiseEdgeCollectorOpcua: stderr. Unable to unpack AWS CRT lib: java.io.IOException: Unable to open library in jar for AWS CRT: /linux/armv8/libaws-crt-jni.so. {scriptName=services.aws.iot.SiteWiseEdgeCollectorOpcua.lifecycle.Startup.Script, serviceName=aws.iot.SiteWiseEdgeCollectorOpcua, currentState=STARTING}
2023-01-18T13:53:32.665Z [WARN] (Copier) aws.iot.SiteWiseEdgeCollectorOpcua: stderr. java.io.IOException: Unable to open library in jar for AWS CRT: /linux/armv8/libaws-crt-jni.so. {scriptName=services.aws.iot.SiteWiseEdgeCollectorOpcua.lifecycle.Startup.Script, serviceName=aws.iot.SiteWiseEdgeCollectorOpcua, currentState=STARTING}
2023-01-18T13:53:32.665Z [WARN] (Copier) aws.iot.SiteWiseEdgeCollectorOpcua: stderr. at software.amazon.awssdk.crt.CRT.extractAndLoadLibrary(CRT.java:155). {scriptName=services.aws.iot.SiteWiseEdgeCollectorOpcua.lifecycle.Startup.Script, serviceName=aws.iot.SiteWiseEdgeCollectorOpcua, currentState=STARTING}
2023-01-18T13:53:32.665Z [WARN] (Copier) aws.iot.SiteWiseEdgeCollectorOpcua: stderr. at software.amazon.awssdk.crt.CRT.loadLibraryFromJar(CRT.java:220). {scriptName=services.aws.iot.SiteWiseEdgeCollectorOpcua.lifecycle.Startup.Script, serviceName=aws.iot.SiteWiseEdgeCollectorOpcua, currentState=STARTING}
2023-01-18T13:53:32.665Z [WARN] (Copier) aws.iot.SiteWiseEdgeCollectorOpcua: stderr. at software.amazon.awssdk.crt.CRT.<clinit>(CRT.java:33). {scriptName=services.aws.iot.SiteWiseEdgeCollectorOpcua.lifecycle.Startup.Script, serviceName=aws.iot.SiteWiseEdgeCollectorOpcua, currentState=STARTING}
2023-01-18T13:53:32.665Z [WARN] (Copier) aws.iot.SiteWiseEdgeCollectorOpcua: stderr. at software.amazon.awssdk.crt.CrtResource.<clinit>(CrtResource.java:104). {scriptName=services.aws.iot.SiteWiseEdgeCollectorOpcua.lifecycle.Startup.Script, serviceName=aws.iot.SiteWiseEdgeCollectorOpcua, currentState=STARTING}
2023-01-18T13:53:32.665Z [WARN] (Copier) aws.iot.SiteWiseEdgeCollectorOpcua: stderr. at com.amazon.iot.sitewise.component.sdk.common.factory.GreengrassFactory.getSocketOptionsForIPC(GreengrassFactory.java:105). {scriptName=services.aws.iot.SiteWiseEdgeCollectorOpcua.lifecycle.Startup.Script, serviceName=aws.iot.SiteWiseEdgeCollectorOpcua, currentState=STARTING}
2023-01-18T13:53:32.665Z [WARN] (Copier) aws.iot.SiteWiseEdgeCollectorOpcua: stderr. at com.amazon.iot.sitewise.component.sdk.common.factory.GreengrassFactory.provideEventStreamRpcConnection(GreengrassFactory.java:47). {scriptName=services.aws.iot.SiteWiseEdgeCollectorOpcua.lifecycle.Startup.Script, serviceName=aws.iot.SiteWiseEdgeCollectorOpcua, currentState=STARTING}
2023-01-18T13:53:32.665Z [WARN] (Copier) aws.iot.SiteWiseEdgeCollectorOpcua: stderr. at com.amazon.iot.sitewise.component.sdk.common.factory.GreengrassFactory.provideGreengrassCoreIPCClient(GreengrassFactory.java:38). {scriptName=services.aws.iot.SiteWiseEdgeCollectorOpcua.lifecycle.Startup.Script, serviceName=aws.iot.SiteWiseEdgeCollectorOpcua, currentState=STARTING}
2023-01-18T13:53:32.665Z [WARN] (Copier) aws.iot.SiteWiseEdgeCollectorOpcua: stderr. at com.amazon.iot.sitewise.component.sdk.component.ComponentService.<init>(ComponentService.java:57). {scriptName=services.aws.iot.SiteWiseEdgeCollectorOpcua.lifecycle.Startup.Script, serviceName=aws.iot.SiteWiseEdgeCollectorOpcua, currentState=STARTING}
2023-01-18T13:53:32.665Z [WARN] (Copier) aws.iot.SiteWiseEdgeCollectorOpcua: stderr. at com.amazon.iot.sitewise.component.sdk.component.ComponentService$Builder.build(ComponentService.java:394). {scriptName=services.aws.iot.SiteWiseEdgeCollectorOpcua.lifecycle.Startup.Script, serviceName=aws.iot.SiteWiseEdgeCollectorOpcua, currentState=STARTING}
2023-01-18T13:53:32.666Z [WARN] (Copier) aws.iot.SiteWiseEdgeCollectorOpcua: stderr. at com.amazon.iot.sitewise.component.collector.OpcUaCollector.main(OpcUaCollector.java:23). {scriptName=services.aws.iot.SiteWiseEdgeCollectorOpcua.lifecycle.Startup.Script, serviceName=aws.iot.SiteWiseEdgeCollectorOpcua, currentState=STARTING}
2023-01-18T13:53:32.666Z [WARN] (Copier) aws.iot.SiteWiseEdgeCollectorOpcua: stderr. Exception in thread "main" java.lang.ExceptionInInitializerError. {scriptName=services.aws.iot.SiteWiseEdgeCollectorOpcua.lifecycle.Startup.Script, serviceName=aws.iot.SiteWiseEdgeCollectorOpcua, currentState=STARTING}
2023-01-18T13:53:32.666Z [WARN] (Copier) aws.iot.SiteWiseEdgeCollectorOpcua: stderr. at software.amazon.awssdk.crt.CrtResource.<clinit>(CrtResource.java:104). {scriptName=services.aws.iot.SiteWiseEdgeCollectorOpcua.lifecycle.Startup.Script, serviceName=aws.iot.SiteWiseEdgeCollectorOpcua, currentState=STARTING}
2023-01-18T13:53:32.666Z [WARN] (Copier) aws.iot.SiteWiseEdgeCollectorOpcua: stderr. at com.amazon.iot.sitewise.component.sdk.common.factory.GreengrassFactory.getSocketOptionsForIPC(GreengrassFactory.java:105). {scriptName=services.aws.iot.SiteWiseEdgeCollectorOpcua.lifecycle.Startup.Script, serviceName=aws.iot.SiteWiseEdgeCollectorOpcua, currentState=STARTING}
2023-01-18T13:53:32.666Z [WARN] (Copier) aws.iot.SiteWiseEdgeCollectorOpcua: stderr. at com.amazon.iot.sitewise.component.sdk.common.factory.GreengrassFactory.provideEventStreamRpcConnection(GreengrassFactory.java:47). {scriptName=services.aws.iot.SiteWiseEdgeCollectorOpcua.lifecycle.Startup.Script, serviceName=aws.iot.SiteWiseEdgeCollectorOpcua, currentState=STARTING}
2023-01-18T13:53:32.666Z [WARN] (Copier) aws.iot.SiteWiseEdgeCollectorOpcua: stderr. at com.amazon.iot.sitewise.component.sdk.common.factory.GreengrassFactory.provideGreengrassCoreIPCClient(GreengrassFactory.java:38). {scriptName=services.aws.iot.SiteWiseEdgeCollectorOpcua.lifecycle.Startup.Script, serviceName=aws.iot.SiteWiseEdgeCollectorOpcua, currentState=STARTING}
2023-01-18T13:53:32.666Z [WARN] (Copier) aws.iot.SiteWiseEdgeCollectorOpcua: stderr. at com.amazon.iot.sitewise.component.sdk.component.ComponentService.<init>(ComponentService.java:57). {scriptName=services.aws.iot.SiteWiseEdgeCollectorOpcua.lifecycle.Startup.Script, serviceName=aws.iot.SiteWiseEdgeCollectorOpcua, currentState=STARTING}
2023-01-18T13:53:32.666Z [WARN] (Copier) aws.iot.SiteWiseEdgeCollectorOpcua: stderr. at com.amazon.iot.sitewise.component.sdk.component.ComponentService$Builder.build(ComponentService.java:394). {scriptName=services.aws.iot.SiteWiseEdgeCollectorOpcua.lifecycle.Startup.Script, serviceName=aws.iot.SiteWiseEdgeCollectorOpcua, currentState=STARTING}
2023-01-18T13:53:32.666Z [WARN] (Copier) aws.iot.SiteWiseEdgeCollectorOpcua: stderr. at com.amazon.iot.sitewise.component.collector.OpcUaCollector.main(OpcUaCollector.java:23). {scriptName=services.aws.iot.SiteWiseEdgeCollectorOpcua.lifecycle.Startup.Script, serviceName=aws.iot.SiteWiseEdgeCollectorOpcua, currentState=STARTING}
2023-01-18T13:53:32.666Z [WARN] (Copier) aws.iot.SiteWiseEdgeCollectorOpcua: stderr. Caused by: software.amazon.awssdk.crt.CrtRuntimeException: software.amazon.awssdk.crt.CrtRuntimeException: Unable to unpack AWS CRT library UNKNOWN(-1) UNKNOWN(-1). {scriptName=services.aws.iot.SiteWiseEdgeCollectorOpcua.lifecycle.Startup.Script, serviceName=aws.iot.SiteWiseEdgeCollectorOpcua, currentState=STARTING}
2023-01-18T13:53:32.666Z [WARN] (Copier) aws.iot.SiteWiseEdgeCollectorOpcua: stderr. at software.amazon.awssdk.crt.CRT.loadLibraryFromJar(CRT.java:230). {scriptName=services.aws.iot.SiteWiseEdgeCollectorOpcua.lifecycle.Startup.Script, serviceName=aws.iot.SiteWiseEdgeCollectorOpcua, currentState=STARTING}
2023-01-18T13:53:32.667Z [WARN] (Copier) aws.iot.SiteWiseEdgeCollectorOpcua: stderr. at software.amazon.awssdk.crt.CRT.<clinit>(CRT.java:33). {scriptName=services.aws.iot.SiteWiseEdgeCollectorOpcua.lifecycle.Startup.Script, serviceName=aws.iot.SiteWiseEdgeCollectorOpcua, currentState=STARTING}
2023-01-18T13:53:32.667Z [WARN] (Copier) aws.iot.SiteWiseEdgeCollectorOpcua: stderr. ... 7 more. {scriptName=services.aws.iot.SiteWiseEdgeCollectorOpcua.lifecycle.Startup.Script, serviceName=aws.iot.SiteWiseEdgeCollectorOpcua, currentState=STARTING}
2023-01-18T13:53:32.690Z [INFO] (Copier) aws.iot.SiteWiseEdgeCollectorOpcua: Startup script exited. {exitCode=1, serviceName=aws.iot.SiteWiseEdgeCollectorOpcua, currentState=STARTING}
- Tópicos
- Internet das Coisas (IoT)
- Idioma
- 中文 (简体)
- Mais recentes
- Mais votos
- Mais comentários
Conteúdo relevante
- feita há 4 meses
- feita há 9 meses
- Resposta aceitafeita há um mês
- feita há um ano
