You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by ralfKaraf <ra...@web.de> on 2013/03/01 03:27:21 UTC

Re: Pax Wicket project bundle starts/stops twice if dev:watch set

Thanks Andreas, I use Karaf 2.3 and it happens for the blueprint as well.



--
View this message in context: http://karaf.922171.n3.nabble.com/Pax-Wicket-project-bundle-starts-stops-twice-if-dev-watch-set-tp4027937p4027972.html
Sent from the Karaf - User mailing list archive at Nabble.com.

Re: Pax Wicket project bundle starts/stops twice if dev:watch set

Posted by Andreas Pieber <an...@gmail.com>.
Hey,

On Thu, Mar 14, 2013 at 12:31 AM, ralfKaraf <ra...@web.de> wrote:

> Aehm ... yes, it does. That is obviously not Pax Wicket related!! Did not
> expect this. Sorry for blaming Pax Wicket!!
>

It isn't that bad that you automatically put all blame on it, is it? :-)

NP, yes please create an issue. This behavior somehow feels wrong to me!

Kind regards,
Andreas



> Now, is that normal behaviour of Karaf? Shouldn't be I guess. Should I file
> an issue?
>
>
>
> --
> View this message in context:
> http://karaf.922171.n3.nabble.com/Pax-Wicket-project-bundle-starts-stops-twice-if-dev-watch-set-tp4027937p4028182.html
> Sent from the Karaf - User mailing list archive at Nabble.com.
>

Re: Pax Wicket project bundle starts/stops twice if dev:watch set

Posted by ralfKaraf <ra...@web.de>.
Aehm ... yes, it does. That is obviously not Pax Wicket related!! Did not
expect this. Sorry for blaming Pax Wicket!!
Now, is that normal behaviour of Karaf? Shouldn't be I guess. Should I file
an issue?



--
View this message in context: http://karaf.922171.n3.nabble.com/Pax-Wicket-project-bundle-starts-stops-twice-if-dev-watch-set-tp4027937p4028182.html
Sent from the Karaf - User mailing list archive at Nabble.com.

Re: Pax Wicket project bundle starts/stops twice if dev:watch set

Posted by Andreas Pieber <an...@gmail.com>.
Mhm, does this also happen to non-pax-wicket bundles?

Kind regards,
Andreas


On Thu, Mar 7, 2013 at 7:52 AM, ralfKaraf <ra...@web.de> wrote:

> Hi Bram,
>
> thanks for your reply!
>
> I have to admit that I cannot confirm it for blueprint. At least the
> blueprint sample doesn't restart twice when the bundle is redeployed. So it
> might be that the warning message is repeated twice only and not the
> Activator start/stop methods.
>
> In contrast, I can 100% confirm that the stop and start methods of the
> Activator in the plain example are executed twice when the bundle is in
> dev:watch.
>
> Thanks,
> Ralf
>
>
>
> --
> View this message in context:
> http://karaf.922171.n3.nabble.com/Pax-Wicket-project-bundle-starts-stops-twice-if-dev-watch-set-tp4027937p4028045.html
> Sent from the Karaf - User mailing list archive at Nabble.com.
>

Re: Pax Wicket project bundle starts/stops twice if dev:watch set

Posted by ralfKaraf <ra...@web.de>.
Hi Bram,

thanks for your reply!

I have to admit that I cannot confirm it for blueprint. At least the
blueprint sample doesn't restart twice when the bundle is redeployed. So it
might be that the warning message is repeated twice only and not the
Activator start/stop methods.

In contrast, I can 100% confirm that the stop and start methods of the
Activator in the plain example are executed twice when the bundle is in
dev:watch.

Thanks,
Ralf



--
View this message in context: http://karaf.922171.n3.nabble.com/Pax-Wicket-project-bundle-starts-stops-twice-if-dev-watch-set-tp4027937p4028045.html
Sent from the Karaf - User mailing list archive at Nabble.com.

Re: Pax Wicket project bundle starts/stops twice if dev:watch set

Posted by Bram Pouwelse <br...@pouwelse.com>.
Hi Ralf,

