问题:org.hibernate.exception.JDBCConnectionException: Cannot open connection
Caused by: java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Error establishing socket.
解决办法:查看自己所加载驱动是否正确,如果正确,可能是因为没有安装SQL2000-KB884525-SP4-x86-CHS.EXE(SQLServer2000SP4),注意:安装时,只点击.exe文件没有完全安装SP4,只有在生成的SQL2KSP4文件夹中点击setup.bat文件后才能完全安装。