George Smith created MTOMCAT-235:
------------------------------------

             Summary: 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 (*$^¨%`£)


When I run maven task for (re)deploy, the file is always being uploaded twice. 
I think the problem is  related to manager path. 
In front of Tomcat there is a Apache server, which 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=%2Fserver-app
 Uploaded: http://192.168.191.83/manager-server-app//deploy?path=%2Fserver-app 
(13788 KB at 468.1 KB/sec) 
28.8.2013 8:44:35 org.apache.http.client.protocol.ResponseProcessCookies 
processCookies
WARNING: Cookie rejected: "[version: 0][name: JSESSIONID][value: 
7ACBBD27F97F86C3477C988006B02073][domain: 192.168.191.83][path: 
/manager][expiry: null]". Illegal path attribute "/manager". Path of origin: 
"/manager-okin-udrzbar//deploy"
Uploading: http://192.168.191.83/manager-server-app//deploy?path=%2Fserver-app
Uploaded: http://192.168.191.83/manager-server-app//deploy?path=%2Fserver-app 
(13788 KB at 332.8 KB/sec)

{code}

After second automatic upload it's deployed successfully.


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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

Reply via email to