Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/maven/6.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Maven Tomcat插件:can';无法部署到服务器_Maven_Tomcat_Maven Tomcat Plugin - Fatal编程技术网

Maven Tomcat插件:can';无法部署到服务器

Maven Tomcat插件:can';无法部署到服务器,maven,tomcat,maven-tomcat-plugin,Maven,Tomcat,Maven Tomcat Plugin,我的环境:Windows8.1->Tomcat7.0.59->Maven 3.2.5 我有一个现成的项目,我可以编译,获取war文件,复制到%TOMCAT\u HOME%\webapps,启动TOMCAT并运行我的应用程序,一切正常。但我想安装自动部署。我在我的pom.xml中添加了一个插件: <plugin> <groupId>org.apache.tomcat.maven</groupId> <artifactId>tomcat

我的环境:Windows8.1->Tomcat7.0.59->Maven 3.2.5

我有一个现成的项目,我可以编译,获取war文件,复制到%TOMCAT\u HOME%\webapps,启动TOMCAT并运行我的应用程序,一切正常。但我想安装自动部署。我在我的pom.xml中添加了一个插件:

<plugin>
    <groupId>org.apache.tomcat.maven</groupId>
    <artifactId>tomcat7-maven-plugin</artifactId>
    <version>${tomcat.version}</version>
    <configuration>
        <url>http://localhost:8080/manager/html</url>
        <server>MyTomcat</server>
        <path>/foxrestful</path>
    </configuration>
</plugin>
<?xml version="1.0" encoding="UTF-8"?>
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
  <pluginGroups>
  </pluginGroups>
  <proxies>
  </proxies>
  <servers>   
    <server>
        <id>MyTomcat</id>
        <username>admin</username>
        <password>11qqsd</password>
    </server>
  </servers>
  <mirrors>
  </mirrors>  
  <profiles>
  </profiles>
</settings>
我得到:

[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building foxrestful 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] >>> tomcat7-maven-plugin:2.2:deploy (default-cli) > package @ foxrestful >>>
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ foxrestful ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ foxrestful ---
[INFO] Nothing to compile - all classes are up to date
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ foxrestful ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory e:\Compilers\Projects\Java\JerseyRESTful\src\test\resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ foxrestful ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ foxrestful ---
[INFO] No tests to run.
[INFO] 
[INFO] --- maven-war-plugin:2.6:war (default-war) @ foxrestful ---
[INFO] Packaging webapp
[INFO] Assembling webapp [foxrestful] in [e:\Compilers\Projects\Java\JerseyRESTful\target\foxrestful]
[INFO] Processing war project
[INFO] Copying webapp resources [e:\Compilers\Projects\Java\JerseyRESTful\src\main\webapp]
[INFO] Webapp assembled in [170 msecs]
[INFO] Building war: e:\Compilers\Projects\Java\JerseyRESTful\target\foxrestful.war
[INFO] 
[INFO] <<< tomcat7-maven-plugin:2.2:deploy (default-cli) < package @ foxrestful <<<
[INFO] 
[INFO] --- tomcat7-maven-plugin:2.2:deploy (default-cli) @ foxrestful ---
[INFO] Deploying war to http://localhost:8080/foxrestful  
Uploading: http://localhost:8080/manager/html/deploy?path=%2Ffoxrestful
2/11111 KB   
4/11111 KB   
6/11111 KB   
8/11111 KB   
10/11111 KB   
12/11111 KB   
14/11111 KB   
16/11111 KB   
18/11111 KB   
20/11111 KB   
22/11111 KB   
24/11111 KB   
26/11111 KB   
28/11111 KB   
30/11111 KB   
32/11111 KB   
34/11111 KB   
36/11111 KB   
38/11111 KB   
40/11111 KB   
42/11111 KB   
44/11111 KB   
46/11111 KB   
48/11111 KB   
50/11111 KB   
52/11111 KB   
54/11111 KB   
56/11111 KB   
58/11111 KB   
60/11111 KB   
62/11111 KB   
64/11111 KB   
66/11111 KB   
68/11111 KB   
70/11111 KB   
72/11111 KB   
74/11111 KB   
76/11111 KB   
78/11111 KB   
80/11111 KB   
82/11111 KB   
84/11111 KB   
86/11111 KB   
88/11111 KB   
90/11111 KB   
92/11111 KB   
94/11111 KB   
96/11111 KB   
98/11111 KB   
100/11111 KB   
102/11111 KB   
104/11111 KB   
106/11111 KB   
108/11111 KB   
110/11111 KB   
112/11111 KB   
114/11111 KB   
116/11111 KB   
118/11111 KB   
120/11111 KB   
122/11111 KB   
124/11111 KB   
126/11111 KB   
128/11111 KB   
130/11111 KB   
132/11111 KB   
134/11111 KB   
136/11111 KB   
138/11111 KB   
140/11111 KB   
142/11111 KB   
144/11111 KB   
146/11111 KB   
148/11111 KB   
150/11111 KB   
152/11111 KB   
154/11111 KB   
156/11111 KB   
158/11111 KB   
160/11111 KB   
162/11111 KB   
164/11111 KB   
166/11111 KB   
168/11111 KB   
170/11111 KB   
172/11111 KB   
174/11111 KB   
176/11111 KB   
178/11111 KB   
180/11111 KB   
182/11111 KB   
184/11111 KB   
186/11111 KB   
188/11111 KB   
190/11111 KB   
192/11111 KB   

