`
kidd
  • 浏览: 179747 次
  • 性别: Icon_minigender_1
  • 来自: 河南
社区版块
存档分类
最新评论

Tomact启动问题

阅读更多
问题:
The listener "org.springframework.web.context.ContextLoaderListener" is already configured for this context. The duplicate definition has been ignored.信息: The listener "org.springframework.web.context.ContextLoaderListener" is already configured for this context. The duplicate definition has been ignored.
2009-2-9 17:12:31 org.apache.catalina.session.StandardManager doLoad
严重: IOException while loading persisted sessions: java.io.EOFException
java.io.EOFException


一般抛出EOFException是指流读取越界了,也就是数据流已经读完了继续读,
或者流没有准备好就读数据


答案:
是因为保存在硬盘上的session数据读取失败,问题似乎不大,但是如果不处理一下,每次启动都会出现这个问题,处理方法如下:

将work(例如:tomcat5.5.20\work\Catalina\localhost\_下面的文件清空,主要是*.ser文件,或者只是删除掉session.ser亦可。

(以上内容转载 )
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics