Skip to content

Conversation

@realark
Copy link
Contributor

@realark realark commented Dec 9, 2017

Ran into another spring-boot issue. The springboot classloader was the context loader for the thread that initialized the global tracer. This caused the ServiceLoader to look on the spring classpath for loading the tracer services, which couldn't see our agent jar.

Doing the init at premain bypasses the problem by using the system classloader to set up the global tracer.

@realark realark added the tag: do not merge Do not merge changes label Dec 9, 2017
@realark realark requested a review from tylerbenson December 9, 2017 01:06
@realark realark added type: bug Bug report and fix and removed tag: do not merge Do not merge changes labels Dec 9, 2017
@realark realark merged commit 9fbe702 into master Dec 10, 2017
@realark realark deleted the ark/tracer_init branch December 10, 2017 16:09
@realark realark added this to the 0.2.11 milestone Dec 10, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: bug Bug report and fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants