You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2008/09/20 07:17:59 UTC

DO NOT REPLY [Bug 45851] New: FarmWarDeployer fails to properly unpack copied war on target node

https://issues.apache.org/bugzilla/show_bug.cgi?id=45851

           Summary: FarmWarDeployer fails to properly unpack copied war on
                    target node
           Product: Tomcat 6
           Version: 6.0.18
          Platform: PC
        OS/Version: Windows Server 2003
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Cluster
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: pmcgurn@logmein.com
                CC: pmcgurn@logmein.com


Created an attachment (id=22616)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=22616)
files used to reproduce issue

When trying to deploy a war to a cluster, it seems that the war will deploy
locally when placed in the listener directory, however, it seems that either
there is some corruption when moving the war across the wire, or the deployer
on the target node is not able to properly unpack and read the files inside.

Pertinent portion of the log from the target node is attached.

I can provide any other info as needed, but not sure what else would be
pertinent.  The test.war is simply a war'd copy of the default Tomcat Manager
web app.

To reproduce:

1. Configure two nodes two make up a SimpleTCPCluster (version 6.0.18 was used)
2. From either node, drop test.war into the listen directory

Results:
* test.war will be deployed locally
* test.war will be copies to the webapps directory on the target
* test.war will not fully deploy on the target

Expected results:
* war unpacked and deployed locally
* copied to each node in the cluster
* war unpacked and deployed on each node of the cluster


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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


DO NOT REPLY [Bug 45851] FarmWarDeployer fails to properly unpack copied war on target node

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45851


Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




--- Comment #5 from Mark Thomas <ma...@apache.org>  2009-01-14 16:33:28 PST ---
This has been fixed in 6.0.x and will be in 6.0.19 onwards.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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


DO NOT REPLY [Bug 45851] FarmWarDeployer fails to properly unpack copied war on target node

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45851





--- Comment #3 from Paul McGurn <pa...@gmail.com>  2008-09-26 10:45:04 PST ---
I can definitely test that more.  If this ends up in the next point release,
I'll upgrade my development environment and test.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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


DO NOT REPLY [Bug 45851] FarmWarDeployer fails to properly unpack copied war on target node

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45851


Paul McGurn <pa...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|paul.mcgurn@gmail.com       |




-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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


DO NOT REPLY [Bug 45851] FarmWarDeployer fails to properly unpack copied war on target node

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45851


Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |finger@dj.ua




--- Comment #4 from Mark Thomas <ma...@apache.org>  2008-10-06 10:36:21 PST ---
*** Bug 42681 has been marked as a duplicate of this bug. ***


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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


DO NOT REPLY [Bug 45851] FarmWarDeployer fails to properly unpack copied war on target node

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45851





--- Comment #1 from Filip Hanik <fh...@apache.org>  2008-09-22 19:59:10 PST ---
That's correct, in 6.0.x the deployer no longer works. it broke somewhere
during 5.5.x when the deployer was rebuilt. 

the fix is to go back to 5.0.x strategy, where the files are copied to a temp
directory and deployed from there. but that is work that is to be done. 

contributions happily accepted.

best
Filip


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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


DO NOT REPLY [Bug 45851] FarmWarDeployer fails to properly unpack copied war on target node

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45851





--- Comment #2 from Mark Thomas <ma...@apache.org>  2008-09-26 10:38:56 PST ---
I've fixed the issues issues I could see in the FarmWarDeployer. Any additional
testing much appreciated.

I will propose the fix for inclusion in 6.0.x.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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