0 Replies Latest reply on Oct 20, 2006 4:07 PM by Velu S

    Help needed in running JBos server after the Databse connect

    Velu S Newbie

      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