Hi might want to take a look at the latest 6.0.0 SNAPSHOT version, I just added back the functionality.
regards, Achim [1] - https://ops4j1.jira.com/browse/PAXWEB-1006 2016-08-14 23:49 GMT+02:00 Achim Nierbeck <bcanh...@googlemail.com>: > hmm ... I digged through the sources ... somewhere around 3.5 years ago it > did get lost :o > > I'm gonna create an issue for that. > > regards, achim > > > 2016-08-14 14:47 GMT+02:00 iJava <pavelkastor...@gmail.com>: > >> Thank you. But how to use it? I added Webapp-Deploy:false in jar manifest >> but war is deployed anyway. >> >> On Sunday, 14 August 2016 14:40:36 UTC+3, Achim Nierbeck wrote: >>> >>> ahh ... yeah that's right forgot about the Webapp-Deploy that should >>> give you the needed flexibility. >>> Afaik we didn't remove it, so that should still be possible to use. >>> Btw. the documentation is available as sources now, patches welcome :D >>> >>> regards, Achim >>> >>> >>> 2016-08-14 13:14 GMT+02:00 iJava <pavelka...@gmail.com>: >>> >>>> I've read here https://ops4j1.jira.com/browse/PAXWEB-240 about >>>> Webapp-Deploy in bundle header + war manager to start. It would be fine >>>> - this is what I need, as it gives control over web application above >>>> bundle control. >>>> >>>> On Sunday, 14 August 2016 13:51:20 UTC+3, Achim Nierbeck wrote: >>>>> >>>>> The War manager is needed in case of updating your WAB bundle. Just >>>>> think of the following scenario. >>>>> You install a second WAB with different versioning and maybe a >>>>> different naming schema but the same WebContext-Path. >>>>> Just for this rare occasion it's possible to stop and start those >>>>> WebContext-Paths. That's the only reason to use this service. >>>>> It's there so someone can do some tweaking from the outside. >>>>> >>>>> In general if you don't want your Bundle to be automatically started, >>>>> make sure you only have it resolved but not started in the OSGi >>>>> life-cycle. >>>>> You might also want to give it a try to set: >>>>> >>>>> Bundle-ActivationPolicy: lazy >>>>> >>>>> I don't know how this will actually is going to behave. >>>>> >>>>> regards, Achim >>>>> >>>>> >>>>> 2016-08-14 12:20 GMT+02:00 iJava <pavelka...@gmail.com>: >>>>> >>>>>> I thought a little - if there is a WarManager (as I understand it is >>>>>> osgi service?) and we can start and stop web application, >>>>>> then how to disable auto start of web application when bundle starts? >>>>>> Because if it is always started when bundle >>>>>> starts then there is no meaning in start method of WarManager. >>>>>> >>>>>> >>>>>> On Sunday, 14 August 2016 10:27:11 UTC+3, Achim Nierbeck wrote: >>>>>>> >>>>>>> Hi, >>>>>>> >>>>>>> redeployment of the application isn't possible as it relies on the >>>>>>> deployment cycle of bundles. But you can stop and start a) the bundle >>>>>>> and >>>>>>> b) the context, this might be helpful in case of doing a redeployment. >>>>>>> You >>>>>>> need to register a WarManager [1] service, which takes care of that. >>>>>>> There >>>>>>> are special commands available for apache karaf that use it to start and >>>>>>> stop contextes. >>>>>>> >>>>>>> regarding the second question, no >>>>>>> as it's not possible with std. web bundles it's not possible here. >>>>>>> >>>>>>> >>>>>>> regards, Achim >>>>>>> >>>>>>> [1] -https://github.com/ops4j/org.ops4j.pax.web/blob/master/pax- >>>>>>> web-spi/src/main/java/org/ops4j/pax/web/service/spi/WarManager.java >>>>>>> >>>>>>> 2016-08-14 9:04 GMT+02:00 iJava <pavelka...@gmail.com>: >>>>>>> >>>>>>>> Hello everyone, >>>>>>>> >>>>>>>> I have a wab bundle and as I see I just need to install and start >>>>>>>> it on osgi to make pax-web to start this web application. >>>>>>>> >>>>>>>> However, can I somehow control this process? For example to >>>>>>>> redeploy application without touching the bundle? >>>>>>>> >>>>>>>> Another thing - how can I pass any java objects (not string) to >>>>>>>> started web application? >>>>>>>> >>>>>>>> -- >>>>>>>> -- >>>>>>>> ------------------ >>>>>>>> OPS4J - http://www.ops4j.org - op...@googlegroups.com >>>>>>>> >>>>>>>> --- >>>>>>>> You received this message because you are subscribed to the Google >>>>>>>> Groups "OPS4J" group. >>>>>>>> To unsubscribe from this group and stop receiving emails from it, >>>>>>>> send an email to ops4j+un...@googlegroups.com. >>>>>>>> For more options, visit https://groups.google.com/d/optout. >>>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> >>>>>>> Apache Member >>>>>>> Apache Karaf <http://karaf.apache.org/> Committer & PMC >>>>>>> OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> >>>>>>> Committer & Project Lead >>>>>>> blog <http://notizblog.nierbeck.de/> >>>>>>> Co-Author of Apache Karaf Cookbook <http://bit.ly/1ps9rkS> >>>>>>> >>>>>>> Software Architect / Project Manager / Scrum Master >>>>>>> >>>>>>> -- >>>>>> -- >>>>>> ------------------ >>>>>> OPS4J - http://www.ops4j.org - op...@googlegroups.com >>>>>> >>>>>> --- >>>>>> You received this message because you are subscribed to the Google >>>>>> Groups "OPS4J" group. >>>>>> To unsubscribe from this group and stop receiving emails from it, >>>>>> send an email to ops4j+un...@googlegroups.com. >>>>>> For more options, visit https://groups.google.com/d/optout. >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> >>>>> Apache Member >>>>> Apache Karaf <http://karaf.apache.org/> Committer & PMC >>>>> OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> >>>>> Committer & Project Lead >>>>> blog <http://notizblog.nierbeck.de/> >>>>> Co-Author of Apache Karaf Cookbook <http://bit.ly/1ps9rkS> >>>>> >>>>> Software Architect / Project Manager / Scrum Master >>>>> >>>>> -- >>>> -- >>>> ------------------ >>>> OPS4J - http://www.ops4j.org - op...@googlegroups.com >>>> >>>> --- >>>> You received this message because you are subscribed to the Google >>>> Groups "OPS4J" group. >>>> To unsubscribe from this group and stop receiving emails from it, send >>>> an email to ops4j+un...@googlegroups.com. >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>> >>> >>> >>> -- >>> >>> Apache Member >>> Apache Karaf <http://karaf.apache.org/> Committer & PMC >>> OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer >>> & Project Lead >>> blog <http://notizblog.nierbeck.de/> >>> Co-Author of Apache Karaf Cookbook <http://bit.ly/1ps9rkS> >>> >>> Software Architect / Project Manager / Scrum Master >>> >>> -- >> -- >> ------------------ >> OPS4J - http://www.ops4j.org - ops4j@googlegroups.com >> >> --- >> You received this message because you are subscribed to the Google Groups >> "OPS4J" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to ops4j+unsubscr...@googlegroups.com. >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > > Apache Member > Apache Karaf <http://karaf.apache.org/> Committer & PMC > OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer & > Project Lead > blog <http://notizblog.nierbeck.de/> > Co-Author of Apache Karaf Cookbook <http://bit.ly/1ps9rkS> > > Software Architect / Project Manager / Scrum Master > > -- Apache Member Apache Karaf <http://karaf.apache.org/> Committer & PMC OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer & Project Lead blog <http://notizblog.nierbeck.de/> Co-Author of Apache Karaf Cookbook <http://bit.ly/1ps9rkS> Software Architect / Project Manager / Scrum Master -- -- ------------------ OPS4J - http://www.ops4j.org - ops4j@googlegroups.com --- You received this message because you are subscribed to the Google Groups "OPS4J" group. To unsubscribe from this group and stop receiving emails from it, send an email to ops4j+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.