The as-service.tra File Example

The following excerpts from the as-service.tra file provide instructions for configuring JVM heap size, PATH, and so on, if needed.

The as-service.tra file:

## Specify the maximum heap size for the as-agent JVM as needed
java.heap.size.max=512M

## Specify the ActiveSpaces agent service name and display name properties
ntservice.name=TIBAS_AGENT_SERVICE
ntservice.displayname=TIBCO ActiveSpaces Agent Service

## Specify additional as-agent command line arguments as needed
## application.args=

## Specify additional path elements if needed
tibco.env.PATH=%AS_HOME%\\bin;%AS_HOME%\\lib;%PATH%

## Specify (if necessary) the location of the JRE environment. 
##If the AS_HOME environment variable is configured to point to a 
##JDK installation then no further changes are necessary
tibco.env.JRE_HOME=%JAVA_HOME%\\jre

## Do not change these settings
##
ntservice.binary.path.absolute=%AS_HOME%\\bin\\as-service.exe
application.start.dir=%AS_HOME%\\bin
java.start.class=com.tibco.as.space.agent.AgentConsole
java.start.method=main
java.class.path=%AS_HOME%\\lib\\as-agent.jar
java.library=%JRE_HOME%\\bin\\server\\jvm.dll