René's URL Explorer Experiment


Title: Ignore appdynamics/cisco multi tenant agent module by ryandens · Pull Request #326 · hypertrace/javaagent · GitHub

Open Graph Title: Ignore appdynamics/cisco multi tenant agent module by ryandens · Pull Request #326 · hypertrace/javaagent

X Title: Ignore appdynamics/cisco multi tenant agent module by ryandens · Pull Request #326 · hypertrace/javaagent

Description: Description When running the Hypertrace Javaagent with the Appdynamics javaagent on 9+ JVM, the following error occurs after ~3 minutes of leaving an app server running with no HTTP traffic [Cisco-Multi-Tenant-Agent-Bootstrapping] ERROR io.opentelemetry.javaagent.tooling.HelperInjector - Error preparing helpers while processing class okhttp3.OkHttpClient for okhttp. Failed to inject helper classes into instance MultiTenantAgentClassLoader java.lang.IllegalStateException: Error invoking (accessor)::defineClass at net.bytebuddy.dynamic.loading.ClassInjector$UsingReflection$Dispatcher$UsingUnsafeInjection.defineClass(ClassInjector.java:999) at net.bytebuddy.dynamic.loading.ClassInjector$UsingReflection.injectRaw(ClassInjector.java:251) at io.opentelemetry.javaagent.tooling.HelperInjector.injectClassLoader(HelperInjector.java:205) at io.opentelemetry.javaagent.tooling.HelperInjector.transform(HelperInjector.java:137) at net.bytebuddy.agent.builder.AgentBuilder$Default$ExecutingTransformer.doTransform(AgentBuilder.java:10364) at net.bytebuddy.agent.builder.AgentBuilder$Default$ExecutingTransformer.transform(AgentBuilder.java:10302) at net.bytebuddy.agent.builder.AgentBuilder$Default$ExecutingTransformer.access$1600(AgentBuilder.java:10068) at net.bytebuddy.agent.builder.AgentBuilder$Default$ExecutingTransformer$Java9CapableVmDispatcher.run(AgentBuilder.java:10761) at net.bytebuddy.agent.builder.AgentBuilder$Default$ExecutingTransformer$Java9CapableVmDispatcher.run(AgentBuilder.java:10699) at java.base/java.security.AccessController.doPrivileged(Native Method) at net.bytebuddy.agent.builder.AgentBuilder$Default$ExecutingTransformer.transform(AgentBuilder.java:10258) at net.bytebuddy.agent.builder.AgentBuilder$Default$ExecutingTransformer$ByteBuddy$ModuleSupport.transform(Unknown Source) at java.instrument/sun.instrument.TransformerManager.transform(TransformerManager.java:188) at java.instrument/sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:563) at java.base/java.lang.ClassLoader.defineClass1(Native Method) at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1017) at java.base/java.security.SecureClassLoader.defineClass(SecureClassLoader.java:174) at java.base/java.net.URLClassLoader.defineClass(URLClassLoader.java:550) at java.base/java.net.URLClassLoader$1.run(URLClassLoader.java:458) at java.base/java.net.URLClassLoader$1.run(URLClassLoader.java:452) at java.base/java.security.AccessController.doPrivileged(Native Method) at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:451) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:589) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522) at java.base/java.lang.Class.getDeclaredMethods0(Native Method) at java.base/java.lang.Class.privateGetDeclaredMethods(Class.java:3166) at java.base/java.lang.Class.getDeclaredMethods(Class.java:2309) at MultiTenantAgentClassLoader/org.picocontainer.injectors.AdaptingInjection$1.run(AdaptingInjection.java:203) at java.base/java.security.AccessController.doPrivileged(Native Method) at MultiTenantAgentClassLoader/org.picocontainer.injectors.AdaptingInjection.injectionMethodAnnotated(AdaptingInjection.java:200) at MultiTenantAgentClassLoader/org.picocontainer.injectors.AdaptingInjection.methodAnnotatedInjectionAdapter(AdaptingInjection.java:171) at MultiTenantAgentClassLoader/org.picocontainer.injectors.AdaptingInjection.createComponentAdapter(AdaptingInjection.java:70) at MultiTenantAgentClassLoader/org.picocontainer.behaviors.AbstractBehaviorFactory.createComponentAdapter(AbstractBehaviorFactory.java:44) at MultiTenantAgentClassLoader/org.picocontainer.behaviors.Caching.createComponentAdapter(Caching.java:46) at MultiTenantAgentClassLoader/org.picocontainer.behaviors.AdaptingBehavior.createComponentAdapter(AdaptingBehavior.java:58) at MultiTenantAgentClassLoader/org.picocontainer.DefaultPicoContainer.addComponent(DefaultPicoContainer.java:536) at MultiTenantAgentClassLoader/org.picocontainer.DefaultPicoContainer.addComponent(DefaultPicoContainer.java:501) at MultiTenantAgentClassLoader/org.picocontainer.DefaultPicoContainer.access$400(DefaultPicoContainer.java:84) at MultiTenantAgentClassLoader/org.picocontainer.DefaultPicoContainer$AsPropertiesPicoContainer.addComponent(DefaultPicoContainer.java:1157) at MultiTenantAgentClassLoader/com.cisco.mtagent.core.AgentPicoContainer.createSingleton(AgentPicoContainer.java:135) at MultiTenantAgentClassLoader/com.cisco.mtagent.core.AgentPicoContainer.initializeMultiTenantAgent(AgentPicoContainer.java:108) at MultiTenantAgentClassLoader/com.cisco.mtagent.core.AgentPicoContainer.bootstrapMultiAgentInstances(AgentPicoContainer.java:71) at MultiTenantAgentClassLoader/com.cisco.mtagent.core.AgentPicoContainer.bootstrapMultiTenantAgent(AgentPicoContainer.java:58) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at com.cisco.mtagent.entry.MTAgent$2.run(MTAgent.java:324) Caused by: java.lang.IllegalAccessError: superinterface check failed: class io.opentelemetry.javaagent.instrumentation.okhttp.v3_0.TracingInterceptor (in unnamed module @0x7aeb0422) cannot access class okhttp3.Interceptor (in module MultiTenantAgentClassLoader) because module MultiTenantAgentClassLoader does not export okhttp3 to unnamed module @0x7aeb0422 at java.base/java.lang.ClassLoader.defineClass1(Native Method) at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1017) at java.base/java.lang.ClassLoader$ByteBuddyAccessor$GCVZL2mm.defineClass(Unknown Source) at java.base/jdk.internal.reflect.GeneratedMethodAccessor44.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at net.bytebuddy.dynamic.loading.ClassInjector$UsingReflection$Dispatcher$UsingUnsafeInjection.defineClass(ClassInjector.java:995) ... 47 more Testing I verified this locally using Tomcat 9 on Correto 11 with Hypertrace and Appdynamics installed. Checklist: My changes generate no new warnings I have added tests that prove my fix is effective or that my feature works (N/A, we don't have a good way to test other agenets) Any dependent changes have been merged and published in downstream modules Documentation Make sure that you have documented corresponding changes in this repository or hypertrace docs repo if required.

Open Graph Description: Description When running the Hypertrace Javaagent with the Appdynamics javaagent on 9+ JVM, the following error occurs after ~3 minutes of leaving an app server running with no HTTP traffic [Cisco-...

X Description: Description When running the Hypertrace Javaagent with the Appdynamics javaagent on 9+ JVM, the following error occurs after ~3 minutes of leaving an app server running with no HTTP traffic [Cisco-...

Opengraph URL: https://github.com/hypertrace/javaagent/pull/326

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:4380e715-3d9a-1842-7d4e-6e3f88d78b0c
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9C62:14248:B3C685:1032413:6A4E47B4
html-safe-nonce2f8013ab7df69f945fdf40a45de7f272dea18e0ee52e13af1b1bd95243c82ef7
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QzYyOjE0MjQ4OkIzQzY4NToxMDMyNDEzOjZBNEU0N0I0IiwidmlzaXRvcl9pZCI6IjQ3NTQ5MjM5NzQxMDE0NTI3MjQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacd51a23ed751395e0e28554df54a249c30d8a8dcbe7f93bd17d7d95eaa8b1cde2
hovercard-subject-tagpull_request:677559090
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/hypertrace/javaagent/pull/326/files
twitter:imagehttps://avatars.githubusercontent.com/u/8192732?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/8192732?s=400&v=4
og:image:altDescription When running the Hypertrace Javaagent with the Appdynamics javaagent on 9+ JVM, the following error occurs after ~3 minutes of leaving an app server running with no HTTP traffic [Cisco-...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None030096ee0db095447bfe77409d33bfac127ca7128299c58deef27c52eaa1b1f0
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/hypertrace/javaagent git https://github.com/hypertrace/javaagent.git
octolytics-dimension-user_id65374698
octolytics-dimension-user_loginhypertrace
octolytics-dimension-repository_id302314733
octolytics-dimension-repository_nwohypertrace/javaagent
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id302314733
octolytics-dimension-repository_network_root_nwohypertrace/javaagent
turbo-body-classeslogged-out env-production page-responsive
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasee8506f6d0538364886e3f0153c154c410965e70d
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/hypertrace/javaagent/pull/326/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fhypertrace%2Fjavaagent%2Fpull%2F326%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fhypertrace%2Fjavaagent%2Fpull%2F326%2Ffiles
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=hypertrace%2Fjavaagent
Reloadhttps://github.com/hypertrace/javaagent/pull/326/files
Reloadhttps://github.com/hypertrace/javaagent/pull/326/files
Reloadhttps://github.com/hypertrace/javaagent/pull/326/files
Please reload this pagehttps://github.com/hypertrace/javaagent/pull/326/files
hypertrace https://github.com/hypertrace
javaagenthttps://github.com/hypertrace/javaagent
Notifications https://github.com/login?return_to=%2Fhypertrace%2Fjavaagent
Fork 14 https://github.com/login?return_to=%2Fhypertrace%2Fjavaagent
Star 37 https://github.com/login?return_to=%2Fhypertrace%2Fjavaagent
Code https://github.com/hypertrace/javaagent
Issues 35 https://github.com/hypertrace/javaagent/issues
Pull requests 4 https://github.com/hypertrace/javaagent/pulls
Discussions https://github.com/hypertrace/javaagent/discussions
Actions https://github.com/hypertrace/javaagent/actions
Projects https://github.com/hypertrace/javaagent/projects
Security and quality 0 https://github.com/hypertrace/javaagent/security
Insights https://github.com/hypertrace/javaagent/pulse
Code https://github.com/hypertrace/javaagent
Issues https://github.com/hypertrace/javaagent/issues
Pull requests https://github.com/hypertrace/javaagent/pulls
Discussions https://github.com/hypertrace/javaagent/discussions
Actions https://github.com/hypertrace/javaagent/actions
Projects https://github.com/hypertrace/javaagent/projects
Security and quality https://github.com/hypertrace/javaagent/security
Insights https://github.com/hypertrace/javaagent/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fhypertrace%2Fjavaagent%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fhypertrace%2Fjavaagent%2Fissues%2Fnew%2Fchoose
ryandenshttps://github.com/ryandens
mainhttps://github.com/hypertrace/javaagent/tree/main
appdynamics-classloaderhttps://github.com/hypertrace/javaagent/tree/appdynamics-classloader
Conversation 12 https://github.com/hypertrace/javaagent/pull/326
Commits 1 https://github.com/hypertrace/javaagent/pull/326/commits
Checks 0 https://github.com/hypertrace/javaagent/pull/326/checks
Files changed https://github.com/hypertrace/javaagent/pull/326/files
Please reload this pagehttps://github.com/hypertrace/javaagent/pull/326/files
Ignore appdynamics/cisco multi tenant agent module https://github.com/hypertrace/javaagent/pull/326/files#top
Show all changes 1 commit https://github.com/hypertrace/javaagent/pull/326/files
9c1254d :bug: fix conflict with appdynamics/cisco multi tenant agent module ryandens Jun 25, 2021 https://github.com/hypertrace/javaagent/pull/326/commits/9c1254dfb6814412494aae1b72d27fdbd2b2102a
Clear filters https://github.com/hypertrace/javaagent/pull/326/files
Please reload this pagehttps://github.com/hypertrace/javaagent/pull/326/files
Please reload this pagehttps://github.com/hypertrace/javaagent/pull/326/files
...ons/src/main/java/org/hypertrace/agent/otel/extensions/HypertraceGlobalIgnoreMatcher.javahttps://github.com/hypertrace/javaagent/pull/326/files#diff-1dbf8a376783e00ca9a37f89f1b2daed768817ad191ad474bb8fd88c8806a78e
View file https://github.com/hypertrace/javaagent/blob/9c1254dfb6814412494aae1b72d27fdbd2b2102a/otel-extensions/src/main/java/org/hypertrace/agent/otel/extensions/HypertraceGlobalIgnoreMatcher.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/hypertrace/javaagent/pull/326/{{ revealButtonHref }}
https://github.com/hypertrace/javaagent/pull/326/files#diff-1dbf8a376783e00ca9a37f89f1b2daed768817ad191ad474bb8fd88c8806a78e
https://github.com/hypertrace/javaagent/pull/326/files#diff-1dbf8a376783e00ca9a37f89f1b2daed768817ad191ad474bb8fd88c8806a78e
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.