[jboss-user] [Installation, Configuration & Deployment] - Help needed in running JBos server after the Databse connect

velu1980 do-not-reply at jboss.com
Fri Oct 20 16:07:50 EDT 2006


Hi All,

I am new bee to JBoss and this is my first  post to this forum.

I have the following problem, Please help me out.

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.

i want to start the JBoss server even though there is no database server connection.

I am getting the following error when i start my JBoss server:

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 org.springframework.orm.hibernate.LocalSessionFactoryBean.afterPropertiesSet
(LocalSessionFactoryBean.java:477)

Please let me know how to fix this problem.

Thanks in advance.

Thanks and Regards,
Velu




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

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



More information about the jboss-user mailing list