• Forums
    • Public Forums
      • Community Connect
      • Dynatrace
        • Dynatrace Open Q&A
      • Application Monitoring & UEM
        • AppMon & UEM Open Q&A
      • Network Application Monitoring
        • NAM Open Q&A
        • Enterprise Synthetic Monitoring
      • Synthetic Classic
        • Synthetic Classic Open Q&A
  • Home /
  • Public Forums /
  • Application Monitoring & UEM /
  • AppMon & UEM Open Q&A /
avatar image
Question by Derick H. · Sep 09, 2013 at 03:46 PM ·

Could dynaTrace prevent the execution of a Servlet?

Hi,

 

Not being a Java developer myself, I need a bit of advice from the dynaTrace and Java gurus. I am busy with a dynaTrace 5.5 PoC, and have encountered a situation which the client claims is caused by the dynaTrace agent. As far as I'm aware, dynaTrace is designed in such a way that it won't prevent execution, am I correct?

The client is using a Websphere application server (Java 1.4) and is scheduling a "DailyScheduleServlet" to run at a specified time every day. This Servlet is designed to schedule a number of smaller jobs. The Servlet  uses the normal doGet and doPost calls. It kicks off on time, but does not execute the tasks it should. The developer then suspected that dynaTrace didn't like the fact that the doGet was called with null parameters, so he changed the way the calls are made. The Servlet then ran as expected. The problem is that the production machines are running the original version of the calls, so the client is disabling the dynaTrace agents as a workaround.

Is there a sound argument to convince them that dynaTrace is not the cause of the problem? How would I conclusively prove that it is the code that is the problem? The problem is that the code runs without the agent, and not if the agent is active.

Thanks,

Derick

Comment

People who like this

0 Show 0
10 |2000000 characters needed characters left characters exceeded
â–¼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 52.4 MB each and 262.1 MB total.

3 Replies

  • Sort: 
  • Most voted
  • Newest
  • Oldest
avatar image

Answer by James M. · Sep 11, 2013 at 08:16 PM

 

We think we're seeing a similar (same?) issue here in Fidelity. We have a static content page (SiteStatus.htm) which when referenced and dynaTrace Servlet monitoring is turned on it doesn't return correctly (causes an HTTP 404 error); without dynaTrace on it works fine.

The issue may be related to the location of this file: …/tomcat/webapps/ROOT/SiteStatus.htm, as opposed to inside the normal content hierarchy. If we reference the URL http://asappw33devv:81 it automatically redirects to http://asappw33devv/ourapp. With dynaTrace enabled, it doesn't.

We'll get a support ticket opened up on this.

Comment

People who like this

0 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
â–¼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 52.4 MB each and 262.1 MB total.

avatar image

Answer by Christian S. · Sep 10, 2013 at 03:16 PM

hi Derick,

similar to Andy, i don't really see a reason why the Servlet Sensor would change the behavior of the code.

maybe you or your client could shed some light on this scenario:

  • how and based on which input parameters is this DailyScheduleServlet kicking off these tasks? are you able to see these tasks in the PurePath?
  • what did the client change to make it work again? what do you mean with "null parameters"?
  • and, as Andy already said: the configuration of any specific capturing may be interesting, as well.

best,

Christian

Comment

People who like this

0 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
â–¼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 52.4 MB each and 262.1 MB total.

avatar image

Answer by Andreas G. · Sep 09, 2013 at 03:52 PM

Hi Derick

There is no feature in dynaTrace the would prevent a request from being executed. The only explanation I have is that something may go wrong in our servlet introspection - meaning - the code that we inject in doGet, doPost, doXXX where we for instance capture HTTP Parameters, Headers, IP Address, ...

In order to capture this information we access the Servlet Request Context. As you probably know it is also possible to capture all these parameters, headers, session attributes, ... - we also allow to specify an accessor. Can you double check if the customer has defined any specific capturing and whether this might be the reason?

Also - if they know the exact URL you could give it a try and add this URL to the exclusion list in the Servlet Sensor Properties. This would for instance tell our Servlet Sensor to NOT capture anything if the URL matches a certain pattern

Comment

People who like this

0 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
â–¼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 52.4 MB each and 262.1 MB total.

Join the conversation!

First steps in the forum
Community User Guide

LIVE WEBINAR

"Power Demo: Software Intelligence for Cloud Infrastructure"


DECEMBER 12, 10:00 AM GMT / 2:00 PM ET

Register here

Live webinar: Ensuring Digital Business Availability with Dynatrace

Learn how Dynatrace Real User Monitoring automatically detects errors that impact your end users caused by erroneous 3rd party or CDNs.
December 10, 4:00 pm CET / 10:00 am ET
Register here

Live webinar: Ensuring Digital Business Availability with Dynatrace

Learn how Dynatrace Real User Monitoring automatically detects errors that impact your end users caused by erroneous 3rd party or CDNs.
December 10, 4:00 pm CET / 10:00 am ET
Register here

Live webinar: Ensuring Digital Business Availability with Dynatrace

Learn how Dynatrace Real User Monitoring automatically detects errors that impact your end users caused by erroneous 3rd party or CDNs.
December 10, 4:00 pm CET / 10:00 am ET
Register here

Follow this Question

Answers Answers and Comments

2 People are following this question.

avatar image avatar image

Forum Tags

dotnet mobile monitoring load iis 6.5 kubernetes mainframe rest api errors dashboard framework 7.0 appmon 7 health monitoring adk log monitoring services auto-detection uem webserver test automation license web performance monitoring ios nam probe collector migration mq web services knowledge sharing reports window java browser agent community user guide hybris javascript appmon sensors good to know search 6.3+ server documentation easytravel web dashboard kibana system profile purelytics docker splunk 6.1 process groups account 7.2 rest dynatrace saas spa guardian appmon administration production user actions postgresql upgrade oneagent measures security Dynatrace Managed transactionflow diagnostics user session monitoring unique users continuous delivery configuration alerting NGINX splitting business transaction client 6.3 installation chart database scheduler apache mobileapp RUM php dashlet azure purepath plugins agent 7.1 appmonsaas messagebroker nodejs 6.2 incidents android sensor performance warehouse
  • Forums
  • Public Forums
    • Community Connect
    • Dynatrace
      • Dynatrace Open Q&A
    • Application Monitoring & UEM
      • AppMon & UEM Open Q&A
    • Network Application Monitoring
      • NAM Open Q&A
      • Enterprise Synthetic Monitoring
    • Synthetic Classic
      • Synthetic Classic Open Q&A