A server may output a dump file and shut down abnormally.
A server process stops.
A dump file (hs_err_pidxxxx.log) is output under "$DATASPIDER_HOME/server/bin".
You see information in a dump file saying a failure occurred at "Compiler Thread".
e.g.) Current thread (0x52d70cf8): JavaThread "CompilerThread1" daemon
Cause
Java has adopted the Just In Time Compiling Method (below as JIT method). Before executing a program, Java middle codes are compiled into Native codes of OS, which contribute to a better performance.
The JIT method is adopted in the internal processing of the server.When running the method, this may occur when a Compiler Thread is called. For more details of the cause, refer to the technical information by Oracle (https://docs.oracle.com/javase/8/docs/technotes/guides/troubleshoot/crashes001.html#CIHDDHCI).
Solution
You can avoid the abnormal event by making the process not applicable to the JIT method.
Set the below value in "lax.nl.java.option.additional=" of a lax file and start the server.
"-XX:CompileCommand=exclude,com/appresso/ds/common/kernel/ModuleName,equals" For information regarding a lax file of the server, refer to "Property Reference".
Applications such as a server and a client may stop due to memory shortage.
Cause
This is because maximizing the memory used in applications is failed due to the shortage of the memory in the OS.
Solution
When starting an application, set the initial heap size equal to the maximum heap size.
By assuring the maximum memory size when starting an application, you can avoid system suspension caused by a failure of memory expansion. For information regarding how to change the heap size of applications, refer to "Property Reference".
In Windows-31J(Microsoft Code Page 932), the character encoded more than once exists.
When these characters are converted into another encode with DataSpider (Internally maintain it with Unicode), the garble might be generated.
The garble of a specific character can be evaded by using character converter "Convert CP932 to SJIS" and "Convert SJIS to CP932" in the place where it is between Windows-31J and Shift_JIS.
"Convert SJIS to CP932" And, the specific character that can be converted by "Convert CP932 to SJIS" is as follows.
[Connection test] succeeds even if the setting of a global resource is invalid in the adapter that passes networks such as the mail adapters and Web adapters.
Cause
It is generated because the virus checker installed in the case that DataSpiderServer operates connects it with the port where the virus checker is open for the connection destination to which the connection of the adapter is set by a global resource.
Coping process
Remove the port connected with the adapter from the watch object of the virus check software.
If you log off from an OS upon ScriptRunner execution, the return value of ScriptRunner becomes "143".
Cause
Due to JVM specifications, if you log off from an OS while executing ScriptRunner processes, the processes of ScriptRunner will be forced to shut down.
In this case, "143" is returned.
Solution
Add "-Xrs" to "lax.nl.java.option.additional" in ScriptRunner.lax.
If you specify "-Xrs", JVM does not supervise and process CTRL_C_EVENT, CTRL_CLOSE_EVENT, CTRL_LOGOFF_EVENT and CTRL_SHUTDOWN_EVENT.
Therefore, since JVM does not detect your log off, you can avoid this event from happening.