On a Linux OS, if you try -Dappdynamics.agent.applicationName="My Application" it fails, if you try -Dappdynamics.agent.applicationName="MyApplication" it works. I've tried + and %20 in place of whitespace character but I just get a new application with a + or %20 in the name. Any guesses?
There's no problem specifying an application name with spaces in it. We do it all the time.
My guess is that your -Dappdynamics.agent.applicationName="My Application" is being processed by some other program before it gets to the java command line; that program is not handling the quotes properly.
Try escaping them? -Dappdynamics.agent.applicationName=\"My Application\" ?
Regards,
Brian Wheeldon
There's no problem specifying an application name with spaces in it. We do it all the time.
My guess is that your -Dappdynamics.agent.applicationName="My Application" is being processed by some other program before it gets to the java command line; that program is not handling the quotes properly.
Try escaping them? -Dappdynamics.agent.applicationName=\"My Application\" ?
Regards,
Brian Wheeldon
That is the problem. The shell that reads my definitions file is doing it's own escaping of the string, but escaping it myself isn't working either. Thanks for your suggestion.