Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 84618 invoked from network); 11 Nov 2004 19:57:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 11 Nov 2004 19:57:28 -0000 Received: (qmail 77890 invoked by uid 500); 11 Nov 2004 19:57:14 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 77872 invoked by uid 500); 11 Nov 2004 19:57:14 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 77855 invoked by uid 99); 11 Nov 2004 19:57:13 -0000 Received-SPF: pass (hermes.apache.org: local policy) Received: from [128.135.17.223] (HELO stingray.uchicago.edu) (128.135.17.223) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 11 Nov 2004 11:57:13 -0800 Received: from skate (skate.uchicago.edu [128.135.17.227]) by stingray.uchicago.edu (8.12.7/8.12.7/SuSE Linux 0.6) with SMTP id iABJq8B1031776; Thu, 11 Nov 2004 13:52:08 -0600 Message-ID: <006901c4c827$e8d1cd80$e3118780@skate> From: "Jonathan Eric Miller" To: "Tomcat Users List" , "Remy Maucherat" References: <9C5166762F311146951505C6790A9CF80229C60C@US-VS1.corp.mpi.com> <005b01c4c811$45c69d20$e3118780@skate> <6d959d4804111111176d835e7d@mail.gmail.com> Subject: Re: Auto-deploy not working in Tomcat 5.5.4 when .war file has a META-INF/context.xml? Date: Thu, 11 Nov 2004 13:52:00 -0600 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Thanks, I appreciate you testing that. However, it simply doesn't work for me. I don't see how it could work for you and it doesn't work for me. I have a totally stock installation of Tomcat 5.5.4 and used the same exact file that I sent to you. I start Tomcat, copy the file, it gets deployed, update the war (originally, I was just recreating the file so that it had a new modified time, however, I tried adding an additional file to it and that didn't make a difference either), copy it again, and it doesn't do anything. If I do the same thing with the other file that doesn't have the context.xml, it works fine. Also, I just tried it on Solaris. I installed both .war files, they both deployed, touched the one without a context.xml, it redeployed, touched the one with a context.xml, nothing happened. If anyone else is willing to test it, I have the files at the following URLs. http://parakeet.uchicago.edu/test-with-context.war http://parakeet.uchicago.edu/test-without-context.war Thanks, Jon ----- Original Message ----- From: "Remy Maucherat" To: "Tomcat Users List" Sent: Thursday, November 11, 2004 1:17 PM Subject: Re: Auto-deploy not working in Tomcat 5.5.4 when .war file has a META-INF/context.xml? > On Thu, 11 Nov 2004 11:09:58 -0600, Jonathan Eric Miller > wrote: >> I don't see it at least on the inital bug report page at >> http://nagoya.apache.org/bugzilla/enter_bug.cgi?product=Tomcat%205 >> >> Maybe I need to commit the page first and there's another page... >> >> I don't want to submit a report just yet, because I'm still in the >> process >> of trying to figure out how the new logging works and I want to make sure >> there isn't a error occurring that I'm not seeing because of this. >> >> I tried it with Tomcat 5.0.28 and found that it was throwing an exception >> in >> the console about the context path not being set. So, I added that path >> to >> my context.xml and it then worked with 5.0.28, but, still won't work with >> 5.5.4, but, like I said, I want to see if I can figure out how to use the >> new logging. My guess is that it's something similar and I'm just not >> seeing >> the error message. > > Don't use path or docBase (unless the webapp is not inside the host > appBase) in your context.xml file with Tomcat 5.5. > > I tested it, and it works fine for me, so please don't open a bug report. > > - start Tomcat > - put test-with-context.war in webapps > - it gets autodeployed > - use a zip tool to modify the war (I added an additional resource in it) > - it gets redeployed (the expanded folder is deleted, and then > recreated by expanding the war again) > > -- > xxxxxxxxxxxxxxxxxxxxxxxxx > R�my Maucherat > Developer & Consultant > JBoss Group (Europe) S�RL > xxxxxxxxxxxxxxxxxxxxxxxxx > > --------------------------------------------------------------------- > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org