[jboss-user] [Installation, Configuration & Deployment] - Connection Pooling issues

akarthi80 do-not-reply at jboss.com
Thu Oct 19 16:31:11 EDT 2006


During the process of starting the JBoss server, if Database server is not available or not reachable, the server continuously pools for Database connection (does not even pool for number of attempts) and does not start the server. 

and the stack is 

10:41:12,876 WARN  [JDBCExceptionReporter] SQL Error: 0, SQLState: null
10:41:12,876 ERROR [JDBCExceptionReporter] Cannot create PoolableConnectionFactory (Io exception: Unknown host specified )
10:41:12,886 WARN  [SettingsFactory] Could not obtain connection metadata
org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Io exception: Unknown host specified )
        at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:855)
        at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:540)
        at org.springframework.orm.hibernate.LocalDataSourceConnectionProvider.getConnection(LocalDataSourceConnectionProvider.java:76)
        at net.sf.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:84)
        at net.sf.hibernate.cfg.Configuration.buildSettings(Configuration.java:1172)
        at net.sf.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:803)
        at org.springframework.orm.hibernate.LocalSessionFactoryBean.newSessionFactory(LocalSessionFactoryBean.java:543)
        at 

pl help me out 2 fig out this problem

Thanks
Karthik

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979473#3979473

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3979473



More information about the jboss-user mailing list