Hi Matt,

it's quite easy to deploy regular WAR files.
First of all you also need the pax-url-war bundle it contains the URL
protocol extensions for webbundle.
Secondly you need to deploy your war file like the following:

webbundle:file:some.war

from thereon the pax-url-war bundle takes care of transforming the std.
war into a OSGi-WAB which is
handled by pax web from there on :-)

regards, Achim

Am 15.07.2011 20:38, schrieb Matt Madhavan:
> Hi Toni and Achim,
> Tanks for the reply. I already have a pax Web running and have had a
> few WAB deployed. But was not sure how to deploy a regular WAR file.
>
> Any more instructions or pointers to some doc will be great.
>
> Thanks
> Matt
>
> On Fri, Jul 15, 2011 at 2:41 AM, Toni Menzel <[email protected]
> <mailto:[email protected]>> wrote:
>
>     As Achim says, you can deploy a "bundled" war as is just like any
>     other bundle.
>     The war just needs to have manifest meta data (additionally).
>     Also you need a war extender running, as Achim says, Pax Web is a
>     good option.
>
>     For more details i need pass you back to Achim who will probably
>     come up with more Pax Web related options later.
>
>     Toni
>
>
>     On Fri, Jul 15, 2011 at 9:34 AM, Achim Nierbeck
>     <[email protected] <mailto:[email protected]>> wrote:
>
>         Hi
>
>         you need to use pax web with it, it supports regular wars.
>         Sorry for the short answer I'm quite bussy right now.
>         Later today I can give you some more details on how to use pax
>         web if
>         you need :-)
>
>         regards, Achim
>
>         2011/7/14 Matt Madhavan <[email protected]
>         <mailto:[email protected]>>:
>         > Hello,
>         > I have a strange requirement. We have been using PAX-Exam
>         for a while which
>         > works just great.
>         > But some of my client teams have a requirement -  where in:
>         >
>         > My team will build and deploy bunch of OSGi bundles/Apps
>         > They have a regular Spring MVC app.
>         > They would like to consume the OSGI services from their
>         action/controller
>         > classes.
>         >
>         > My proposed solution is:
>         > From the clients' WebAppContext - use SpringJNDIFactoryBean
>         to look up our
>         > OSGi services and inject the interface(proxy) to teir action
>         classes - like
>         > they would normally inject reference to a Service.
>         > Can I test this in PaxExam. I have used it to provision
>         EBA's and Web
>         > Bundles (WAB)!
>         > How can I deploy a regular war file into the PAX-EXAM?
>         Surely I cannot do a
>         > mavanbundle etc!
>         >
>         > Any Ideas please?
>         > Thanks in advance!
>         > Matt
>         > _______________________________________________
>         > general mailing list
>         > [email protected] <mailto:[email protected]>
>         > http://lists.ops4j.org/mailman/listinfo/general
>         >
>         >
>
>
>
>         --
>         --
>         *Achim Nierbeck*
>
>
>         Apache Karaf <http://karaf.apache.org/> Committer & PMC
>         OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/>
>         Committer & Project Lead
>
>         _______________________________________________
>         general mailing list
>         [email protected] <mailto:[email protected]>
>         http://lists.ops4j.org/mailman/listinfo/general
>
>
>
>
>     -- 
>     Toni Menzel Source <http://tonimenzel.com>
>
>
>     _______________________________________________
>     general mailing list
>     [email protected] <mailto:[email protected]>
>     http://lists.ops4j.org/mailman/listinfo/general
>
>
>
> _______________________________________________
> general mailing list
> [email protected]
> http://lists.ops4j.org/mailman/listinfo/general


-- 
-----

Apache Karaf <http://karaf.apache.org/> Committer & PMC
OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/>  Committer & 
Project Lead

_______________________________________________
general mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/general

Reply via email to