[INFO] I/O exception (java.net.SocketException) caught when processing request: Connection reset by peer: socket write error
[INFO] Retrying request
Uploading: http://localhost:8080/manager/html/deploy?path=%2Ffoxrestful
2/11111 KB   
4/11111 KB   
6/11111 KB   
8/11111 KB   
10/11111 KB   
12/11111 KB   
14/11111 KB   
16/11111 KB   
18/11111 KB   
20/11111 KB   
22/11111 KB   
24/11111 KB   
26/11111 KB   
28/11111 KB   
30/11111 KB   
32/11111 KB   
34/11111 KB   
36/11111 KB   
38/11111 KB   
40/11111 KB   
42/11111 KB   
44/11111 KB   
46/11111 KB   
48/11111 KB   
50/11111 KB   
52/11111 KB   
54/11111 KB   
56/11111 KB   
58/11111 KB   
60/11111 KB   
62/11111 KB   
64/11111 KB   
66/11111 KB   
68/11111 KB   
70/11111 KB   
72/11111 KB   
74/11111 KB   
76/11111 KB   
78/11111 KB   
80/11111 KB   
82/11111 KB   
84/11111 KB   
86/11111 KB   
88/11111 KB   
90/11111 KB   
92/11111 KB   
94/11111 KB   
96/11111 KB   
98/11111 KB   
100/11111 KB   
102/11111 KB   
104/11111 KB   
106/11111 KB   
108/11111 KB   
110/11111 KB   
112/11111 KB   
114/11111 KB   
116/11111 KB   
118/11111 KB   
120/11111 KB   

[INFO] I/O exception (java.net.SocketException) caught when processing request: Connection reset by peer: socket write error
[INFO] Retrying request
Uploading: http://localhost:8080/manager/html/deploy?path=%2Ffoxrestful
2/11111 KB   
4/11111 KB   
6/11111 KB   
8/11111 KB   
10/11111 KB   
12/11111 KB   
14/11111 KB   
16/11111 KB   
18/11111 KB   
20/11111 KB   
22/11111 KB   
24/11111 KB   
26/11111 KB   
28/11111 KB   
30/11111 KB   
32/11111 KB   
34/11111 KB   
36/11111 KB   
38/11111 KB   
40/11111 KB   
42/11111 KB   
44/11111 KB   
46/11111 KB   
48/11111 KB   
50/11111 KB   
52/11111 KB   
54/11111 KB   
56/11111 KB   
58/11111 KB   
60/11111 KB   
62/11111 KB   
64/11111 KB   
66/11111 KB   
68/11111 KB   
70/11111 KB   
72/11111 KB   
74/11111 KB   
76/11111 KB   
78/11111 KB   
80/11111 KB   
82/11111 KB   
84/11111 KB   
86/11111 KB   
88/11111 KB   
90/11111 KB   
92/11111 KB   
94/11111 KB   
96/11111 KB   
98/11111 KB   
100/11111 KB   
102/11111 KB   
104/11111 KB   
106/11111 KB   
108/11111 KB   
110/11111 KB   
112/11111 KB   
114/11111 KB   
116/11111 KB   
118/11111 KB   
120/11111 KB   
122/11111 KB   
124/11111 KB   
126/11111 KB   
128/11111 KB   
130/11111 KB   
132/11111 KB   
134/11111 KB   
136/11111 KB   
138/11111 KB   
140/11111 KB   

