wildfly - 向 Wildfly 23 添加 smallrye 跟踪
问题描述
我正在尝试使用 Thins 指南将 microprofile opentracing 子系统添加到 Wildfly23:https ://github.com/wildfly/wildfly/blob/main/docs/src/main/asciidoc/_admin-guide/subsystem-configuration/MicroProfile_OpenTracing_SmallRye.adoc
但是,第二步失败了:
[standalone@localhost:9990 /] /subsystem=microprofile-opentracing-smallrye:add
ERROR [org.jboss.as.cli.CommandContext] {
"outcome" => "failed",
"failure-description" => "WFLYCTL0369: Required capabilities are not available:
org.wildfly.microprofile.config; There are no known registration points which can provide this capability.",
"rolled-back" => true
}
我尝试使用此模型作为参考添加微配置文件配置:https ://docs.wildfly.org/23/wildscribe/subsystem/microprofile-config-smallrye/index.html但是我收到此错误
[standalone@localhost:9990 /] /subsystem=microprofile-config-smallrye:add
ERROR [org.jboss.as.cli.CommandContext] {
"outcome" => "failed",
"failure-description" => "WFLYCTL0030: No resource definition is registered for address [(\"subsystem\" => \"microprofile-config-smallrye\")]",
"rolled-back" => true
}
我错过了什么?该文档似乎足够新鲜,最后一次更新是在 2021 年 3 月...
解决方案
在添加子系统之前,您还需要安装扩展“org.wildfly.extension.microprofile.config-smallrye”和“org.wildfly.extension.microprofile.opentracing-smallrye”。Wildfly 还提供了一个可以作为示例服务器的独立 microprofile.xml。
推荐阅读
- java - @Slf4j 找不到符号 LOG
- pine-script - 收益线,从输入值绘制一条线
- python - pyodbc.Error: ('07002', '[07002] [Microsoft][ODBC Microsoft Access Driver] 参数太少。预期为 9. (-3010) (SQLExecDirectW)')
- javascript - 屏幕调整大小时重置切换(多种样式)
- react-router - 如何使用 Apollo 和 React Router 避免嵌套路由/查询组件的请求瀑布?
- android - Android Mokito 测试室 DAO 类。在测试时从数据库中获取数据时获取空数组
- python-3.x - 计算每个 id 有多少行满足条件
- jquery - 根据表单输入显示嵌入式视频
- laravel - Lumen:BrowserSync 与 Laravel Mix
- ruby-on-rails - Rails activerecord 查询使用选择但返回集合