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 2009/06/10 16:48:35 UTC
DO NOT REPLY [Bug 47349] New: WAR file deployment doesn't work in
WAN
https://issues.apache.org/bugzilla/show_bug.cgi?id=47349
Summary: WAR file deployment doesn't work in WAN
Product: Tomcat 6
Version: 6.0.18
Platform: PC
OS/Version: Linux
Status: NEW
Severity: minor
Priority: P2
Component: Manager application
AssignedTo: dev@tomcat.apache.org
ReportedBy: iknopf.bxug-1@csc-dd.de
Deployment of huge WAR files in a LAN or any WAR files in a WAN doesn't work
properly. Tomcat seems to try unzipping an incomplete uploaded WAR file.
Using a 64-kbit WAN I can't upload a WAR file containing just a small
"index.jsp"; in a slow LAN I have equivalent problems with WAR files of 20...30
MByte.
--
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 47349] WAR file deployment doesn't work in WAN
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47349
Mark Thomas <ma...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |RESOLVED
Resolution| |WORKSFORME
--- Comment #9 from Mark Thomas <ma...@apache.org> 2009-11-01 16:39:13 GMT ---
This sounds like some form of network issue but it is hard to be sure. I can't
reproduce this so I am closing it. If you see the issue again and can provide
steps to reproduce or can work with us to track down the root cause please
re-open and we'll take another look.
--
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 47349] WAR file deployment doesn't work in WAN
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47349
Uwe Günther <uw...@cscc.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |uwe@cscc.de
--
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 47349] WAR file deployment doesn't work in WAN
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47349
Ingolf Knopf <ik...@csc-dd.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|WONTFIX |
--- Comment #2 from Ingolf Knopf <ik...@csc-dd.de> 2009-06-10 23:44:13 PST ---
Perhaps you misunderstood me: I have only problems when I use the manager
application: This application provides a "Deploy" subsection, there I use "WAR
file to deploy" and "Select WAR file to upload" and - after selecting a WAR
file", I press "Deploy". And this does NOT WORK in described circumstances
(huge WAR files in a slow LAN, any WAR file in a WAN).
--
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 47349] WAR file deployment doesn't work in WAN
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47349
--- Comment #8 from Ingolf Knopf <ik...@csc-dd.de> 2009-10-06 23:08:06 PDT ---
I tested it yesterday again and again, but it worked everytime well. But I
remember one difference: When the error occured we used Java 5 in every tomcat
installation, but now we've changed to Java 6.
--
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 47349] WAR file deployment doesn't work in WAN
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47349
--- Comment #4 from Ingolf Knopf <ik...@csc-dd.de> 2009-06-11 08:04:52 PST ---
I didn't measure the exact upload time. I think if the upload time is less than
a second the deployment is okay, if it takes more than 2 seconds (perhaps more
than 5) the deployed WAR file will not work.
--
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 47349] WAR file deployment doesn't work in WAN
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47349
--- Comment #3 from Mark Thomas <ma...@apache.org> 2009-06-11 06:22:11 PST ---
Hmm. The manager app should stop the deployer from doing anything until the
upload is complete to prevent this. Either that isn't working or the upload
itself is failing.
How long does the upload take when it fails? Is there some upload time above
which it always fails?
--
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 47349] WAR file deployment doesn't work in WAN
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47349
--- Comment #5 from Uwe Günther <uw...@cscc.de> 2009-10-06 05:53:21 PDT ---
Ingolf, does this happen for new applications, never deployed before, or only
for applications you previously undeployed before uploading and deploying it
again?
Did you see any logs appear while this happend?
--
Kind Regards
Uwe Günther
--
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 47349] WAR file deployment doesn't work in WAN
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47349
Mark Thomas <ma...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |WONTFIX
--- Comment #1 from Mark Thomas <ma...@apache.org> 2009-06-10 07:56:45 PST ---
Use the manager app rather than copying the file directly.
--
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 47349] WAR file deployment doesn't work in WAN
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47349
--- Comment #7 from Uwe Günther <uw...@cscc.de> 2009-10-06 07:30:49 PDT ---
Thanks Ingolf, I will have a look to reproduce this with the debugger. I will
let you know here. There is a deamonthread where the AutoDeployer of the
HostConfig.java kicks in on a regular base. I had a lock in the manager code
and before the uploaded file gets written to the disk, the upcomming context
gets flaged as serviced by an external application (in our case the /manager
servlet)) to the AutoDeployer part of the HostConfig.java. So from an high
level code review it looks ok, but let me see.
--
Kind Regards
Uwe Günther
--
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 47349] WAR file deployment doesn't work in WAN
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47349
--- Comment #6 from Ingolf Knopf <ik...@csc-dd.de> 2009-10-06 06:17:09 PDT ---
I had this problem only on new applications. I've never tried a redeployment of
previously undeployed applications, so I have no idea, if it would have worked.
No logfiles available, I usually had this problem on a tomcat installed at our
customers, where I have no access to the file system (... and 2 minutes ago I
re-tried installing a 15-kByte file per manager upload hoping to find such a
logfile, but this time it worked perfectly. Sorry, effect of demonstration.)
--
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