检查你的数据库是否能正常使用 和权限问题. 还有配置时的url和driver有没有写错.
细心点
细心点
解决方案 »
- webservice接口返回带"<>"字符的String如何不被转义
- 关于Hibernate的问题,请赐教.
- (上午结贴)毕业设计网站
- 如何往SELECT控件里预设值啊???请大侠帮忙!!!!!!!!!!!
- 大家帮忙 找个jsp的企业论坛
- XML解析不完.帮帮我
- 我的weblogic报如下错误,困扰我一上午了,谁帮忙看看!不胜感激
- 有用过opencms的吗
- 关于java 编程的问题,敬请高手指点
- FlexPaper中SwfFile : escape("d:\\upload\\P0201.swf")不能加载
- 菜鸟求救:struts做的网站,怎么做检测用户输入?
- 急!!! Struts中的Tiles模板里使用框架的问题
URL : jdbc:weblogic:mssqlserver4:pubs@localhost:1433
Username : sa
Password : sa
Database name : weblogic:mssqlserver4:pubs@localhost:1433
JNDI name : DataSourceOK 后弹出 Error 对话框的内容:
Can't open a socket on Localhost:1433. Check host and port number and make sure the security manager allows this connection. You can also try running the SocketApplet (java.net.ConnectException: Connection refused: connect).在 Error 对话框中选择 Stack Tace 按钮 内容为:
See com.borland.dx.dataset.DataSetException error code: BASE+66
com.borland.dx.dataset.DataSetException: Can't open a socket on localhost:1433. Check host and port number and make sure the security manager allows this connection. You can also try running the SocketApplet (java.net.ConnectException: Connection refused: connect).
at com.borland.dx.dataset.DataSetException.a(Unknown Source)
at com.borland.dx.dataset.DataSetException.throwException(Unknown Source)
at com.borland.dx.dataset.DataSetException.SQLException(Unknown Source)
at com.borland.dx.sql.dataset.Database.openConnection(Unknown Source)
at com.borland.jdbcx.metadata.DatabaseInfo.openConnection(Unknown Source)
at com.borland.jdbcx.metadata.d.run(Unknown Source)
Chained exception:
java.sql.SQLException: Can't open a socket on localhost:1433. Check host and port number and make sure the security manager allows this connection. You can also try running the SocketApplet (java.net.ConnectException: Connection refused: connect).
at weblogic.jdbc.mssqlserver4.BaseConnection.prepareConnection(BaseConnection.java:171)
at weblogic.jdbc.mssqlserver4.Driver.newConnection(Driver.java:34)
at weblogic.jdbc.mssqlserver4.ConnectDriver.connect(ConnectDriver.java:147)
at java.sql.DriverManager.getConnection(DriverManager.java:525)
at java.sql.DriverManager.getConnection(DriverManager.java:171)
at com.borland.dx.sql.dataset.Database.openConnection(Unknown Source)
at com.borland.jdbcx.metadata.DatabaseInfo.openConnection(Unknown Source)
at com.borland.jdbcx.metadata.d.run(Unknown Source)创建CMP时所出的错误,数据库都正确.
请高手指点..................
但是我的机子装了 VS2005 不知道是不是自带了 SQL2005 在程序中有这个启动文件