tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "costas (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MTOMCAT-149) Error deploying on Tomcat 6
Date Wed, 02 May 2012 19:58:49 GMT

    [ https://issues.apache.org/jira/browse/MTOMCAT-149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13266865#comment-13266865
] 

costas commented on MTOMCAT-149:
--------------------------------

Nothing in the logs. 

A broken pipe exception probably means that the connection somehow ends before writing the
file begins but I'm not sure how this happens. Would have expected something in the logs too.
Having said that, using the tomcat-manager (web page) to deploy the same war file works correctly.
                
> Error deploying on Tomcat 6
> ---------------------------
>
>                 Key: MTOMCAT-149
>                 URL: https://issues.apache.org/jira/browse/MTOMCAT-149
>             Project: Apache Tomcat Maven Plugin
>          Issue Type: Bug
>          Components: tomcat6
>    Affects Versions: 2.0-beta-1
>         Environment: Apache Maven 2.2.1 (r801777; 2009-08-06 21:16:01+0200)
> Java version: 1.6.0_31
> Java home: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
> Default locale: en_US, platform encoding: MacRoman
> OS name: "mac os x" version: "10.7.3" arch: "x86_64" Family: "mac"
>            Reporter: costas
>            Assignee: Olivier Lamy (*$^¨%`£)
>             Fix For: 2.0
>
>
> Deploying on Tomcat 6 throws the following exception:
> Caused by: org.apache.http.client.ClientProtocolException
> 	at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:926)
> 	at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:822)
> 	at org.apache.tomcat.maven.common.deployer.TomcatManager.invoke(TomcatManager.java:718)
> 	at org.apache.tomcat.maven.common.deployer.TomcatManager.deployImpl(TomcatManager.java:681)
> 	at org.apache.tomcat.maven.common.deployer.TomcatManager.deploy(TomcatManager.java:363)
> 	at org.apache.tomcat.maven.plugin.tomcat6.AbstractDeployWarMojo.deployWar(AbstractDeployWarMojo.java:87)
> 	at org.apache.tomcat.maven.plugin.tomcat6.AbstractDeployMojo.invokeManager(AbstractDeployMojo.java:86)
> 	at org.apache.tomcat.maven.plugin.tomcat6.AbstractCatalinaMojo.execute(AbstractCatalinaMojo.java:143)
> 	... 20 more
> Caused by: org.apache.http.client.NonRepeatableRequestException: Cannot retry request
with a non-repeatable request entity.  The cause lists the reason the original request failed.
> 	at org.apache.http.impl.client.DefaultRequestDirector.tryExecute(DefaultRequestDirector.java:682)
> 	at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:515)
> 	at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:923)
> 	... 27 more
> Caused by: java.net.SocketException: Broken pipe
> 	at java.net.SocketOutputStream.socketWrite0(Native Method)
> 	at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
> 	at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
> 	at org.apache.http.impl.io.AbstractSessionOutputBuffer.write(AbstractSessionOutputBuffer.java:163)
> 	at org.apache.http.impl.io.ContentLengthOutputStream.write(ContentLengthOutputStream.java:119)
> 	at org.apache.tomcat.maven.common.deployer.TomcatManager$RequestEntityImplementation.writeTo(TomcatManager.java:825)
> 	at org.apache.http.entity.HttpEntityWrapper.writeTo(HttpEntityWrapper.java:98)
> 	at org.apache.http.impl.client.EntityEnclosingRequestWrapper$EntityWrapper.writeTo(EntityEnclosingRequestWrapper.java:108)
> 	at org.apache.http.impl.entity.EntitySerializer.serialize(EntitySerializer.java:122)
> 	at org.apache.http.impl.AbstractHttpClientConnection.sendRequestEntity(AbstractHttpClientConnection.java:266)
> 	at org.apache.http.impl.conn.ManagedClientConnectionImpl.sendRequestEntity(ManagedClientConnectionImpl.java:197)
> 	at org.apache.http.protocol.HttpRequestExecutor.doSendRequest(HttpRequestExecutor.java:257)
> 	at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:125)
> 	at org.apache.http.impl.client.DefaultRequestDirector.tryExecute(DefaultRequestDirector.java:708)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message