Verifying an HTTP connection
You can check whether HTTP requests from SAP can be successfully routed through your Content Collector for SAP environment.
Parameters
- -m server_name
- Specifies the host name or the IP address of the system where Collector Server runs.
- -p port
- Specifies the value of the WEBPORT keyword.
- -a archive_id
- Specifies the logical archive ID of the archive for which the request applies.
- -t seconds
- Specifies the period, in seconds, before the archcheck program times out.
- -url_encoding string
- Specifies the encoding of the URL that is sent to Collector Server. It must match the value of the URL_ENCODING keyword in the server configuration profile.
- -log file_name
- Specifies the file name of the log. You can include a file extension.
However, you cannot change the path to the log file.
The log file is stored in the checkLogs folder of the instance directory of Collector Server.
Each time the archcheck program is run, a log file with the specified name is created. Any existing log file with this name is overwritten.
Do not specify this parameter if you want to keep a history of log files. If you omit this parameter, Content Collector for SAP generates a log file each time the archcheck program is run. The name of the log file is as follows:archive_id_yyyy_mm_dd_hh_mm_ss_ms.log - -h
- Displays help information about the archcheck command.
Examples
java -jar archcheck.jar -p 5510 -a A1- Sends the HTTP request to archive A1 by using the Collector Server that runs on the same server as the archcheck program and that uses the fixed port 5510. The file name of the log, which is created in the checkLogs folder of the instance directory, is generated.
java -jar archcheck.jar -m ginkgo -a A1 -p 5510- Sends the HTTP request to archive A1 by using the Collector Server that
runs on server
ginkgoand that uses the fixed port 5510. The file name of the log, which is created in the checkLogs folder of the instance directory, is generated. java -jar archcheck.jar -p 5510 -a A1 -log A1_log- Sends the HTTP request to archive A1 by using the Collector Server that runs on the same server as the archcheck program and that uses the fixed port 5510. The log, which is created in the checkLogs folder of the instance directory, has the following file name: A1_log
