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