The installer for J2EE agents does not ignore leading and trailing spaces when you provide answers to prompts. This situation can cause a variety of problems. For example, if you include a leading or trailing space when pointing to a resource, the resource would not be recognized and an error message such as the following would be issued:
ERROR: Invalid Server Instance directory.
The preceding error message is one example. Any one of several messages could be issued depending upon the specific scenario.
Workaround: None. However, be aware of the situation and be sure not to include leading or trailing spaces when providing responses to installation prompts.