1 Reply Latest reply on Jan 10, 2013 10:54 AM by sabaricse

    JBoss AS 7.0.2 stops automatically on being idle

    akhilachuthan

      Hi,

       

      I am using JBoss 7.0.2 (on CentOS) to deploy my application as a war. I am facing a problem with my JBoss shutting down automatically without anybody shutting it down. Not sure if this happens when i leave jboss idle without using it for some time.

       

      The following are the logs that i have acquired from the log files.. I start jboss with the command  "./standalone.sh -b 0.0.0.0 >jboss-console.log 2>&1 &"

       

      Any help on this this regard would be helpful....

       

      Thanks in advance

       

      server.log

      =======

      21:11:26,345 INFO  [org.apache.cxf.service.factory.ReflectionServiceFactoryBean] (http--0.0.0.0-8080-1) Creating Service {http://ws.openkm.com}OKMAuth from WSDL: http://192.168.1.61:8081/OpenKM/services/OKMAuth?wsdl

      23:17:51,857 INFO  [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/CCMASWeb]] (MSC service thread 1-2) Destroying Spring FrameworkServlet 'spring'

      23:17:51,934 INFO  [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/CCMASWeb]] (MSC service thread 1-2) Cleaning up Shiro Environment

      23:17:51,934 INFO  [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/CCMASWeb]] (MSC service thread 1-2) Closing Spring root WebApplicationContext

      23:17:51,953 INFO  [org.apache.coyote.http11.Http11Protocol] (MSC service thread 1-1) Stopping Coyote HTTP/1.1 on http--0.0.0.0-8080

       

       

      myapplication.log

      =============

      23:17:32,281  INFO LoggingFilter:159 - IDLE

      23:17:32,282  INFO LoggingFilter:159 - IDLE

      23:17:43,279  INFO LoggingFilter:159 - IDLE

      23:17:43,279  INFO LoggingFilter:159 - IDLE

      23:17:51,858  INFO XmlWebApplicationContext:1025 - Closing WebApplicationContext for namespace 'spring-servlet': startup date [Sat Jan 05 14:05:58 IST 2013]; parent: Root WebApplicationContext

      23:17:51,859  INFO DefaultListableBeanFactory:433 - Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@66c23984: defining beans [roleController,logoutController,userGroupController,materialController,supplierController,auditController,firstController,homeController,CCMASBusinessController,loginController,applicationController,agreementController,userController,scheduleController,agreementScheduleController,reportController,materialRequestController,org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,org.springframework.context.annotation.internalPersistenceAnnotationProcessor,org.springframework.web.servlet.view.ContentNegotiatingViewResolver#0,themeSource,themeChangeInterceptor,themeResolver,handlerMapping,org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping#0,org.springframework.format.support.FormattingConversionServiceFactoryBean#0,org.springframework.validation.beanvalidation.LocalValidatorFactoryBean#0,org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter#0,org.springframework.web.servlet.handler.MappedInterceptor#0,org.springframework.web.servlet.mvc.method.annotation.ExceptionHandlerExceptionResolver#0,org.springframework.web.servlet.mvc.annotation.ResponseStatusExceptionResolver#0,org.springframework.web.servlet.mvc.support.DefaultHandlerExceptionResolver#0,org.springframework.web.servlet.handler.BeanNameUrlHandlerMapping,org.springframework.web.servlet.mvc.HttpRequestHandlerAdapter,org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter,org.springframework.web.servlet.handler.MappedInterceptor#1,localeResolver,messageSource,localeChangeInterceptor,UserGroupValidator,validator,org.springframework.context.annotation.ConfigurationClassPostProcessor$ImportAwareBeanPostProcessor#0]; parent: org.springframework.beans.factory.support.DefaultListableBeanFactory@790a8469

      23:17:51,934  INFO XmlWebApplicationContext:1025 - Closing Root WebApplicationContext: startup date [Sat Jan 05 14:05:13 IST 2013]; root of context hierarchy

      23:17:51,936  INFO DefaultLifecycleProcessor:349 - Stopping beans in phase 2147483647

      23:17:51,937  INFO QuartzScheduler:537 - Scheduler org.springframework.scheduling.quartz.SchedulerFactoryBean#0_$_NON_CLUSTERED paused.

      23:17:51,937  INFO DefaultListableBeanFactory:433 - Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@790a8469: defining beans [org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,org.springframework.context.annotation.internalPersistenceAnnotationProcessor,dataSource1,txAdvice,org.springframework.aop.config.internalAutoProxyCreator,serviceOperation,org.springframework.aop.support.DefaultBeanFactoryPointcutAdvisor#0,transactionManager,sqlMapClient,userDao,roleDao,materialDao,supplierDao,messageDao,scheduleDao,applicationDao,applnProcessFlowDao,materialRequestDao,islandDao,agreementDao,queryDao,infoDao,auditDao,restTemplate,customObjectMapper,shiroFilter,securityManager,lifecycleBeanPostProcessor,ldapRealm,myContextFactory,ldapBean,ldapTemplate,passwordService,dbcRealm,multipartResolver,shiroCacheManager,springEhCacheManager,userManagement,userGroupManagement,roleManagement,applicationManagement,materialService,infoService,messageService,supplierService,agreementService,scheduleService,materialRequestService,auditService,documentManagement,mailer,sms,islandService,queryService,applnProcessFlowService,schedulerTask,applicationJob,meritListJob,materialMeritListJob,schedulerJob,org.springframework.scheduling.quartz.SchedulerFactoryBean#0,cronTriggerApplicationJob,cronTriggerMeritListJob,cronTriggerMaterialMeritListJob,cronTriggerMessageJob,sessionManager,org.springframework.context.annotation.ConfigurationClassPostProcessor$ImportAwareBeanPostProcessor#0]; root of factory hierarchy

      23:17:51,937  INFO SchedulerFactoryBean:758 - Shutting down Quartz Scheduler

      23:17:51,938  INFO QuartzScheduler:616 - Scheduler org.springframework.scheduling.quartz.SchedulerFactoryBean#0_$_NON_CLUSTERED shutting down.

      23:17:51,938  INFO QuartzScheduler:537 - Scheduler org.springframework.scheduling.quartz.SchedulerFactoryBean#0_$_NON_CLUSTERED paused.

      23:17:51,938  INFO QuartzScheduler:686 - Scheduler org.springframework.scheduling.quartz.SchedulerFactoryBean#0_$_NON_CLUSTERED shutdown complete.

      23:17:51,954  INFO AbstractValidatingSessionManager:240 - Disabled session validation scheduler.

      23:17:51,954  INFO EhCacheManagerFactoryBean:133 - Shutting down EHCache CacheManager