Unable to connect with Studio, getting "java.net.SocketException: Unexpected end of file from server"

Unable to connect with Studio, getting "java.net.SocketException: Unexpected end of file from server"

book

Article ID: KB0082830

calendar_today

Updated On:

Products Versions
TIBCO Data Virtualization 7.0.0 and higher

Description


When attempting to connect to a TIBCO Data Virtualization server, Studio displays the following error:
Unable to connect to server
java.rmi.RemoteException: HTTP transport error: java.net.SocketException: Unexpected end of file from server; nested exception is:
HTTP transport error: java.net.SocketException: Unexpected end of file from server

Issue/Introduction

Unable to connect with Studio, getting "java.net.SocketException: Unexpected end of file from server"

Resolution

The error is a socket exception, and it typically means one of the following:
 
    1.    The TDV server is not running.
    2.    The Postgres repository is not running.
    3.    There is a network problem.
 
Verify that the TDV server and the Postgres repository are running. On Windows, you can do so by bringing up Windows Services and checking whether the two services are started. On Linux, you can use the following commands:
 
             ps -elf | grep ServerBoot
             ps -elf | grep postgres

Once you have verified that both processes are running, find out whether you can connect to TDV using the Web Manager (i.e. using your browser).  If you are able to connect successfully using a browser, it means that TDV  is running (and is responding), and so the issue lies with Studio or your network. Restart Studio. If this does not help, it indicates that there is a network problem or a firewall issue in your environment which is preventing Studio from connecting to TDV.