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 <[email protected] <javascript:>>:
>
>> 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 - [email protected] <javascript:>
>>
>> --- 
>> 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 [email protected] <javascript:>.
>> 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 - [email protected]

--- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to