-
Notifications
You must be signed in to change notification settings - Fork 324
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
Application Crashing #444
Comments
I'm sorry to hear that. What error do you get? Could you attach the debug logs of the agent? Pro tip: you only need |
This is how it is crashing. |
Could you send me the |
I have noticed strange thing that I was able to integrate the APM when ran through command line but it is not from eclipse.
I am using java 8 and can share the logs by Monday.
Thanks
|
Hi, it would be great if you could send me the logs :) |
Sorry for the delay. Actually we no longer need this functionality so didn't invest more on this but fyi I was able to run it successfully when executed the application from command line. application crashed only if I ran directly from eclipse. |
You are using a fairly old build of Java 8 (1.8.0u25). I would advise to update to the latest version (currently 1.8.0u201). That would likely fix the problem. Are you interested in trying this out our is that not relevant to you anymore? |
Although we don't need this functionality now but I can still try it out. I am still curious to know reason of crashing in eclipse only.
Get Outlook for Android<https://aka.ms/ghei36>
…________________________________
From: Felix Barnsteiner <[email protected]>
Sent: Friday, February 8, 2019 4:16:24 PM
To: elastic/apm-agent-java
Cc: amravisharma; Author
Subject: Re: [elastic/apm-agent-java] Application Crashing (#444)
You are using a fairly old build of Java 8 (1.8.0u25). I would advise to update to the latest version<https://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html> (currently 1.8.0u201). That would likely fix the problem.
Are you interested in trying this out our is that not relevant to you anymore?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#444 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AmIIV2bfriAFcrYFNUjNJHAhGYwOTDLhks5vLVWAgaJpZM4aQZjo>.
|
It would be great if you could try that out. My guess is that you have a different (older) JVM version configured in Eclipse. |
I tried with with 1.8.0_162 and test for 30 odd minutes and found it working without any error.
Thanks for the fix
Ravi
Get Outlook for Android<https://aka.ms/ghei36>
…________________________________
From: Felix Barnsteiner <[email protected]>
Sent: Friday, February 8, 2019 4:45:21 PM
To: elastic/apm-agent-java
Cc: amravisharma; Author
Subject: Re: [elastic/apm-agent-java] Application Crashing (#444)
It would be great if you could try that out.
My guess is that you have a different (older) JVM version configured in Eclipse.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#444 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AmIIV4YlBGSPE3aPzSwRESm0bKAlBDwkks5vLVxJgaJpZM4aQZjo>.
|
Cool, thanks for confirming that! |
My application is crashing with elastic-apm-agent. I using java 8 with embedded jetty and running the application from eclipse with following arguments to JVM.
-javaagent:D:\tools\elastic-apm-agent-1.2.0.jar -Delastic.apm.service_name=gridmind-apm-service -Delastic.apm.application_packages=com.oati,com.oati.scada,com.oati.mastercontroller -Delastic.apm.server_urls=http://localhost:8200
The text was updated successfully, but these errors were encountered: