Jon,
Updates to the [font=Courier New]introscope.autoprobe.directivesFile[font] property do require a restart of the agent. However, if you use a custom (or existing) PBL file and add your new PBD to it, the changes don't require a restart of the agent (if you have dynamic instrumentation enabled). Additionally, with dynamic instrumentation, you can place a PBD in the hotdeploy directory and it will get automatically loaded and applied. You can have multiple hotdeploy directories, which enables you to have a specific hotdeploy directory for a specific agent profile as well as a general hotdeploy directory that is shared by all agents. In other words, you have the following four options (including what you've done):
Option 1:
* Set the following property in the [font=Courier New]IntroscopeAgent.profile[font]:
introscope.autoprobe.directivesFile=weblogic-typical.pbl,hotdeploy,toggle-thread-on.pbd
* Restart the agent
Option 2:
* Create a new PBL file: [font=Courier New]custom-toggles.pbl[font]
* Add the following PBD to the contents of the new PBL: [font=Courier New]toggle-thread-on.pbd[font]
* Set the following property in the [font=Courier New]IntroscopeAgent.profile[font]:
introscope.autoprobe.directivesFile=weblogic-typical.pbl,custom-toggles.pbl,hotdeploy
* Restart the agent (with dynamic instrumentation, future changes to [font=Courier New]custom-toggles.pbl[font] will not require a restart)
Option 3:
* Create a new directory: [font=Courier New]hotdeploy_agent1[font]
* Add the following PBD to the contents of the new directory:[font=Courier New] toggle-thread-on.pbd[font]
* Set the following property in the [font=Courier New]IntroscopeAgent.profile[font]:
introscope.autoprobe.directivesFile=weblogic-typical.pbl,hotdeploy,hotdeploy_agent1
* Restart the agent (after the first restart and with dynamic instrumentation, new files and changes to files in the [font=Courier New]hotdeploy_agent1[font] directory will not require additional restarts)
Option 4:
* Add the following PBD to the contents of the [font=Courier New]weblogic-typical.pbl[font] PBL:[font=Courier New] toggle-thread-on.pbd[font] (with dynamic instrumentation, a restart is not required)