Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: [Oracle 10g 10.1.0.2] TNS:listener does not currently know of service requested in connect

Re: [Oracle 10g 10.1.0.2] TNS:listener does not currently know of service requested in connect

From: Sybrand Bakker <postbus_at_sybrandb.demon.nl>
Date: Sat, 30 Jul 2005 18:28:46 +0200
Message-ID: <pdane1dpketgbc9fkp79hom89laq6u4fnd@4ax.com>


On Sat, 30 Jul 2005 16:50:53 +0200, "mike henkins" <dd_at_nospam.com> wrote:

>conn = DriverManager.getConnection ("jdbc:oracle:thin:@" + server + ":" +
>port + ":" + base, user, pwd);
>
>that is why i want to get the sqlplus connection under DOS working.
>
>I need the localhost + port as well.

As explained to you in comp.databases.oracle.server to you before, this is not the correct syntax. In fact the jdbc *thin* driver is the exception.
So, no, you don't need the localhost + port, and you would have known that, provided you would have spent some time to look up the troubleshooting section of tne net administrators manual. However spending some minimal effort is quite clearly asked too much, as you by now have demonstrated to you are too lazy to hit ctrl-end and to refrain from top-posting.
You might consider switching to a mickeysoft product.

--
Sybrand Bakker, Senior Oracle DBA
Received on Sat Jul 30 2005 - 11:28:46 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US