[INFO] I/O exception (java.net.SocketException) caught when processing request: Connection reset by peer: socket write error
[INFO] Retrying request
Uploading: http://localhost:8080/manager/html/deploy?path=%2Ffoxrestful
2/11111 KB   
4/11111 KB   
6/11111 KB   
8/11111 KB   
10/11111 KB   
12/11111 KB   
14/11111 KB   
16/11111 KB   
18/11111 KB   
20/11111 KB   
22/11111 KB   
24/11111 KB   
26/11111 KB   
28/11111 KB   
30/11111 KB   
32/11111 KB   
34/11111 KB   
36/11111 KB   
38/11111 KB   
40/11111 KB   
42/11111 KB   
44/11111 KB   
46/11111 KB   
48/11111 KB   
50/11111 KB   
52/11111 KB   
54/11111 KB   
56/11111 KB   
58/11111 KB   
60/11111 KB   
62/11111 KB   
64/11111 KB   
66/11111 KB   
68/11111 KB   
70/11111 KB   
72/11111 KB   
74/11111 KB   
76/11111 KB   
78/11111 KB   
80/11111 KB   
82/11111 KB   
84/11111 KB   
86/11111 KB   
88/11111 KB   
90/11111 KB   
92/11111 KB   
94/11111 KB   
96/11111 KB   
98/11111 KB   
100/11111 KB   
102/11111 KB   
104/11111 KB   
106/11111 KB   
108/11111 KB   
110/11111 KB   
112/11111 KB   
114/11111 KB   
116/11111 KB   
118/11111 KB   
120/11111 KB   
122/11111 KB   
124/11111 KB   
126/11111 KB   
128/11111 KB   
130/11111 KB   
132/11111 KB   

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.210 s
[INFO] Finished at: 2015-03-18T17:28:50+03:00
[INFO] Final Memory: 15M/210M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.tomcat.maven:tomcat7-maven-plugin:2.2:deploy (default-cli) on project foxrestful: Cannot invoke Tomcat manager: Connection reset by peer: socket write error -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[INFO]正在扫描项目。。。
[信息]
[信息]------------------------------------------------------------------------
[信息]构建foxrestful 1.0-SNAPSHOT
[信息]------------------------------------------------------------------------
[信息]
[INFO]>>>tomcat7 maven插件:2.2:deploy(默认cli)>package@foxrestful>>>
[信息]
[信息]---maven资源插件:2.6:resources(默认资源)@foxrestful---
[信息]使用“UTF-8”编码复制筛选的资源。
[信息]正在复制1个资源
[信息]
[信息]---maven编译器插件:2.3.2:compile(默认编译)@foxrestful---
[信息]无需编译-所有类都是最新的
[信息]
[信息]---maven资源插件:2.6:testResources(默认testResources)@foxrestful---
[信息]使用“UTF-8”编码复制筛选的资源。
[信息]跳过不存在的资源目录e:\Compilers\Projects\Java\JerseyRESTful\src\test\resources
[信息]
[信息]---maven编译器插件:2.3.2:testCompile(默认testCompile)@foxrestful---
[信息]没有要编译的源
[信息]
[信息]---maven surefire插件:2.12.4:test(默认测试)@foxrestful---
[信息]没有要运行的测试。
[信息]
[信息]---maven war插件:2.6:war(默认war)@foxrestful---
[信息]打包webapp
[信息]在[e:\Compilers\Projects\Java\JerseyRESTful\target\Foxlestful]中组装webapp[Foxlestful]
[信息]处理战争项目
[信息]正在复制webapp资源[e:\Compilers\Projects\Java\JerseyRESTful\src\main\webapp]
[信息]网络应用程序在[170毫秒]内组装
[信息]构建war:e:\Compilers\Projects\Java\JerseyRESTful\target\foxrestful.war
[信息]
[信息]尝试使用“mvn tomcat7:重新部署”命令
而不是


