You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using FusionReactor with CommandBox, static files such as js, css, or jpgs show in the FR UI with the transaction name of "URLRewriteFilter". This is because FR tries to "guess" the name based on the enclosing servlet, which can lead to completely random transaction names based on the servlet filter that happens to be wrapping the request. This is purely a cosmetic thing, but detect if the FR classes are in the classpath and use this code to set the transaction information to something like "Static File" for requests that are being managed by the static file handler and NOT being passed to ColdFusion.
When using FusionReactor with CommandBox, static files such as js, css, or jpgs show in the FR UI with the transaction name of "URLRewriteFilter". This is because FR tries to "guess" the name based on the enclosing servlet, which can lead to completely random transaction names based on the servlet filter that happens to be wrapping the request. This is purely a cosmetic thing, but detect if the FR classes are in the classpath and use this code to set the transaction information to something like "Static File" for requests that are being managed by the static file handler and NOT being passed to ColdFusion.
Also, do not just use a try catch, check for the actual class name and cache the check for performance.
The text was updated successfully, but these errors were encountered: