好象是数据库连不上了.一运行就这样,怎么办啊,Caused by:java.net.ConnectException:Connection refused:connectat java.net.PlainSocketImpl.socketConnect(Native Method)at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)at jav
来源:学生作业帮助网 编辑:作业帮 时间:2024/11/16 17:47:14
好象是数据库连不上了.一运行就这样,怎么办啊,Caused by:java.net.ConnectException:Connection refused:connectat java.net.PlainSocketImpl.socketConnect(Native Method)at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)at jav
好象是数据库连不上了.一运行就这样,怎么办啊,
Caused by:java.net.ConnectException:Connection refused:connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:364)
at java.net.Socket.connect(Socket.java:507)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at net.sourceforge.jtds.jdbc.SharedSocket.createSocketForJDBC3(SharedSocket.java:289)
at net.sourceforge.jtds.jdbc.SharedSocket.(SharedSocket.java:250)
at net.sourceforge.jtds.jdbc.ConnectionJDBC2.(ConnectionJDBC2.java:297)
...29 more
2008-11-28 9:46:56 org.apache.catalina.core.ApplicationContext log
信息:null
仔细说来,是数据库没有安装补丁的原因
好象是数据库连不上了.一运行就这样,怎么办啊,Caused by:java.net.ConnectException:Connection refused:connectat java.net.PlainSocketImpl.socketConnect(Native Method)at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)at jav
出现这各异常的第一反映是数据库主机连不上
你ping一下该数据库主机看能不能连上