{"push_id":593742444,"size":1,"distinct_size":1,"ref":"refs/heads/patch-3","head":"ecf524447335184f58a7fe34822815ce56691bc9","before":"c68b827bfdef0f60abc1a62aa588ec4d554ede2f","commits":[{"sha":"ecf524447335184f58a7fe34822815ce56691bc9","author":{"email":"08df4989dcb838dfb4793ff29609887589235fbc@163.com","name":"Jeffrio"},"message":"Updata SessionService to make it serializable\n\nwhen I shudown the tomcat and restart it , the server try to recover the session ,but exception rised below and the saiku cannot work.\r\n\r\n\r\nMar 06, 2015 1:25:01 PM org.apache.catalina.session.StandardManager start\r\nSEVERE: Exception loading sessions from persistent storage\r\njava.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: org.saiku.web.service.SessionService\r\n        at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1354)\r\n        at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1990)\r\n        at java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:500)\r\n        at org.saiku.web.impl.SecurityAwareConnectionManager.readObject(SecurityAwareConnectionManager.java:306)\r\n        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)\r\n        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n        at java.lang.reflect.Method.invoke(Method.java:606)\r\n        at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:1017)\r\n        at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1893)\r\n        at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1798)\r\n        at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1350)\r\n        at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1990)\r\n        at java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:500)\r\n        at org.saiku.service.datasource.DatasourceService.readObject(DatasourceService.java:150)\r\n        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)\r\n        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n        at java.lang.reflect.Method.invoke(Method.java:606)\r\n        at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:1017)\r\n        at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1893)\r\n        at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1798)\r\n        at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1350)\r\n        at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1990)\r\n        at java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:500)\r\n        at org.saiku.service.olap.OlapDiscoverService.readObject(OlapDiscoverService.java:231)\r\n        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)\r\n        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n        at java.lang.reflect.Method.invoke(Method.java:606)\r\n        at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:1017)\r\n        at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1893)\r\n        at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1798)\r\n        at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1350)\r\n        at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1990)\r\n        at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1915)\r\n        at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1798)\r\n        at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1350)\r\n        at java.io.ObjectInputStream.readObject(ObjectInputStream.java:370)\r\n        at org.apache.catalina.session.StandardSession.readObject(StandardSession.java:1470)\r\n        at org.apache.catalina.session.StandardSession.readObjectData(StandardSession.java:972)\r\n        at org.apache.catalina.session.StandardManager.doLoad(StandardManager.java:394)\r\n        at org.apache.catalina.session.StandardManager.load(StandardManager.java:321)\r\n        at org.apache.catalina.session.StandardManager.start(StandardManager.java:637)\r\n        at org.apache.catalina.core.ContainerBase.setManager(ContainerBase.java:438)\r\n        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4396)\r\n        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)\r\n        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)\r\n        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:526)\r\n        at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1041)\r\n        at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:964)\r\n        at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502)\r\n        at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277)\r\n        at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321)\r\n        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)\r\n        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)\r\n        at org.apache.catalina.core.StandardHost.start(StandardHost.java:722)\r\n        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)\r\n        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)\r\n        at org.apache.catalina.core.StandardService.start(StandardService.java:516)\r\n        at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)\r\n        at org.apache.catalina.startup.Catalina.start(Catalina.java:593)\r\n        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)\r\n        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n        at java.lang.reflect.Method.invoke(Method.java:606)\r\n        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)\r\n        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)\r\nCaused by: java.io.NotSerializableException: org.saiku.web.service.SessionService\r\n        at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1183)\r\n        at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1547)\r\n        at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1508)\r\n        at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1431)\r\n        at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177)\r\n        at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1547)\r\n        at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1508)\r\n        at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1431)\r\n        at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177)\r\n        at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1547)\r\n        at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1508)\r\n        at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1431)\r\n        at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177)\r\n        at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1547)\r\n        at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1508)\r\n        at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1431)\r\n        at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177)\r\n        at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347)\r\n        at org.apache.catalina.session.StandardSession.writeObject(StandardSession.java:1546)\r\n        at org.apache.catalina.session.StandardSession.writeObjectData(StandardSession.java:989)\r\n        at org.apache.catalina.session.StandardManager.doUnload(StandardManager.java:517)\r\n        at org.apache.catalina.session.StandardManager.unload(StandardManager.java:463)\r\n        at org.apache.catalina.session.StandardManager.stop(StandardManager.java:667)\r\n        at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4611)\r\n        at org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:924)\r\n        at org.apache.catalina.startup.HostConfig.undeployApps(HostConfig.java:1319)\r\n        at org.apache.catalina.startup.HostConfig.stop(HostConfig.java:1290)\r\n        at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:323)\r\n        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)\r\n        at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1086)\r\n        at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1098)\r\n        at org.apache.catalina.core.StandardEngine.stop(StandardEngine.java:448)\r\n        at org.apache.catalina.core.StandardService.stop(StandardService.java:584)\r\n        at org.apache.catalina.core.StandardServer.stop(StandardServer.java:744)\r\n        at org.apache.catalina.startup.Catalina.stop(Catalina.java:643)\r\n        at org.apache.catalina.startup.Catalina.start(Catalina.java:618)\r\n        ... 6 more\r\n\r\nthis is because SessionService does not implete the Serializable interface.\r\nAfter I changed the SessionService , I got it work.","distinct":true,"url":"https://api.github.com/repos/Jeffrio/saiku/commits/ecf524447335184f58a7fe34822815ce56691bc9"}]}