Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Taking a lot of time when running with aspectj jar as javaagent #28

Open
yadavan88 opened this issue Mar 10, 2015 · 1 comment
Open

Comments

@yadavan88
Copy link

I am using one-jar to package my application. I am also using aspectj for some of the functionality. However, it is taking too much time (5min- 15min) just to start the jar file if I provide the javaagent as the aspectjweaver jar file. It is working fine if I run through sbt, with no delay in weaving. Is there anything I can do to make it faster ?
Also, I guess, I have to explicitly provide the javaagent while running the jar file. Is it not able to take it from the build.sbt, or am I missing something ?

@ixaxaar
Copy link

ixaxaar commented Jan 19, 2016

+1 same issue, kamon-newrelic requires aspectj, and specifying -javaagent:/root/.ivy2/cache/org.aspectj/aspectjweaver/jars/aspectjweaver-1.8.2.jar to a one-jar its taking 10mins to load.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants