ActiveSpaces Utilities as Windows Services

You can use the as-service.exe utility for execution of ActiveSpaces utilities, such as as-agent, ASMM and the ActiveSpaces Hawk MicroAgent, as Windows services.

The as-service.exe utility uses TIBCO Runtime Agent® to run as-agent.

To configure TIBCO ActiveSpaces to use as-service, on Windows platforms, the following new configuration files are installed in the AS_HOME/bin folder.:

as-service.tra
 Configuration file for running the Java as-agent service.
asmm.tra
 Configuration file for running ASMM as a Windows service.
as-hawk-agent.tra
 Configuration file for running AS Hawk Microagent as a Windows service.

If needed, you can change the settings in the .tra file for the as-agent service, ASMM service, or AS Hawk Microagent service and then install and uninstall the ActiveSpaces services.

You can configure the following properties for as-agent running as a service:

  • The AS_HOME directory (if you need to change the default)
  • The JAVA_HOME directory
  • The ActiveSpaces agent service name
  • The heap size for the as-agent JVM
  • Additional as-agent command line arguments, if needed
  • Additional path elements, if needed
  • The location of the JRE environment

To install and register as-agent as a service using the settings in the as-service.tra file, enter:

as-service --install

For additional information, see The as-service.tra File Example for the text of the as-service.tra file, or view the as-service.tra file in your installation.