随笔分类 -  tomcat

Invalid character found in the request target.The valid characters are defined in RFC 7230 and RFC39
摘要:背景在将tomcat升级到7.0.81版后,发现系统的有些功能不能使用了,查询日志发现是有些地址直接被tomcat认为存在不合法字符,返回HTTP 400错误响应,错入信息如下:原因分析经了解,这个问题是高版本tomcat中的新特性:就是严格按照 RFC 3986规范... 阅读全文
posted @ 2018-07-13 13:59 2637282556 阅读(143) 评论(0) 推荐(0)
tomcat配置虚拟目录
摘要:作用:访问网络地址目录映射到具体目录 下面测试,http://localhost:8080/uplaod/1.pdf 可以这样理解访问D:\pic\1.pdf 访问网络地址:http://localhost:8080/uplaod 具体目录:D:\pic 1 tomc... 阅读全文
posted @ 2018-04-17 15:21 2637282556 阅读(212) 评论(0) 推荐(0)
linux 下 tomcat开机自启动
摘要:shell脚本启动方式 1:我们在/etc/init.d下新建一个文件tomcat(需要在root权限下操作)vi /etc/init.d/tomcattomcat内容#!/bin/sh# chkconfig: 2345 99 10# description: Aut... 阅读全文
posted @ 2018-01-31 09:06 2637282556 阅读(245) 评论(0) 推荐(0)
查看tomcat进程,并删除进程
摘要:[root@server bin]# ps -ef |grep tomcat root 65722 1 1 02:10 pts/0 00:00:27 /usr/local/java/jdk1.7.0_79/jre/bin/java -Dja... 阅读全文
posted @ 2017-10-16 18:58 2637282556 阅读(759) 评论(0) 推荐(0)
Could not delete .........May be locked by another process.
摘要:问题 原因:默认的设置是文件修改后立即发布,这样的设置是在你每个保存文件时都会触发,如果tomcat已经在运行,这样频繁的操作也会造成文件锁死 解决: Tomcat 右键clean 阅读全文
posted @ 2017-08-03 16:25 2637282556 阅读(172) 评论(0) 推荐(0)
Eclipse添加新server时无法选择Tomcat7的问题
摘要:New Server对话框中选择了Tomcat 7后,无法单击“Next”按钮的问题解决 这时打开工程目录下的.metadata.plugins\org.eclipse.core.runtime.settings文件夹, 删除org.eclipse.wst.serve... 阅读全文
posted @ 2017-08-02 16:02 2637282556 阅读(146) 评论(0) 推荐(0)
tomcat 启动报错的各种解决
摘要:1.Server Tomcat v7.0 Server at localhost failed to start. 严重: A child container failed during start java.util.concurrent.ExecutionExce... 阅读全文
posted @ 2017-03-30 15:42 2637282556 阅读(515) 评论(0) 推荐(0)