Return-Path: Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 75922 invoked by uid 500); 30 Jul 2003 11:28:21 -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 75884 invoked from network); 30 Jul 2003 11:28:20 -0000 Received: from office.greenhatconsulting.com (HELO ghc-w2k1.ad.greenhatconsulting.com) (217.205.100.146) by daedalus.apache.org with SMTP; 30 Jul 2003 11:28:20 -0000 X-MimeOLE: Produced By Microsoft Exchange V6.0.5762.3 content-class: urn:content-classes:message Subject: RE: WAR file not deflating when tomcat starts up when built with Ant MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Date: Wed, 30 Jul 2003 12:28:18 +0100 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: WAR file not deflating when tomcat starts up when built with Ant Thread-Index: AcNWi/dxHwwUIBsmSmWBdlzNUWzi6QAAahDA From: "Tim Davidson" To: "Ant Users List" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Thanks, thats a great help. -----Original Message----- From: McDonnell Colm [mailto:Colm.McDonnell@uk.mizuho-sc.com] Sent: Wednesday, July 30, 2003 12:01 PM To: 'Ant Users List' Subject: RE: WAR file not deflating when tomcat starts up when built with Ant I don't think you can get Tomcat to do this for you but you can use Ant = to explicitly unpack the war file into a directory e.g. If you want friendlyName to be the name of your webapp create a context = for it in your Tomcat server.xml e.g. ... ...=09 > -----Original Message----- > From: Tim Davidson [SMTP:tim.davidson@greenhatconsulting.com] > Sent: Wednesday, July 30, 2003 11:03 AM > To: Ant Users List > Subject: RE: WAR file not deflating when tomcat starts up when built > with Ant >=20 > Apologies if this is off topic, >=20 > how do you get a war file to unpack as a different name? > I have a war file like "../webapps/myWarFile200304847-1_2_3.war", = which I > put under webapps, but when tomcat unpacks it I would like > "../webapps/friendlyName/", not "../webapps/myWarFile200304847-1_2_3/" = how > do I do this? >=20 > Thanks in advance >=20 > -----Original Message----- > From: McDonnell Colm [mailto:Colm.McDonnell@uk.mizuho-sc.com] > Sent: Wednesday, July 30, 2003 10:25 AM > To: 'Ant Users List' > Subject: RE: WAR file not deflating when tomcat starts up when built > with Ant >=20 >=20 > > 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? >=20 > Apologies if this is off topic but if you want Tomcat to = explode/deflate a > WAR file when it first encounters it use the unpackWARs attribute of = the > Host tag in your server.xml e.g. >=20 > unpackWARs=3D"true"> > ... > ... > >=20 > Of course this is will cause all WARs on this host to be unpacked. >=20 > > -----Original Message----- > > From: Billy Bacon [SMTP:billy.bacon@thirty3.net] > > Sent: Monday, July 28, 2003 9:49 PM > > To: Ant Users List > > Subject: Re: WAR file not deflating when tomcat starts up when built > > with Ant > >=20 > > Could you attach that server.xml file David? I didn't see it come > through > > the wire. > >=20 > > There was already a ROOT directory in my webapps directory but I = deleted > > it > > trying different tests. I don't think my server.xml file is set up > > properly. > >=20 > > I looked at the Ant core/optional tasks and I can't find anything to > > deflate > > the WAR file myself. Could I just use the tag for 'jar -xvf > > ROOT.war'? Or is this method not recommended? > >=20 > > On 7/28/03 1:47 PM, "David McTavish" wrote: > >=20 > > > Do any other wars deploy successfully? I'm wondering if perhaps = its a > > > misconfigured Tomcat? Or, it could be the .war file, but I would = have > > > expected that to be deployed. > > >=20 > > > Find attached a copy of my server.xml file located under > $CATALINA/conf > > > directory. > > >=20 > > > Also, are there any logs that display when you start Tomcat up? > > >=20 > > > d. > > >=20 > > >=20 > > > -----Original Message----- > > > From: Billy Bacon [mailto:billy.bacon@thirty3.net] > > > Sent: Monday, July 28, 2003 3:41 PM > > > To: Ant Users List > > > Subject: Re: WAR file not deflating when tomcat starts up when = built > > > with Ant > > >=20 > > >=20 > > > After generating the WAR file I use the task to change the > file > > and > > > directory permissions. > > >=20 > > > The following is the result after the task is called... > > >=20 > > > drwxrwxrwx 3 vnb vnb 512 Jul 28 13:21 webapps > > > -rwxrwxrwx 1 vnb vnb 21911865 Jul 28 13:29 ROOT.war > > >=20 > > > When I fire up tomcat, I still don't get a ROOT/ directory = created. > > >=20 > > > Is there anything else I'm missing? > > >=20 > > > - Billy - > > >=20 > > >=20 > > > On 7/28/03 12:05 PM, "David McTavish" = wrote: > > >=20 > > >> 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. > > >>=20 > > >> d. > > >>=20 > > >>=20 > > >> -----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 > > >>=20 > > >>=20 > > >> I can't seem to figure this out and I'm hoping someone out there = can > > see > > > my > > >> error... > > >>=20 > > >> 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. > > >>=20 > > >> 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' > > >>=20 > > >> = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D > > >>=20 > > >> 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 > > >>=20 > > >> = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D > > >>=20 > > >> There is also a web.xml file in the WEB-INF/ directory that's not > > listed > > >> above.=20 > > >>=20 > > >> 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? > > >>=20 > > >> Any help would be appreciated. Thanks for your time. > > >>=20 > > >> - Billy - > > >>=20 > > >>=20 > > >> = --------------------------------------------------------------------- > > >> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > > >> For additional commands, e-mail: user-help@ant.apache.org > > >>=20 > > >> = --------------------------------------------------------------------- > > >> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > > >> For additional commands, e-mail: user-help@ant.apache.org > > >>=20 > > >>=20 > > >=20 > > >=20 > > > = --------------------------------------------------------------------- > > > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > > > For additional commands, e-mail: user-help@ant.apache.org > > >=20 > > >=20 > > >=20 > > > = --------------------------------------------------------------------- > > > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > > > For additional commands, e-mail: user-help@ant.apache.org > >=20 > >=20 > > = --------------------------------------------------------------------- > > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > > For additional commands, e-mail: user-help@ant.apache.org >=20 >=20 > This message and any files transmitted with it are confidential and > intended solely for the use of=20 > the individual or entity to whom they are addressed. If you have = received > this message in error=20 > please delete it and any files transmitted with it, after notifying > postmaster@uk.mizuho-sc.com > Any opinions expressed in this message may be those of the author and = not > necessarily those of=20 > the company. The company accepts no responsibility for the accuracy = or > completeness of any=20 > information contained herein. This message is not intended to create > legal relations between the=20 > company and the recipient. > Recipients should please note that messages sent via the Internet may = be > intercepted and that=20 > caution should therefore be exercised before dispatching to the = company > any confidential or=20 > sensitive information. >=20 > Mizuho International plc > Bracken House, One Friday Street, London EC4M 9JA. TEL. 020 7236 1090 > Registered in England No. 1203696. Registered office as above. = Authorised > and regulated by the Financial=20 > Services Authority. A member of the London Stock Exchange. A member of > Mizuho Financial Group headed=20 > by Mizuho Financial Group, Inc.=20 >=20 >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > For additional commands, e-mail: user-help@ant.apache.org >=20 >=20 >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > For additional commands, e-mail: user-help@ant.apache.org This message and any files transmitted with it are confidential and = intended solely for the use of=20 the individual or entity to whom they are addressed. If you have = received this message in error=20 please delete it and any files transmitted with it, after notifying = postmaster@uk.mizuho-sc.com Any opinions expressed in this message may be those of the author and = not necessarily those of=20 the company. The company accepts no responsibility for the accuracy or = completeness of any=20 information contained herein. This message is not intended to create = legal relations between the=20 company and the recipient. Recipients should please note that messages sent via the Internet may be = intercepted and that=20 caution should therefore be exercised before dispatching to the company = any confidential or=20 sensitive information. Mizuho International plc Bracken House, One Friday Street, London EC4M 9JA. TEL. 020 7236 1090 Registered in England No. 1203696. Registered office as above. = Authorised and regulated by the Financial=20 Services Authority. A member of the London Stock Exchange. A member of = Mizuho Financial Group headed=20 by Mizuho Financial Group, Inc.=20 --------------------------------------------------------------------- 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