1.把皕杰報(bào)表部署到服務(wù)器上,最近打開(kāi)網(wǎng)頁(yè)端時(shí)候報(bào)505,然后想重啟tomcat,關(guān)閉后再啟動(dòng),tomcat也打不開(kāi)了,打開(kāi)日志文件,報(bào)以下的錯(cuò)。
Protocol handler initialization failed
Caused by: java.net.BindException: Address already in use
這個(gè)錯(cuò)誤意味這端口被占用,也沒(méi)啟用其他的tomcat,想著可能就是關(guān)閉tomcat時(shí)候,沒(méi)關(guān)掉。
我們查看進(jìn)程,把進(jìn)程kill掉,再次重新啟動(dòng)tomcat。
2.org.apache.catalina.core.StandardContext.startInternal One or more Filters failed to start. Full details will be found in the appropriate container log file
?org.apache.catalina.core.StandardContext.startInternal Context [/iface] startup failed due to previous errors
這個(gè)錯(cuò)誤的原因是皕杰平臺(tái)的授權(quán)過(guò)期了,我們只需要在皕杰報(bào)表官網(wǎng)上下載新的臨時(shí)授權(quán),把webapps\iface\WEB-INF\lib下的授權(quán)替換掉就可以。

總結(jié),就是授權(quán)過(guò)期了,然后未正確關(guān)閉tomcat,導(dǎo)致重啟tomcat后顯示端口被占用,關(guān)掉tomcat進(jìn)程,替換臨時(shí)授權(quán)就可以。