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

2013-02-27 Thread ralfKaraf
Hi there, not entirely sure if this is the right forum to ask the question. I was deploying the plain/simple sample of pax wicket in version 2.1.0 into my Karaf OSGi container. Everything starts smoothly. I can stop or uninstall the bundle and start or install it again. The behaviour is as expecte

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

2013-02-28 Thread ralfKaraf
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

2013-03-06 Thread ralfKaraf
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.o

Pax Wicket returns application/octet-stream for static web page

2013-03-06 Thread ralfKaraf
Hi there, I was wondering how to invoke static web pages which are part of my wicket project (wicket 6.4.0, pax wicket 2.1.0) running on Karaf (2.3.0). The web pages I need to display are from a 3rd party web project. The project is self-contained and full of java script, images etc. I don't want

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

2013-03-06 Thread ralfKaraf
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 1

Re: Pax Wicket returns application/octet-stream for static web page

2013-03-07 Thread ralfKaraf
I should add that I tried this with one of the most simplest Pax projects: org.ops4j.pax.wicket.samples.plain/org.ops4j.pax.wicket.samples.plain.simple/2.1.0 I just put a basic html page in src/main/resources. This is the only change I made on the Pax project. And as I said I can retrieve it but it

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

2013-03-13 Thread ralfKaraf
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-bundl

Re: Pax Wicket returns application/octet-stream for static web page

2013-03-13 Thread ralfKaraf
Would anyone be able to help me out on this. How do you guys refer to static html pages within your bundle (without mounting it)? I filed an issue for this but I don't know if it is an error or rather an enhancement. -- View this message in context