• 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 Matthias D. · Jun 08, 2015 at 08:21 PM ·

JD-GUI 1.0.0 in dynaTrace

Hi all

I use the dynaTrace 6.1 Client on Windows. There I could use JD-GUI 3.x to decompile Java-classes. I only had to define the path to the jd-gui exe under the External Tools in Client preferences. This no longer works with jd-gui 1.0. The jd-gui window is opened but without a class to decompile.

Any ideas how to use jd-gui 1.0 in the dynaTrace client?

Regards

Matthias

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.

6 Replies

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

Answer by Harald B. · Jun 29, 2015 at 10:39 AM

Hi,

The latest procyon version is equal to jd-gui

regards
Harry

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.

avatar image

Answer by Matthias D. · Jun 18, 2015 at 08:24 PM

Hi Harald

Thanks for your help. Would you say that there's no need to use jd-gui with dynatrace 6.1 as the included decompiler is now equql or better than jd-gui?

Regards

Matthias

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.

avatar image

Answer by Andreas G. · Jun 18, 2015 at 06:11 PM

Thanks Harald for the workaround!!

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.

avatar image

Answer by Harald B. · Jun 18, 2015 at 01:05 PM

Hi,

It seems feasible to call a batch file that performs a rename instead of calling jd-gui directly
So a call to 

D:\tools\jd-gui\callJDGUI.bat C:\dynatrace\client\cache\out\org.apache.derby.impl.jdbc.EmbedStatement5217584501740024027.class

will be transformed to

D:\tools\jd-gui\jd-gui.exe C:\dynatrace\client\cache\out\org.apache.derby.impl.jdbc.EmbedStatement.class

As standard rename command of windows is limited, you may have to use a external tool to accomplish that. But it may have some limitations, as numbers may be a valid part of the classname. In such cases jd-gui will not open the file.
regards
Harry 

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.

avatar image

Answer by Harald B. · Jun 18, 2015 at 12:23 PM

Hi,

dynaTrace just calls an external decompiler with the executable and passing a temporary filename as parameter. Actually with jd-gui 1.x the command line does not accept a temporary file anymore. It must have exactly the same name as the encapsulated class. I will see if there is a workaround with using a batch file to call jd-gui performing a rename.

Please do consider that with 6.1 we updated the standard decompiler to a actual version of procyon, so the default output is much better than with 6.0 

regards
Harry 

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.

avatar image

Answer by Andreas G. · Jun 17, 2015 at 06:22 PM

Hi. I just double checked this with engineering. Seems like this is a bug on our side. We therefore recommend to stay on 0.3 until that will be fixed in a future dynatrace version. FYI - the internal bug number is JLT-127451 - in case you want to use this as a reference

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

2 People are following this question.

avatar image avatar image

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