Return-Path: X-Original-To: apmail-tomcat-dev-archive@www.apache.org Delivered-To: apmail-tomcat-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 126F3C414 for ; Fri, 1 Nov 2013 10:58:36 +0000 (UTC) Received: (qmail 75588 invoked by uid 500); 1 Nov 2013 10:58:28 -0000 Delivered-To: apmail-tomcat-dev-archive@tomcat.apache.org Received: (qmail 75343 invoked by uid 500); 1 Nov 2013 10:58:22 -0000 Mailing-List: contact dev-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Developers List" Delivered-To: mailing list dev@tomcat.apache.org Received: (qmail 75222 invoked by uid 99); 1 Nov 2013 10:58:21 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Nov 2013 10:58:21 +0000 Date: Fri, 1 Nov 2013 10:58:21 +0000 (UTC) From: =?utf-8?Q?Olivier_Lamy_=28*=24=5E=C2=A8=25=60=C2=A3=29_=28JIRA=29?= To: dev@tomcat.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (MTOMCAT-235) War file is being uploaded twice - Cookie rejected MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/MTOMCAT-235?page=3Dcom.atlassi= an.jira.plugin.system.issuetabpanels:all-tabpanel ] Olivier Lamy (*$^=C2=A8%`=C2=A3) updated MTOMCAT-235: ------------------------------------------- Labels: moreinfo (was: ) > War file is being uploaded twice - Cookie rejected > --------------------------------------------------- > > Key: MTOMCAT-235 > URL: https://issues.apache.org/jira/browse/MTOMCAT-235 > Project: Apache Tomcat Maven Plugin > Issue Type: Bug > Components: tomcat6 > Affects Versions: 2.1 > Environment: Linux > Reporter: George Smith > Assignee: Olivier Lamy (*$^=C2=A8%`=C2=A3) > Labels: moreinfo > Fix For: moreinfo > > > When I run maven task for (re)deploy, the file is always being uploaded t= wice. I think the problem is related to manager path.=20 > In front of Tomcat there is a Apache server (from security reasons), whic= h redirects requests from /manager-server-app to /manager on Tomcat server.= Plugin should deal with it. > {code} > [INFO] Deploying war to http://192.168.191.83/server-app > Uploading: http://192.168.191.83/manager-server-app//deploy?path=3D%2Fse= rver-app > Uploaded: http://192.168.191.83/manager-server-app//deploy?path=3D%2Fser= ver-app (13788 KB at 468.1 KB/sec)=20 > 28.8.2013 8:44:35 org.apache.http.client.protocol.ResponseProcessCookies = processCookies > WARNING: Cookie rejected: "[version: 0][name: JSESSIONID][value: 7ACBBD27= F97F86C3477C988006B02073][domain: 192.168.191.83][path: /manager][expiry: n= ull]". Illegal path attribute "/manager". Path of origin: "/server-app//dep= loy" > Uploading: http://192.168.191.83/manager-server-app//deploy?path=3D%2Fser= ver-app > Uploaded: http://192.168.191.83/manager-server-app//deploy?path=3D%2Fserv= er-app (13788 KB at 332.8 KB/sec) > {code} > After second automatic upload it's deployed successfully. > The htaccess file content: > {code} > RewriteEngine On > RewriteRule ^manager-server-app/(.*)$ ajp://localhost:8010/manager/$1 [P,= NE] > RewriteRule ^manager-server-app$ /manager/ [L,R] > {code} -- This message was sent by Atlassian JIRA (v6.1#6144) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org For additional commands, e-mail: dev-help@tomcat.apache.org