Do I need to set any environment variables in the agents script or file in order to manage objects?
AppCenter automatically sets up the environment variables such as PATH and CLASSPATH that it requires upon installation. You are strongly advised not to alter the such variables because it is possible to specify conflicting versions of runtime libraries for the agent to load. For example, templates for certain managed objects have required environment properties which are used to start the object. If you want to add or change an environment variable, please check the documentation to verify if this will cause a problem.