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 2001/10/25 22:49:28 UTC

DO NOT REPLY [Bug 4422] - Warp connector and non existing WebApps

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4422>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4422

Warp connector and non existing WebApps





------- Additional Comments From polivka@virtual-media.com  2001-10-25 13:49 -------
I too have experienced this. I believe the problem is in
c_configure(pr_warp_config.c).

If Tomcat/Warp is unable to deploy an application, it sends back a packet of
type TYPE_ERROR. Upon reciept of this packet, the warp module logs an error
message and immediately tries to deploy the same application again, which will
also fail, thus creating an endless loop.

I'm not sure if this is the proper way to solve the problem, but it works.

--- pr_warp_config.c.orig       Thu Oct 25 15:32:43 2001
+++ pr_warp_config.c    Thu Oct 25 15:33:05 2001
@@ -142,6 +142,7 @@
         }
         if (pack->type==TYPE_ERROR) {
             wa_log(WA_MARK,"Cannot deploy application %s",appl->name);
+            elem=elem->next;
             continue;
         }
         if (pack->type!=TYPE_CONF_APPLIC) {

Thanks,
Brett Polivka
polivka@virtual-media.com