此外,不应同时授予用户管理器gui、管理器脚本角色。

在pom fie插件配置中,使用以下命令:

<configuration>
    <url>http://localhost:8080/manager/text</url>
    <server>MyTomcat</server>
    <username>admin</username>
    <password>11qqsd</password>
    <path>/foxrestful</path>
</configuration>

http://localhost:8080/manager/text
八哥
管理
11qqsd
/狐狸精
您必须将URL更改为
manager/text
n而不是
manager/html

如果单独更改不起作用,请将
也添加到插件配置中,它就会起作用。

tomcat-user.xml有问题

<tomcat-users>
<role rolename="admin-gui"/>
<role rolename="admin-script"/>
<role rolename="manager-gui"/>
<role rolename="manager-script"/>
<role rolename="manager-jmx"/>
<role rolename="manager-status"/>
<role rolename="manager-gui"/>
<user username="tomcat" password="pwd" roles="manager-gui,manager-script,manager-jmx,manager-status,admin-script,admin-gui"/>


我确实通过将用户名/密码放在pom文件中解决了这个问题

但是,如果我只想在maven setttings.xml上配置用户名/密码,我想知道为什么它不起作用

有人知道吗

谢谢

这解决了错误

无法调用Tomcat管理器:对等方重置连接:套接字写入错误

以管理员身份运行启动两个单独的命令提示符终端。在第一个终端中,转到您的tomcat bin dir并运行shutdown.bat,在我的例子中是startup.bat

c:\Program Files\Apache软件基金会\Apache-tomcat-8.5.8\bin>shutdown.bat

c:\Program Files\Apache软件基金会\Apache-tomcat-8.5.8\bin>startup.bat

在第二个终端中,转到maven webapp dir,然后运行mvn命令。就我而言

mvn tomcat7:部署


这将是一个建设的成功

