<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic jdbc issue using OCI8 driver in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/jdbc-issue-using-oci8-driver/m-p/2754025#M835303</link>
    <description>Hi,&lt;BR /&gt;I have a problem on HP-UX 11i connecting to an Oracle 8.1.7.2 database. The client can connect using the Oracle jdbc thin client but not the OCI8 client. The error message is "java.sql.SQLException: ORA-12154: TNS:could not resolve service name". However I can do a 'tnsping SID' and sqlplus to the database. Any ideas/suggestions would be appreciated.</description>
    <pubDate>Thu, 27 Jun 2002 23:38:48 GMT</pubDate>
    <dc:creator>Ciaran Byrne</dc:creator>
    <dc:date>2002-06-27T23:38:48Z</dc:date>
    <item>
      <title>jdbc issue using OCI8 driver</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/jdbc-issue-using-oci8-driver/m-p/2754025#M835303</link>
      <description>Hi,&lt;BR /&gt;I have a problem on HP-UX 11i connecting to an Oracle 8.1.7.2 database. The client can connect using the Oracle jdbc thin client but not the OCI8 client. The error message is "java.sql.SQLException: ORA-12154: TNS:could not resolve service name". However I can do a 'tnsping SID' and sqlplus to the database. Any ideas/suggestions would be appreciated.</description>
      <pubDate>Thu, 27 Jun 2002 23:38:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/jdbc-issue-using-oci8-driver/m-p/2754025#M835303</guid>
      <dc:creator>Ciaran Byrne</dc:creator>
      <dc:date>2002-06-27T23:38:48Z</dc:date>
    </item>
    <item>
      <title>Re: jdbc issue using OCI8 driver</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/jdbc-issue-using-oci8-driver/m-p/2754026#M835304</link>
      <description>I suspect that there is something wrong with the connect string in the java program.  If I'm not mistaken, the connect string for the OCI8 driver is different from the connect string for the JDBC Thin driver.  I think I would try putting some debug statements in the Java code to ensure the proper connect string is being passed to the driver.  Another option would be to turn on SQL*Net (Net8) client tracing.  The trace file would show you exactly what connect string is being passed.  Hope this helps.</description>
      <pubDate>Fri, 28 Jun 2002 11:18:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/jdbc-issue-using-oci8-driver/m-p/2754026#M835304</guid>
      <dc:creator>Brian Bientz</dc:creator>
      <dc:date>2002-06-28T11:18:05Z</dc:date>
    </item>
    <item>
      <title>Re: jdbc issue using OCI8 driver</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/jdbc-issue-using-oci8-driver/m-p/2754027#M835305</link>
      <description>Brian,&lt;BR /&gt;thanks for your response. I found the issue was with the way the driver was registered.&lt;BR /&gt;Needs to be &lt;BR /&gt; DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());&lt;BR /&gt;&lt;BR /&gt;which is different than for the thin driver.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 28 Jun 2002 20:27:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/jdbc-issue-using-oci8-driver/m-p/2754027#M835305</guid>
      <dc:creator>Ciaran Byrne</dc:creator>
      <dc:date>2002-06-28T20:27:53Z</dc:date>
    </item>
  </channel>
</rss>

