Products | Versions |
---|---|
TIBCO Data Virtualization | 7.0.0 and higher |
Both Studio and pkg_import fail to import a CAR file. The error trace in the logs is:
------------
Caused by: HTTP transport error: java.net.ConnectException: Connection refused (Connection refused)
at com.sun.xml.rpc.client.http.HttpClientTransport.invoke(HttpClientTransport.java:165)
at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:113)
------------
This is usually caused by insufficient Java Virtual Machine (JVM) Heap memory. To ensure this is the root cause, try to import a very small CAR file.
Example
- Export an empty folder as "emptyfolder.CAR".
- Attempt to import "emptyfolder.CAR" using Studio or pkg_import.
If this works, it means that the memory is insufficient. The greater the size of the CAR file, the greater is the memory required to import it. You can work around the issue in two ways:
(1) Increase the size of the JVM Heap by going to Studio --> Administration --> Configuration --> Server --> Memory --> Java Heap --> Total Available Memory (Current)).
(2) Create a set of smaller CAR file (instead of one large CAR). Import those one at a time. This reduces the memory requirement.
If the issue occurs even with a very small CAR file, reduce the load on the TDV server and then retry. It could be that the TDV server is responding slowly due to load, in turn causing the connection to time out.