fusion_place-requester-n.n.jar
What Is Requester
This manual is in pilot operation.
|
Requester is a tool that executes bulk processing and scheduled processing of large volumes of data from the command line. Using Requester, you can perform the following operations.
Requester Program File
The Requester program file is bundled in the zip file that contains the fusion_place installer. The file name is as follows.
|
Execution Environment for Requester
Requester can be executed on any computer that can access the fusion_place server via URL, even if it is not running on the fusion_place server itself [1].
|
Requester communicates with the fusion_place server using [Web-API]. [Web-API] is one of the "Client Programs" defined in the fusion_place License Agreement. Therefore, when running Requester and other programs that use [Web-API] simultaneously, each program must use a different User Account. |
How to Execute Requester
Requester reads a "Request File", requests processing from the fusion_place server, and writes the processing results to a "Response File". Both the Request File and Response File are XML-formatted text files. To execute Requester, enter a command similar to the following at the command prompt.
java -Xms256m -Xmx1024m -jar fusion_place-requester-n.n..jar -url http://:***/fusionplace -user **** -pass **** -external false < request.xml > response.xml
The command-line parameters are explained below.
| Parameter | Description |
|---|---|
java |
Instructs execution of the |
-Xms256m -Xmx1024m |
Specifies the amount of memory used for program execution. |
-jar fusion_place-requester-n.n..jar |
Specifies the Requester file name |
-url http://*****:****/fusionplace |
Specify the URL of the fusion_place server following |
-user **** -pass **** |
Specify the fusion_place User Account Name for + -user admin -pass jugemu |
-external false |
Specify |
< request.xml |
Specify the Request File name following + NOTE: Requester reads requests from standard input. |
> response.xml |
Specify the Response File name following + NOTE: Requester writes responses to standard output. Messages displayed by Requester during processing are written to standard error output. |
In addition to the above, the following options can be specified. Specify them after -jar ****** and before specifying the request and response.
| Option | Description |
|---|---|
-Djava.net.useSystemProxies=true |
When a PAC file is specified in Windows proxy settings under "Automatic proxy setup > Use setup script", specifying this option allows Requester to automatically obtain the proxy server. |
-encoding **** |
Specifies the encoding applied to the Response File. Available values vary depending on the OS environment. Commonly used values are + -encoding Windows-31J +
If not specified, the encoding defaults to |
-unicode_request_contents |
Specify this option when importing with a CSV encoding that includes a BOM.
|
-lang ** |
Response XML contains messages. Specify the language in which those messages should be displayed. Use + -lang en + If not specified, the language of the client operating system is used. + The language specified here is also applied to Exporting Data Using Forms. |
-compression **** |
Specifies whether to enable data compression during request and response transmission. To enable compression, specify + -compression true +
To disable compression, specify |
-proxy_addr **** |
Specify the proxy server host name and port number connected by + -proxy_addr proxy.hoge.com:3128 |
-socks |
Specify this option if the proxy server specified with |
-proxy_user **** |
When using a proxy server that requires authentication, specify the user name with + -proxy_user user1 -proxy_pass pass1 |
-help |
If |
Notes on Proxy Option Settings Using Windows Proxy Configuration (Requester >= 14.1)
Proxies configured in Windows under "Manual proxy setup" are not used.
When using Requester via a proxy, explicitly specify the proxy using one of the following methods.
-
Specify the proxy using the
-proxy_addroption
Regardless of Windows proxy settings [2], the specified proxy address is used. -
Specify the
-Djava.net.useSystemProxies=trueoption
Connects using the proxy address evaluated by the PAC file specified under "Automatic proxy setup > Use setup script" in Windows proxy settings. -
If neither the
-proxy_addroption nor the-Djava.net.useSystemProxies=trueoption is specified, a direct connection is used.
Requester Exit Codes
When Requester terminates, an "Exit Code" is set. The Exit Code is stored in the special variable %ERRORLEVEL%, which can be referenced to alter subsequent processing. The Exit Codes for Requester are as follows.
| Exit Code | Meaning |
|---|---|
0 |
Normal termination. |
1 |
Completed with warnings. Among one or more requests included in the Request File, at least one processing result code was |
2 |
Completed with errors. Among one or more requests included in the Request File, at least one processing result code was |
4 |
Completed with failures. Among one or more requests included in the Request File, at least one processing result code was |
8 |
Processing not possible. Processing could not be executed normally due to reasons such as incorrect command options or the server not running. |
Requester and Java Runtime Environment
Executing Requester requires a Java Runtime Environment. You may install Java on the computer where Requester is used. Alternatively, on a computer where the fusion_place Runtime Environment (FRE) is installed, you can use the Java Runtime Environment included with FRE. In this case, specify the path to java.exe as follows.
(fusion_place < 12.0 )
%LocalAppData%\Programs\fusion_place\fusion_place runtime environment (NN-bit)\jreNN\bin\java.exe
(fusion_place >= 12.0 )
%LocalAppData%\fusion_place\fusion_place runtime environment (NN-bit)\runtime\bin\java.exe
- NN
-
Replace with the FRE bitness (
64or32). Note that there are2replacement locations. - %LocalAppData%
-
When executed from the Windows command line, replace with the appropriate folder name.
Note that FRE is installed per Windows user. Therefore, when using the Java Runtime Environment included with the fusion_place Runtime Environment as described above, you must be logged in to Windows as the user who installed FRE.