20 Sep 2019 07:31 AM
Hello Community!
Maybe somebody have experience and have such case as have I.
UPD: Our customer uses 7.0.0.43 & 7.0.0.37 IBM WAS.
Java VM Info ................ JRE 1.6.0 IBM J9 2.4 Windows Server 2008
Platform .................... Windows Server 2008 R2 Datacenter Service Pack 1 6.1.7601 x64
We have such settings for process group:
=========================
Automatically inject real user monitoring JavaScript tag
Enable to inject JavaScript tag into each HTML request processed by this process group.
=========================
For default application and for application with manually configuration RUM is enabled. Also we have settings - 100% session for analyze.
Problem: Instrumentation of the Javascript tag not working. I have no JS agent in source code of page. RUM is not working for these servers.
Additionally i try to use settings but there is no result:
JavaScript injection
URL ends with * ( After specific HTML </title> )
Additionally i try to save source code to NGINX server - and there is no problem with injecting page. Automatic injection for NGINX on such page was successful.
Additionally i have check logs and there is no critical messages in part of RUM or injection. Only info, for example:
|
Maybe somebody have such case or have useful advice to me. Thank you.
Regards,
Alexander
Solved! Go to Solution.
20 Sep 2019 07:47 AM
First, I'm not sure whether you information about WAS version is correct. WAS did not have a version 7.2 (just version 7 in the 7 branch). Anyway WAS 7 is unsupported and I personally have been unsuccessful with monitoring WAS 7 correctly with OneAgent in recent versions. It seemed to be working at the first sight, but it was not. It, for example, did find application services.
Back to the RUM injection - first thing I'd try is to rule out the issue at application side. Some Java frameworks are producing compressed output already (if browser sends header to accept compression). Dynatrace won't inject RUM in this case, since it would be necessary to uncompress the output, check if it's possible to inject JS, inject the JS and compress it back. That's a significant overhead.
So simple check via curl:
curl http://yourwas:yourport/yourapp -H "Accept-Encoding: none" -A "Mozilla"
The "Accept-Encoding: none" will tell the server not to produce a compressed response. The user agent string is important is also required as to requests with curl or wget default user agent string will be ignored by Dynatrace and RUM will not be injected.
20 Sep 2019 07:51 AM
Thank you, i will check this.
IBM versions - 7.0.0.43, another application use - 7.0.0.37
23 Sep 2019 07:31 AM
Unfortunately, this version (7.X.X.XX ) is not supported.
We have server side data, service calls, JVM metrics, but in supported technologies i can see there is no support for 7.X.X.XX
Only these versions are supported by Dynatrace:
IBM WebSphere Application Server | 8, 8.5, 8.5.5, 9.0 |
Regards,
Alexander
23 Sep 2019 07:37 AM
Also manual injection or agentless options can also be a way to solve this issue.