Is the bundle really starting two times? or is it just the double
warning message? The blueprint sample contains two blueprint samples
(default and pax wicket namespace) so there are actually two
applications.

Kind Regards,
Bram

2013/3/7 ralfKaraf <ra...@web.de>:
> Sorry for the late reply Andreas!! With 'blueprint' I mean the similar sample
> org.ops4j.pax.wicket.samples.blueprint/org.ops4j.pax.wicket.samples.blueprint.simple/2.1.0
>
> When the blueprint sample is started I see the following:
> karaf@root> install -s
> mvn:org.ops4j.pax.wicket.samples.blueprint/org.ops4j.pax.wicket.samples.blueprint.simple/2.1.0
> Bundle ID: 107
> karaf@root>
> ********************************************************************
> *** WARNING: Wicket is running in DEVELOPMENT mode.              ***
> ***                               ^^^^^^^^^^^                    ***
> *** Do NOT deploy to your live server(s) without changing this.  ***
> *** See Application#getConfigurationType() for more information. ***
> ********************************************************************
> ********************************************************************
> *** WARNING: Wicket is running in DEVELOPMENT mode.              ***
> ***                               ^^^^^^^^^^^                    ***
> *** Do NOT deploy to your live server(s) without changing this.  ***
> *** See Application#getConfigurationType() for more information. ***
> ********************************************************************
>
> Do you have any clue was this is all about? Shall I still create an issue?
>
>
>
> --
> View this message in context: http://karaf.922171.n3.nabble.com/Pax-Wicket-project-bundle-starts-stops-twice-if-dev-watch-set-tp4027937p4028041.html
> Sent from the Karaf - User mailing list archive at Nabble.com.

Re: Pax Wicket project bundle starts/stops twice if dev:watch set

Posted by ralfKaraf <ra...@web.de>.
Sorry for the late reply Andreas!! With 'blueprint' I mean the similar sample
org.ops4j.pax.wicket.samples.blueprint/org.ops4j.pax.wicket.samples.blueprint.simple/2.1.0

When the blueprint sample is started I see the following:
karaf@root> install -s
mvn:org.ops4j.pax.wicket.samples.blueprint/org.ops4j.pax.wicket.samples.blueprint.simple/2.1.0
Bundle ID: 107
karaf@root>
********************************************************************
*** WARNING: Wicket is running in DEVELOPMENT mode.              ***
***                               ^^^^^^^^^^^                    ***
*** Do NOT deploy to your live server(s) without changing this.  ***
*** See Application#getConfigurationType() for more information. ***
********************************************************************
********************************************************************
*** WARNING: Wicket is running in DEVELOPMENT mode.              ***
***                               ^^^^^^^^^^^                    ***
*** Do NOT deploy to your live server(s) without changing this.  ***
*** See Application#getConfigurationType() for more information. ***
********************************************************************

Do you have any clue was this is all about? Shall I still create an issue?



--
View this message in context: http://karaf.922171.n3.nabble.com/Pax-Wicket-project-bundle-starts-stops-twice-if-dev-watch-set-tp4027937p4028041.html
Sent from the Karaf - User mailing list archive at Nabble.com.

Re: Pax Wicket project bundle starts/stops twice if dev:watch set

Posted by Andreas Pieber <an...@gmail.com>.
My guts are saying: either we do something wrong in the way bundles are
refreshed or there's kind of a different bug... What do you mean with "it
happens for the blueprint as well"? Independently this definitely sounds
like something we do wrong and if it likely could affect more parts than
pax wicket. Can you please create an issue for Karaf that we don't loose
track of this?

Kind regards,
Andreas


On Fri, Mar 1, 2013 at 3:27 AM, ralfKaraf <ra...@web.de> wrote:

> Thanks Andreas, I use Karaf 2.3 and it happens for the blueprint as well.
>
>
>
> --
> View this message in context:
> http://karaf.922171.n3.nabble.com/Pax-Wicket-project-bundle-starts-stops-twice-if-dev-watch-set-tp4027937p4027972.html
> Sent from the Karaf - User mailing list archive at Nabble.com.
>