java.sql.SQLException ORA-12505

Listener refused the connection with the following error:
ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
The Connection descriptor used by the client was:
172.22.246.26:1521:oracle

ora - 12505,TNS:侦听器目前并不知道SID给定的连接描述符
连接客户端所使用的描述符是:
172.22.246.26:1521:甲骨文

小弟对于oracle数据库的使用不够熟悉,报了这个错误,我在网上查是什么admin文件夹中的tnsnames.ora有问题,但是,我其他项目中的数据库连接使用都没有问题

http://www.cnblogs.com/gossip/archive/2011/11/29/2267313.html
http://blog.sina.com.cn/s/blog_6b2757530100qi9n.html