« Return to Thread: MANIFEST.MF being lost on Deploy of WAR

RE: MANIFEST.MF being lost on Deploy of WAR

by Matt Wringe :: Rate this Message:

Reply to Author | View in Thread


On Tue, 2008-08-12 at 20:28 +0000, Sanjay Acharya wrote:

> In addition, if I change my configuration to use Tomcat as follows:
>      
>  
>      tomcat5x
>      
>           http://www.apache.org/dist/tomcat/tomcat-5/v5.5.26/bin/apache-tomcat-5.5.26.zip
>           /tmp
>        
>  
>
> Then the deployed directory>/tmp/cargo/conf/webapps/IntegrationTest/META-INF/  contains the MANIFEST.MF file. The problem seems to be occuring only when using Jetty.

Ok, what I was trying to ask before was if you were to use Jetty itself
and were to deploy a webapp with a META-INF/MANIFEST.MF would you see
the manifest file in the temp directory (ie what happens when you don't
use cargo).

I have just tried this situation and Jetty doesn't have the manifest
file in the temp directory. So this is definitely not a cargo issue.

Next time please at least try and see if this is the fault of cargo or
if it is the behaviour of the web server.

>
> ----------------------------------------
> > From: mwringe@...
> > To: user@...
> > Date: Tue, 12 Aug 2008 14:47:43 -0400
> > Subject: RE: [cargo-user] MANIFEST.MF being lost on Deploy of WAR
> >
> >
> > On Tue, 2008-08-12 at 17:55 +0000, Sanjay Acharya wrote:
> >> Thanks for the Response. I have attached a Maven pom.xml that displays the content that was not readable.
> >> Additionally, yes the MANIFEST.MF file is present in the WAR and I have done a jar tvf to ensure the presence of the MANIFEST.MF.
> >
> > Right, but is the manifest file even suppose to show up in the temporary
> > work directory or is it something that is just loaded into memory.
> >
> > If you were to run this outside of cargo, would the the manifest file
> > show up in this directory?
> >
> >>
> >> Additionally, the following are the lines I see when the war is extracted:
> >> 2008-08-12 11:34:24.039::INFO:  jetty-6.1.1rc1
> >> 2008-08-12 11:34:24.135::INFO:  Extract jar:file:Foo/Foo-webapp/target/Foo-webapp-1.0-SNAPSHOT.war!/ to /tmp/Jetty_0_0_0_0_9090_Foo-webapp-1.0-SNAPSHOT.war__IntegrationTest__-jvb210/webapp
> >> 2008-08-12 11:34:25.253::INFO:  Extract jar:file:/tmp/cargo/conf/cargocpc.war!/ to /tmp/Jetty_0_0_0_0_9090_cargocpc.war__cargocpc__tqefh9/webapp
> >>
> >> Thanks again.
> >> Sanjay
> >> ----------------------------------------
> >>> From: mwringe@...
> >>> To: user@...
> >>> Date: Tue, 12 Aug 2008 13:44:44 -0400
> >>> Subject: Re: [cargo-user] MANIFEST.MF being lost on Deploy of WAR
> >>>
> >>>
> >>> On Tue, 2008-08-12 at 17:14 +0000, Sanjay Acharya wrote:
> >>>> Hi,
> >>>>
> >>>> I am using the following Maven/Cargo Configuration:
> >>>>
> >>>> Version 0.3 of cargo-maven2-plugin with JETTY6 and embedded container.
> >>>>
> >>>>
> >>>>
> >>>>                 com.overstock.rossi
> >>>>                 Foo-webapp
> >>>>                 war
> >>>>
> >>>>                   IntegrationTest
> >>>>
> >>>>                 http://localhost:9090/IntegrationTest
> >>>
> >>> ^^ I can't read what you have here
> >>>
> >>>> I have the deployable configured and during Maven's integration test phase, I am able to Start Jetty Via cargo. As part of deploying procedure, Cargo explodes the WAR to a temporary location, /tmp/Jetty_...Foo-webapp.../
> >>>>
> >>>> I am finding that the MANIFEST.MF entry that was present in the Foo-webapp.war is lost in the deployment. Other properties added to the META-INF folder seem to be retained.
> >>>
> >>> does the manifest file exist if you were to do this outside of cargo?
> >>>
> >>>> Any tips would be appreciated.
> >>>>
> >>>> Regards,
> >>>> Sanjay
> >>>> _________________________________________________________________
> >>>> Reveal your inner athlete and share it with friends on Windows Live.
> >>>> http://revealyourinnerathlete.windowslive.com?locale=en-us&ocid=TXT_TAGLM_WLYIA_whichathlete_us
> >>>> ---------------------------------------------------------------------
> >>>> To unsubscribe from this list, please visit:
> >>>>
> >>>>     http://xircles.codehaus.org/manage_email
> >>>>
> >>>>
> >>>
> >>>
> >>> ---------------------------------------------------------------------
> >>> To unsubscribe from this list, please visit:
> >>>
> >>>     http://xircles.codehaus.org/manage_email
> >>>
> >>>
> >>
> >> _________________________________________________________________
> >> Get Windows Live and get whatever you need, wherever you are.  Start here.
> >> http://www.windowslive.com/default.html?ocid=TXT_TAGLM_WL_Home_082008
> >> --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe from this list, please visit:
> >
> >     http://xircles.codehaus.org/manage_email
> >
> >
>
> _________________________________________________________________
> Get Windows Live and get whatever you need, wherever you are.  Start here.
> http://www.windowslive.com/default.html?ocid=TXT_TAGLM_WL_Home_082008
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>     http://xircles.codehaus.org/manage_email
>
>


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


 « Return to Thread: MANIFEST.MF being lost on Deploy of WAR