File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JDBC and the fly likes Error when i connect to sql Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Error when i connect to sql" Watch "Error when i connect to sql" New topic
Author

Error when i connect to sql

gayathri reddy
Greenhorn

Joined: Mar 29, 2001
Posts: 17
Hi,
i am using oracle 8i as datadase to servlets.when i open sql*plus and enter user name and password then i get this error.Please some one could explain me about this error .
ERROR:
ORA-12560:TNS:protocol adapter error
thanks,
-greddy
[This message has been edited by Thomas Paul (edited April 12, 2001).]
Monty Ireland
Ranch Hand

Joined: Oct 03, 2000
Posts: 161
Sounds like you are having a generic oracle problem ...
Got a simular error 9 mths ago ... i think ... sounds simular!
Please review you tsname.ora file & your systems hosts file.
Re-Boot your machine after you change either of these files.

------------------
Multi-Platform Database Developer ( on E.S.T. )


Multi Platform Database Developer & DBA on E.S.T.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Error when i connect to sql
 
Similar Threads
Why this 500 error - Is this DB related?
desc command in java
Having trouble with SELECT statement is JSP
JSTL SQL tag related ..issue
The TDS prelogin response is incomplete