Mantis - Resin
Viewing Issue Advanced Details
5681 minor always 03-10-14 09:22 09-08-14 16:31
alex  
ferg  
normal  
closed 4.0.37  
fixed  
none    
none 4.0.41  
0005681: NPE on shutdown
rep by Sharath

[14-03-06 07:49:47.142] {resin-shutdown} WebApp[production/webapp/www.explorece.com/resin-admin] stopping
[14-03-06 07:49:47.392] {resin-3550} WebApp[production/webapp/www.contentenablers.com/resin-doc] stopping
[14-03-06 07:49:47.439] {resin-3550} WebApp[production/webapp/www.contentenablers.com/ROOT] stopping
[14-03-06 07:49:47.439] {resin-3550} SessionImpl[aaa4z5_fBh5UYhXunYvsu,]: can't serialize session
                       java.lang.NullPointerException
                           at com.caucho.server.distcache.CacheDataBackingImpl.saveData(CacheDataBackingImpl.java:282)
                           at com.caucho.server.distcache.LocalDataManager.writeData(LocalDataManager.java:404)
                           at com.caucho.server.distcache.DistCacheEntry.putStream(DistCacheEntry.java:418)
                           at com.caucho.server.distcache.DistCacheEntry.put(DistCacheEntry.java:351)
                           at com.caucho.server.distcache.CacheImpl.put(CacheImpl.java:488)
                           at com.caucho.server.session.SessionImpl.save(SessionImpl.java:908)
                           at com.caucho.server.session.SessionImpl.saveOnShutdown(SessionImpl.java:940)
                           at com.caucho.server.session.SessionManager.close(SessionManager.java:1926)
                           at com.caucho.server.webapp.WebApp.stop(WebApp.java:4879)
                           at com.caucho.server.webapp.WebApp.destroy(WebApp.java:4932)
                           at com.caucho.env.deploy.DeployController.destroyInstance(DeployController.java:796)
                           at com.caucho.env.deploy.DeployController.stopImpl(DeployController.java:780)
                           at com.caucho.env.deploy.AbstractDeployControllerStrategy.stop(AbstractDeployControllerStrategy.java:85)
                           at com.caucho.env.deploy.DeployController.stop(DeployController.java:563)
                           at com.caucho.env.deploy.DeployContainer.stop(DeployContainer.java:412)
                           at com.caucho.server.webapp.WebAppContainer.stop(WebAppContainer.java:1222)
                           at com.caucho.server.host.Host.stop(Host.java:829)
                           at com.caucho.server.host.Host.destroy(Host.java:850)
                           at com.caucho.env.deploy.DeployController.destroyInstance(DeployController.java:796)
                           at com.caucho.env.deploy.DeployController.stopImpl(DeployController.java:780)
                           at com.caucho.env.deploy.DeployController.restartImpl(DeployController.java:630)
                           at com.caucho.env.deploy.StartAutoRedeployAutoStrategy.alarm(StartAutoRedeployAutoStrategy.java:206)
                           at com.caucho.env.deploy.DeployController.alarm(DeployController.java:871)
                           at com.caucho.env.deploy.DeployControllerAlarm.handleAlarm(DeployControllerAlarm.java:65)
                           at com.caucho.util.Alarm.handleAlarm(Alarm.java:523)
                           at com.caucho.util.Alarm.run(Alarm.java:495)
                           at com.caucho.env.thread2.ResinThread2.runTasks(ResinThread2.java:173)
                           at com.caucho.env.thread2.ResinThread2.run(ResinThread2.java:118)
                       
[14-03-06 07:49:47.439] {resin-3550} SessionImpl[aaa08vRjujAAPaG9oxwsu,]: can't serialize session
                       java.lang.NullPointerException
                           at com.caucho.server.distcache.CacheDataBackingImpl.saveData(CacheDataBackingImpl.java:282)
                           at com.caucho.server.distcache.LocalDataManager.writeData(LocalDataManager.java:404)
                           at com.caucho.server.distcache.DistCacheEntry.putStream(DistCacheEntry.java:418)
                           at com.caucho.server.distcache.DistCacheEntry.put(DistCacheEntry.java:351)
                           at com.caucho.server.distcache.CacheImpl.put(CacheImpl.java:488)
                           at com.caucho.server.session.SessionImpl.save(SessionImpl.java:908)
                           at com.caucho.server.session.SessionImpl.saveOnShutdown(SessionImpl.java:940)
                           at com.caucho.server.session.SessionManager.close(SessionManager.java:1926)
                           at com.caucho.server.webapp.WebApp.stop(WebApp.java:4879)
                           at com.caucho.server.webapp.WebApp.destroy(WebApp.java:4932)
                           at com.caucho.env.deploy.DeployController.destroyInstance(DeployController.java:796)
                           at com.caucho.env.deploy.DeployController.stopImpl(DeployController.java:780)
                           at com.caucho.env.deploy.AbstractDeployControllerStrategy.stop(AbstractDeployControllerStrategy.java:85)
                           at com.caucho.env.deploy.DeployController.stop(DeployController.java:563)
                           at com.caucho.env.deploy.DeployContainer.stop(DeployContainer.java:412)
                           at com.caucho.server.webapp.WebAppContainer.stop(WebAppContainer.java:1222)
                           at com.caucho.server.host.Host.stop(Host.java:829)
                           at com.caucho.server.host.Host.destroy(Host.java:850)
                           at com.caucho.env.deploy.DeployController.destroyInstance(DeployController.java:796)
                           at com.caucho.env.deploy.DeployController.stopImpl(DeployController.java:780)
                           at com.caucho.env.deploy.DeployController.restartImpl(DeployController.java:630)
                           at com.caucho.env.deploy.StartAutoRedeployAutoStrategy.alarm(StartAutoRedeployAutoStrategy.java:206)
                           at com.caucho.env.deploy.DeployController.alarm(DeployController.java:871)
                           at com.caucho.env.deploy.DeployControllerAlarm.handleAlarm(DeployControllerAlarm.java:65)
                           at com.caucho.util.Alarm.handleAlarm(Alarm.java:523)
                           at com.caucho.util.Alarm.run(Alarm.java:495)
                           at com.caucho.env.thread2.ResinThread2.runTasks(ResinThread2.java:173)
                           at com.caucho.env.thread2.ResinThread2.run(ResinThread2.java:118)
                       
[14-03-06 07:49:47.454] {resin-shutdown} ClusterServer[id=app-0,127.0.0.1:6802] notify-heartbeat-stop
[14-03-06 07:49:47.454] {resin-3550} WebApp[production/webapp/www.contentenablers.com/resin-admin] stopping

Shutdown Resin reason: MODIFIED

[14-03-06 07:49:47.782] {resin-shutdown} Shutdown Resin reason: MODIFIED
Shutdown timeout
[14-03-06 09:00:00.015] {resin-3569} java.lang.IllegalStateException: store Table[stat_data:0] is closing.
                           at com.caucho.db.block.BlockStore.assertStoreActive(BlockStore.java:880)
                           at com.caucho.db.table.Table.createTableIterator(Table.java:909)
                           at com.caucho.db.sql.DeleteQuery.execute(DeleteQuery.java:72)
                           at com.caucho.db.jdbc.PreparedStatementImpl.execute(PreparedStatementImpl.java:367)
                           at com.caucho.db.jdbc.PreparedStatementImpl.executeUpdate(PreparedStatementImpl.java:337)
                           at com.caucho.server.admin.StatDatabase$ReaperTask.handleAlarm(StatDatabase.java:890)
                           at com.caucho.util.Alarm.handleAlarm(Alarm.java:523)
                           at com.caucho.util.Alarm.run(Alarm.java:495)
                           at com.caucho.env.thread2.ResinThread2.runTasks(ResinThread2.java:173)
                           at com.caucho.env.thread2.ResinThread2.run(ResinThread2.java:118)
                       

There are no notes attached to this issue.