title: Unable to connect to ODI using ODI sdk from remote system
body: <p>I am trying to connect to ODI using ODI SDK in java. Here is the code to get the ODI Instance:</p>
  
  <pre><code>MasterRepositoryDbInfo masterInfo = new MasterRepositoryDbInfo("jdbc:oracle:thin:@ipaddress:1521:xe", "oracle.jdbc.OracleDriver", username, password, new PoolingAttributes());
  WorkRepositoryDbInfo workInfo = new WorkRepositoryDbInfo("WORKREP1", new PoolingAttributes());
  
  final OdiInstance odiInstance = OdiInstance.createInstance(new OdiInstanceConfig(masterInfo, workInfo));
  </code></pre>
  
  <p>I am getting below error:</p>
  
  <pre><code>Exception in thread "main" oracle.odi.core.config.WorkRepositoryResourceFailureException: ODI-10182: Uncategorized exception during repository access.  
  Could not get JDBC Connection; nested exception is java.sql.SQLException: Exception occurred while getting connection: oracle.ucp.UniversalConnectionPoolException: Cannot get Connection from Datasource: java.sql.SQLException: The Network Adapter could not establish the connection
      at oracle.odi.core.repository.Repository.getWorkRepository(Repository.java:195)
      at oracle.odi.core.OdiInstance.createWorkRepository(OdiInstance.java:531)
      at oracle.odi.core.OdiInstance.&lt;init&gt;(OdiInstance.java:678)
      at oracle.odi.core.OdiInstance.createInstance(OdiInstance.java:609)
      at oracle.odi.core.OdiInstance.createInstance(OdiInstance.java:548)
      at com.fe.FT2FT.main(FT2FT.java:66)
  </code></pre>
  
  <p>I checked separately by creating a jdbc connection to the same machine and I was able to connect.</p>
  
  <p>Please let me know if I am missing anything. Any help is appreciated.</p>