Tomact啓動問題

問題:
[b]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[/b]

[color=red]一般拋出EOFException是指流讀取越界了,也就是數據流已經讀完了繼續讀,
或者流沒有準備好就讀數據[/color]

答案:
是因爲保存在硬盤上的session數據讀取失敗,問題似乎不大,但是如果不處理一下,每次啓動都會出現這個問題,處理方法如下:

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

(以上內容轉載 )
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章