title: Invalid Oracle URL specified: OracleDataSource.makeURL
body: <p>I'm trying to connect to a local oracle database but I'm getting this cryptic error message:
  <code>Invalid Oracle URL specified: OracleDataSource.makeURL</code>. </p>
  
  <p>I'm pretty sure this is due to an error with the database connection parameters I'm passing, but really, this error message does not help me in any way. Any hints as to what I'm doing wrong would be greatly appreciated.</p>
  
  <p>FYI: Code used to connect is below, except for the hardcoded strings this is what is used on our production environment and does work there. </p>
  
  <pre><code>OracleDataSource dataSource = new OracleDataSource();
   dataSource.setServerName("localhost");
   dataSource.setUser(userName);
   dataSource.setPassword(password);
   dataSource.setDatabaseName("orcl");
  return dataSource.getConnection();
  </code></pre>