无法使用 Elasticsearch apm 代理选项启动 Weblogic

问题描述

我正在尝试在 Weblogic 启动脚本中添加 Elasticsearch apm 代理,但无法启动 Weblogic 应用程序。

启动 Weblogic 服务器时出现以下错误

    <25 Apr,2021 4:24:10 PM SGT> <SEVERE> <Fatal error in NodeManager server>
weblogic.nodemanager.common.ConfigException: Native version is enabled but NodeManager native library Could not be loaded
    at weblogic.nodemanager.server.NMServerConfig.initProcessControl(NMServerConfig.java:632)
    at weblogic.nodemanager.server.NMServerConfig.<init>(NMServerConfig.java:397)
    at weblogic.nodemanager.server.NMServer.<init>(NMServer.java:157)
    at weblogic.nodemanager.server.NMServer.getInstance(NMServer.java:135)
    at weblogic.nodemanager.server.NMServer.main(NMServer.java:596)
    at weblogic.NodeManager.main(NodeManager.java:29)
Caused by: java.lang.UnsatisfiedLinkError: no nodemanager in java.library.path
    at java.lang.classLoader.loadLibrary(ClassLoader.java:1867)
    at java.lang.Runtime.loadLibrary0(Runtime.java:870)
    at java.lang.System.loadLibrary(System.java:1122)
    at weblogic.nodemanager.util.UnixProcessControl.<init>(UnixProcessControl.java:25)
    at weblogic.nodemanager.util.ProcessControlFactory.getProcessControl(ProcessControlFactory.java:23)
    at weblogic.nodemanager.server.NMServerConfig.initProcessControl(NMServerConfig.java:630)
    ... 5 more

2021-04-25 16:24:10,691 [elastic-apm-circuit-breaker] INFO  co.elastic.apm.agent.impl.circuitbreaker.CircuitBreaker - Stopping the Circuit Breaker thread.
2021-04-25 16:24:11,701 [elastic-apm-init-instrumentation-shutdown-hook] INFO  co.elastic.apm.agent.impl.ElasticApmTracer - Tracer switched to STOPPED state
2021-04-25 16:24:11,701 [elastic-apm-init-instrumentation-shutdown-hook] INFO  co.elastic.apm.agent.report.ApmServerReporter - dropped events because of full queue: 0
2021-04-25 16:24:11,753 [elastic-apm-init-instrumentation-shutdown-hook] INFO  co.elastic.apm.agent.report.IntakeV2ReportingEventHandler - Reported events: 0
2021-04-25 16:24:11,753 [elastic-apm-init-instrumentation-shutdown-hook] INFO  co.elastic.apm.agent.report.IntakeV2ReportingEventHandler - Dropped events: 0

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)