Return-Path: Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 44182 invoked by uid 500); 28 Jul 2003 19:41:11 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 44170 invoked from network); 28 Jul 2003 19:41:11 -0000 Received: from h013.c001.snv.cp.net (HELO c001.snv.cp.net) (209.228.32.127) by daedalus.apache.org with SMTP; 28 Jul 2003 19:41:11 -0000 Received: (cpmta 10614 invoked from network); 28 Jul 2003 12:41:15 -0700 Received: from 192.18.128.13 (HELO ?129.147.86.73?) by smtp.register-admin.com (209.228.32.127) with SMTP; 28 Jul 2003 12:41:15 -0700 X-Sent: 28 Jul 2003 19:41:15 GMT User-Agent: Microsoft-Entourage/10.1.1.2418 Date: Mon, 28 Jul 2003 13:41:16 -0600 Subject: Re: WAR file not deflating when tomcat starts up when built with Ant From: Billy Bacon To: Ant Users List Message-ID: In-Reply-To: Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N After generating the WAR file I use the task to change the file and directory permissions. The following is the result after the task is called... drwxrwxrwx 3 vnb vnb 512 Jul 28 13:21 webapps -rwxrwxrwx 1 vnb vnb 21911865 Jul 28 13:29 ROOT.war When I fire up tomcat, I still don't get a ROOT/ directory created. Is there anything else I'm missing? - Billy - On 7/28/03 12:05 PM, "David McTavish" wrote: > I had this problem on BSD when the tomcat process did not have adequate > permissions to the webapps directory, OR, the .war file in particular. > try chmod 777 on /webapps and your war file and see if that works. > > d. > > > -----Original Message----- > From: Billy Bacon [mailto:billy.bacon@thirty3.net] > Sent: Monday, July 28, 2003 2:04 PM > To: Ant Users List > Subject: WAR file not deflating when tomcat starts up when built with > Ant > > > I can't seem to figure this out and I'm hoping someone out there can see my > error... > > I have a nightly build shell script that calls a bunch of Ant targets and > finally generates a WAR file and puts it in the servers > $CATALINA_BASE/webapps directory. > > The contents of the WAR file seem to be valid and constructed correctly. I'm > only going to paste some of the content listings of the WAR file since the > log file is about 512Kb... But I get the following from doing a 'jar -xvf > ROOT.war' > > ============================ > > 0 Mon Jul 28 10:33:04 MDT 2003 META-INF/ > 55 Mon Jul 28 10:33:04 MDT 2003 META-INF/MANIFEST.MF > 0 Mon Jul 28 10:30:30 MDT 2003 WEB-INF/ > 0 Mon Jul 28 10:29:42 MDT 2003 WEB-INF/lib/ > 0 Mon Jul 28 10:31:06 MDT 2003 WEB-INF/classes/ > 0 Mon Jul 28 10:30:44 MDT 2003 WEB-INF/classes/com/ > 0 Mon Jul 28 10:29:54 MDT 2003 WEB-INF/classes/com/fatwire/ > 9466 Mon Jul 28 10:30:28 MDT 2003 jsp/kmoBrowseAttachmentsBody.jsp > 412 Mon Jul 28 10:30:28 MDT 2003 jsp/taglibs.jsp > 8376 Mon Jul 28 10:30:28 MDT 2003 jsp/adminEditBody.jsp > 765 Mon Jul 28 10:30:28 MDT 2003 jsp/kmoCommentsCompletedBody.jsp > 18754 Mon Jul 28 10:30:28 MDT 2003 jsp/mdTreeHeader.jsp > 8508 Mon Jul 28 10:30:28 MDT 2003 jsp/mdTreeFrame.jsp > 4519 Mon Jul 28 10:30:28 MDT 2003 jsp/loginBody.jsp > 447 Mon Jul 28 10:30:28 MDT 2003 jsp/error.jsp > 143 Mon Jul 28 10:30:28 MDT 2003 jsp/previewHeader.jsp > 1526 Mon Jul 28 10:30:28 MDT 2003 jsp/kmoNonsolarisBody.jsp > 19270 Mon Jul 28 10:30:28 MDT 2003 jsp/browseQueueBody.jsp > 2519 Mon Jul 28 10:30:28 MDT 2003 jsp/adminDownloadBody.jsp > 2901 Mon Jul 28 10:30:28 MDT 2003 jsp/kmoCreateChoiceBody.jsp > 932 Mon Jul 28 10:30:28 MDT 2003 jsp/import/listMissingUUID.jsp > 3168 Mon Jul 28 10:30:28 MDT 2003 jsp/import/deleteAsset.jsp > 638 Mon Jul 28 10:30:28 MDT 2003 jsp/import/setUserForHistory.jsp > 954 Mon Jul 28 10:30:28 MDT 2003 jsp/import/dropTable.jsp > 3206 Mon Jul 28 10:30:28 MDT 2003 jsp/import/ImportKMSUsers.jsp > 1294 Mon Jul 28 10:30:30 MDT 2003 jsp/import/ObsoleteTA.jsp > 1616 Mon Jul 28 10:30:30 MDT 2003 jsp/import/DocXForm.jsp > 1437 Mon Jul 28 10:30:30 MDT 2003 jsp/import/deleteTestGroups.jsp > 2885 Mon Jul 28 10:30:30 MDT 2003 jsp/import/transformSimple.jsp > 2207 Mon Jul 28 10:30:30 MDT 2003 jsp/import/ImportVGroup.jsp > 133 Mon Jul 28 10:30:28 MDT 2003 jsp/help.jsp > 1921 Mon Jul 28 10:30:28 MDT 2003 jsp/utilExportBody.jsp > 250 Mon Jul 28 10:30:28 MDT 2003 jsp/index.jsp > 1284 Mon Jul 28 10:30:28 MDT 2003 jsp/adminCacheBody.jsp > 1359 Mon Jul 28 10:30:28 MDT 2003 jsp/browseQueueActions.jsp > 2986 Mon Jul 28 10:30:28 MDT 2003 jsp/masthead.jsp > 2462 Mon Jul 28 10:30:28 MDT 2003 jsp/kmoDeleteAttachmentsBody.jsp > 5973 Mon Jul 28 10:30:28 MDT 2003 jsp/mastheadTabs.jsp > 1047 Mon Jul 28 10:30:28 MDT 2003 jsp/previewBody.jsp > 3511 Mon Jul 28 10:30:28 MDT 2003 jsp/kmoAddAttachmentsBody.jsp > 1075 Mon Jul 28 10:30:28 MDT 2003 jsp/searchSimpleBody.jsp > 1017 Mon Jul 28 10:30:28 MDT 2003 jsp/browseKEControls.jsp > 1771 Mon Jul 28 10:30:28 MDT 2003 jsp/kmoCommentsBody.jsp > 1899 Mon Jul 28 10:30:28 MDT 2003 jsp/commentsBody.jsp > 1294 Mon Jul 28 10:30:28 MDT 2003 jsp/cleanMasthead.jsp > 1514 Mon Jul 28 10:30:30 MDT 2003 jsp/nagBody.jsp > 956 Mon Jul 28 10:30:30 MDT 2003 jsp/addWordToDict.jsp > 2976 Mon Jul 28 10:30:30 MDT 2003 jsp/kmoViewMetadata.jsp > 1748 Mon Jul 28 10:30:30 MDT 2003 jsp/kmoAttachments.jsp > 1968 Mon Jul 28 10:30:30 MDT 2003 jsp/utilImportBody.jsp > 1200 Mon Jul 28 10:30:30 MDT 2003 jsp/kmoSolarisSwanInsBody.jsp > 288 Mon Jul 28 10:30:30 MDT 2003 jsp/searchResultsBody.jsp > 1334 Mon Jul 28 10:30:30 MDT 2003 jsp/newUserBody.jsp > 3356 Mon Jul 28 10:30:30 MDT 2003 jsp/processBody.jsp > 1781 Mon Jul 28 10:30:30 MDT 2003 jsp/historyBody.jsp > 13124 Mon Jul 28 10:30:30 MDT 2003 jsp/kmoWorkflowBody.jsp > 7730 Mon Jul 28 10:30:30 MDT 2003 jsp/kmoSelectRecipient.jsp > 5402 Mon Jul 28 10:30:30 MDT 2003 jsp/kmoModifyAttachmentsBody.jsp > 4743 Mon Jul 28 10:30:30 MDT 2003 jsp/kmoMetadata.jsp > 6660 Mon Jul 28 10:30:30 MDT 2003 jsp/adminGroupPermBody.jsp > 10962 Mon Jul 28 10:30:30 MDT 2003 jsp/advanceReassignBody.jsp > 5431 Mon Jul 28 10:30:30 MDT 2003 jsp/summaryBody.jsp > 10071 Mon Jul 28 10:30:30 MDT 2003 jsp/kmoViewBody.jsp > 8356 Mon Jul 28 10:30:30 MDT 2003 jsp/kmoCreateComplexBody.jsp > 169 Mon Jul 28 10:30:30 MDT 2003 jsp/err_notLoggedIn.jsp > 969 Mon Jul 28 10:30:30 MDT 2003 jsp/errorBody.jsp > 8282 Mon Jul 28 10:30:30 MDT 2003 jsp/kmoCreateSimpleBody.jsp > 110 Mon Jul 28 10:30:30 MDT 2003 jsp/spellCheckFrame.jsp > 355 Mon Jul 28 10:30:30 MDT 2003 jsp/closeFooter.jsp > 7856 Mon Jul 28 10:30:30 MDT 2003 jsp/spellCheck.jsp > 1712 Mon Jul 28 10:30:30 MDT 2003 jsp/kmoViewAttachments.jsp > 9710 Mon Jul 28 10:30:30 MDT 2003 jsp/adminUserPermBody.jsp > 3500 Mon Jul 28 10:30:28 MDT 2003 html/wcl_instructions.html > 15 Mon Jul 28 10:30:30 MDT 2003 html/emptyWindow.html > 949 Mon Jul 28 10:30:28 MDT 2003 purge.jsp > 58672 Mon Jul 28 10:30:28 MDT 2003 dtds/supportdoc_v1.dtd > 178 Mon Jul 28 10:30:28 MDT 2003 layouts/emptyBody.jsp > 105 Mon Jul 28 10:30:28 MDT 2003 layouts/masthead.jsp > 98 Mon Jul 28 10:30:28 MDT 2003 layouts/tabs.jsp > 2923 Mon Jul 28 10:30:28 MDT 2003 layouts/commentsLayout.jsp > 103 Mon Jul 28 10:30:30 MDT 2003 layouts/footer.jsp > 2769 Mon Jul 28 10:30:30 MDT 2003 layouts/stdLayout.jsp > 269 Mon Jul 28 10:30:28 MDT 2003 index.jsp > 6618 Mon Jul 28 10:30:28 MDT 2003 templates/template.kmo.troubleshoot.sxw > 6475 Mon Jul 28 10:30:28 MDT 2003 templates/template.kmo.infodoc.sxw > 6764 Mon Jul 28 10:30:30 MDT 2003 templates/template.kmo.srdb.sxw > 7104 Mon Jul 28 10:30:28 MDT 2003 webdav/ses/ABCDEFGH/doc-1.sxw > 61 Mon Jul 28 10:30:28 MDT 2003 webdav/ses/ABCDEFGH/doc-1.gke > 5228 Mon Jul 28 10:30:28 MDT 2003 css/voyager.css > 6578 Mon Jul 28 10:30:28 MDT 2003 css/sunsolvestyles.css > 1770 Mon Jul 28 10:30:28 MDT 2003 mem.jsp > 269 Mon Jul 28 10:30:28 MDT 2003 control/index.jsp > 4673 Mon Jul 28 10:30:28 MDT 2003 control/mdTreeData.jsp > 240 Mon Jul 28 10:30:30 MDT 2003 control/mdTreeBody.jsp > 758 Mon Jul 28 10:30:30 MDT 2003 control/mdTreeFooter.jsp > 12034 Mon Jul 28 10:30:28 MDT 2003 js/voyager.js > 915 Mon Jul 28 10:30:28 MDT 2003 content.jsp > 528 Mon Jul 28 10:30:28 MDT 2003 README.txt > 972 Mon Jul 28 10:30:30 MDT 2003 props.jsp > 152 Mon Jul 28 10:31:12 MDT 2003 UpdateEngine.properties > > =============================== > > There is also a web.xml file in the WEB-INF/ directory that's not listed > above. > > So the issue I'm having is that when I start Tomcat up the ROOT.war file > that's present in the $CATALINA_BASE/webapps directory is not deflating. Is > there something wrong with my WAR file? > > Any help would be appreciated. Thanks for your time. > > - Billy - > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > For additional commands, e-mail: user-help@ant.apache.org > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > For additional commands, e-mail: user-help@ant.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org