There's a Java Web application runing on Resin, end user uses browser to access the applicaiton directly (no any Web Server in between).
I found OneAgent only injected JS to pages without gzip, while most of the pages were gzip compressed.
Any idea on how to use RUM at this situation?
Solved! Go to Solution.
What about manually injecting the tag?
Hi Dante, manual injection and browser extension is not acceptable in the environment. We are looking for the possibility of tunning in OneAgent side.
Quick solution is to turn off the gzip compression (if this is possible). I don't have any experience with Resin, but I've encountered such situation more than once and it happens when output is gzip compressed too soon in the stack (actually the servlet produces gzip output).
Other methods you can do:
Thanks for the suggestion.
I tested Tomcat with gzip, OneAgent can inject js, so I think OneAgent has the capability to inject js before gzip filter run.
You are right. On Java our OneAgent only injects into non compressed responses. The OneAgent tries to find a possibility to hook into the response processing chain before a compression takes place, which seems not to work for your environment.
These are our 4 main possibilities to overcome this challenge:
Please create a support ticket in order to investigate if 1) or 2) can work. Please keep in mind that this works like we have designed it, as most of our customers are using a web server in front of their Java tier and we want to reduce the overhead on the "application tier" to the minimum.
But we can try to find a workaround.
All the best, Alex
Hi Alex, how to perform method 2? Any detailed steps?
Suport case is 21227
We have java i.e tomcat infront of our loadblancer we don't have any apache webserver. Will RUM get injected in this case?
We dont see RUM data on oneagent tenant. Can someone help?