Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
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
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 DBAReceived on Sat Jul 30 2005 - 11:28:46 CDT