"Error starting Java Protocol Server, process exited" When Connecting to Data

Published: 30 Nov 2020
Last Modified Date: 30 Nov 2020


When connecting to a data source that uses a JDBC driver (such as Oracle), the following error may occur:

Error starting Java Protocol Server, process exited. Exit code: 1. Exit status: 0. Exit code: 5.


  • Tableau Server
  • Linux
  • JDBC driver


To troubleshoot this issue, try the following options:

Option 1

Check whether there is a "noexec" flag on the /tmp directory by running the following command on the Tableau Server machine:
mount | grep /tmp
An example of output from the above command indicating that there is a "noexec" flag on the /tmp directory is:
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noexec,noatime,size=6291456k)

If there is a "noexec" flag on the /tmp directory, remove the flag by running the following command:
mount -o remount,exec /tmp

Option 2

If a "noexec" flag is required on /tmp, use the following workaround:
  1. Configure a directory where the unprivileged tableau user can write and execute native libraries.
  2. Set the path for the native library to be extracted by running the following commands (change /path-with-execute-permissions in the first command to the directory configured in Step 1):
tsm configuration set -k native_api.jdbc_vm_options -v "-Xmx512m -Xms256m -XX:+CrashOnOutOfMemoryError -Dio.netty.native.workdir=/path-with-execute-permissions" --force-keys

tsm pending-changes apply
Note: You will be prompted to restart Tableau Server when running the second command.



This behavior is related to Issue ID 1192978, which is currently under investigation.
Did this article resolve the issue?