Could not obtain connection metadata

Olá a todos,

Estou tendo um problema em fazer o Hibernate 3.0 com drive jtds-1.0.2 rodar com o meu MSDE.

Seguinte no meu arquivo hibernate.properties e coloquei


MS SQL Server

hibernate.dialect org.hibernate.dialect.SQLServerDialect
hibernate.connection.username sa
hibernate.connection.password digital

jTDS (since version 0.9)

hibernate.connection.driver_class net.sourceforge.jtds.jdbc.Driver
hibernate.connection.url jdbc:jtds:sqlserver://127.0.0.1/fuzilla;SelectMethod=cursor


mas quando tento rodar minha aplicação web aparece o seguinte problema


22:51:45,440 INFO DriverManagerConnectionProvider:45 - autocommit mode: false

22:51:45,550 INFO DriverManagerConnectionProvider:80 - using driver: net.sourceforge.jtds.jdbc.Driver at URL: jdbc:jtds:sqlserver://127.0.0.1/fuzilla;SelectMethod=cursor

22:51:45,560 INFO DriverManagerConnectionProvider:86 - connection properties: {user=sa, password=****}

22:51:46,852 WARN SettingsFactory:142 - Could not obtain connection metadata

java.sql.SQLException: Network error IOException: Connection refused: connect

at net.sourceforge.jtds.jdbc.ConnectionJDBC2.<init>(ConnectionJDBC2.java:355)

at net.sourceforge.jtds.jdbc.ConnectionJDBC3.<init>(ConnectionJDBC3.java:50)

at net.sourceforge.jtds.jdbc.Driver.connect(Driver.java:178)


É como se não conseguisse conectar ao banco.

Alguem ja passou por isso?

Anderson.