也许是重复:(特别注意这个答案)我发现了错误。我太蠢了,为Maven Tomcat插件键入了错误的URL。当pom.xml中的url配置更改为“问题关闭”时,这对我很有用。
mvn tomcat7:deploy
mvn tomcat7:redeploy
之间有什么区别?我写道我解决了我的问题。阅读上面的评论。请使用答案部分对问题给出清晰直接的答案。您的任何问题或评论都可以发布在评论部分。如果您使用Intellij,请注意有一个%Intellij path%/plugins/maven目录,它有自己的settings.xml。
[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building foxrestful 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] >>> tomcat7-maven-plugin:2.2:deploy (default-cli) > package @ foxrestful >>>
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ foxrestful ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ foxrestful ---
[INFO] Nothing to compile - all classes are up to date
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ foxrestful ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory e:\Compilers\Projects\Java\JerseyRESTful\src\test\resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ foxrestful ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ foxrestful ---
[INFO] No tests to run.
[INFO] 
[INFO] --- maven-war-plugin:2.6:war (default-war) @ foxrestful ---
[INFO] Packaging webapp
[INFO] Assembling webapp [foxrestful] in [e:\Compilers\Projects\Java\JerseyRESTful\target\foxrestful]
[INFO] Processing war project
[INFO] Copying webapp resources [e:\Compilers\Projects\Java\JerseyRESTful\src\main\webapp]
[INFO] Webapp assembled in [170 msecs]
[INFO] Building war: e:\Compilers\Projects\Java\JerseyRESTful\target\foxrestful.war
[INFO] 
[INFO] <<< tomcat7-maven-plugin:2.2:deploy (default-cli) < package @ foxrestful <<<
[INFO] 
[INFO] --- tomcat7-maven-plugin:2.2:deploy (default-cli) @ foxrestful ---
[INFO] Deploying war to http://localhost:8080/foxrestful  
Uploading: http://localhost:8080/manager/html/deploy?path=%2Ffoxrestful
2/11111 KB   
4/11111 KB   
6/11111 KB   
8/11111 KB   
10/11111 KB   
12/11111 KB   
14/11111 KB   
16/11111 KB   
18/11111 KB   
20/11111 KB   
22/11111 KB   
24/11111 KB   
26/11111 KB   
28/11111 KB   
30/11111 KB   
32/11111 KB   
34/11111 KB   
36/11111 KB   
38/11111 KB   
40/11111 KB   
42/11111 KB   
44/11111 KB   
46/11111 KB   
48/11111 KB   
50/11111 KB   
52/11111 KB   
54/11111 KB   
56/11111 KB   
58/11111 KB   
60/11111 KB   
62/11111 KB   
64/11111 KB   
66/11111 KB   
68/11111 KB   
70/11111 KB   
72/11111 KB   
74/11111 KB   
76/11111 KB   
78/11111 KB   
80/11111 KB   
82/11111 KB   
84/11111 KB   
86/11111 KB   
88/11111 KB   
90/11111 KB   
92/11111 KB   
94/11111 KB   
96/11111 KB   
98/11111 KB   
100/11111 KB   
102/11111 KB   
104/11111 KB   
106/11111 KB   
108/11111 KB   
110/11111 KB   
112/11111 KB   
114/11111 KB   
116/11111 KB   
118/11111 KB   
120/11111 KB   
122/11111 KB   
124/11111 KB   
126/11111 KB   
128/11111 KB   
130/11111 KB   
132/11111 KB   
134/11111 KB   
136/11111 KB   
138/11111 KB   
140/11111 KB   
142/11111 KB   
144/11111 KB   
146/11111 KB   
148/11111 KB   
150/11111 KB   
152/11111 KB   
154/11111 KB   
156/11111 KB   
158/11111 KB   
160/11111 KB   
162/11111 KB   
164/11111 KB   
166/11111 KB   
168/11111 KB   
170/11111 KB   
172/11111 KB   
174/11111 KB   
176/11111 KB   
178/11111 KB   
180/11111 KB   
182/11111 KB   
184/11111 KB   
186/11111 KB   
188/11111 KB   
190/11111 KB   
192/11111 KB   

[INFO] I/O exception (java.net.SocketException) caught when processing request: Connection reset by peer: socket write error
[INFO] Retrying request
Uploading: http://localhost:8080/manager/html/deploy?path=%2Ffoxrestful
2/11111 KB   
4/11111 KB   
6/11111 KB   
8/11111 KB   
10/11111 KB   
12/11111 KB   
14/11111 KB   
16/11111 KB   
18/11111 KB   
20/11111 KB   
22/11111 KB   
24/11111 KB   
26/11111 KB   
28/11111 KB   
30/11111 KB   
32/11111 KB   
34/11111 KB   
36/11111 KB   
38/11111 KB   
40/11111 KB   
42/11111 KB   
44/11111 KB   
46/11111 KB   
48/11111 KB   
50/11111 KB   
52/11111 KB   
54/11111 KB   
56/11111 KB   
58/11111 KB   
60/11111 KB   
62/11111 KB   
64/11111 KB   
66/11111 KB   
68/11111 KB   
70/11111 KB   
72/11111 KB   
74/11111 KB   
76/11111 KB   
78/11111 KB   
80/11111 KB   
82/11111 KB   
84/11111 KB   
86/11111 KB   
88/11111 KB   
90/11111 KB   
92/11111 KB   
94/11111 KB   
96/11111 KB   
98/11111 KB   
100/11111 KB   
102/11111 KB   
104/11111 KB   
106/11111 KB   
108/11111 KB   
110/11111 KB   
112/11111 KB   
114/11111 KB   
116/11111 KB   
118/11111 KB   
120/11111 KB   

