Giter Site home page Giter Site logo

Comments (3)

tylerbenson avatar tylerbenson commented on June 18, 2024

@connorwescott42 . TL;DR: It seems you might have something odd happening with your permissions. Perhaps the process only has write permissions for that directory?

At that point in the code, the agent tried to write out some jars to be loaded onto the classpath. This might be caused by the agent being unable to write those to the file system. Can you try launching your application in a debugger (attaching to it via remote debugging won't work) and seeing if those files were successfully written to the file system? If so, ensure that it has permissions to read the jar file it wrote.

Thanks!

from dd-trace-java.

ConnorWescott-TR avatar ConnorWescott-TR commented on June 18, 2024

@tylerbenson Thanks for your assistance. After placing a breakpoint on the failing line, I noticed that the jars were being stored in "C:\Windows\Temp", which is a secure directory. I simply changed my System Environment variable to set TMP and TEMP to a more appropriate value ("%USERPROFILE%\AppData\Local\Temp") and it is working now!

Thanks again.

from dd-trace-java.

tylerbenson avatar tylerbenson commented on June 18, 2024

We are using the generic temp directory as identified by the JVM. Do you have any ideas for how we could improve this process?

Glad to hear you got it figured out though.

from dd-trace-java.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.