20170526

今天布在服务器上的代码,启动tomcat时报错
Tomcat 启动时报错(IO 错误: The Network Adapter could not establish the connection)
即连接不上数据库
1,在命令提示行:重启数据库,依然报错、
2发现数据库开启了归档模式,怀疑是归档的原因,于是删除了日志文档,并且关闭归档模式也无用,还是在报错
3,最后发现是其他项目布置在服务器后,项目删掉了,但是归档文件并没有删掉,导致该归档文件找不到需要备份的项目数据,所以会报这个错误,删掉即可
是posp-jsadcfl.xml

内容:

<Context path="/posp-jsabcfl" reloadable="true" docBase="E:\work\posp-jsabcfl\trunk\WebRoot" workDir="E:\work\posp-jsabcfl\trunk\work" />"

posp-jsbocsl.xml

内容:

    <Context path="/posp-jsbocsl" reloadable="true" docBase="E:\work\posp-jsbocsl\trunk\WebRoot" workDir="E:\work\posp-jsbocsl\trunk\work" />

猜你喜欢

转载自blog.csdn.net/Ape55/article/details/72772211