-
Notifications
You must be signed in to change notification settings - Fork 69
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 connect to port / Guide for Embedded Tomcat #238
Comments
@dvolkov17 please create a prototype which starts embedded tomcat with a moskito monitored class in it and connects through moskito-inspect. |
Thanks |
Issue #1 : Failed to read artifact descriptor for org.json:json:jar:1.0: Could not transfer artifact org.json:json:pom:1.0 from/to provided (http://nexus.anotheria.net/nexus/content/groups/public): Authorization failed for http:/ Steps to reproduce Add as specified here (https://anotheria.net/blog/msk/the-complete-moskito-integration-guide-step-1/) net.anotheria moskito-inspect-remote ${moskito.version}Issue #2 : Configuration$MoskitoConfigurationHolder : Failed to configure! Relying on defaults! [No such configuration: moskito-aspect-config (FILE::moskito-aspect-config::JSON)] Step to reproduce : 1.Annotate a Spring Boot project with @monitor Isse #3 : n.a.moskito.core.util.BuiltInOSProducer : Couldn't find unix version of os class: com.sun.management.UnixOperatingSystemMXBean, osstats won't operate properly for all stats. Steps to reproduce 1.Annotate a Spring Boot project with @monitor |
Thanks for the support. Some vital and concise information is missing from the guide on how to use Moskito. I would like to document a guide for using Moskito with Spring Boot in standalone or embedded. Let me know if you're okay with that. Thanks |
Guide
1.How to integrate Moskito with Spring Boot(Embeed Tomcat)
Issue
Moskito not connecting to localhost/9401 or any provided port
Steps to reproduce
[a.] Follow this guide https://anotheria.net/blog/msk/the-complete-moskito-integration-guide-step-1/
and this (https://anotheria.net/blog/msk/monitoring-existing-application-using-moskito-javaagent/)
[b.]Annotate the class with the @monitor
[c.]Start Moskito (via moskito-inpsect/startup.sh or move the war file inside the moskito-inspect/webapps to your PC tomcat/webapp)
[d.]Connect the localhost/port via UI as specified inside catalina.sh of your web Apache Tomcat dir
Q. What catalina.sh I'm setting the(The one at the Moskito dir, or the installed Apache Tomcat on my PC)?
I look forward to hearing from you.
Thanks
The text was updated successfully, but these errors were encountered: