Error msg: Getting database metadata
geronimo Jul 29, 2009 3:45 PMHi
New to Seam and already trying to get something implemented at work.
Using (all local instances):
Seam 2.1.1
JBoss 5.0.1
Ant 1.7
MSSQLServer2005
'seam generate' is outputting the following:
C:\seam211>seam generate
SEAM_HOME: C:\seam211
Using seam-gen sources from: C:\seam211\seam-gen
Buildfile: C:\seam211\seam-gen\build.xml
init:
init-properties:
[echo] C:/jboss501
validate-workspace:
validate-project:
init-generate:
generate-model:
[echo] Reverse engineering database using JDBC driver C:/mssqlserverdriver/
sqljdbc4.jar
[echo] project=C:/projects/Northwind1
[echo] model=com.pete.northwind1
[hibernate] Executing Hibernate Tool with a JDBC Configuration (for reverse engi
neering)
[hibernate] 1. task: hbm2java (Generates a set of .java files)
[hibernate] 29-Jul-2009 13:01:48 org.hibernate.cfg.Environment <clinit>
[hibernate] INFO: Hibernate 3.2.4.sp1
[hibernate] 29-Jul-2009 13:01:48 org.hibernate.cfg.Environment <clinit>
[hibernate] INFO: hibernate.properties not found
[hibernate] 29-Jul-2009 13:01:48 org.hibernate.cfg.Environment buildBytecodeProv
ider
[hibernate] INFO: Bytecode provider name : cglib
[hibernate] 29-Jul-2009 13:01:48 org.hibernate.cfg.Environment <clinit>
[hibernate] INFO: using JDK 1.4 java.sql.Timestamp handling
[hibernate] 29-Jul-2009 13:01:48 org.hibernate.cfg.reveng.OverrideRepository add
File
[hibernate] INFO: Override file: C:\projects\Northwind1\resources\seam-gen.reven
g.xml
[hibernate] 29-Jul-2009 13:01:48 org.hibernate.connection.DriverManagerConnectio
nProvider configure
[hibernate] INFO: Using Hibernate built-in connection pool (not for production u
se!)
[hibernate] 29-Jul-2009 13:01:48 org.hibernate.connection.DriverManagerConnectio
nProvider configure
[hibernate] INFO: Hibernate connection pool size: 20
[hibernate] 29-Jul-2009 13:01:48 org.hibernate.connection.DriverManagerConnectio
nProvider configure
[hibernate] INFO: autocommit mode: false
[hibernate] 29-Jul-2009 13:01:49 org.hibernate.connection.DriverManagerConnectio
nProvider configure
[hibernate] INFO: using driver: com.microsoft.sqlserver.jdbc.SQLServerDriver at
URL: jdbc:sqlserver://localhost/GERONIMO
[hibernate] 29-Jul-2009 13:01:49 org.hibernate.connection.DriverManagerConnectio
nProvider configure
[hibernate] INFO: connection properties: {user=sa, password=****}
[hibernate] 29-Jul-2009 13:02:03 org.hibernate.cfg.SettingsFactory buildSettings
[hibernate] WARNING: Could not obtain connection metadata
[hibernate] com.microsoft.sqlserver.jdbc.SQLServerException: The TCP/IP connecti
on to the host localhost/GERONIMO, port 1433 has failed. Error: "null. Verify th
e connection properties, check that an instance of SQL Server is running on the
host and accepting TCP/IP connections at the port, and that no firewall is block
ing TCP connections to the port.".
[hibernate] at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDrive
rError(SQLServerException.java:170)
[hibernate] at com.microsoft.sqlserver.jdbc.SQLServerConnection.connectHelpe
r(SQLServerConnection.java:1049)
[hibernate] at com.microsoft.sqlserver.jdbc.SQLServerConnection.login(SQLSer
verConnection.java:833)
[hibernate] at com.microsoft.sqlserver.jdbc.SQLServerConnection.connect(SQLS
erverConnection.java:716)
[hibernate] at com.microsoft.sqlserver.jdbc.SQLServerDriver.connect(SQLServe
rDriver.java:841)
[hibernate] at java.sql.DriverManager.getConnection(DriverManager.java:582)
[hibernate] at java.sql.DriverManager.getConnection(DriverManager.java:154)
[hibernate] at org.hibernate.connection.DriverManagerConnectionProvider.getC
onnection(DriverManagerConnectionProvider.java:110)
[hibernate] at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFacto
ry.java:84)
[hibernate] at org.hibernate.cfg.Configuration.buildSettings(Configuration.j
ava:2005)
[hibernate] at org.hibernate.cfg.JDBCMetaDataConfiguration.readFromJDBC(JDBC
MetaDataConfiguration.java:40)
[hibernate] at org.hibernate.tool.ant.JDBCConfigurationTask.doConfiguration(
JDBCConfigurationTask.java:81)
[hibernate] at org.hibernate.tool.ant.ConfigurationTask.getConfiguration(Con
figurationTask.java:55)
[hibernate] at org.hibernate.tool.ant.HibernateToolTask.getConfiguration(Hib
ernateToolTask.java:302)
[hibernate] at org.hibernate.tool.ant.HibernateToolTask.getProperties(Hibern
ateToolTask.java:318)
[hibernate] at org.hibernate.tool.ant.ExporterTask.configureExporter(Exporte
rTask.java:94)
[hibernate] at org.hibernate.tool.ant.Hbm2JavaExporterTask.configureExporter
(Hbm2JavaExporterTask.java:34)
[hibernate] at org.hibernate.tool.ant.ExporterTask.execute(ExporterTask.java
:39)
[hibernate] at org.hibernate.tool.ant.HibernateToolTask.execute(HibernateToo
lTask.java:186)
[hibernate] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.ja
va:288)
[hibernate] at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
[hibernate] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
hodAccessorImpl.java:25)
[hibernate] at java.lang.reflect.Method.invoke(Method.java:597)
[hibernate] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchU
tils.java:105)
[hibernate] at org.apache.tools.ant.Task.perform(Task.java:348)
[hibernate] at org.apache.tools.ant.Target.execute(Target.java:357)
[hibernate] at org.apache.tools.ant.Target.performTasks(Target.java:385)
[hibernate] at org.apache.tools.ant.Project.executeSortedTargets(Project.jav
a:1329)
[hibernate] at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
[hibernate] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(De
faultExecutor.java:41)
[hibernate] at org.apache.tools.ant.Project.executeTargets(Project.java:1181
)
[hibernate] at org.apache.tools.ant.Main.runBuild(Main.java:698)
[hibernate] at org.apache.tools.ant.Main.startAnt(Main.java:199)
[hibernate] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
[hibernate] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
[hibernate] 29-Jul-2009 13:02:03 org.hibernate.dialect.Dialect <init>
[hibernate] INFO: Using dialect: org.hibernate.dialect.SQLServerDialect
[hibernate] 29-Jul-2009 13:02:03 org.hibernate.transaction.TransactionFactoryFac
tory buildTransactionFactory
[hibernate] INFO: Using default transaction strategy (direct JDBC transactions)
[hibernate] 29-Jul-2009 13:02:03 org.hibernate.transaction.TransactionManagerLoo
kupFactory getTransactionManagerLookup
[hibernate] INFO: No TransactionManagerLookup configured (in JTA environment, us
e of read-write or transactional second-level cache is not recommended)
[hibernate] 29-Jul-2009 13:02:03 org.hibernate.cfg.SettingsFactory buildSettings
[hibernate] INFO: Automatic flush during beforeCompletion(): disabled
[hibernate] 29-Jul-2009 13:02:03 org.hibernate.cfg.SettingsFactory buildSettings
[hibernate] INFO: Automatic session close at end of transaction: disabled
[hibernate] 29-Jul-2009 13:02:03 org.hibernate.cfg.SettingsFactory buildSettings
[hibernate] INFO: Scrollable result sets: disabled
[hibernate] 29-Jul-2009 13:02:03 org.hibernate.cfg.SettingsFactory buildSettings
[hibernate] INFO: JDBC3 getGeneratedKeys(): disabled
[hibernate] 29-Jul-2009 13:02:03 org.hibernate.cfg.SettingsFactory buildSettings
[hibernate] INFO: Connection release mode: auto
[hibernate] 29-Jul-2009 13:02:03 org.hibernate.cfg.SettingsFactory buildSettings
[hibernate] INFO: Default catalog: Northwind
[hibernate] 29-Jul-2009 13:02:03 org.hibernate.cfg.SettingsFactory buildSettings
[hibernate] INFO: Default batch fetch size: 1
[hibernate] 29-Jul-2009 13:02:03 org.hibernate.cfg.SettingsFactory buildSettings
[hibernate] INFO: Generate SQL with comments: disabled
[hibernate] 29-Jul-2009 13:02:03 org.hibernate.cfg.SettingsFactory buildSettings
[hibernate] INFO: Order SQL updates by primary key: disabled
[hibernate] 29-Jul-2009 13:02:03 org.hibernate.cfg.SettingsFactory buildSettings
[hibernate] INFO: Order SQL inserts for batching: disabled
[hibernate] 29-Jul-2009 13:02:03 org.hibernate.cfg.SettingsFactory createQueryTr
anslatorFactory
[hibernate] INFO: Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFact
ory
[hibernate] 29-Jul-2009 13:02:03 org.hibernate.hql.ast.ASTQueryTranslatorFactory
<init>
[hibernate] INFO: Using ASTQueryTranslatorFactory
[hibernate] 29-Jul-2009 13:02:03 org.hibernate.cfg.SettingsFactory buildSettings
[hibernate] INFO: Query language substitutions: {}
[hibernate] 29-Jul-2009 13:02:03 org.hibernate.cfg.SettingsFactory buildSettings
[hibernate] INFO: JPA-QL strict compliance: disabled
[hibernate] 29-Jul-2009 13:02:03 org.hibernate.cfg.SettingsFactory buildSettings
[hibernate] INFO: Second-level cache: enabled
[hibernate] 29-Jul-2009 13:02:04 org.hibernate.cfg.SettingsFactory buildSettings
[hibernate] INFO: Query cache: disabled
[hibernate] 29-Jul-2009 13:02:04 org.hibernate.cfg.SettingsFactory createCachePr
ovider
[hibernate] INFO: Cache provider: org.hibernate.cache.HashtableCacheProvider
[hibernate] 29-Jul-2009 13:02:04 org.hibernate.cfg.SettingsFactory buildSettings
[hibernate] INFO: Optimize cache for minimal puts: disabled
[hibernate] 29-Jul-2009 13:02:04 org.hibernate.cfg.SettingsFactory buildSettings
[hibernate] INFO: Structured second-level cache entries: disabled
[hibernate] 29-Jul-2009 13:02:04 org.hibernate.cfg.SettingsFactory buildSettings
[hibernate] INFO: Statistics: disabled
[hibernate] 29-Jul-2009 13:02:04 org.hibernate.cfg.SettingsFactory buildSettings
[hibernate] INFO: Deleted entity synthetic identifier rollback: disabled
[hibernate] 29-Jul-2009 13:02:04 org.hibernate.cfg.SettingsFactory buildSettings
[hibernate] INFO: Default entity-mode: pojo
[hibernate] 29-Jul-2009 13:02:04 org.hibernate.cfg.SettingsFactory buildSettings
[hibernate] INFO: Named query checking : enabled
[hibernate] 29-Jul-2009 13:02:18 org.hibernate.connection.DriverManagerConnectio
nProvider close
[hibernate] INFO: cleaning up connection pool: jdbc:sqlserver://localhost/GERONI
MO
[hibernate] An exception occurred while running exporter #2:hbm2java (Generates
a set of .java files)
[hibernate] To get the full stack trace run ant with -verbose
[hibernate] org.hibernate.exception.JDBCConnectionException: Getting database me
tadata
[hibernate] com.microsoft.sqlserver.jdbc.SQLServerException: The TCP/IP connecti
on to the host localhost/GERONIMO, port 1433 has failed. Error: "null. Verify th
e connection properties, check that an instance of SQL Server is running on the
host and accepting TCP/IP connections at the port, and that no firewall is block
ing TCP connections to the port.".
BUILD FAILED
C:\seam211\seam-gen\build.xml:1164: org.hibernate.exception.JDBCConnectionExcept
ion: Getting database metadata
Total time: 31 seconds
C:\seam211>
Can anybody help me determine the reason? I have tried with a couple of different user credentials but get same output. Couldn't connect to this db with Netbeans either even though could connect to a networked db through Netbeans
Thanks for any help
Pete
New to Seam and already trying to get something implemented at work.
Using (all local instances):
Seam 2.1.1
JBoss 5.0.1
Ant 1.7
MSSQLServer2005
'seam generate' is outputting the following:
C:\seam211>seam generate
SEAM_HOME: C:\seam211
Using seam-gen sources from: C:\seam211\seam-gen
Buildfile: C:\seam211\seam-gen\build.xml
init:
init-properties:
[echo] C:/jboss501
validate-workspace:
validate-project:
init-generate:
generate-model:
[echo] Reverse engineering database using JDBC driver C:/mssqlserverdriver/
sqljdbc4.jar
[echo] project=C:/projects/Northwind1
[echo] model=com.pete.northwind1
[hibernate] Executing Hibernate Tool with a JDBC Configuration (for reverse engi
neering)
[hibernate] 1. task: hbm2java (Generates a set of .java files)
[hibernate] 29-Jul-2009 13:01:48 org.hibernate.cfg.Environment <clinit>
[hibernate] INFO: Hibernate 3.2.4.sp1
[hibernate] 29-Jul-2009 13:01:48 org.hibernate.cfg.Environment <clinit>
[hibernate] INFO: hibernate.properties not found
[hibernate] 29-Jul-2009 13:01:48 org.hibernate.cfg.Environment buildBytecodeProv
ider
[hibernate] INFO: Bytecode provider name : cglib
[hibernate] 29-Jul-2009 13:01:48 org.hibernate.cfg.Environment <clinit>
[hibernate] INFO: using JDK 1.4 java.sql.Timestamp handling
[hibernate] 29-Jul-2009 13:01:48 org.hibernate.cfg.reveng.OverrideRepository add
File
[hibernate] INFO: Override file: C:\projects\Northwind1\resources\seam-gen.reven
g.xml
[hibernate] 29-Jul-2009 13:01:48 org.hibernate.connection.DriverManagerConnectio
nProvider configure
[hibernate] INFO: Using Hibernate built-in connection pool (not for production u
se!)
[hibernate] 29-Jul-2009 13:01:48 org.hibernate.connection.DriverManagerConnectio
nProvider configure
[hibernate] INFO: Hibernate connection pool size: 20
[hibernate] 29-Jul-2009 13:01:48 org.hibernate.connection.DriverManagerConnectio
nProvider configure
[hibernate] INFO: autocommit mode: false
[hibernate] 29-Jul-2009 13:01:49 org.hibernate.connection.DriverManagerConnectio
nProvider configure
[hibernate] INFO: using driver: com.microsoft.sqlserver.jdbc.SQLServerDriver at
URL: jdbc:sqlserver://localhost/GERONIMO
[hibernate] 29-Jul-2009 13:01:49 org.hibernate.connection.DriverManagerConnectio
nProvider configure
[hibernate] INFO: connection properties: {user=sa, password=****}
[hibernate] 29-Jul-2009 13:02:03 org.hibernate.cfg.SettingsFactory buildSettings
[hibernate] WARNING: Could not obtain connection metadata
[hibernate] com.microsoft.sqlserver.jdbc.SQLServerException: The TCP/IP connecti
on to the host localhost/GERONIMO, port 1433 has failed. Error: "null. Verify th
e connection properties, check that an instance of SQL Server is running on the
host and accepting TCP/IP connections at the port, and that no firewall is block
ing TCP connections to the port.".
[hibernate] at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDrive
rError(SQLServerException.java:170)
[hibernate] at com.microsoft.sqlserver.jdbc.SQLServerConnection.connectHelpe
r(SQLServerConnection.java:1049)
[hibernate] at com.microsoft.sqlserver.jdbc.SQLServerConnection.login(SQLSer
verConnection.java:833)
[hibernate] at com.microsoft.sqlserver.jdbc.SQLServerConnection.connect(SQLS
erverConnection.java:716)
[hibernate] at com.microsoft.sqlserver.jdbc.SQLServerDriver.connect(SQLServe
rDriver.java:841)
[hibernate] at java.sql.DriverManager.getConnection(DriverManager.java:582)
[hibernate] at java.sql.DriverManager.getConnection(DriverManager.java:154)
[hibernate] at org.hibernate.connection.DriverManagerConnectionProvider.getC
onnection(DriverManagerConnectionProvider.java:110)
[hibernate] at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFacto
ry.java:84)
[hibernate] at org.hibernate.cfg.Configuration.buildSettings(Configuration.j
ava:2005)
[hibernate] at org.hibernate.cfg.JDBCMetaDataConfiguration.readFromJDBC(JDBC
MetaDataConfiguration.java:40)
[hibernate] at org.hibernate.tool.ant.JDBCConfigurationTask.doConfiguration(
JDBCConfigurationTask.java:81)
[hibernate] at org.hibernate.tool.ant.ConfigurationTask.getConfiguration(Con
figurationTask.java:55)
[hibernate] at org.hibernate.tool.ant.HibernateToolTask.getConfiguration(Hib
ernateToolTask.java:302)
[hibernate] at org.hibernate.tool.ant.HibernateToolTask.getProperties(Hibern
ateToolTask.java:318)
[hibernate] at org.hibernate.tool.ant.ExporterTask.configureExporter(Exporte
rTask.java:94)
[hibernate] at org.hibernate.tool.ant.Hbm2JavaExporterTask.configureExporter
(Hbm2JavaExporterTask.java:34)
[hibernate] at org.hibernate.tool.ant.ExporterTask.execute(ExporterTask.java
:39)
[hibernate] at org.hibernate.tool.ant.HibernateToolTask.execute(HibernateToo
lTask.java:186)
[hibernate] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.ja
va:288)
[hibernate] at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
[hibernate] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
hodAccessorImpl.java:25)
[hibernate] at java.lang.reflect.Method.invoke(Method.java:597)
[hibernate] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchU
tils.java:105)
[hibernate] at org.apache.tools.ant.Task.perform(Task.java:348)
[hibernate] at org.apache.tools.ant.Target.execute(Target.java:357)
[hibernate] at org.apache.tools.ant.Target.performTasks(Target.java:385)
[hibernate] at org.apache.tools.ant.Project.executeSortedTargets(Project.jav
a:1329)
[hibernate] at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
[hibernate] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(De
faultExecutor.java:41)
[hibernate] at org.apache.tools.ant.Project.executeTargets(Project.java:1181
)
[hibernate] at org.apache.tools.ant.Main.runBuild(Main.java:698)
[hibernate] at org.apache.tools.ant.Main.startAnt(Main.java:199)
[hibernate] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
[hibernate] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
[hibernate] 29-Jul-2009 13:02:03 org.hibernate.dialect.Dialect <init>
[hibernate] INFO: Using dialect: org.hibernate.dialect.SQLServerDialect
[hibernate] 29-Jul-2009 13:02:03 org.hibernate.transaction.TransactionFactoryFac
tory buildTransactionFactory
[hibernate] INFO: Using default transaction strategy (direct JDBC transactions)
[hibernate] 29-Jul-2009 13:02:03 org.hibernate.transaction.TransactionManagerLoo
kupFactory getTransactionManagerLookup
[hibernate] INFO: No TransactionManagerLookup configured (in JTA environment, us
e of read-write or transactional second-level cache is not recommended)
[hibernate] 29-Jul-2009 13:02:03 org.hibernate.cfg.SettingsFactory buildSettings
[hibernate] INFO: Automatic flush during beforeCompletion(): disabled
[hibernate] 29-Jul-2009 13:02:03 org.hibernate.cfg.SettingsFactory buildSettings
[hibernate] INFO: Automatic session close at end of transaction: disabled
[hibernate] 29-Jul-2009 13:02:03 org.hibernate.cfg.SettingsFactory buildSettings
[hibernate] INFO: Scrollable result sets: disabled
[hibernate] 29-Jul-2009 13:02:03 org.hibernate.cfg.SettingsFactory buildSettings
[hibernate] INFO: JDBC3 getGeneratedKeys(): disabled
[hibernate] 29-Jul-2009 13:02:03 org.hibernate.cfg.SettingsFactory buildSettings
[hibernate] INFO: Connection release mode: auto
[hibernate] 29-Jul-2009 13:02:03 org.hibernate.cfg.SettingsFactory buildSettings
[hibernate] INFO: Default catalog: Northwind
[hibernate] 29-Jul-2009 13:02:03 org.hibernate.cfg.SettingsFactory buildSettings
[hibernate] INFO: Default batch fetch size: 1
[hibernate] 29-Jul-2009 13:02:03 org.hibernate.cfg.SettingsFactory buildSettings
[hibernate] INFO: Generate SQL with comments: disabled
[hibernate] 29-Jul-2009 13:02:03 org.hibernate.cfg.SettingsFactory buildSettings
[hibernate] INFO: Order SQL updates by primary key: disabled
[hibernate] 29-Jul-2009 13:02:03 org.hibernate.cfg.SettingsFactory buildSettings
[hibernate] INFO: Order SQL inserts for batching: disabled
[hibernate] 29-Jul-2009 13:02:03 org.hibernate.cfg.SettingsFactory createQueryTr
anslatorFactory
[hibernate] INFO: Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFact
ory
[hibernate] 29-Jul-2009 13:02:03 org.hibernate.hql.ast.ASTQueryTranslatorFactory
<init>
[hibernate] INFO: Using ASTQueryTranslatorFactory
[hibernate] 29-Jul-2009 13:02:03 org.hibernate.cfg.SettingsFactory buildSettings
[hibernate] INFO: Query language substitutions: {}
[hibernate] 29-Jul-2009 13:02:03 org.hibernate.cfg.SettingsFactory buildSettings
[hibernate] INFO: JPA-QL strict compliance: disabled
[hibernate] 29-Jul-2009 13:02:03 org.hibernate.cfg.SettingsFactory buildSettings
[hibernate] INFO: Second-level cache: enabled
[hibernate] 29-Jul-2009 13:02:04 org.hibernate.cfg.SettingsFactory buildSettings
[hibernate] INFO: Query cache: disabled
[hibernate] 29-Jul-2009 13:02:04 org.hibernate.cfg.SettingsFactory createCachePr
ovider
[hibernate] INFO: Cache provider: org.hibernate.cache.HashtableCacheProvider
[hibernate] 29-Jul-2009 13:02:04 org.hibernate.cfg.SettingsFactory buildSettings
[hibernate] INFO: Optimize cache for minimal puts: disabled
[hibernate] 29-Jul-2009 13:02:04 org.hibernate.cfg.SettingsFactory buildSettings
[hibernate] INFO: Structured second-level cache entries: disabled
[hibernate] 29-Jul-2009 13:02:04 org.hibernate.cfg.SettingsFactory buildSettings
[hibernate] INFO: Statistics: disabled
[hibernate] 29-Jul-2009 13:02:04 org.hibernate.cfg.SettingsFactory buildSettings
[hibernate] INFO: Deleted entity synthetic identifier rollback: disabled
[hibernate] 29-Jul-2009 13:02:04 org.hibernate.cfg.SettingsFactory buildSettings
[hibernate] INFO: Default entity-mode: pojo
[hibernate] 29-Jul-2009 13:02:04 org.hibernate.cfg.SettingsFactory buildSettings
[hibernate] INFO: Named query checking : enabled
[hibernate] 29-Jul-2009 13:02:18 org.hibernate.connection.DriverManagerConnectio
nProvider close
[hibernate] INFO: cleaning up connection pool: jdbc:sqlserver://localhost/GERONI
MO
[hibernate] An exception occurred while running exporter #2:hbm2java (Generates
a set of .java files)
[hibernate] To get the full stack trace run ant with -verbose
[hibernate] org.hibernate.exception.JDBCConnectionException: Getting database me
tadata
[hibernate] com.microsoft.sqlserver.jdbc.SQLServerException: The TCP/IP connecti
on to the host localhost/GERONIMO, port 1433 has failed. Error: "null. Verify th
e connection properties, check that an instance of SQL Server is running on the
host and accepting TCP/IP connections at the port, and that no firewall is block
ing TCP connections to the port.".
BUILD FAILED
C:\seam211\seam-gen\build.xml:1164: org.hibernate.exception.JDBCConnectionExcept
ion: Getting database metadata
Total time: 31 seconds
C:\seam211>
Can anybody help me determine the reason? I have tried with a couple of different user credentials but get same output. Couldn't connect to this db with Netbeans either even though could connect to a networked db through Netbeans
Thanks for any help
Pete