Integration JavaEE with JBoss EAP 7 went succecssfully, but when starting Jboss with domain.sh the following exceptionn was observed.
Selected PERFORMASURE_HOME: /apps/quest/foglightagentmanager/agents/JavaEE/5.9.12-20170901-1425
Selected PERFORMASURE_HOME is invalid - it is missing its copy of quest-java-env.sh
The integrate.sh picked up some bad characters due to user profile environment setting.
GREP_OPTIONS=--color=always ---> and this caused the problem.
From the domain server log we can see some ANSI escape characters.
Selected PERFORMASURE_HOME: [m[K/apps/quest/foglightagentmanager/agents/JavaEE/5.9.12-20170901-1425
The issue is user profile environment specific.
Issue was resolved after replacing