to add more details, where do we put the *jmxremote.password file and how do the jacocoagent reference it*
On Monday, December 30, 2024 at 12:12:00 PM UTC-6 sudheer kumar wrote: > Thank you for your response. > > I am new to this. Can you give me more insights on how to use jmx. > > So i start the application with the jacocoagent as below > > java > -javaagent:/path/to/jacoco-agent.jar=jmx=true,output=tcpserver,address=*,port=<port_number> > > -jar <your_application>.jar > > how do i pass credentials for jmx in above ?? so i can use the same > credentials when using jmx client to dump the coverage > > On Thursday, December 26, 2024 at 12:13:19 PM UTC-6 Evgeny Mandrikov wrote: > >> Hi, >> >> you can connect via JMX - see “jmx” parameter of JaCoCo agent, for JMX >> AFAIK you can enable authentication >> >> Regards, >> Evgeny >> >> >> >> On Thu, 26 Dec 2024 at 18:53, sudheer kumar <[email protected]> wrote: >> >>> Hi All, >>> >>> We recently started doing POC on functional/automation testing code >>> coverage tools and want to use Jacoco for our Java Apps. >>> >>> The problem we are facing using dump command without authentication. Our >>> devops teams are not ready to open the tcp ports on the app server, so we >>> can run the dump commands over tcp. >>> >>> I read through the Jacoco docs and other questions and I understand >>> Jacoco does not provide any authentication functionality. >>> >>> Before i start solutioning, I want to hear different thoughts and >>> suggestions from the team. >>> >>> Please guide. >>> >>> Thanks, >>> Sudheer >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "JaCoCo and EclEmma Users" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> To view this discussion visit >>> https://groups.google.com/d/msgid/jacoco/c06eb363-63c2-4242-8127-53e3a3052ddcn%40googlegroups.com >>> >>> <https://groups.google.com/d/msgid/jacoco/c06eb363-63c2-4242-8127-53e3a3052ddcn%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> >> -- You received this message because you are subscribed to the Google Groups "JaCoCo and EclEmma Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/jacoco/3a210802-d8ec-4127-a0f2-2f2faa4c21ean%40googlegroups.com.
