tomcat 配置
1,修改tomcat部署war包大小限制的做法:
在tomcat/webapps/manager/WEB-INF/web.xml文件中找到
<multipart-config> <!-- 50MB max --> <max-file-size>52428800</max-file-size> <max-request-size>52428800</max-request-size> <file-size-threshold>0</file-size-threshold> </multipart-config>
修改为能上传100M的war包:
<multipart-config> <max-file-size>104758600</max-file-size> <max-request-size>104758600</max-request-size> <file-size-threshold>0</file-size-threshold> </multipart-config>
2,登录tomcat管理的url地址是在tomat访问跟跟路径下加上/manager/html 能够输入登录tomcat的账号和密码。输入正确的账号和密码后就能上传war包了
3,学会配置登录tomcat manager的账号和密码 conf\tomcat-users.xml中配