2 Replies Latest reply on Jun 23, 2010 7:05 AM by Stefan Kruth

    Unable to start BL appserver - connection closed due to long period of inactivity

    Naveen Anne

      I am trying to login to the application server this morning and it returns the following message:

      Authentication service may have closed the connection due to long period of inactivity.

       

      I tried to restart the agent and application server. Application server failed to start with the following message in the log:

       

      [23 Jun 2010 07:49:09,360] [main] [ERROR] [::] [] Error installing to Start: name=bladelogic.service.AsDataSourceService state=Create
      java.lang.RuntimeException: java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
          at com.bladelogic.shared.db.pool.BlDbcpConnPool.init(BlDbcpConnPool.java:140)
          at com.bladelogic.app.service.db.BlDbPooledDataSource.createConnectionPool(BlDbPooledDataSource.java:53)
          at com.bladelogic.shared.db.pool.BlPooledDbDataSource.start(BlPooledDbDataSource.java:68)
          at com.bladelogic.app.service.db.BlAsDbDataSource.start(BlAsDbDataSource.java:201)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
          at java.lang.reflect.Method.invoke(Unknown Source)
          at org.jboss.joinpoint.plugins.reflect.ReflectMethodJoinPoint.dispatch(ReflectMethodJoinPoint.java:72)
          at org.jboss.kernel.plugins.dependency.KernelControllerContextActions$DispatchJoinPoint.run(KernelControllerContextActions.java:631)
          at java.security.AccessController.doPrivileged(Native Method)
          at org.jboss.kernel.plugins.dependency.KernelControllerContextActions.dispatchJoinPoint(KernelControllerContextActions.java:99)
          at org.jboss.kernel.plugins.dependency.KernelControllerContextActions$LifecycleAction.installAction(KernelControllerContextActions.java:452)
          at org.jboss.kernel.plugins.dependency.KernelControllerContextActions$1.run(KernelControllerContextActions.java:156)
          at java.security.AccessController.doPrivileged(Native Method)
          at org.jboss.kernel.plugins.dependency.KernelControllerContextActions$KernelControllerContextAction.install(KernelControllerContextActions.java:179)
          at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
          at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:226)
          at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:593)
          at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:346)
          at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:438)
          at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:379)
          at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:225)
          at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:151)
          at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBean(AbstractKernelDeployer.java:291)
          at com.bladelogic.app.service.bootstrap.ServiceBeanXMLDeployer.deployBean(ServiceBeanXMLDeployer.java:38)
          at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBeans(AbstractKernelDeployer.java:261)
          at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deploy(AbstractKernelDeployer.java:117)
          at org.jboss.kernel.plugins.deployment.xml.BeanXMLDeployer.deploy(BeanXMLDeployer.java:91)
          at com.bladelogic.app.service.bootstrap.ServiceBootstrap.deploy(ServiceBootstrap.java:240)
          at com.bladelogic.app.service.bootstrap.ServiceBootstrap.deployService(ServiceBootstrap.java:187)
          at com.bladelogic.app.service.bootstrap.ServiceBootstrap.bootstrap(ServiceBootstrap.java:141)
          at org.jboss.kernel.plugins.bootstrap.AbstractBootstrap.run(AbstractBootstrap.java:91)
          at com.bladelogic.app.service.bootstrap.ServiceBootstrap.startup(ServiceBootstrap.java:66)
          at com.bladelogic.mfw.fw.BlManager.start(BlManager.java:811)
          at com.bladelogic.mfw.fw.BlManager.main(BlManager.java:1300)
      Caused by: java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
          at com.bladelogic.shared.db.BlDbConnectionFactory.createConnection(BlDbConnectionFactory.java:61)
          at com.bladelogic.shared.db.BlDbConnectionFactory.createConnection(BlDbConnectionFactory.java:23)
          at com.bladelogic.shared.db.pool.BlDbDbCpConnectionFactory.createConnection(BlDbDbCpConnectionFactory.java:22)
          at org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:294)
          at com.bladelogic.shared.db.pool.BlPoolableConnectionFactory.makeObject(BlPoolableConnectionFactory.java:32)
          at com.bladelogic.app.service.db.BlDbPoolableConnectionFactory.makeObject(BlDbPoolableConnectionFactory.java:51)
          at org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:840)
          at com.bladelogic.shared.db.pool.BlConnObjectPool.borrowObject(BlConnObjectPool.java:75)
          at org.apache.commons.dbcp.PoolingDataSource.getConnection(PoolingDataSource.java:96)
          at com.bladelogic.shared.db.pool.BlDbcpConnPool.init(BlDbcpConnPool.java:131)
          ... 35 more

       

      Any idea what;s happening here? Quick responses are greatly appreciated.

      Thanks

      Naveen