We are planning to give the developers the option to create their own pbd and pbl but we do not want to give them the write permission to the config folder. In order to do that we are thinking of creating a separate folder named as custom inside the config folder where they will have write permission. Inside the custom folder we will create file named as custom.pbl. So that the developer will create the pbd file inside this folder and add the name in the custom.pbl file.
In IntroscopeAgent.profile we will comment the line
and in the startup script we will pass the directiveFile as jvm argument like below
-Dintroscope.autoprobe.directivesFile= weblogic-typical.pbl, custom.pbl
So that in due course whatever pbd file the developers will create, we do not have to touch either the IntroscopeAgent.profile or the startup script.
Can someone please validate this approach.
I will be grateful if someone can confirm whether they have already implemented this approach in their project.
That plan should be fine. However when you load pbd/pbl files from a sub-folder of config you need to specify the sub-folder name as well e.g.
This will load all files from the sub-folder custom:
This will load just file custom.pbl from the sub-folder custom
Hope that helps
Thanks a ton Lynn.