• 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 Brian P. · Nov 22, 2013 at 04:42 PM · plugins

Changing Build Path Options

Currently I am working on a plugin that requires a Native Library Location to be configured for one of the libraries.  I can do this in Eclipse and it works fine, but the classpath option is removed when the plugin is built in dynaTrace.  I can get past the need for the class path option by manually adding the required dll to the java path, but it would be much more preferable if I could specify the class path.  Does anyone know how to make sure that the class path options stay after building in dynaTrace?

 

Thanks,

Brian Perrault

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 Michael K. · Nov 25, 2013 at 08:09 AM

The reason for this behavior is that the OSGi bundle classpath is recreated from scratch (using the configured .jar libraries) when the plugin is built with the dynaTrace client. The only (ugly) workaround I can offer right now is to build the plugin in dnyaTrace, open the built .jar and then add your classpath extension to the manifest within the jar, only then deploy it. 

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 Rick B. · Nov 22, 2013 at 07:57 PM

Hi Brian,

If you edit the Plugin in dynaTrace and add the dll in "Files" does this resolve the issue?

Rick B

Comment

People who like this

0 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 Brian P. · Nov 22, 2013 at 08:00 PM 0
Share

Hi RIck,

Putting the dll into the Files does not fix the issue.  The plugin still says that the dll was not found in the path.

-Brian

 

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

Related Questions

Redis Monitor plugin : showing data for last hour only

interface to close incidents?

Solr Monitoring FastPack for AppMon 7.0

Plugin Development - Packaging Of Plugin

How can I find the Api Token in Dynatrace Client tool version 6.5?

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