## Where communities thrive

• Join over 1.5M+ people
• Join over 100K+ communities
• Free without limits
##### Activity
Priyabrata Chatterjee
@priyochatterjee08
How to work with multiple java agents ?For eg , I have put two java agents- one is inspectIT java agent and other one is intershop java agent:
set JAVA_OPTS=%JAVA_OPTS% -javaagent:%INSPECTIT_AGENT_HOME%\inspectit-agent.jar -Dinspectit.repository=localhost:9070 -Dinspectit.agent.name=ISH
set JAVA_OPTS=%JAVA_OPTS% -javaagent:%IS_HOME%/lib/ish-runtime.jar
But I am getting classcast exception:
proxied.rocks.inspectit.agent.java.eum.instrumentation.TagInjectionResponseWrapper\$inspectIT_proxy cannot be cast to com.intershop.beehive.core.capi.request.ServletResponse
Ivan Senic
@ivansenic
it can be that two agents are not compatible with each other, depends what each is doing to your environment
seams that the intershop one does not work with the http response wrappers, but tries to cast our wrapper to their ServletResponse class
which would fail of course
Priyabrata Chatterjee
@priyochatterjee08
@ivansenic I think I had done some misconfiguration in profiles. After a clean installation, it worked smoothly.
roman8422
@roman8422
Hi everyone. Is CMR scalable? Can I run it on multiple servers for better performance and fault tolerance? I didn't find this information in documentation.

@47181770
Same question as @roman8422
Thanos Ntouzidis
@thanosntou
Good evening. Is there a way to monitor the sql queries through the web-based UI of Grafana (like i am already doing with http, cpu, memory, etc). Right now they get monitored only through the InspectIT Analysis UI.
Ivan Senic
@ivansenic
@roman8422 @47181770 In simple words, no CMR is not scalable, it's a classic monolith app. The reason for this is that when we started working on inspectIT our initial intention was not that the product is used in production, but only on pre-prod, int, dev stages. This is why security and scalability were never taken care of. However, we hear a lot of people wants to use inspectIT in the production and we are working hard on figuring out what's the best direction for inspectIT at the moment (read http://www.inspectit.rocks/public-announcement-inspectit-future-plans-and-road-map/).
@thanosntou you have information in the mail

@47181770
I want to use the inspectIT in my production environment
mukul423
@mukul423
Our local environment is based on Vagrant...so Tomcat etc. runs inside Vagrant....if we run CMR & InspectIT UI outside vagrant, will it work fine? Meaning, are there are any known issues around Vagrant for InspectIT?
also, I keep getting this issue: inspectIT/inspectIT#240
below fix proposed here didn't work:
increase the heap space available for the CMR process by altering the startup script and setting following parameters: -Xms6g -Xmx6g -Xmn1536m
mukul423
@mukul423
Raj Kumar
@RajKumarBalaiya
i got this exception while start inspectit
Raj Kumar
@RajKumarBalaiya
main] ERROR spectit.agent.java.SpringAgent - inspectIT agent initialization failed. Agent will not be active.
sillekyatha
@sillekyatha
@RajKumarBalaiya : Your command should be similar to something like this- java -javaagent:./inspectit-agent.jar "-Dinspectit.repository=localhost:9070" "-Dinspectit.agent.name=TestAgent" -jar C:\Test\Java2Demo.jar
sillekyatha
@sillekyatha
@ivansenic Can you please point me to a valid document to configure 'Use Case Aggregation' (Http Sensor) with tags, aggregating requests based on Header value.
Ivan Senic
@ivansenic
@sillekyatha this feature is not available since we moved to the UI based configuration
unfortunately, there is no way to configure the agent correctly in order to collect needed information
sorry
emincevikol
@emincevikol
hello, does inspectIT support the websphere 9?
Ivan Senic
@ivansenic
it should, but with IBM products is always a bit of struggle to make the things work
should be easy to quickly check if you get any errors when starting if you inject the inspectIT agent
Fabio
Hi, I should collect sql statements for a microservices that writes on a remote cassandra DB. Is there a guide to configure InspectIT in order to track sql statements. It seems that they are all masquerades.
Ivan Senic
@ivansenic
you need to instrument the Cassandra driver and add the context capturing that would collect the statements/queries
however, I am not aware what exactly a proper instrumentation point would be
from one of my older answers:
Let's take the Casandra java driver from DataStax as the example. If you use this driver you could easily instrument the Session class and monitor it's execute methods. You could in addition capture the query parameter and you would be able to see also what query it was. Sure if won't be nicely displayed and organized as for the SQL statements, but at least you could get some basic information.
Fabio
so you're saying to change my code to allow InspectIT to monitor cassandra sql statements?
Ivan Senic
@ivansenic
no create a profile in inspectIT that will instrument the Session implementation class
Fabio
ok, I understood
Ivan Senic
@ivansenic
Fabio
I'll try to instrument it now and I give you the outcome about it
amrt06
@amrt06
hi...How to configure Jboss Application with inspectit
Patrice Bouillet
@pbouillet
Hi @amrt06 , did you see our documentation at https://inspectit-performance.atlassian.net/wiki/spaces/DOC17/pages/54657070/Installation+JBoss+WildFly ? Otherwise take a look and try it out for you!
amrt06
@amrt06