KNOWLEDGE BASE

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


Published: 30 Nov 2020
Last Modified Date: 08 Jul 2022

Issue

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.

Environment

  • Tableau Server
  • Linux
  • JDBC driver

Resolution

Option 1

Upgrade to Tableau Server 2021.1

Option 2

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 3

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.




 

Cause

This is a known issue that was fixed in more recent version of Tableau Server.
 
Did this article resolve the issue?