Board logo

标题: 急啊!项目在服务器上部署之后启动报错! [打印本页]

作者: wunaia    时间: 2011-7-19 18:13     标题: 急啊!项目在服务器上部署之后启动报错!

严重: IOException while loading persisted sessions: java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: jatools.dom.ReportDataModel
java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: jatools.dom.ReportDataModel
        at java.io.ObjectInputStream.readObject0(Unknown Source)
        at java.io.ObjectInputStream.readObject(Unknown Source)
        at java.util.HashMap.readObject(Unknown Source)
        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 java.io.ObjectStreamClass.invokeReadObject(Unknown Source)
        at java.io.ObjectInputStream.readSerialData(Unknown Source)
        at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
        at java.io.ObjectInputStream.readObject0(Unknown Source)
        at java.io.ObjectInputStream.readObject(Unknown Source)
        at org.apache.catalina.session.StandardSession.readObject(StandardSession.java:1485)
        at org.apache.catalina.session.StandardSession.readObjectData(StandardSession.java:987)
        at org.apache.catalina.session.StandardManager.doLoad(StandardManager.java:394)
        at org.apache.catalina.session.StandardManager.load(StandardManager.java:321)
        at org.apache.catalina.session.StandardManager.start(StandardManager.java:648)
        at org.apache.catalina.core.ContainerBase.setManager(ContainerBase.java:446)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4630)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)
作者: wunaia    时间: 2011-7-19 18:22

同样的项目 在另一台PC机上正常.部署到服务器上就出错了.
作者: jennifer    时间: 2011-7-20 09:38

你的tomcat启动了,在tomcat退出时保存session里的对象,在tomcat启动时加载前session对象的选项。

关掉它,即可,方法参照:
http://accpxudajian.iteye.com/blog/978285




欢迎光临 杰表技术论坛 (http://bbs.jatools.com/) Powered by Discuz! 6.1.0