![]() |
Copyright © TIBCO Software Inc. All Rights Reserved |
Table 42 Command-line Options (all platforms) By default, the wrapper looks for a properties file with the same name as the binary, with a .tra extension. For example, MyApplication.exe would look for a properties file name MyApplication.tra.This command line option overrides this behavior and allows for the use of a properties file with any name. Note that for Java applications, the wrapper binary is typically renamed to reflect the application it is launching. For example, assign an environment variable called MYTEST to a property in the <wrapped application>.tra file as follows: Runs the application as a console application, not as a service. This can be useful for debugging an application before installing it as a service. Returns the process ID of the application to stdout in the form application.processid=%d
Installs the application as a service by registering it with the SCM and copying the contents of the properties file used into the Microsoft Windows Registry.Note that any subsequent changes to the properties file will not be propagated to the service unless it is first uninstalled and reinstalled. First attempts to stop the service if it is currently running. After that, it requests the SCM to remove the application from the service database.Note that if the SCM was unable to stop the service, it will be removed the next time Windows is restarted. For this reason, it is possible to see the service listed in the Microsoft Windows Control Panel after having uninstalled it. Sends a message to the SCM to start the service registered with this service name. Obviously, the service must be installed first. This is a command line alternative to using the Microsoft Windows Control Panel Services applet to start a service. Sends a message to the SCM to stop the service registered with this service name. Obviously, the service must be installed first. This is a command line alternative to using the Control Panel Services applet to stop a service.
![]() |
Copyright © TIBCO Software Inc. All Rights Reserved |