[
https://issues.apache.org/jira/browse/TOMEE-4674?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18102471#comment-18102471
]
Jonathan Gallimore commented on TOMEE-4674:
-------------------------------------------
Fix with test here: https://github.com/apache/tomee/pull/2898
> Using otel.config.file in TomEE fails
> -------------------------------------
>
> Key: TOMEE-4674
> URL: https://issues.apache.org/jira/browse/TOMEE-4674
> Project: TomEE
> Issue Type: Bug
> Affects Versions: 11.0.0-M1
> Reporter: Jonathan Gallimore
> Priority: Major
> Fix For: 11.0.0
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Following an update of OpenTelemetry to version 1.62.0, specifying an otel
> config file requires opentelemetry-sdk-extension-declarative-config which is
> not included in the server and results in this exception
>
> ```
> Caused by: io.opentelemetry.sdk.autoconfigure.spi.ConfigurationException:
> Cannot autoconfigure from config file without
> opentelemetry-sdk-extension-declarative-config on the classpath
> ```
--
This message was sent by Atlassian Jira
(v8.20.10#820010)