[INFO] I/O exception (java.net.SocketException) caught when processing request: Connection reset by peer: socket write error
[INFO] Retrying request
Uploading: http://localhost:8080/manager/html/deploy?path=%2Ffoxrestful
2/11111 KB   
4/11111 KB   
6/11111 KB   
8/11111 KB   
10/11111 KB   
12/11111 KB   
14/11111 KB   
16/11111 KB   
18/11111 KB   
20/11111 KB   
22/11111 KB   
24/11111 KB   
26/11111 KB   
28/11111 KB   
30/11111 KB   
32/11111 KB   
34/11111 KB   
36/11111 KB   
38/11111 KB   
40/11111 KB   
42/11111 KB   
44/11111 KB   
46/11111 KB   
48/11111 KB   
50/11111 KB   
52/11111 KB   
54/11111 KB   
56/11111 KB   
58/11111 KB   
60/11111 KB   
62/11111 KB   
64/11111 KB   
66/11111 KB   
68/11111 KB   
70/11111 KB   
72/11111 KB   
74/11111 KB   
76/11111 KB   
78/11111 KB   
80/11111 KB   
82/11111 KB   
84/11111 KB   
86/11111 KB   
88/11111 KB   
90/11111 KB   
92/11111 KB   
94/11111 KB   
96/11111 KB   
98/11111 KB   
100/11111 KB   
102/11111 KB   
104/11111 KB   
106/11111 KB   
108/11111 KB   
110/11111 KB   
112/11111 KB   
114/11111 KB   
116/11111 KB   
118/11111 KB   
120/11111 KB   
122/11111 KB   
124/11111 KB   
126/11111 KB   
128/11111 KB   
130/11111 KB   
132/11111 KB   
134/11111 KB   
136/11111 KB   
138/11111 KB   
140/11111 KB   

[INFO] I/O exception (java.net.SocketException) caught when processing request: Connection reset by peer: socket write error
[INFO] Retrying request
Uploading: http://localhost:8080/manager/html/deploy?path=%2Ffoxrestful
2/11111 KB   
4/11111 KB   
6/11111 KB   
8/11111 KB   
10/11111 KB   
12/11111 KB   
14/11111 KB   
16/11111 KB   
18/11111 KB   
20/11111 KB   
22/11111 KB   
24/11111 KB   
26/11111 KB   
28/11111 KB   
30/11111 KB   
32/11111 KB   
34/11111 KB   
36/11111 KB   
38/11111 KB   
40/11111 KB   
42/11111 KB   
44/11111 KB   
46/11111 KB   
48/11111 KB   
50/11111 KB   
52/11111 KB   
54/11111 KB   
56/11111 KB   
58/11111 KB   
60/11111 KB   
62/11111 KB   
64/11111 KB   
66/11111 KB   
68/11111 KB   
70/11111 KB   
72/11111 KB   
74/11111 KB   
76/11111 KB   
78/11111 KB   
80/11111 KB   
82/11111 KB   
84/11111 KB   
86/11111 KB   
88/11111 KB   
90/11111 KB   
92/11111 KB   
94/11111 KB   
96/11111 KB   
98/11111 KB   
100/11111 KB   
102/11111 KB   
104/11111 KB   
106/11111 KB   
108/11111 KB   
110/11111 KB   
112/11111 KB   
114/11111 KB   
116/11111 KB   
118/11111 KB   
120/11111 KB   
122/11111 KB   
124/11111 KB   
126/11111 KB   
128/11111 KB   
130/11111 KB   
132/11111 KB   

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.210 s
[INFO] Finished at: 2015-03-18T17:28:50+03:00
[INFO] Final Memory: 15M/210M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.tomcat.maven:tomcat7-maven-plugin:2.2:deploy (default-cli) on project foxrestful: Cannot invoke Tomcat manager: Connection reset by peer: socket write error -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
<configuration>
    <url>http://localhost:8080/manager/text</url>
    <server>MyTomcat</server>
    <username>admin</username>
    <password>11qqsd</password>
    <path>/foxrestful</path>
</configuration>
<tomcat-users>
<role rolename="admin-gui"/>
<role rolename="admin-script"/>
<role rolename="manager-gui"/>
<role rolename="manager-script"/>
<role rolename="manager-jmx"/>
<role rolename="manager-status"/>
<role rolename="manager-gui"/>
<user username="tomcat" password="pwd" roles="manager-gui,manager-script,manager-jmx,manager-status,admin-script,admin-gui"/>