问题应该是数据库的问题了,我可以启动的进程:
lsnrctl start ;
net start oracleservicezhouxiaosid;
net start oracledbconsolezhouxiaosid;
net start oraclecsservice;
net start oracleoradb10g_home1isql*plus;
依次在cmd中运行了上面命令,一切正常,但是当打开
http://localhost:5560/isqlplus 后,
当我登陆时,密码和数据库描述sid都正确填入,还是出现同样的错误,根据网上搜索,我差了有关参数,数据库标识名根本就没有错,数据库名是zhouxiao,标志名是zhouxiaosid,
所以问题肯定出现在监听上面,这属于数据库的知识了吧? 该怎么办不然以后我的jdbc都写不成了,!!!!!
lsnrctl start ;
net start oracleservicezhouxiaosid;
net start oracledbconsolezhouxiaosid;
net start oraclecsservice;
net start oracleoradb10g_home1isql*plus;
依次在cmd中运行了上面命令,一切正常,但是当打开
http://localhost:5560/isqlplus 后,
当我登陆时,密码和数据库描述sid都正确填入,还是出现同样的错误,根据网上搜索,我差了有关参数,数据库标识名根本就没有错,数据库名是zhouxiao,标志名是zhouxiaosid,
所以问题肯定出现在监听上面,这属于数据库的知识了吧? 该怎么办不然以后我的jdbc都写不成了,!!!!!
org.apache.jasper.JasperException: 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:
localhost:1521:zhouxiaosid
不行的话重配一下监听试试看;两个名字为何不起成一样的?