Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Trouble connecting to 10g via JDBC
I found the problem. I have an instance named orcl on both the local machine and the database server. I did not include the '@' sign in the connection string and evidently the jdbc program found the local instance not the intended remote instance.
Here is the existing connection string which should include an @ sign before 'Chalupaserver':
//using the Oracle JDBC Thin Driver myConnection = DriverManager.getConnection(
"jdbc:oracle:thin:Chalupaserver:1521:orcl",
"LTChalupa",
"38123812"
lee
-- Message posted via http://www.oraclemonster.comReceived on Thu Feb 03 2005 - 07:43:10 CST