Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

PoolableConnectionFactory problem

 
ForzaMilan
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
is there anyone can help me about this error:

ERROR [2008-06-19 13:16:05,234] org.hibernate.util.JDBCExceptionReporter - Cannot create PoolableConnectionFactory (JZ006: Caught IOException: java.net.ConnectException: Connection refused: connect)
WARN [2008-06-19 13:16:05,234] org.hibernate.cfg.SettingsFactory - Could not obtain connection metadata
org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (JZ006: Caught IOException: java.net.ConnectException: Connection refused: connect)

This my hibernate conf:
hibernate.dialect=org.hibernate.dialect.SybaseDialect
hibernate.connection.driver_class=com.sybase.jdbc2.jdbc.SybDriver
hibernate.connection.username=sa
hibernate.connection.password=milan
hibernate.connection.url=jdbc:sybase:Tds:myserver:16101/collaudo_db



Thanks.
 
Sagar Rohankar
Ranch Hand
Posts: 2907
1
Java Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


As per the exception , it seems that driver class can`t connect with DB , check out the DB permission and DB url !!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic