The JDBC Proxy service wrapper controls the JDBC Proxy with batch jobs or shell commands.
cadcjsrv <command> [<cadcjsrv options>] [-jvm] [<java options>]
These commands invoke a shell script that sets the required environment variables and runs the JDBC Proxy service wrapper. The service wrapper starts the JVM and passes control to the JDBC Proxy entry point. You can also enter the commands in the following form: cadcjsrv.start, cadcjsrv.stop, and so on.
When started in normal mode, the JDBC Proxy forks a new process and detaches from the terminal. All tracing and debugging is written to the log file specified in the configuration file. When started in debug mode, the JDBC Proxy runs in the foreground and stays attached to the terminal. Pressing Enter shuts down the JDBC Proxy. Tracing output can be displayed on the terminal, redirected to the standard output, or written to the trace file. Messages to the system log can also be echoed on the standard output.
The following commands are used to control the JDBC Proxy:
Starts the JDBC Proxy as a background process.
Stops the JDBC Proxy.
Suspends the JDBC Proxy.
Resumes the JDBC Proxy.
Checks the JDBC Proxy status.
Starts the JDBC Proxy as a foreground process.
Displays the server usage.
In addition to the commands, you can also code the options by entering them individually or through the properties file. Valid options are as follows:
Specifies to print this information.
Specifies the socket blocking timeout interval.
Debugs trace options. Valid trace options are as follows:
Enables the native buffer display.
Enables the native trace.
Enables the native object display.
Enables the object display.
Enables the debug tracing.
Enables the stub client.
Sends the trace to the utility log.
Specifies the host listener address or name.
Includes the <class> in trace.
Specifies the set trace log message level.
Specifies the host listener port.
Specifies the host listener queue length.
Specifies the server reply timeout interval.
Specifies the set syslog message level defaults to "verbose" if no level.
Specifies the client wait timeout interval.
Excludes the <class> from trace.
|
Copyright © 2015 CA Technologies.
All rights reserved.
|
|