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.
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:
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