• 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
  • Home /
  • Public Forums /
  • Application Monitoring & UEM /
  • AppMon & UEM Open Q&A /
avatar image
Question by Stefan M. · Nov 24, 2015 at 10:51 AM · agent java

dynaTrace agent applied to AjaxSwing application

Anyone have any success in applying a dynaTrace JVM agent to a AjaxSwing application? (

http://www.creamtec.com/products/ajaxswing/)

We have tried applying it to software from CLEO, and apparently its not working properly, the application never boots up:

com.creamtec.ajaxswing.core.AjaxSwingException

AjaxSwingException: Failed to start client agent process using command line <br>[Ljava.lang.String;@6b01df06<br>(process exited with value 1)<p>Check the installation and persmissions on files and make sure AJAXSWING_HOME is set.

It could also be an actual permission issue, as in the ajaxswing webserver cannot load the dtagent.dll - which then points me to the question - will Dynatrace support AjaxSwing at some point?

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
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

2 Replies

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

Answer by Stefan M. · Dec 01, 2015 at 07:25 AM

update, hi Andreas - and thank you for your feedback. We succesfully managed to get the application instrumented and found a few bugs in some 3.party software (sent to CLEO software).

The issue was that the jvm proces in question was being booted by an internal runtime call, and this was intercepting the jvm arguments and performing a few "tricks" to the arguments. In this situation it was stripping key tokens like '\' (not so good for a path definition), but we managed to get around it.

for the record,

CLEO VLTrader can be fully instrumented by dynaTrace, both the serverside, ui (webclient - Ajaxswing) and the console application.

Comment
Andreas G.

People who like this

1 Show 1 · 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
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image Andreas G. ♦ · Dec 02, 2015 at 01:34 PM 0
Share

Awesome to hear :-)

In case you found some interesting problems you think the world should know about - feel free to send me some of your purepaths via my http://bit.ly/sharepurepath program. I am happy to take another look at your data and eventually write a short blog post about the findings!

avatar image

Answer by Andreas G. · Nov 30, 2015 at 03:47 PM

Hi Stefan

I've never heard of AjaxSwing - but - assuming it is just as any other Java Application you should be fine installing dynatrace. I assume you went through the process of getting the correct -agentpath command line option. MAke sure you selected the correct "bitness" of your JVM: 32 vs 64bit. depending on that you either have to load the 32 or the 64bit version. If you load the wrong one the JVM wont start.

Also make sure that you specify that parameter on the correct position of your command line. As I dont know how AjaxSwing is constructing its final command line string make sure it is put on there without interfering with any other options. As an alternative you could try setting the dynatrace -agentpath setting via the global JAVA_OPTIONS. That should be picked up if they adhere to standards.

Last things to check: in case you have spaces in the installation path make sure to put quotes around them, e.g: -agentpath:"c:\program files\dynatrace\...\dtagent.dll"=name=yourtrier=server=yourserver

Also make sure that your process not only has read privileges but also write privileges to the agent directory. Why? because our agent may download a newer version of the agent from your server in case you made an upgrade and then needs to store that file locally

hope this helps

andi

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
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

How to get started

First steps in the forum
Read Community User Guide
Best practices of using forum

NAM 2019 SP5 is available


Check the RHEL support added in the latest NAM service pack.

Learn more

LIVE WEBINAR

"Performance Clinic - Monitoring as a Self Service with Dynatrace"


JANUARY 15, 3:00 PM GMT / 10:00 AM ET

Register here

Follow this Question

Answers Answers and Comments

14 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

dt6.5 - source lookup not working very well anymore

The Global Agent Time is significantly behind current system time

Anyone know how to monitor hp service manager (sm) backend ?

Agent instrumentation is not available

Questions about Collector cache

Forum Tags

dotnet mobile monitoring load iis 6.5 kubernetes mainframe rest api 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 hybris javascript appmon sensors good to know extensions 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 technologies diagnostics user session monitoring unique users continuous delivery sharing configuration alerting NGINX splitting business transaction client 6.3 installation database scheduler apache mobileapp RUM php dashlet azure purepath agent 7.1 appmonsaas messagebroker nodejs 6.2 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