Query Layers and Logs
When you make a query from a desktop app or a
web app to a 3DSpace
source, it goes through these layers: User > Federated Search > CVServlet/Exalead CloudView.
Note:
The CVServlet/Exalead CloudView pair does not apply to all sources. For example, 3DSwym relies on the following layers: User > Federated Search > 3DSwym backend.

| |
The desktop app and web app send the user queries to the FederatedSearch service. It stores actions in
the FederatedSearchServlet.log file. |
| |
The FederatedSearch service sends the queries at the same time to all services
that implement the FedSearch protocol, like 3DSpace, 3DSwym, or 3DDashboard.
|
| |
For 3DSpace, the FederatedSearch service sends the queries to the CVServlet of 3DSpace
(hosted in each MCS).
It stores actions in the CVServlet.log file and the
CVServlet_startup.log file.
|
| |
For 3DSpace, the FederatedSearch service also sends the queries to the 3DSpace Index service, which runs on top of the Exalead CloudView search engine. It stores the details of search queries in the
/<DATADIR>/run/searchserver-ss0/search-reporting/search.csv
file. You can generate a system report, called cvdiag using
the Administration Console. It collects various process logs. |
3DSearch
app Timeout
When you use the 3DSearch
app, there
is a first timeout, which controls how much time the 3DSearch
app waits
for the Federated Search to answer.
You can customize it in the SearchSettings_Public.json file.
- Edit the
SearchSettings_Public.json file in:
/home/data/RTV/SERVER_NAME/3ddashboard/linux_a64/webapps/SNInfraUX/assets
for 3DDashboard and CATIA V5 POWER'BY.
/home/data/RTV/SERVER_NAME/apache-tomcat/webapps/3DSpace/webapps/SNInfraUX/assets
for 3DSpace.
/home/data/RTV/SERVER_NAME/apache-tomcat/webapps/federated/webapps/SNInfraUX/assets
for desktop apps.
- Define the number of seconds for the Federated Search timeout using the
fedSearchTimeout=XXX property (where XXX is the number
of seconds). The default value is 25 seconds.
- To see your changes, clear your browser's cache or make a hard refresh on your 3DSearch page.
Federated Search Timeout
Federated Search has a timeout, which represents how much time to wait for a source to
answer.
Federated Search has configuration parameters in the federated.properties
file located in webapps/federated/WEB-INF/classes/. Once modified, you can
reload the file without restarting the Tomcat with the following command:
https://##HOSTNAME##/federated/manager?query=reload
Example:
# one minute timeout
source_timeout_sec = 60
Table 1. Federated Search Timeout Parameters
| Parameter |
Description |
source_timeout_sec |
Time allowed for a source to answer a Federated Search call
(includes login if any and search queries). Unit: seconds. Range value:
1–120. Default value: 20 s. |
socket_timeout_millisec |
Socket timeout (SO_TIMEOUT) is the timeout to
wait for data, that is a maximum period of inactivity between two consecutive data
packets. Unit: milliseconds. Default value: 20,000
ms. |
connection_timeout_millisec |
Timeout until a connection is established. Unit:
milliseconds. Default value: 2,000 ms. |
query_max_size |
The max length of the query parameter string. Default value:
16384. |
CVServlet/Exalead CloudView Timeouts
For more information, see the Web Services and Events: 3DSpace: CVServlet: Admin:
Core Configuration: Query Limits section in the Developer
Assistance.