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
Unable to find class 'akka.event.Logging.LogEvent' in repository #183
Comments
I got the same issue here. |
Hello there! Sorry for taking too long to jump into this. Did you guys find any solution to this issue?.. BTW, setting |
I never did. But I also got tasked to other issues, so I have not taken a look again in a while. |
Same here. Any solution? |
I'm also facing the same issue, any body know the answer pls update in this post |
Play have some limitations when trying to set a java agent in |
We're also facing this problem in |
how you are runnig the application in prod? in this manner you are running other agent like new relic? |
we're using the script generated by play: And we've no other agents running. |
With Play: bin/my-service -v -J-javaagent:lib/aspectjweaver-1.8.5.jar Above command-line works for me. |
I'm trying to run in dev mode as activator run -J-javaagent:"aspectjweaver-1.8.3.jar" and getting errors as [error] o.a.w.b.BcelWorld - Unable to find class 'scala.concurrent.impl.Future.PromiseCompletingRunnable' in repository Is there any changes, I should be doing in the way of running? |
Hi. I think I'm running into the same problem. Versions:
The application is run in prod mode, using the script generated by "./activator dist", ie. Error messages:
|
Hi, you can try with this:
cheers, Diego On Wed, Jun 17, 2015 at 11:06 AM, Claudio Bley notifications@github.com
|
@dpsoft: thanks. I just tried it and this works on my local machine, just as well as using the script generated by activator. But it fails on my dev server. On my local machine, I'm using OpenJDK 1.8 , on the server its Oracle's JDK. The server is running CentOS 7.1.1503. |
@avdv you are running other agent like new relic? |
no, I used to run Jolokia, but already eliminated that as the source of the errors (I removed it). But I'll double-check tomorrow that it hasn't creeped in again. |
I tried this
and now i'm not getting the classnotfoundexceptions, thanks @dpsoft but when starting the kamon i'm getting this error [INFO] [06/22/2015 16:20:09.878] [main] [SystemMetricsExtension(akka://kamon)] Starting the Kamon(SystemMetrics) extension and i'm getting Trace metrics and System metrics logs in the console, but "No metrics reported" for Actor Metrics |
Hi, the sigar-loader library will try to load sigar first, and if it fails then cheers, Diego On Mon, Jun 22, 2015 at 5:21 PM, ksnagendran notifications@github.com
|
Thanks @dpsoft for your quick response. |
i'm getting the logs as like below. Processing time, time in mail box and mailbox size showing zero values. Actor: test/user/simple-service-actor | did I missed anything? |
@osbornk, Guys, we have been worked in a sbt plugin that allow perform LTW in sbt and we will be able to do run in development mode in play seamlessly. sbt-aspectj-runner. Enjoy!!!!! |
I am getting 7-8 of these messages on startup:
ava.lang.ClassNotFoundException: akka.event.Logging.LogEvent not found - unable to determine URL
at org.aspectj.apache.bcel.util.ClassLoaderRepository.loadClass(ClassLoaderRepository.java:292) ~[aspectjweaver-1.8.5.jar:1.8.5]
at org.aspectj.weaver.bcel.BcelWorld.lookupJavaClass(BcelWorld.java:418) [aspectjweaver-1.8.5.jar:1.8.5]
at org.aspectj.weaver.bcel.BcelWorld.resolveDelegate(BcelWorld.java:392) [aspectjweaver-1.8.5.jar:1.8.5]
at org.aspectj.weaver.ltw.LTWWorld.resolveDelegate(LTWWorld.java:107) [aspectjweaver-1.8.5.jar:1.8.5]
at org.aspectj.weaver.World.resolveToReferenceType(World.java:477) [aspectjweaver-1.8.5.jar:1.8.5]
This is an Akka Play application.
I am starting the application with the following command:
activator -jvm-debug 9999 -Dhttps.port=9443 -J-javaagent:/Users/Me/.ivy2/cache/org.aspectj/aspectjweaver/jars/aspectjweaver-1.8.5.jar
In application.conf, I have this:
akka {
extensions = ["kamon.metric.Metrics", "kamon.logreporter.LogReporter"]
}
I have also imported kamon-core, kamon-play, kamon-log-reporter, and kamon-system-metrics in my build.sbt,
In build.stb, I have tried setting "fork in run" to both true and false. Is there anything else I should be doing?
The text was updated successfully, but these errors were encountered: